Chaos::FieldScalarParameterUpdate

Update the particle handles scalar parameters based on the field evaluation

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/PhysicsProxy/FieldSystemProxyHelper.h

Include

#include "PhysicsProxy/FieldSystemProxyHelper.h"

Syntax

namespace Chaos
{
    void Chaos::FieldScalarParameterUpdate
    (
        Chaos::FPBDRigidsSolver * RigidSolver,
        const FFieldSystemCommand & FieldCommand,
        TArray< Chaos::FGeometryParticleHandle * > & ParticleHandles,
        FFieldContext & FieldContext,
        TArray< int32 > & CommandsToRemove,
        Chaos::FPBDPositionConstraints & PositionTarget,
        TMap< int32, int32 > & TargetedParticles,
        const int32 CommandIndex
    )
}

Remarks

Update the particle handles scalar parameters based on the field evaluation

Parameters

Parameter

Description

RigidSolver

Rigid solver owning the particles

FieldCommand

Field command to be used for the parameter field evaluatation

ParticleHandles

List of particle handles extracted from the field command meta data

FieldContext

Field context that will be used for field evaluation

CommandsToRemove

List of commands that will be removed after evaluation

PositionTarget

Chaos position contraint in which each target will be added

TargetedParticles

List of particles (source/target) that will be filled by the PositionTarget/Static parameter

CommandIndex

Command index that we are evaluating

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