TShapeProperty

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Properties.h

Include

#include "Chaos/Properties.h"

Syntax

template<typename T, EShapeProperty PropName>
class TShapeProperty

Constructors

Name Description

Public function

TShapeProperty()

Public function

TShapeProperty

(
    const T& Val
)

Public function

TShapeProperty

(
    const TShapeProperty< T, PropName >...
)

We don't support this because it could lead to bugs with values not being properly written to remote

Functions

Name Description

Public function

void

 

Modify

(
    bool bInvalidate,
    FShapeDirtyFlags& Dirty,
    IPhysicsProxyBase* Proxy,
    int32 ShapeIdx,
    const Lambda& LambdaFunc
)

Public function Const

const T &

 

Read()

Public function

void

 

Serialize

(
    FChaosArchive& Ar
)

Public function Const

void

 

SyncRemote

(
    FDirtyPropertiesManager& Manager,
    int32 DataIdx,
    FShapeDirtyData& Remote
)

Public function

void

 

Write

(
    const T& Val,
    bool bInvalidate,
    FShapeDirtyFlags& Dirty,
    IPhysicsProxyBase* Proxy,
    int32 ShapeIdx
)

Constants

Name

Description

PropertyFlag

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss