Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FPerSolverFieldSystem |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/PhysicsProxy/PerSolverFieldSystem.h |
| Include Path | #include "PhysicsProxy/PerSolverFieldSystem.h" |
Syntax
class FPerSolverFieldSystem
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ExecutionDatas | FFieldExecutionDatas | Field Datas stored during evaluation | PhysicsProxy/PerSolverFieldSystem.h | |
| PersistentCommands | TArray< FFieldSystemCommand > | Persistent commands to be processed by the chaos solver | PhysicsProxy/PerSolverFieldSystem.h | |
| TransientCommands | TArray< FFieldSystemCommand > | Transient commands to be processed by the chaos solver | PhysicsProxy/PerSolverFieldSystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddPersistentCommand
(
const FFieldSystemCommand& FieldCommand |
Add the persistent field command | PhysicsProxy/PerSolverFieldSystem.h | |
void AddTransientCommand
(
const FFieldSystemCommand& FieldCommand |
Add the transient field command | PhysicsProxy/PerSolverFieldSystem.h | |
void ComputeFieldLinearImpulse
(
const Chaos::FReal SolverTime |
Compute field linear velocity/force given a list of samples (positions + indices) | PhysicsProxy/PerSolverFieldSystem.h | |
void ComputeFieldRigidImpulse
(
const Chaos::FReal SolverTime |
Compute field linear velocity/force and angular velocity/torque given a list of samples (positions + indices) | PhysicsProxy/PerSolverFieldSystem.h | |
void FieldForcesUpdateCallback
(
Chaos::FPBDRigidsSolver* RigidSolver |
Services queued `FFieldSystemCommand_ commands. | PhysicsProxy/PerSolverFieldSystem.h | |
void FieldParameterUpdateCallback
(
Chaos::FPBDRigidsSolver* InSolver, |
Services queued `FFieldSystemCommand_ commands. | PhysicsProxy/PerSolverFieldSystem.h | |
TArray< FVector > & GetOutputResults
(
const EFieldCommandOutputType OutputType |
Get the non const array of the output results given an output type | PhysicsProxy/PerSolverFieldSystem.h | |
const TArray< FVector > & GetOutputResults
(
const EFieldCommandOutputType OutputType |
Get the const array of the output results given an output type | PhysicsProxy/PerSolverFieldSystem.h | |
| Get all the non const persistent field commands | PhysicsProxy/PerSolverFieldSystem.h | ||
const TArray< FFieldSystemCommand > & GetPersistentCommands () |
Get all the const persistent field commands | PhysicsProxy/PerSolverFieldSystem.h | |
TArray< FFieldContextIndex > & GetSampleIndices () |
Get the non const array of sample indices | PhysicsProxy/PerSolverFieldSystem.h | |
const TArray< FFieldContextIndex > & GetSampleIndices () |
Get the const array of sample indices | PhysicsProxy/PerSolverFieldSystem.h | |
TArray< FVector > & GetSamplePositions () |
Get the const array of sample positions | PhysicsProxy/PerSolverFieldSystem.h | |
const TArray< FVector > & GetSamplePositions () |
Get the non const array of sample positions | PhysicsProxy/PerSolverFieldSystem.h | |
const TArray< FFieldSystemCommand > & GetTransientCommands () |
Get all the const transient field commands | PhysicsProxy/PerSolverFieldSystem.h | |
| Get all the non const transient field commands | PhysicsProxy/PerSolverFieldSystem.h | ||
bool IsEmpty() |
Check if a per solver field system has no commands. | PhysicsProxy/PerSolverFieldSystem.h | |
void RemovePersistentCommand
(
const FFieldSystemCommand& FieldCommand |
Remove the persistent field command | PhysicsProxy/PerSolverFieldSystem.h | |
void RemoveTransientCommand
(
const FFieldSystemCommand& FieldCommand |
Remove the transient field command | PhysicsProxy/PerSolverFieldSystem.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void GetFilteredParticleHandles
(
TArray< Chaos::FGeometryParticleHandle* >& ParticleHandles, |
Generates a mapping between the Position array and the results array. | PhysicsProxy/PerSolverFieldSystem.h | |
static void GetRelevantParticleHandles
(
TArray< Chaos::FGeometryParticleHandle* >& ParticleHandles, |
Generates a mapping between the Position array and the results array. | PhysicsProxy/PerSolverFieldSystem.h |