Navigation
API > API/Runtime > API/Runtime/Constraints
Inheritance Hierarchy
- UObject
- UTickableConstraint
- UTickableTransformConstraint
- UTickableLookAtConstraint
- UTickableParentConstraint
- UTickableRotationConstraint
- UTickableScaleConstraint
- UTickableTranslationConstraint
References
| Module | Constraints |
| Header | /Engine/Source/Runtime/Experimental/Animation/Constraints/Public/ConstraintsManager.h |
| Include | #include "ConstraintsManager.h" |
Syntax
UCLASS (Abstract, Blueprintable, MinimalAPI)
class UTickableConstraint : public UObject
Remarks
UTickableConstraint Represents the basic interface of constraint within the constraints manager.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | Active | ||
| bool | bValid | ||
| FGuid | ConstraintID | Unique id to be used to fine constraint in a particular world, may be shared | |
| TMap< TWeakObjectPtr< ULevel >, FConstraintTickFunction > | ConstraintTicks | Tick function that will be registered and evaluated. | |
| void virtual InitConstraint(UWorld *InWorld) PURE_VIRTUAL(UTickableConstraint void virtual Teard... | GetTickFunction | Initialize and register the constraint with that world Teardown and unregister the constraint with that world Get Tick function in that world |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UTickableConstraint * | Duplicate
(
UObject* NewOuter |
Create duplicate with new Outer | |
| void | Evaluate
(
bool bTickHandlesAlso |
Evaluates the constraint in a context where it's mot done thru the ConstraintTick's tick function. | |
| FString | GetFullLabel () |
||
| FConstraintTickFunction::ConstraintFunction | GetFunction () |
Returns the actual function that the tick function needs to evaluate. | |
| FString | GetLabel () |
Returns the constraint's label used for UI. | |
| uint32 | |||
| const FConstraintTickFunction & | GetTickFunction
(
UWorld* InWorld |
||
| FString | GetTypeLabel () |
Returns the constraint's type label used for UI. | |
| bool | If true it contains objects bound to an external system, like sequencer so we don't do certain things, like remove constraints when they don't resolve | ||
| bool | Get whether or not it's fully active, it's set to active and all pieces are set up,e.g. | ||
| bool | IsValid
(
const bool bDeepCheck |
Whether or not it's valid for example it may not be fully loaded, missing handles or set to not be valid | |
| void | PostDuplicate
(
bool bDuplicateForPIE |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | PostEditUndo () |
||
| void | |||
| void | PostLoad () |
||
| bool | ReferencesObject
(
TWeakObjectPtr< UObject > InObject |
Whether or not this object references this object. | |
| void | ResolveBoundObjects
(
FMovieSceneSequenceID LocalSequenceID, |
Resolve the bound objects so that any object it references are resovled and correctly set up | |
| void | SetActive
(
const bool bIsActive |
Sets the Active value and enable/disable the tick function. |