Navigation
API > API/Runtime > API/Runtime/Constraints
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.
| Name | FConstraintTickFunction |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Animation/Constraints/Public/ConstraintsManager.h |
| Include Path | #include "ConstraintsManager.h" |
Syntax
USTRUCT ()
struct FConstraintTickFunction : public FTickFunction
Inheritance Hierarchy
- FTickFunction → FConstraintTickFunction
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| FConstraintTickFunction | ConstraintsManager.h | ||
FConstraintTickFunction
(
const FConstraintTickFunction& In |
ConstraintsManager.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FConstraintTickFunction() |
ConstraintsManager.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ConstraintFunction | TFunction< void()> | Callable function that represents the actual constraint. | ConstraintsManager.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Constraint | TWeakObjectPtr< UTickableConstraint > | Weak ptr to the Constraint holding this tick function. | ConstraintsManager.h | |
| ConstraintFunctions | TArray< ConstraintFunction > | The list of the constraint functions that will be called within the tick function. | ConstraintsManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EvaluateFunctions() |
Register a callable function. | ConstraintsManager.h | |
void RegisterFunction
(
ConstraintFunction InConstraint |
Register a callable function. | ConstraintsManager.h |
Overridden from FTickFunction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString DiagnosticMessage() |
ConstraintsManager.h | ||
virtual void ExecuteTick
(
float DeltaTime, |
Begin FTickFunction Interface | ConstraintsManager.h |