Navigation
API > API/Runtime > API/Runtime/Engine
| Name | IAsyncPhysicsStateProcessor |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/Experimental/AsyncPhysicsStateProcessorInterface.h |
| Include Path | #include "Physics/Experimental/AsyncPhysicsStateProcessorInterface.h" |
Syntax
class IAsyncPhysicsStateProcessor
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AllowsAsyncPhysicsStateCreation() |
Returns whether this component allows having its physics state being created asynchronously (outside of the GameThread). | Physics/Experimental/AsyncPhysicsStateProcessorInterface.h | |
virtual bool AllowsAsyncPhysicsStateDestruction() |
Returns whether this component allows having its physics state being destroyed asynchronously (outside of the GameThread). | Physics/Experimental/AsyncPhysicsStateProcessorInterface.h | |
virtual void CollectBodySetupsWithPhysicsMeshesToCreate
(
TSet< UBodySetup* >& OutBodySetups |
Returns body setups that needs to create their physics meshes before physics state asynchronous creation | Physics/Experimental/AsyncPhysicsStateProcessorInterface.h | |
virtual UObject * GetAsyncPhysicsStateObject() |
Returns the associated UObject for this processor. | Physics/Experimental/AsyncPhysicsStateProcessorInterface.h | |
virtual bool IsAsyncPhysicsStateCreated() |
Returns whether the physics state is created. | Physics/Experimental/AsyncPhysicsStateProcessorInterface.h | |
virtual bool OnAsyncCreatePhysicsState
(
const UE::FTimeout& TimeOut |
Used to create any physics engine information for this component outside of the GameThread. | Physics/Experimental/AsyncPhysicsStateProcessorInterface.h | |
virtual void OnAsyncCreatePhysicsStateBegin_GameThread() |
Called on the GameThread before the component's physic engine information is created. | Physics/Experimental/AsyncPhysicsStateProcessorInterface.h | |
virtual void OnAsyncCreatePhysicsStateEnd_GameThread() |
Called on the GameThread once the component's physic engine information is created. | Physics/Experimental/AsyncPhysicsStateProcessorInterface.h | |
virtual bool OnAsyncDestroyPhysicsState
(
const UE::FTimeout& TimeOut |
Used to destroy any physics engine information for this component outside of the GameThread. | Physics/Experimental/AsyncPhysicsStateProcessorInterface.h | |
virtual void OnAsyncDestroyPhysicsStateBegin_GameThread() |
Called on the GameThread before the component's physic engine information is destroyed. | Physics/Experimental/AsyncPhysicsStateProcessorInterface.h | |
virtual void OnAsyncDestroyPhysicsStateEnd_GameThread() |
Called on the GameThread once the component's physic engine information is destroyed. | Physics/Experimental/AsyncPhysicsStateProcessorInterface.h |