Navigation
API > API/Runtime > API/Runtime/Engine
Container used for physics tasks that need to be deferred from GameThread. This is not safe for general purpose multi-therading
| Name | FPhysCommandHandler |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/PhysicsPublic.h |
| Include Path | #include "PhysicsPublic.h" |
Syntax
class FPhysCommandHandler
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPhysCommandHandler() |
PhysicsPublic.h |
Structs
| Name | Remarks |
|---|---|
| FPhysPendingCommand | Command to execute when physics simulation is done |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PendingCommands | TArray< FPhysPendingCommand > | Array of commands waiting to execute once simulation is done | PhysicsPublic.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Flush() |
Executes pending commands and clears buffer | PhysicsPublic.h | |
bool HasPendingCommands() |
PhysicsPublic.h |