Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
Inheritance Hierarchy
- ISpatialAcceleration
- ISpatialAccelerationCollection
- TSpatialAccelerationCollection
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/SpatialAccelerationCollection.h |
Include | #include "Chaos/SpatialAccelerationCollection.h" |
Syntax
template<typename... TSpatialAccelerationTypes>
class TSpatialAccelerationCollection : public Chaos::ISpatialAccelerationCollection< std::tuple_element< 0, std::tuple< TSpatialAccelerationTypes... > >::type::PayloadType, std::tuple_element< 0, std::tuple< TSpatialAccelerationTypes... > >::type::TType, std::tuple_element< 0, std::tuple< TSpatialAccelerationTypes... > >::type::D >
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FSpatialAccelerationIdx | AddSubstructure
(
TUniquePtr< ISpatialAcceleration< TPayloadType, T, d >>&& Substructure, |
|
![]() ![]() ![]() |
void | DebugDraw
(
ISpacialDebugDrawInterface< T >* InInterface |
|
![]() ![]() |
TArray< TPayloadBoundsElement< TPayloadType, T > > | ||
![]() ![]() |
std::enable_if_t< std::is_same_v< SQVisitor, typename Private::FSimOverlapVisitor >, void > | ||
![]() ![]() |
std::enable_if_tPrivate::FSimOverlapVisitor >, void > | ||
![]() ![]() ![]() |
void | Overlap
(
const TAABB< T, d >& QueryBounds, |
|
![]() ![]() ![]() |
void | PBDComputeConstraintsLowLevel
(
T Dt, |
|
![]() ![]() |
void | ||
![]() ![]() ![]() |
void | Raycast
(
const TVector< T, d >& Start, |
|
![]() ![]() |
bool | RemoveElementFrom
(
const TPayloadType& Payload, |
Returns true if the element was in fact removed from some SpatialIdx, otherwise returns false if the element was not found anywhere. |
![]() ![]() |
void | SwapSubstructure
(
ISpatialAccelerationCollection< TPayloadType, T, d >& InOther, |
|
![]() ![]() |
void | ||
![]() ![]() |
void | ||
![]() ![]() |
bool | UpdateElementIn
(
const TPayloadType& Payload, |
Returns true if the element was in fact updated or if it was moved from one SpatialIdx to another during the update or false if not found at any SpatialIdx. |
![]() ![]() |
void | VisitAllSpatialIndices
(
TVisitor Visitor |
Visitor signature is : void Visitor(FSpatialAccelerationIdx SpatialIdx) |
Overridden from ISpatialAccelerationCollection
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
TArray< FSpatialAccelerationIdx > | ||
![]() ![]() |
ISpatialAcceleration< TPayloadType, T, d > * | ||
![]() ![]() |
TUniquePtr< ISpatialAcceleration< TPayloadType, T, d > > |
Overridden from ISpatialAcceleration
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Dispatch the compute the overlapping leaves for each collection helper | |
![]() ![]() ![]() |
TUniquePtr< ISpatialAcceleration< TPayloadType, T, d > > | Copy () |
|
![]() ![]() |
void | Reset () |
|
![]() ![]() |
void | Serialize
(
FChaosArchive& Ar |
Typedefs
Name | Description |
---|---|
BucketEntryType | |
BucketType | |
FirstAccelerationType | |
T | |
TPayloadType |
Constants
Name | Description |
---|---|
d | |
MaxBuckets | |
NumTypes |