Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | TAABBTreeLeafArray |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/AABBTree.h |
| Include Path | #include "Chaos/AABBTree.h" |
Syntax
template<typename TPayloadType, bool bComputeBounds, typename T>
struct TAABBTreeLeafArray : public Chaos::TBoundsWrapperHelper< TPayloadType, FReal, true >
Inheritance Hierarchy
- TBoundsWrapperHelper → TAABBTreeLeafArray
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Chaos/AABBTree.h | |||
TAABBTreeLeafArray
(
const TArray< TPayloadBoundsElement< TPayloadType, T > >& InElems |
Todo: avoid copy? | Chaos/AABBTree.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDirtyLeaf | bool | Flag on the leaf to know if it has been updated | Chaos/AABBTree.h | |
| Elems | TArray< TPayloadBoundsElement< TPayloadType, T > > | Chaos/AABBTree.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddElement
(
const TPayloadBoundsElement< TPayloadType, T >& Element |
Chaos/AABBTree.h | ||
void DebugDrawLeaf
(
ISpacialDebugDrawInterface< T >& InInterface, |
Chaos/AABBTree.h | ||
void GatherElements
(
TArray< TPayloadBoundsElement< TPayloadType, T > >& OutElements |
Chaos/AABBTree.h | ||
SIZE_T GetElementCount() |
Chaos/AABBTree.h | ||
SIZE_T GetReserveCount() |
Chaos/AABBTree.h | ||
bool IsLeafDirty() |
Check if the leaf is dirty (if one of the payload have been updated) | Chaos/AABBTree.h | |
bool OverlapFast
(
const FAABB3& QueryBounds, |
Chaos/AABBTree.h | ||
void PrintLeaf() |
Print leaf information (bounds) for debugging purpose | Chaos/AABBTree.h | |
bool RaycastFast
(
const TVec3< T >& Start, |
Chaos/AABBTree.h | ||
bool RaycastFastSimd
(
const VectorRegister4Double& Start, |
Chaos/AABBTree.h | ||
bool RaycastImpSimd
(
const VectorRegister4Double& Start, |
Chaos/AABBTree.h | ||
bool RaycastSweepImp
(
const TVec3< T >& Start, |
Chaos/AABBTree.h | ||
void RecomputeBounds
(
bool bDynamicTree |
Chaos/AABBTree.h | ||
void RemoveElement
(
TPayloadType Payload |
Chaos/AABBTree.h | ||
void Reset() |
Chaos/AABBTree.h | ||
void Serialize
(
FChaosArchive& Ar |
Chaos/AABBTree.h | ||
void SetDirtyState
(
const bool bDirtyState |
Set thye dirty flag onto the leaf | Chaos/AABBTree.h | |
bool SweepFast
(
const TVec3< T >& Start, |
Chaos/AABBTree.h | ||
void UpdateElement
(
const TPayloadType& Payload, |
Chaos/AABBTree.h | ||
void UpdateElementWithoutDirty
(
const TPayloadType& Payload, |
Chaos/AABBTree.h |