TPBDRigidsSOAs

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Physics/ImmediatePhysics/ImmediatePhysicsChaos/ImmediatePhysicsCore_Chaos.h

Include

#include "Physics/ImmediatePhysics/ImmediatePhysicsChaos/ImmediatePhysicsCore_Chaos.h"

Syntax

template<typename T, int d>
class TPBDRigidsSOAs

Constructors

Name Description

Public function

TPBDRigidsSOAs()

Public function

TPBDRigidsSOAs

(
    const TPBDRigidsSOAs < T, d >&
)

Public function

TPBDRigidsSOAs

(
    TPBDRigidsSOAs < T, d >&& Other
)

Functions

Name Description

Public function

void

 

ActivateParticle

(
    TGeometryParticleHandle < T, d >...
)

Wake a sleeping dynamic non-disabled particle.

Public function

void

 

ActivateParticles

(
    const TArray < TGeometryParticleHand ...
)

Wake multiple dynamic non-disabled particles.

Public function

void

 

ClearTransientDirty()

Public function

TArray < TPBD ...

 

CreateClusteredParticles

(
    int32 NumParticles,
    const FUniqueIdx * ExistingIndi...,
    const TPBDRigidParticleParameters < ...
)

Used specifically by PBDRigidClustering.

Public function

TArray < TPBD ...

 

CreateDynamicParticles

(
    int32 NumParticles,
    const FUniqueIdx * ExistingIndi...,
    const TPBDRigidParticleParameters < ...
)

Public function

TArray < TPBD ...

 

CreateGeometryCollectionParticles

(
    int32 NumParticles,
    const FUniqueIdx * ExistingIndi...,
    const TPBDRigidParticleParameters < ...
)

Public function

TArray < TKin ...

 

CreateKinematicParticles

(
    int32 NumParticles,
    const FUniqueIdx * ExistingIndi...,
    const TKinematicGeometryParticlePar ...
)

Public function

TArray < TGeo ...

 

CreateStaticParticles

(
    int32 NumParticles,
    const FUniqueIdx * ExistingIndi...,
    const TGeometryParticleParameters < ...
)

Public function

void

 

DeactivateParticle

(
    TGeometryParticleHandle < T, d >...,
    const bool DeferUpdateViews
)

Put a non-disabled dynamic particle to sleep.

Public function

void

 

DeactivateParticles

(
    const TArray < TGeometryParticleHand ...
)

Put multiple dynamic non-disabled particles to sleep.

Public function

void

 

DestroyParticle

(
    TGeometryParticleHandle < T, d >...
)

Public function

void

 

DisableParticle

(
    TGeometryParticleHandle < T, d >...
)

A disabled particle is ignored by the solver.

Public function

void

 

EnableParticle

(
    TGeometryParticleHandle < T, d >...
)

Public function Const

const auto &

 

GetActiveClusteredArray()

TEMP: only needed while clustering code continues to use direct indices.

Public function

TParticleVie ...

 

GetActiveKinematicParticlesView()

Public function Const

const TParti ...

 

GetActiveKinematicParticlesView()

Public function

TParticleVie ...

 

GetActiveParticlesView()

Public function Const

const TParti ...

 

GetActiveParticlesView()

Public function

TParticleVie ...

 

GetActiveStaticParticlesView()

Public function Const

const TParti ...

 

GetActiveStaticParticlesView()

Public function Const

const TParti ...

 

GetAllParticlesView()

Public function

auto &

 

GetClusteredParticles()

Public function Const

const auto &

 

GetClusteredParticles()

Public function

TParticleVie ...

 

GetDirtyParticlesView()

Public function Const

const TParti ...

 

GetDirtyParticlesView()

Public function Const

const TPBDRi ...

 

GetDynamicParticles()

Public function

TPBDRigidPar ...

 

GetDynamicParticles()

Public function

TPBDGeometry ...

 

GetGeometryCollectionParticles()

Public function Const

const TPBDGe ...

 

GetGeometryCollectionParticles()

Public function Const

const auto &

 

GetNonDisabledClusteredArray()

Public function Const

const TParti ...

 

GetNonDisabledDynamicView()

Public function Const

const TGeome ...

 

GetNonDisabledStaticParticles()

Public function

TGeometryPar ...

 

GetNonDisabledStaticParticles()

Public function Const

const TParti ...

 

GetNonDisabledView()

Public function Const

const TGeome ...

 

GetParticleHandles()

Public function

TGeometryPar ...

 

GetParticleHandles()

Public function

auto &

 

GetUniqueIndices()

Public function

void

 

MarkTransientDirtyParticle

(
    TGeometryParticleHandle < T, d >...
)

Public function

void

 

Reset()

Public function

void

 

Serialize

(
    FChaosArchive & Ar
)

Public function

void

 

SetDynamicParticleSOA

(
    TPBDRigidParticleHandle < T, d >...
)

Public function

void

 

UpdateGeometryCollectionViews

(
    const bool ForceUpdateViews
)

Update which particle arrays geometry collection particles are in based on their object state (static, kinematic, dynamic, sleeping) and their disabled state.

Public function Const

void

 

UpdateIfNeeded()

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