TSimpleConstraintRule

Windows
MacOS
Linux

Inheritance Hierarchy

FConstraintRule

FSimpleConstraintRule

TSimpleConstraintRule

References

Module

Chaos

Header

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

Include

#include "Chaos/PBDConstraintRule.h"

Syntax

template<typename T_CONSTRAINTS>
class TSimpleConstraintRule : public Chaos::FSimpleConstraintRule

Constructors

Name Description

Public function

TSimpleConstraintRule

(
    int32 InPriority,
    FConstraints & InConstraints
)

Overridden from FSimpleConstraintRule

Name Description

Public function Virtual

bool

 

ApplyConstraints

(
    const FReal Dt,
    const int32 It,
    const int32 NumIts
)

Public function Virtual

bool

 

ApplyPushOut

(
    const FReal Dt,
    const int32 It,
    const int32 NumIts
)

Public function Virtual

void

 

UpdatePositionBasedState

(
    const FReal Dt
)

Overridden from FConstraintRule

Name Description

Public function Virtual

void

 

PrepareConstraints

(
    FReal Dt
)

Called once per frame before Apply. Can be used to prepare caches etc.

Public function Virtual

void

 

UnprepareConstraints

(
    FReal Dt
)

Called once per frame after Apply.

Typedefs

Name

Description

FConstraints

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