Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/PhysxUserData.h |
| Include | #include "PhysxUserData.h" |
Syntax
struct FPhysxUserData
Remarks
PhysX user data
Variables
| Type | Name | Description | |
|---|---|---|---|
| void * | Payload | ||
| EPhysxUserDataType::Type | Type |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPhysxUserData
(
FBodyInstance* InPayload |
|||
FPhysxUserData
(
UPhysicalMaterial* InPayload |
|||
FPhysxUserData
(
FPhysScene* InPayload |
|||
FPhysxUserData
(
FConstraintInstance* InPayload |
|||
FPhysxUserData
(
UPrimitiveComponent* InPayload |
|||
FPhysxUserData
(
FKShapeElem* InPayload |
|||
FPhysxUserData
(
FCustomPhysXPayload* 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 |
||
| FCustomPhysXPayload * | 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, |