Navigation
API > API/Runtime > API/Runtime/Constraints
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UConstraintsScriptingLibrary
References
| Module | Constraints |
| Header | /Engine/Source/Runtime/Experimental/Animation/Constraints/Public/ConstraintsScripting.h |
| Include | #include "ConstraintsScripting.h" |
Syntax
class UConstraintsScriptingLibrary : public UBlueprintFunctionLibrary
Remarks
This is a set of helper functions to access various parts of the Sequencer and Control Rig API via Python and Blueprints.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddConstraint
(
UWorld* InWorld, |
Add Constraint to the system using the incoming parent and child handles with the specified type. | |
| UTickableTransformConstraint * | CreateFromType
(
UWorld* InWorld, |
Create Constraint based on the specified type. | |
| UTransformableComponentHandle * | CreateTransformableComponentHandle
(
UWorld* InWorld, |
Create the transformable handle that deals with getting and setting transforms on this scene component | |
| UTransformableHandle * | CreateTransformableHandle
(
UWorld* InWorld, |
Create the transformable handle that deals with getting and setting transforms on this object | |
| TArray< UTickableConstraint * > | GetConstraintsArray
(
UWorld* InWorld |
Get a copy of the constraints in the current world | |
| UConstraintsManager * | GetManager
(
UWorld* InWorld |
Get the manager of the constraints. | |
| bool | RemoveConstraint
(
UWorld* InWorld, |
Remove constraint at specified index | |
| bool | RemoveThisConstraint
(
UWorld* InWorld, |
Remove specified constraint |