FPBDLongRangeConstraintsBase

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Chaos

Header

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

Include

#include "Chaos/PBDLongRangeConstraintsBase.h"

Syntax

class FPBDLongRangeConstraintsBase

Variables

Name Description

Protected variable

const EMode

 

Mode

Protected variable

const int32

 

ParticleCount

Protected variable

const int32

 

ParticleOffset

Protected variable

FPBDStiffness

 

Stiffness

Protected variable

TArray< FTether...

 

Tethers

Protected variable

TPBDActiveView<...

 

TethersView

Constructors

Name Description

Public function

FPBDLongRangeConstraintsBase

(
    const FPBDParticles& Particles,
    const int32 InParticleOffset,
    const int32 InParticleCount,
    const TMap< int32, TSet< int32 >>&...,
    const TConstArrayView< FReal >& St...,
    const int32 MaxNumTetherIslands,
    const FVec2& InStiffness,
    const FReal LimitScale,
    const EMode InMode
)

Destructors

Functions

Name Description

Public function

void

 

ApplyProperties

(
    const FReal Dt,
    const int32 NumIterations
)

Set stiffness offset and range, as well as the simulation stiffness exponent.

Protected function

void

 

ComputeEuclideanConstraints

(
    const FPBDParticles& Particles,
    const TMap< int32, TSet< int32 >>&...,
    const int32 NumberOfAttachments
)

Protected function

void

 

ComputeGeodesicConstraints

(
    const FPBDParticles& Particles,
    const TMap< int32, TSet< int32 >>&...,
    const int32 NumberOfAttachments
)

Public function Static

TArray< TArr...

 

ComputeIslands

(
    const TMap< int32, TSet< int32 >>&...,
    const TArray< int32 >& KinematicPa...
)

Public function Const

EMode

 

GetMode()

Public function Const

FVec2

 

GetStiffness()

Return the stiffness input values used by the constraint.

Public function Const

const TArray...

 

GetTethers()

Public function

void

 

SetStiffness

(
    const FVec2& InStiffness
)

Set the stiffness input values used by the constraint.

Classes

Name

Description

Public struct

FTether

Enums

Name

Description

Public enum

EMode

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