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 (BlueprintCallable, Category="Editor Scripting | Sequencer Tools | Control Rig")
static bool MoveConstraintKey
(
UTickableConstraint * Constraint,
UMovieSceneSection * ConstraintSection,
FFrameNumber InTime,
FFrameNumber InNewTime,
EMovieSceneTimeUnit TimeUnit
)
Remarks
Move the constraint active key in the current open Sequencer 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 | Description |
|---|---|
| InConstraint | The constraint whose key to move |
| ConstraintSection | Section containing Cosntraint Key |
| InTime | Original time of the constraint key |
| InNewTime | New time for the constraint key |
| TimeUnit | Unit for the time params, either in display rate or tick resolution |