TPBDSpringConstraints

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Chaos

Header

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

Include

#include "Chaos/PBDSpringConstraints.h"

Syntax

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

Constructors

Name Description

Public function

TPBDSpringConstraints

(
    const T Stiffness
)

Public function

TPBDSpringConstraints

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

Public function

TPBDSpringConstraints

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

MoveTemp will cast a reference to an rvalue reference.

Public function

TPBDSpringConstraints

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

Public function

TPBDSpringConstraints

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

Destructors

Name Description

Public function Virtual

~TPBDSpringConstraints()

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()

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