TPBDSpringConstraintsBase

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Chaos

Header

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

Include

#include "Chaos/PBDSpringConstraintsBase.h"

Syntax

template<class T, int d>
class TPBDSpringConstraintsBase

Variables

Name Description

Protected variable

TArray < TVector ...

 

MConstraints

Protected variable

TArray < T >

 

MDists

Protected variable

T

 

MStiffness

Constructors

Name Description

Public function

TPBDSpringConstraintsBase

(
    const T Stiffness
)

Public function

TPBDSpringConstraintsBase

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

Public function

TPBDSpringConstraintsBase

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

Public function

TPBDSpringConstraintsBase

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

Destructors

Name Description

Public function Virtual

~TPBDSpringConstraintsBase()

Functions

Name Description

Public function Const

TVector < T, ...

 

GetDelta

(
    const T_PARTICLES& InParticles,
    const int32 i
)

Public function Const

TVector < T, ...

 

GetUnsafeDelta

(
    const T_PARTICLES& InParticles,
    const int32 i
)

Same as `GetDelta() _, but doesn't check for a zero length vector between the dynamic particle positions prior to normalizing.

Public function

TEnableIf < V...

 

Init

(
    TArray < TVector < int32 , Valence >> ...
)

Public function

TEnableIf < V...

 

Init

(
    const TArray < TVector < int32 , Valen...
)

Public function

TEnableIf < V...

 

Init

(
    const TArray < TVector < int32 , Valen...
)

Public function

uint32

 

RemoveDuplicateConstraints()

Public function

void

 

UpdateDistances

(
    const T_PARTICLES& InParticles
)

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