Navigation
API > API/Runtime > API/Runtime/Chaos
Inheritance Hierarchy
- FPhysicsSolverEvents
- FPhysicsSolverBase
- FPBDRigidsSolver
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/PBDRigidsSolver.h |
| Include | #include "PBDRigidsSolver.h" |
Syntax
class FPBDRigidsSolver : public Chaos::FPhysicsSolverBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| void * | PhysSceneHack |
Constructors
No constructors are accessible with public or protected access.
Destructors
No destructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyConfig
(
const FChaosSolverConfiguration& InConfig |
Apply a solver configuration to this solver, set externally by the owner of a solver (see UPhysicsSettings for world solver settings) | |
| void | BeginDestroy () |
||
| void | ChangeBufferMode
(
Chaos::EMultiBufferMode InBufferMode |
Execution API | |
| void | |||
| void | CreateMaterial
(
Chaos::FMaterialHandle InHandle, |
||
| void | CreateMaterialMask
(
Chaos::FMaterialMaskHandle InHandle, |
||
| void | DestroyMaterial
(
Chaos::FMaterialHandle InHandle |
||
| void | DestroyMaterialMask
(
Chaos::FMaterialMaskHandle InHandle |
||
| void | EnableRewindCapture
(
int32 NumFrames, |
||
| void | Update the particles forces based on field evaluation | ||
| void | FieldParameterUpdateCallback
(
Chaos::FPBDPositionConstraints& PositionTarget, |
Update the particles parameters based on field evaluation | |
| void | FinalizeRewindData
(
const TParticleView< FPBDRigidParticles >& DirtyParticles |
||
| FCharacterGroundConstraintContainer & | |||
| const FCharacterGroundConstraintContainer & | |||
| int32 & | |||
| FDirtyParticlesBuffer * | Simulation API | ||
| FSolverEventFilters * | |||
| FSolverEventFilters * | |||
| FEventManager * | |||
| FPBDRigidsEvolution * | GetEvolution () |
||
| FPBDRigidsEvolution * | GetEvolution () |
||
| TArray< FGeometryCollectionPhysicsProxy * > & | |||
| TArray< FGeometryCollectionPhysicsProxy * > & | |||
| const ISpatialAccelerationCollection< FAccelerationStructureHandle, FReal, 3 > * | |||
| const TArray< FJointConstraintPhysicsProxy * > & | |||
| FJointConstraints & | |||
| const FJointConstraints & | |||
| const FSingleParticlePhysicsProxy * | GetParticleProxy_PT
(
const FGeometryParticleHandle& Handle |
Access particle proxy from physics thread useful for cross thread communication. | |
| const FSingleParticlePhysicsProxy * | GetParticleProxy_PT
(
const FUniqueIdx& Idx |
Access particle proxy from physics thread useful for cross thread communication. | |
| FSingleParticlePhysicsProxy * | GetParticleProxy_PT
(
const FGeometryParticleHandle& Handle |
Access particle proxy from physics thread useful for cross thread communication. | |
| FSingleParticlePhysicsProxy * | GetParticleProxy_PT
(
const FUniqueIdx& Idx |
Access particle proxy from physics thread useful for cross thread communication. | |
| const FParticlesType & | GetParticles () |
||
| FParticlesType & | GetParticles () |
||
| const FPerSolverFieldSystem & | |||
| FPerSolverFieldSystem & | |||
| const THandleArray< FChaosPhysicsMaterialMask > & | |||
| const THandleArray< FChaosPhysicsMaterial > & | Access to the internal material mirrors | ||
| const THandleArray< FChaosPhysicsMaterialMask > & | |||
| const THandleArray< FChaosPhysicsMaterial > & | |||
| FPBDSuspensionConstraints & | |||
| const FPBDSuspensionConstraints & | |||
| bool | True if the simulation is running in deterministic mode This will be true if determinism is explicitly requested (via SetIsDeterministic()) or if required by some other system like Rewind/Resim support. | ||
| int32 | |||
| int32 | |||
| void | PostTickDebugDraw
(
FReal Dt |
||
| void | RegisterObject
(
Chaos::FCharacterGroundConstraint* GTConstraint |
||
| void | RegisterObject
(
Chaos::FSuspensionConstraint* GTConstraint |
||
| void | RegisterObject
(
Chaos::FJointConstraint* GTConstraint |
||
| void | RegisterObject
(
FClusterUnionPhysicsProxy* Proxy |
||
| void | RegisterObject
(
FGeometryCollectionPhysicsProxy* InProxy |
||
| void | RegisterObject
(
FSingleParticlePhysicsProxy* Proxy |
Object API | |
| void | Reset () |
||
| bool | |||
| void | SetBreakingFilterSettings
(
const FSolverBreakingFilterSettings& InBreakingFilterSettings |
||
| void | SetCollisionCullDistance
(
const FReal InCullDistance |
||
| void | SetCollisionFilterSettings
(
const FSolverCollisionFilterSettings& InCollisionFilterSettings |
||
| void | SetCollisionMaxPushOutVelocity
(
const FReal InMaxPushOutVelocity |
||
| void | SetCurrentFrame
(
const int32 CurrentFrameIn |
||
| void | SetGenerateBreakingData
(
bool bDoGenerate |
||
| void | SetGenerateCollisionData
(
bool bDoGenerate |
||
| void | SetGenerateRemovalData
(
bool bDoGenerate |
||
| void | SetGenerateTrailingData
(
bool bDoGenerate |
||
| void | SetIsDeterministic
(
const bool bInIsDeterministic |
Request that the sim be deterministic (or not) | |
| void | SetParticleDynamicMisc
(
FPBDRigidParticleHandle* Rigid, |
Interop utilities. | |
| void | SetPositionIterations
(
const int32 InNumIterations |
||
| void | SetProjectionIterations
(
const int32 InNumIterations |
||
| void | SetRemovalFilterSettings
(
const FSolverRemovalFilterSettings& InRemovalFilterSettings |
||
| void | SetSuspensionTarget
(
Chaos::FSuspensionConstraint* GTConstraint, |
||
| void | SetTrailingFilterSettings
(
const FSolverTrailingFilterSettings& InTrailingFilterSettings |
||
| void | SetVelocityBoundsExpansion
(
const FReal BoundsVelocityMultiplier, |
||
| void | SetVelocityIterations
(
const int32 InNumIterations |
||
| void | |||
| void | |||
| void | Copy the simulation material list to the query material list, to be done when the SQ commits an update | ||
| void | UnregisterObject
(
Chaos::FJointConstraint* GTConstraint |
||
| void | UnregisterObject
(
FClusterUnionPhysicsProxy* Proxy |
||
| void | UnregisterObject
(
FGeometryCollectionPhysicsProxy* InProxy |
||
| void | UnregisterObject
(
FSingleParticlePhysicsProxy* Proxy |
||
| void | UnregisterObject
(
Chaos::FSuspensionConstraint* GTConstraint |
||
| void | UnregisterObject
(
Chaos::FCharacterGroundConstraint* GTConstraint |
||
| void | |||
| void | UpdateExternalAccelerationStructure_External
(
ISpatialAccelerationCollection< FAccelerationStructureHandle, FReal, 3 >*& ExternalStructure |
||
| void | |||
| void | UpdateMaterial
(
Chaos::FMaterialHandle InHandle, |
Events hooked up to the Chaos material manager | |
| void | UpdateMaterialMask
(
Chaos::FMaterialMaskHandle InHandle, |
||
| void | Update the counter in Stats and the CSV profiler. |
Overridden from FPhysicsSolverBase
| Type | Name | Description | |
|---|---|---|---|
| void | Apply callbacks internally. | ||
| bool |
Typedefs
| Name | Description |
|---|---|
| FDirtyParticlesBuffer | |
| FHandle | |
| FJointConstraints | |
| FParticle | |
| FParticlesType | |
| FPBDRigidsEvolution | |
| FPositionConstraints | |
| FRigidDynamicSpringConstraints | |
| Super |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | This method will be removed in the future |