TPBDEvolution

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/PBDEvolution.h"

Syntax

template<class T, int d>
class TPBDEvolution

Constructors

Name Description

Public function

TPBDEvolution

(
    TPBDParticles < T, d >&& InParticle...,
    TKinematicGeometryClothParticles < T...,
    TArray < TVector < int32 , 3 >>&& Col...,
    int32 NumIterations,
    T CollisionThickness,
    T SelfCollisionsThickness,
    T CoefficientOfFriction,
    T Damping
)

TODO(mlentine): Init particles from some type of input.

Destructors

Name Description

Public function

~TPBDEvolution()

Functions

Name Description

Public function

uint32

 

AddCollisionParticles

(
    uint32 Num,
    uint32 GroupId
)

Add collision particles and initialize group ids. Return the index of the first added particle.

Public function

void

 

AddForceFunction

(
    TFunction < void < T, d...
)

Public function

uint32

 

AddParticles

(
    uint32 Num,
    uint32 GroupId
)

Add particles and initialize group ids. Return the index of the first added particle.

Public function

void

 

AddPBDConstraintFunction

(
    TFunction < void < T, d...
)

Public function

void

 

AddXPBDConstraintFunctions

(
    TFunction < void ()> InitConstraintFu...,
    TFunction < void < T, d...
)

Public function

void

 

AdvanceOneTimeStep

(
    const T dt
)

Public function

const bool

 

Collided

(
    int32 index
)

Public function

TGeometryClo ...

 

CollisionParticles()

Public function Const

const TGeome ...

 

CollisionParticles()

Public function

TArray < TVec ...

 

CollisionTriangles()

Public function

TSet < TVecto ...

 

DisabledCollisionElements()

Public function Const

T

 

GetCoefficientOfFriction

(
    const uint32 GroupId
)

Public function Const

T

 

GetCollisionThickness

(
    const uint32 GroupId
)

Public function Const

T

 

GetDamping

(
    const uint32 GroupId
)

Public function Const

const FGravi ...

 

GetGravityForces()

Public function

FGravityForc ...

 

GetGravityForces()

Public function Const

int32

 

GetIterations()

Public function Const

T

 

GetSelfCollisionThickness()

Public function Const

T

 

GetTime()

Public function Const

const TArray ...

 

GetVelocityFields()

Public function

TArray < FVel ...

 

GetVelocityFields()

Public function

TPBDParticle ...

 

Particles()

Public function Const

const TPBDPa ...

 

Particles()

Public function

void

 

ResetConstraintRules()

Public function

void

 

ResetSelfCollision()

Public function

void

 

ResetVelocityFields()

Public function

void

 

SetCoefficientOfFriction

(
    const T CoefficientOfFriction,
    const uint32 GroupId
)

Public function

void

 

SetCollisionKinematicUpdateFunction

(
    TFunction < void ...
)

Public function

void

 

SetCollisionThickness

(
    const T CollisionThickness,
    const uint32 GroupId
)

Public function

void

 

SetDamping

(
    const T Damping,
    const uint32 GroupId
)

Public function

void

 

SetIterations

(
    const int32 Iterations
)

Public function

void

 

SetKinematicUpdateFunction

(
    TFunction < void < T, d...
)

Public function

void

 

SetParticleUpdateFunction

(
    TFunction < void < T, d...
)

Public function

void

 

SetSelfCollisionThickness

(
    const T SelfCollisionThickness
)

Typedefs

Name

Description

FGravityForces

FVelocityField

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