ISpatialAccelerationCollection

Windows
MacOS
Linux

Inheritance Hierarchy

ISpatialAcceleration

ISpatialAccelerationCollection

TSpatialAccelerationCollection

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 ISpatialAccelerationCollection : public Chaos::ISpatialAcceleration< TPayloadType, T, d >

Variables

Name Description

Protected variable

uint8

 

ActiveBucketsMask

Protected variable

bool

 

AllAsyncTasksComplete

Constructors

Functions

Name Description

Public function

FSpatialAcce...

 

AddSubstructure

(
    TUniquePtr< ISpatialAcceleration< T...,
    uint16 Bucket
)

Public function Const

TArray< FSpa...

 

GetAllSpatialIndices()

Public function

ISpatialAcce...

 

GetSubstructure

(
    FSpatialAccelerationIdx Idx
)

Public function Const

bool

 

IsAllAsyncTasksComplete()

Public function Const

bool

 

IsBucketActive

(
    uint8 BucketIdx
)

Public function Const

void

 

PBDComputeConstraintsLowLevel

(
    T Dt,
    FSpatialAccelerationBroadPhase& Br...,
    FNarrowPhase& NarrowPhase,
    FAsyncCollisionReceiver& Receiver,
    CollisionStats::FStatData& StatDat...,
    IResimCacheBase* ResimCache
)

This is kind of a hack to avoid virtuals. We simply route calls into templated functions

Public function

TUniquePtr< ...

 

RemoveSubstructure

(
    FSpatialAccelerationIdx Idx
)

Public function

void

 

SetAllAsyncTasksComplete

(
    bool State
)

Constants

Name

Description

StaticType

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss