FPerSolverFieldSystem

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "PhysicsProxy/PerSolverFieldSystem.h"

Syntax

class FPerSolverFieldSystem

Functions

Name Description

Public function

void

 

AddPersistentCommand

(
    const FFieldSystemCommand& FieldCo...
)

Add the persistent field command

Public function

void

 

AddTransientCommand

(
    const FFieldSystemCommand& FieldCo...
)

Add the transient field command

Public function

void

 

ComputeFieldLinearImpulse

(
    const float SolverTime
)

Compute field linear velocity/force given a list of samples (positions + indices)

Public function

void

 

ComputeFieldRigidImpulse

(
    const float SolverTime
)

Compute field linear velocity/force and angular velocity/torque given a list of samples (positions + indices)

Public function

void

 

FieldForcesUpdateCallback

(
    Chaos::FPBDRigidsSolver* Rigid...
)

Services queued `FFieldSystemCommand_ commands.

Public function

void

 

FieldParameterUpdateCallback

(
    Chaos::FPBDRigidsSolver* InSol...,
    Chaos::FPBDPositionConstraints& Po...,
    TMap< int32, int32 >& TargetedPart...
)

Services queued `FFieldSystemCommand_ commands.

Public function Static

void

 

GetFilteredParticleHandles

(
    TArray< Chaos::FGeometryParticleHan...,
    const Chaos::FPBDRigidsSolver*...,
    const EFieldFilterType FilterType
)

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

Public function

TArray< int3...

 

GetIntegerResults

(
    const EFieldIntegerType ResultType
)

Get the non const array of the integer results given a integer type

Public function Const

const TArray...

 

GetIntegerrResults

(
    const EFieldIntegerType ResultType
)

Get the non const array of the integer results given a integer type

Public function Const

const TArray...

 

GetPersistentCommands()

Get all the const persistent field commands

Public function

TArray< FFie...

 

GetPersistentCommands()

Get all the non const persistent field commands

Public function Static

void

 

GetRelevantParticleHandles

(
    TArray< Chaos::FGeometryParticleHan...,
    const Chaos::FPBDRigidsSolver*...,
    const EFieldResolutionType Resoluti...
)

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

Public function Const

const TArray...

 

GetSampleIndices()

Get the const array of sample indices

Public function

TArray< FFie...

 

GetSampleIndices()

Get the non const array of sample indices

Public function

TArray< FVec...

 

GetSamplePositions()

Get the const array of sample positions

Public function Const

const TArray...

 

GetSamplePositions()

Get the non const array of sample positions

Public function Const

const TArray...

 

GetScalarResults

(
    const EFieldScalarType ResultType
)

Get the non const array of the scalar results given a scalar type

Public function

TArray< floa...

 

GetScalarResults

(
    const EFieldScalarType ResultType
)

Get the non const array of the scalar results given a scalar type

Public function Const

const TArray...

 

GetTransientCommands()

Get all the const transient field commands

Public function

TArray< FFie...

 

GetTransientCommands()

Get all the non const transient field commands

Public function Const

const TArray...

 

GetVectorResults

(
    const EFieldVectorType ResultType
)

Get the non const array of the vector results given a vector type

Public function

TArray< FVec...

 

GetVectorResults

(
    const EFieldVectorType ResultType
)

Get the non const array of the vector results given a vector type

Public function Const

bool

 

IsEmpty()

Check if a per solver field system has no commands.

Public function

void

 

RemovePersistentCommand

(
    const FFieldSystemCommand& FieldCo...
)

Remove the persistent field command

Public function

void

 

RemoveTransientCommand

(
    const FFieldSystemCommand& FieldCo...
)

Remove the transient field command

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