PARTICLE_TYPE is one of: Chaos::TGeometryParticle<float,3> Chaos::TKinematicGeometryParticle<float,3> Chaos::TPBDRigidParticle<float,3>
更多...
#include <SingleParticlePhysicsProxy.h>
类 FSingleParticlePhysicsProxy< PARTICLE_TYPE > 继承关系图:额外继承的成员函数 | |
Public 成员函数 继承自 TPhysicsProxy< FSingleParticlePhysicsProxy< PARTICLE_TYPE >, void > | |
| void | BindParticleCallbackMapping (Chaos::TArrayCollectionArray< PhysicsProxyWrapper > &PhysicsProxyReverseMap, Chaos::TArrayCollectionArray< int32 > &ParticleIDReverseMap) |
| The Particle Binding creates a connection between the particles in the simulation and the solver objects dataset. | |
| void | BufferCommand (Chaos::TPBDRigidsSolver< Traits > *InSolver, const FFieldSystemCommand &InCommand) |
| Called to buffer a command to be processed at the next available safe opportunity | |
| void | BufferPhysicsResults () |
| CONTEXT: PHYSICSTHREAD Called per-tick after the simulation has completed. 更多... | |
| void | ClearAccumulatedData () |
| CONTEXT: GAMETHREAD Returns a new unmanaged allocation of the data saved on the handle, otherwise nullptr 更多... | |
| EPhysicsProxyType | ConcreteType () |
| Returns the concrete type of the derived class | |
| void | FlipBuffer () |
| CONTEXT: PHYSICSTHREAD (Write Locked) Called by the physics thread to signal that it is safe to perform any double-buffer flips here. 更多... | |
| virtual UObject * | GetOwner () const override |
| Gets the owning external object for this solver object, never used internally | |
| bool | IsSimulating () const |
| The following functions are to be implemented by all solver objects as we're using CRTP / F-Bound to statically dispatch the calls. 更多... | |
| void | OnRemoveFromScene () |
| CONTEXT: PHYSICSTHREAD Called on the physics thread when the engine is shutting down the proxy and we need to remove it from any active simulations. 更多... | |
| bool | PullFromPhysicsState (const int32 SolverSyncTimestamp) |
| CONTEXT: GAMETHREAD (Read Locked) Perform a similar operation to Sync, but take the data from a gamethread-safe buffer. 更多... | |
| void | SyncBeforeDestroy () |
| CONTEXT: GAMETHREAD Called during the gamethread sync after the proxy has been removed from its solver intended for final handoff of any data the proxy has that the gamethread may be interested in | |
| virtual | ~TPhysicsProxy () |
| Virtual destructor for derived objects, ideally no other virtuals should exist in this chain | |
PARTICLE_TYPE is one of: Chaos::TGeometryParticle<float,3> Chaos::TKinematicGeometryParticle<float,3> Chaos::TPBDRigidParticle<float,3>