Navigation
API > API/Runtime > API/Runtime/Constraints
Inheritance Hierarchy
- FTickFunction
- FConstraintTickFunction
References
| Module | Constraints |
| Header | /Engine/Source/Runtime/Experimental/Animation/Constraints/Public/ConstraintsManager.h |
| Include | #include "ConstraintsManager.h" |
Syntax
struct FConstraintTickFunction : public FTickFunction
Remarks
FConstraintTickFunction Represents the interface of constraint as a tick function. This allows both to evaluate a constraint in the UE ticking system but also to handle dependencies between parents/children and constraints between themselves using the tick prerequisites system.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakObjectPtr< UTickableConstraint > | Constraint | Weak ptr to the Constraint holding this tick function. | |
| TArray< ConstraintFunction > | ConstraintFunctions | The list of the constraint functions that will be called within the tick function. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| FConstraintTickFunction |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Register a callable function. | ||
| void | RegisterFunction
(
ConstraintFunction InConstraint |
Register a callable function. |
Overridden from FTickFunction
| Type | Name | Description | |
|---|---|---|---|
| FString | Abstract function to describe this tick. | ||
| void | ExecuteTick
(
float DeltaTime, |
Begin FTickFunction Interface |
Typedefs
| Name | Description |
|---|---|
| ConstraintFunction | Callable function that represents the actual constraint. |