Navigation
API > API/Runtime > API/Runtime/PhysicsCore
References
| Module | PhysicsCore |
| Header | /Engine/Source/Runtime/PhysicsCore/Public/PhysicsInterfaceTypesCore.h |
| Include | #include "PhysicsInterfaceTypesCore.h" |
Syntax
struct FChaosUserData
Variables
| Type | Name | Description | |
|---|---|---|---|
| void * | Payload | ||
| EChaosUserDataType::Type | Type |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FChaosUserData
(
FBodyInstance* InPayload |
|||
FChaosUserData
(
UPhysicalMaterial* InPayload |
|||
FChaosUserData
(
FPhysScene* InPayload |
|||
FChaosUserData
(
FConstraintInstance* InPayload |
|||
FChaosUserData
(
UPrimitiveComponent* InPayload |
|||
FChaosUserData
(
FKShapeElem* InPayload |
|||
FChaosUserData
(
FCustomChaosPayload* InPayload |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FConstraintInstance * | Get
(
void* UserData |
||
| FBodyInstance * | Get
(
void* UserData |
||
| UPhysicalMaterial * | Get
(
void* UserData |
||
| FPhysScene * | Get
(
void* UserData |
||
| T * | Get
(
void* UserData |
||
| UPrimitiveComponent * | Get
(
void* UserData |
||
| FKShapeElem * | Get
(
void* UserData |
||
| FCustomChaosPayload * | Get
(
void* UserData |
||
| bool | IsGarbage
(
void* UserData |
Helper function to determine if userData is garbage (maybe dangling pointer) | |
| void | Set
(
void* UserData, |
||
| void | Set
(
void* UserData, |
||
| void | Set
(
void* UserData, |
||
| void | Set
(
void* UserData, |
||
| void | Set
(
void* UserData, |
||
| void | Set
(
void* UserData, |
||
| void | Set
(
void* UserData, |
||
| void | Set
(
void* UserData, |