Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDConstraintColor.h |
Include |
#include "Chaos/PBDConstraintColor.h" |
class FPBDConstraintColor
Generates color information for a single constraint rule in a connection graph. Edges with the same color are non-interacting and can safely be processed in parallel.
Name | Description | |
---|---|---|
|
FPBDConstraintColor() |
Name | Description | ||
---|---|---|---|
|
ComputeColor ( |
Calculate the color information for the specified island. |
|
|
const FLevel... |
GetIslandLevelToColorToConstraintListMap ( |
Get the Level-Color-ConstraintList map for the specified island. |
|
int |
GetIslandMaxColor ( |
Get the maximum color index used in the specified island. |
|
int |
GetIslandMaxLevel ( |
Get the maximum level index used in the specified island. |
|
InitializeColor ( |
Initialize the color structures based on the connectivity graph (i.e., reset all color-related node, edge and island data). |
|
|
SetUseContactGraph ( |