FChaosUserData

Choose your operating system:

Windows

macOS

Linux

References

Module

PhysicsCore

Header

/Engine/Source/Runtime/PhysicsCore/Public/PhysicsInterfaceTypesCore.h

Include

#include "PhysicsInterfaceTypesCore.h"

Syntax

struct FChaosUserData

Variables

Name Description

Protected variable

void *

 

Payload

Protected variable

EChaosUserDataT...

 

Type

Constructors

Name Description

Public function

FChaosUserData()

Public function

FChaosUserData

(
    FBodyInstance* InPayload
)

Public function

FChaosUserData

(
    UPhysicalMaterial* InPayload
)

Public function

FChaosUserData

(
    FPhysScene* InPayload
)

Public function

FChaosUserData

(
    FConstraintInstance* InPayload
)

Public function

FChaosUserData

(
    UPrimitiveComponent* InPayload
)

Public function

FChaosUserData

(
    FKShapeElem* InPayload
)

Public function

FChaosUserData

(
    FCustomChaosPayload* InPayload
)

Functions

Name Description

Public function

FConstraintI...

 

Get

(
    void* UserData
)

Public function

FBodyInstanc...

 

Get

(
    void* UserData
)

Public function

UPhysicalMat...

 

Get

(
    void* UserData
)

Public function

FPhysScene &...

 

Get

(
    void* UserData
)

Public function Static

T *

 

Get

(
    void* UserData
)

Public function

UPrimitiveCo...

 

Get

(
    void* UserData
)

Public function

FKShapeElem ...

 

Get

(
    void* UserData
)

Public function

FCustomChaos...

 

Get

(
    void* UserData
)

Public function Static

bool

 

IsGarbage

(
    void* UserData
)

Helper function to determine if userData is garbage (maybe dangling pointer)

Public function

void

 

Set

(
    void* UserData,
    FBodyInstance* Payload
)

Public function

void

 

Set

(
    void* UserData,
    UPhysicalMaterial* Payload
)

Public function

void

 

Set

(
    void* UserData,
    FPhysScene* Payload
)

Public function

void

 

Set

(
    void* UserData,
    FConstraintInstance* Payload
)

Public function

void

 

Set

(
    void* UserData,
    UPrimitiveComponent* Payload
)

Public function

void

 

Set

(
    void* UserData,
    FKShapeElem* Payload
)

Public function

void

 

Set

(
    void* UserData,
    FCustomChaosPayload* Payload
)

Public function Static

void

 

Set

(
    void* UserData,
    T* Payload
)