FConstraintRule

Constraint Rules bind constraint collections to the evolution and provide their update algorithm.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Chaos

Header

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

Include

#include "Chaos/PBDConstraintRule.h"

Syntax

class FConstraintRule

Remarks

Constraint Rules bind constraint collections to the evolution and provide their update algorithm.

Variables

Name Description

Protected variable

int32

 

Priority

Constructors

Name Description

Public function

FConstraintRule

(
    int32 InPriority
)

Destructors

Name Description

Public function Virtual

~FConstraintRule()

Functions

Name Description

Public function Const

int32

 

GetPriority()

Determines the order in which constraints are resolved.

Public function Virtual

void

 

PrepareConstraints

(
    FReal Dt
)

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

Public function

void

 

SetPriority

(
    const int32 InPriority
)

Set the constraint resolution priority. Higher priority constraints override lower priority ones.

Public function Virtual

void

 

UnprepareConstraints

(
    FReal Dt
)

Called once per frame after Apply.

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