Navigation
API > API/Plugins > API/Plugins/ControlRigEditor > API/Plugins/ControlRigEditor/UControlRigSequencerEditorLibrar-
Description
Get an array per frame of specified control rig values for the specified control names. Use URigHierarchy::Get*FromControlValue functions to convert these FRigControlValue to Bool,Rotator,EulerTransform, etc..
| Name | GetControlValues |
| 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 TArray < FArrayOfRigControlValues > GetControlValues
(
ULevelSequence * LevelSequence,
UControlRig * ControlRig,
const TArray < FName > & ControlNames,
const TArray < FFrameNumber > & Frames,
EMovieSceneTimeUnit TimeUnit
)
Returns an array per control containing control values for each frame. Note that that lhe length of this array may not be equal to the length of the Control Names array if there are invalid ControlNames
Parameters
| Name | Remarks |
|---|---|
| LevelSequence | Active Sequence to get values for, if not set will use the level sequence open in Sequencer |
| ControlRig | The ControlRig |
| ControlNames | Names of the Controls |
| Frames | Times to get the values |
| TimeUnit | Unit for frame values, either in display rate or tick resolution |