Navigation
API > API/Plugins > API/Plugins/ControlRigEditor > API/Plugins/ControlRigEditor/UControlRigSequencerEditorLibrar-
References
| Module | ControlRigEditor |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRigEditor/Public/ControlRigSequencerEditorLibrary.h |
| Include | #include "ControlRigSequencerEditorLibrary.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRigEditor/Private/ControlRigSequencerEditorLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Editor Scripting &124; Sequencer Tools &124; Control Rig"&41;
static UTickableConstraint &42; AddConstraint
&40;
UWorld &42; World,
ETransformConstraintType InType,
UTransformableHandle &42; InChild,
UTransformableHandle &42; InParent,
const bool bMaintainOffset
&41;
Remarks
Add a constraint possibly adding to sequencer also if one is open. Returns the constraint if created all nullptr if not
Parameters
| Name | Description |
|---|---|
| World | The active world |
| InType | Type of constraint to create |
| InChild | The handle to the transormable to be constrainted |
| InParent | The handle to the parent of the constraint |
| bMaintainOffset | Whether to maintain offset between child and parent when setting the constraint |