Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/PhysicsProxy
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/PhysicsProxy/PerSolverFieldSystem.h |
| Include | #include "PhysicsProxy/PerSolverFieldSystem.h" |
Syntax
class FPerSolverFieldSystem
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPersistentCommand
(
const FFieldSystemCommand& FieldCommand |
Add the persistent field command | |
| void | AddTransientCommand
(
const FFieldSystemCommand& FieldCommand |
Add the transient field command | |
| void | ComputeFieldLinearImpulse
(
const Chaos::FReal SolverTime |
Compute field linear velocity/force given a list of samples (positions + indices) | |
| void | ComputeFieldRigidImpulse
(
const Chaos::FReal SolverTime |
Compute field linear velocity/force and angular velocity/torque given a list of samples (positions + indices) | |
| void | FieldForcesUpdateCallback
(
Chaos::FPBDRigidsSolver* RigidSolver |
Services queued `FFieldSystemCommand_ commands. | |
| void | FieldParameterUpdateCallback
(
Chaos::FPBDRigidsSolver* InSolver, |
Services queued `FFieldSystemCommand_ commands. | |
| void | GetFilteredParticleHandles
(
TArray< Chaos::FGeometryParticleHandle* >& ParticleHandles, |
Generates a mapping between the Position array and the results array. | |
| TArray< FVector > & | GetOutputResults
(
const EFieldCommandOutputType OutputType |
Get the non const array of the output results given an output type | |
| const TArray< FVector > & | GetOutputResults
(
const EFieldCommandOutputType OutputType |
Get the const array of the output results given an output type | |
| TArray< FFieldSystemCommand > & | Get all the non const persistent field commands | ||
| const TArray< FFieldSystemCommand > & | Get all the const persistent field commands | ||
| void | GetRelevantParticleHandles
(
TArray< Chaos::FGeometryParticleHandle* >& ParticleHandles, |
Generates a mapping between the Position array and the results array. | |
| TArray< FFieldContextIndex > & | Get the non const array of sample indices | ||
| const TArray< FFieldContextIndex > & | Get the const array of sample indices | ||
| TArray< FVector > & | Get the const array of sample positions | ||
| const TArray< FVector > & | Get the non const array of sample positions | ||
| const TArray< FFieldSystemCommand > & | Get all the const transient field commands | ||
| TArray< FFieldSystemCommand > & | Get all the non const transient field commands | ||
| bool | IsEmpty () |
Check if a per solver field system has no commands. | |
| void | RemovePersistentCommand
(
const FFieldSystemCommand& FieldCommand |
Remove the persistent field command | |
| void | RemoveTransientCommand
(
const FFieldSystemCommand& FieldCommand |
Remove the transient field command |