ISpatialAccelerationCollectionFactory::CreateAccelerationPerBucket_Threaded

Chaos creates new acceleration structures per bucket. Factory can change underlying type at runtime as well as number of buckets to AB test.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDRigidsEvolution.h

Include

#include "Chaos/PBDRigidsEvolution.h"

Syntax

TUniquePtr< ISpatialAcceleration< FAccelerationStructureHandle, FReal, 3 > > CreateAccelerationPerBucket_Threaded
(
    const TConstParticleView< FSpatialAccelerationCache > & Particles,
    uint16 BucketIdx,
    bool ForceFullBuild
)

Remarks

Chaos creates new acceleration structures per bucket. Factory can change underlying type at runtime as well as number of buckets to AB test.

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