Navigation
API > API/Runtime > API/Runtime/Constraints
Inheritance Hierarchy
- TSharedFromThis< FConstraintsEvaluationGraph >
- FConstraintsEvaluationGraph
References
| Module | Constraints |
| Header | /Engine/Source/Runtime/Experimental/Animation/Constraints/Public/ConstraintsEvaluationGraph.h |
| Include | #include "ConstraintsEvaluationGraph.h" |
Syntax
struct FConstraintsEvaluationGraph : public TSharedFromThis< FConstraintsEvaluationGraph >
Remarks
A graph like structure to efficiently represent constraints' evaluation hierarchy using their tick dependencies. Each node stores the useful data to evaluate the constraint hierarchically.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FConstraintsEvaluationGraph
(
const FConstraintsInWorld* InConstraintsInWorld |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Evaluates constraints marked for evaluation + their dependencies. | ||
| void | Invalidates internal data so that the graph will be rebuilt on request. | ||
| bool | Should the graph be evaluated ? | ||
| void | MarkForEvaluation
(
const TWeakObjectPtr< UTickableConstraint >& InConstraint |
Marks the constraint for evaluation. | |
| void | Rebuild () |
Rebuilds the full graph taking constraints tick dependencies into account. | |
| bool |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EGraphState |