TParticleProperty

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, EParticleProperty PropName>
class TParticleProperty

Constructors

Name Description

Public function

TParticleProperty()

Public function

TParticleProperty

(
    const T& Val
)

Public function

TParticleProperty

(
    const TParticleProperty< T, PropNam...
)

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

Functions

Name Description

Public function Const

bool

 

IsDirty

(
    const FParticleDirtyFlags& Flags
)

Public function

void

 

Modify

(
    bool bInvalidate,
    FParticleDirtyFlags& Dirty,
    IPhysicsProxyBase* Proxy,
    const Lambda& LambdaFunc
)

Public function Const

const T &

 

Read()

Public function

void

 

Serialize

(
    FChaosArchive& Ar
)

Public function Const

void

 

SyncRemote

(
    FDirtyPropertiesManager& Manager,
    int32 DataIdx,
    const FParticleDirtyData& Remote
)

Public function

void

 

Write

(
    const T& Val,
    bool bInvalidate,
    FParticleDirtyFlags& Dirty,
    IPhysicsProxyBase* Proxy
)

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