TPerParticlePBDShapeConstraints

Windows
MacOS
Linux

Inheritance Hierarchy

TPerParticleRule

TPBDShapeConstraintsBase

TPerParticlePBDShapeConstraints

References

Module

Chaos

Header

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

Include

#include "Chaos/PerParticlePBDShapeConstraints.h"

Syntax

template<class T, int d>
class TPerParticlePBDShapeConstraints :
    public Chaos::TPerParticleRule< T, d >,
    public Chaos::TPBDShapeConstraintsBase< T, d >

Constructors

Name Description

Public function

TPerParticlePBDShapeConstraints

(
    const T Stiffness
)

Public function

TPerParticlePBDShapeConstraints

(
    const TDynamicParticles< T, d >& I...,
    const TArray< TVector< float, 3 >> ...,
    const T Stiffness
)

Destructors

Functions

Name Description

Public function Const

void

 

Apply

(
    TPBDParticles< T, d >& InParticles,
    const T Dt,
    const int32 Index
)

TODO(mlentine): We likely need to use time n positions here.

Overridden from TParticleRule

Name Description

Public function Virtual Const

void

 

Apply

(
    TPBDParticles< T, d >& InParticles,
    const T Dt
)

Typedefs

Name

Description

Base

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