FFieldSystemPhysicsProxy::GetParticleHandles

Generates a mapping between the Position array and the results array.

Windows
MacOS
Linux

References

Module

ChaosSolvers

Header

/Engine/Source/Runtime/Experimental/ChaosSolvers/Public/PhysicsProxy/FieldSystemPhysicsProxy.h

Include

#include "PhysicsProxy/FieldSystemPhysicsProxy.h"

Source

/Engine/Source/Runtime/Experimental/ChaosSolvers/Private/PhysicsProxy/FieldSystemPhysicsProxy.cpp

Syntax

static void GetParticleHandles
(
    TArray< Chaos::TGeometryParticleHandle< float, 3 > * > & Handles,
    const Chaos::FPhysicsSolver * RigidSolver,
    const EFieldResolutionType ResolutionType,
    const bool bForce
)

Remarks

Generates a mapping between the Position array and the results array.

When ResolutionType_ is set to Maximum the complete particle mapping is provided from the `Particles.X to Particles.Attribute_. When Minimum is set only the ActiveIndices and the direct children of the active clusters are set in the `IndicesArray.

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