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

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