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 bool SnapControlRig
&40;
ULevelSequence &42; LevelSequence,
FFrameNumber StartFrame,
FFrameNumber EndFrame,
const FControlRigSnapperSelection & ChildrenToSnap,
const FControlRigSnapperSelection & ParentToSnap,
const UControlRigSnapSettings &42; SnapSettings,
ESequenceTimeUnit TimeUnit
&41;
Remarks
Peform a Snap operation to snap the children to the parent.
Parameters
| Name | Description |
|---|---|
| LevelSequence | Active Sequence to snap |
| StartFrame | Beginning of the snap |
| EndFrame | End of the snap |
| ChildrenToSnap | The children objects that snap and get keys set onto. They need to live in an active Sequencer in the level editor |
| ParentToSnap | The parent object to snap relative to. If animated, it needs to live in an active Sequencer in the level editor |
| SnapSettings | Settings to use |
| TimeUnit | Unit for frame values, either in display rate or tick resolution |
| Returns | True if successful |