Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Physics > API/Runtime/Engine/Physics/Experimental
Inheritance Hierarchy
- ISpatialAcceleration
- ISpatialAccelerationCollection
- TSpatialAccelerationCollection
- TAABBTree
- TBoundingVolume
- TBoundingVolumeHierarchy
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Physics/Experimental/PhysScene_Chaos.h |
| Include | #include "Physics/Experimental/PhysScene_Chaos.h" |
Syntax
template<typename TPayloadType, typename T, int d>
class ISpatialAcceleration
Constructors
| Type | Name | Description | |
|---|---|---|---|
ISpatialAcceleration
(
const ISpatialAcceleration& |
|||
ISpatialAcceleration
(
SpatialAccelerationType InType |
|||
ISpatialAcceleration
(
ESpatialAcceleration InType |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TConcrete * | As () |
||
| TConcrete * | As () |
||
| TConcrete & | AsChecked () |
||
| const TConcrete & | AsChecked () |
||
| void | Cache for each leaves all the overlapping leaves | ||
| void | |||
| TUniquePtr< ISpatialAcceleration< TPayloadType, T, d > > | Copy () |
||
| void | DebugDraw
(
ISpacialDebugDrawInterface< T >* InInterface |
||
| void | DebugDrawLeaf
(
ISpacialDebugDrawInterface< T >& InInterface, |
||
| void | DeepAssign
(
const ISpatialAcceleration< TPayloadType, T, d >& Other |
||
| void | DumpStats () |
||
| TArray< TPayloadType > | FindAllIntersections
(
const FAABB3& Box |
IMPORTANT : (LWC) this API should be typed on Freal not T, as we want the query API to be using the highest precision while maintaining arbitrary internal precision for the acceleration structure ( based on T ) | |
| int32 | This is the time the acceleration structure is synced up with. | ||
| SpatialAccelerationType | GetType () |
||
| bool | |||
| bool | |||
| void | Overlap
(
const FAABB3& QueryBounds, |
||
| void | PrepareCopyTimeSliced
(
const ISpatialAcceleration< TPayloadType, T, 3 >& InFrom |
||
| void | ProgressAsyncTimeSlicing
(
bool ForceBuildCompletion |
||
| void | ProgressCopyTimeSliced
(
const ISpatialAcceleration< TPayloadType, T, 3 >& InFrom, |
||
| void | |||
| bool | RemoveElement
(
const TPayloadType& Payload |
Returns true if element was removed successfully. | |
| bool | RemoveElementFrom
(
const TPayloadType& Payload, |
||
| void | Reset () |
||
| ISpatialAcceleration< TPayloadType, T, d > * | SerializationFactory
(
FChaosArchive& Ar, |
||
| void | Serialize
(
FChaosArchive& Ar |
||
| void | SetAsyncTimeSlicingComplete
(
bool InState |
||
| void | SetSyncTimestamp
(
int32 InTimestamp |
Call this whenever updating the acceleration structure for a new sync point | |
| bool | |||
| void | |||
| bool | UpdateElement
(
const TPayloadType& Payload, |
||
| bool | UpdateElementIn
(
const TPayloadType& Payload, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| ISpatialAcceleration & | |||
| ISpatialAcceleration & | operator=
(
const ISpatialAcceleration& |
Typedefs
| Name | Description |
|---|---|
| TPayload |