Low level Chaos scene used when building custom simulations that don't exist in the main world physics scene. 更多...
#include <PhysScene_Chaos.h>
类 FPhysScene_Chaos 继承关系图:Public 成员函数 | |
| void | AddObject (UPrimitiveComponent *Component, FSkeletalMeshPhysicsProxy *InObject) |
| Called during creation of the physics state for gamethread objects to pass off an object to the physics thread | |
| const TArray< IPhysicsProxyBase * > * | GetOwnedPhysicsProxies (UPrimitiveComponent *Comp) const |
| Given a component, returns its associated solver objects. | |
| template<class OwnerType > | |
| OwnerType * | GetOwningComponent (IPhysicsProxyBase *PhysicsProxy) const |
| Given a solver object, returns its associated component. | |
| AActor * | GetSolverActor () const |
| Returns the actor that owns this solver. | |
| void | OnWorldEndPlay () |
| Callback when a world ends, to mark updated packages dirty. 更多... | |
| void | RemoveObject (FSkeletalMeshPhysicsProxy *InObject) |
| Called during physics state destruction for the game thread to remove objects from the simulation #BG TODO - Doesn't actually remove from the evolution at the moment | |
Public 成员函数 继承自 FChaosScene | |
| void | CopySolverAccelerationStructure () |
| Copies the acceleration structure out of the solver, does no thread safety checking so ensure calls to this are made at appropriate sync points if required | |
| void | Flush_AssumesLocked () |
| Flushes all pending global, task and solver command queues and refreshes the spatial acceleration for the scene. 更多... | |
| Chaos::FPhysicsSolver * | GetSolver () const |
| Get the internal Chaos solver object | |
额外继承的成员函数 | |
Protected 属性 继承自 FChaosScene | |
| Chaos::FPhysicsSceneGuard | ExternalDataLock |
| Scene lock object for external threads (non-physics) | |
Low level Chaos scene used when building custom simulations that don't exist in the main world physics scene.
| void FPhysScene_Chaos::OnWorldEndPlay | ( | ) |
Callback when a world ends, to mark updated packages dirty.
This can't be done in final sync as the editor will ignore packages being dirtied in PIE. Also used to clean up any other references