Navigation
API > API/Plugins > API/Plugins/ControlRigEditor > API/Plugins/ControlRigEditor/UControlRigSequencerEditorLibrar-
Description
Set the a key for the Control Rig Space for the Control at the specified time. If space is the same as the current no key witll be set.
| Name | SetControlRigSpace |
| 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 SetControlRigSpace
(
ULevelSequence * InSequence,
UControlRig * InControlRig,
FName InControlName,
const FRigElementKey & InSpaceKey,
FFrameNumber InTime,
EMovieSceneTimeUnit TimeUnit
)
Parameters
| Name | Remarks |
|---|---|
| InSequence | Sequence to set the space |
| InControlRig | ControlRig with the Control |
| InControlName | The name of the Control |
| InSpaceKey | The new space for the Control |
| InTime | Time to change the space. |
| TimeUnit | Unit for the InTime, either in display rate or tick resolution |