FPBDConstraintColor

Generates color information for a single constraint rule in a connection graph.

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/PBDConstraintColor.h"

Syntax

class FPBDConstraintColor

Remarks

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.

Constructors

Name Description

Public function

FPBDConstraintColor()

Functions

Name Description

Public function

void

 

ComputeColor

(
    const int32 Island,
    const FPBDConstraintGraph & Constra...,
    uint32 ContainerId
)

Calculate the color information for the specified island.

Public function Const

const FLevel ...

 

GetIslandLevelToColorToConstraintListMap

(
    int32 Island
)

Get the Level-Color-ConstraintList map for the specified island.

Public function Const

int

 

GetIslandMaxColor

(
    int32 Island
)

Get the maximum color index used in the specified island.

Public function Const

int

 

GetIslandMaxLevel

(
    int32 Island
)

Get the maximum level index used in the specified island.

Public function

void

 

InitializeColor

(
    const FPBDConstraintGraph & Constra...
)

Initialize the color structures based on the connectivity graph (i.e., reset all color-related node, edge and island data).

Public function

void

 

SetUseContactGraph

(
    bool bInUseContactGraph
)

Typedefs

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