TPBDRigidParticle

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Chaos

Header

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

Include

#include "Chaos/ParticleHandle.h"

Syntax

template<typename T, int d>
class TPBDRigidParticle : public Chaos::TKinematicGeometryParticle< T, d >

Constructors

Name Description

Protected function

TPBDRigidParticle

(
    const FPBDRigidParticleParameters&...
)

Functions

Name Description

Public function Const

const TVecto...

 

Acceleration()

Public function

void

 

AddForce

(
    const TVector< T, d >& InF,
    bool bInvalidate
)

Public function

void

 

AddTorque

(
    const TVector< T, d >& InTorque,
    bool bInvalidate
)

Public function Const

const TVecto...

 

AngularAcceleration()

Public function Const

T

 

AngularEtherDrag()

Public function Const

const TVecto...

 

AngularImpulseVelocity()

Public function

void

 

ApplyDynamicsWeight

(
    const FReal DynamicsWeight
)

Public function Static

TPBDRigidPar...

 

Cast

(
    TGeometryParticle< T, d >* Par...
)

Public function Static

const TPBDRi...

 

Cast

(
    const TGeometryParticle< T, d >...
)

Public function Const

bool

 

CCDEnabled()

Public function Const

const TVecto...

 

CenterOfMass()

Public function

void

 

ClearEvents()

Public function

void

 

ClearForces

(
    bool bInvalidate
)

Public function

void

 

ClearTorques

(
    bool bInvalidate
)

Public function Const

uint32

 

CollisionConstraintFlag()

Public function Const

int32

 

CollisionGroup()

Public function Static

TUniquePtr< ...

 

CreateParticle

(
    const FPBDRigidParticleParameters&...
)

Public function Const

bool

 

Disabled()

Public function

EWakeEventEn...

 

GetWakeEvent()

Public function Const

bool

 

GravityEnabled()

Bool Disabled() const { return MMiscData.Read().bDisabled; } void SetDisabled(const bool InDisabled) { MMiscData.Modify(true,MDirtyFlags,Proxy,InDisabled{ Data.bDisabled = InDisabled;}); }

Public function Const

const PMatri...

 

I()

Public function Const

const PMatri...

 

InvI()

Public function Const

T

 

InvM()

Public function Const

bool

 

IsInitialized()

Todo: remove this

Public function Const

int32

 

Island()

Public function Const

T

 

LinearEtherDrag()

Public function Const

const TVecto...

 

LinearImpulseVelocity()

Public function Const

T

 

M()

Public function Const

T

 

MaxAngularSpeedSq()

Public function Const

T

 

MaxLinearSpeedSq()

Public function Const

EObjectState...

 

ObjectState()

Public function Const

bool

 

OneWayInteraction()

Public function

void

 

ResetSmoothedVelocities()

Public function Const

const TRotat...

 

RotationOfMass()

Public function

void

 

SetAcceleration

(
    const FVec3& Acceleration,
    bool bInvalidate
)

Public function

void

 

SetAngularAcceleration

(
    const TVector< T, d >& InTorque,
    bool bInvalidate
)

Public function

void

 

SetAngularEtherDrag

(
    const T& InAngularEtherDrag
)

Public function

void

 

SetAngularImpulseVelocity

(
    const TVector< T, d >& InAngularIm...,
    bool bInvalidate
)

Public function

void

 

SetCCDEnabled

(
    bool bInCCDEnabled
)

Public function

void

 

SetCenterOfMass

(
    const TVector< T, d >& InCenterOfM...,
    bool bInvalidate
)

Public function

void

 

SetCollisionConstraintFlag

(
    const uint32 InCollisionConstraintF...
)

Public function

void

 

SetCollisionGroup

(
    const int32 InCollisionGroup
)

Public function

void

 

SetDisabled

(
    bool bInDisabled
)

Public function

void

 

SetDynamicMisc

(
    const FParticleDynamicMisc& Dynami...
)

Public function

void

 

SetDynamics

(
    const FParticleDynamics& InDynamic...,
    bool bInvalidate
)

Public function

void

 

SetGravityEnabled

(
    const bool InGravityEnabled
)

Public function

void

 

SetI

(
    const PMatrix< T, d, d >& InI
)

Public function

void

 

SetInitialized

(
    const bool InInitialized
)

Public function

void

 

SetInvI

(
    const PMatrix< T, d, d >& InInvI
)

Public function

void

 

SetInvM

(
    const T& InInvM
)

Public function

void

 

SetIsland

(
    const int32 InIsland
)

TODO(stett): Make the setter private. It is public right now to provide access to proxies.

Public function

void

 

SetLinearEtherDrag

(
    const T& InLinearEtherDrag
)

Public function

void

 

SetLinearImpulseVelocity

(
    const TVector< T, d >& InLinearImp...,
    bool bInvalidate
)

Public function

void

 

SetM

(
    const T& InM
)

Public function

void

 

SetMassProps

(
    const FParticleMassProps& InProps
)

Public function

void

 

SetMaxAngularSpeedSq

(
    const T& InAngularSpeed
)

Public function

void

 

SetMaxLinearSpeedSq

(
    const T& InLinearSpeed
)

Public function

void

 

SetObjectState

(
    const EObjectStateType InState,
    bool bAllowEvents,
    bool bInvalidate
)

Public function

void

 

SetOneWayInteraction

(
    const bool InOneWayInteraction
)

Public function

void

 

SetRotationOfMass

(
    const TRotation< T, d >& InRotatio...,
    bool bInvalidate
)

Public function

void

 

SetSleepType

(
    ESleepType SleepType,
    bool bAllowEvents,
    bool bInvalidate
)

Public function

void

 

SetToBeRemovedOnFracture

(
    const bool bToBeRemovedOnFracture
)

TODO(stett): Make the setter private. It is public right now to provide access to proxies.

Public function Const

ESleepType

 

SleepType()

Public function Const

bool

 

ToBeRemovedOnFracture()

Overridden from TGeometryParticle

Name Description

Public function Virtual

void

 

Serialize

(
    FChaosArchive& Ar
)

Protected function Virtual Const

void

 

SyncRemoteDataImp

(
    FDirtyPropertiesManager& Manager,
    int32 DataIdx,
    const FDirtyChaosProperties& Remot...
)

Typedefs

Name

Description

Base

FHandle