| FConstraintRule
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDConstraintRule.h |
Include |
#include "Chaos/PBDConstraintRule.h" |
template<typename T_CONSTRAINTS>
class TPBDConstraintColorRule : public Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS >
Level- and Color-based constraint rule. Constraints of the same color are non-interacting and can therefore be processed in parallel. The level is used to implement shock propagation: constraints of lower levels are frozen in place as far as higher-level constraints are concerned.
Name | Description | |
---|---|---|
|
TPBDConstraintColorRule ( |
Name | Description | ||
---|---|---|---|
|
const FPBDCo... |
GetGraphColor() |
|
|
RemoveConstraints ( |
||
|
VisitIslandConstraints ( |
Name | Description | ||
---|---|---|---|
|
ApplyConstraints |
Apply all corrections for constraints in the specified island. |
|
|
ApplyPushOut |
Apply push out for constraints in the specified island. Return true if more iterations are needed. |
|
|
InitializeAccelerationStructures() |
Initialize and performance-acceleration structures from the contact graph. |
|
|
ResetConstraints() |
Remove all constraints |
|
|
SetUseContactGraph ( |
||
|
UpdateAccelerationStructures ( |
Set up the perf-acceleration structures for the specified island. |
|
|
UpdatePositionBasedState ( |
Called once per tick to allow constraint containers to create/alter their constraints based on particle position |
Name |
Description |
---|---|
Base |
|
FConstraints |