FChaosUserData

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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback