Navigation
API > API/Runtime > API/Runtime/Constraints
This is a set of helper functions to access various parts of the Sequencer and Control Rig API via Python and Blueprints.
| Name | UConstraintsScriptingLibrary |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Animation/Constraints/Public/ConstraintsScripting.h |
| Include Path | #include "ConstraintsScripting.h" |
Syntax
UCLASS (Meta=(Transient, ScriptName="ConstraintsScriptingLibrary"), MinimalAPI)
class UConstraintsScriptingLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UConstraintsScriptingLibrary
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AddConstraint
(
UWorld* InWorld, |
Add Constraint to the system using the incoming parent and child handles with the specified type. | ConstraintsScripting.h |
|
static UTickableTransformConstraint * CreateFromType
(
UWorld* InWorld, |
Create Constraint based on the specified type. | ConstraintsScripting.h |
|
static UTransformableComponentHandle * CreateTransformableComponentHandle
(
UWorld* InWorld, |
Create the transformable handle that deals with getting and setting transforms on this scene component | ConstraintsScripting.h |
|
static UTransformableHandle * CreateTransformableHandle
(
UWorld* InWorld, |
Create the transformable handle that deals with getting and setting transforms on this object | ConstraintsScripting.h |
|
static TArray< UTickableConstraint * > GetConstraintsArray
(
UWorld* InWorld |
Get a copy of the constraints in the current world | ConstraintsScripting.h |
|
static UConstraintsManager * GetManager
(
UWorld* InWorld |
No longer used, the system will internally set up the outers for the handles and see UConstraintSubsystem for the delegates. | ConstraintsScripting.h | |
static bool RemoveConstraint
(
UWorld* InWorld, |
Remove constraint at specified index | ConstraintsScripting.h |
|
static bool RemoveThisConstraint
(
UWorld* InWorld, |
Remove specified constraint | ConstraintsScripting.h |
|