TXPBDSpringConstraints

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Chaos

Header

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

Include

#include "Chaos/XPBDSpringConstraints.h"

Syntax

template<class T, int32 d>
class TXPBDSpringConstraints :
    public Chaos::TPBDSpringConstraintsBase< T, d > ,
    public Chaos::FPBDConstraintContainer

Constructors

Name Description

Public function

TXPBDSpringConstraints

(
    const T Stiffness
)

Public function

TXPBDSpringConstraints

(
    const TDynamicParticles < T, d >& I...,
    TArray < TVector < int32 , 2 >>&& Con...,
    const T Stiffness
)

Public function

TXPBDSpringConstraints

(
    const TRigidParticles < T, d >& InP...,
    TArray < TVector < int32 , 2 >>&& Con...,
    const T Stiffness
)

Public function

TXPBDSpringConstraints

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

Public function

TXPBDSpringConstraints

(
    const TDynamicParticles < T, d >& I...,
    const TArray < TVector < int32 , 4 >> ...,
    const T Stiffness
)

Destructors

Name Description

Public function Virtual

~TXPBDSpringConstraints()

Functions

Name Description

Public function Const

void

 

Apply

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

Public function Const

void

 

Apply

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

Public function Const

void

 

Apply

(
    TPBDRigidParticles < T, d >& InPart...,
    const T Dt,
    const TArray < int32 >& InConstrain...
)

Public function

TArray < TVec ...

 

Constraints()

Public function Const

const TArray ...

 

GetConstraints()

Public function

TArray < TVec ...

 

GetConstraints()

Public function Const

void

 

Init()

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