Navigation
API > API/Plugins > API/Plugins/ControlRigEditor > API/Plugins/ControlRigEditor/UControlRigSequencerEditorLibrar-
Description
Move the Control Rig Space Key for the Control at the specified time to the new time. This will also move any Control Rig keys at this space switch boundary.
| Name | MoveControlRigSpace |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRigEditor/Public/ControlRigSequencerEditorLibrary.h |
| Include Path | #include "ControlRigSequencerEditorLibrary.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRigEditor/Private/ControlRigSequencerEditorLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Sequencer Tools | Control Rig")
static bool MoveControlRigSpace
(
ULevelSequence * InSequence,
UControlRig * InControlRig,
FName InControlName,
FFrameNumber InTime,
FFrameNumber InNewTime,
EMovieSceneTimeUnit TimeUnit
)
Will return false if function fails, for example if there is no key at this time it will fail, or if the new time is invalid it could fail also
Parameters
| Name | Remarks |
|---|---|
| InSequence | Sequence to set the space |
| InControlRig | ControlRig with the Control |
| InControlName | The name of the Control |
| InTime | Original time of the space key |
| InNewTime | New time for the space key |
| TimeUnit | Unit for the time params, either in display rate or tick resolution |