FPBDConstraintGraph::ReserveParticles

Preallocate buffers for `Num_ particles. Returns the number of new slots created.

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/PBDConstraintGraph.h"

Source

/Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/PBDConstraintGraph.cpp

Syntax

int32 ReserveParticles
(
    const int32 Num
)

Remarks

Preallocate buffers for `Num_ particles.

Returns the number of new slots created.

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