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 LoadAnimSequenceIntoControlRigSection
(
UMovieSceneSection * MovieSceneSection,
UAnimSequence * AnimSequence,
USkeletalMeshComponent * SkelMeshComp,
FFrameNumber InStartFrame,
EMovieSceneTimeUnit TimeUnit,
bool bKeyReduce,
float Tolerance,
EMovieSceneKeyInterpolation Interpolation,
bool bResetControls
)
Remarks
Load anim sequence into this control rig section returns True if successful, False otherwise
Parameters
| Name | Description |
|---|---|
| MovieSceneSection | The MovieSceneSectionto load into |
| AnimSequence | The Sequence to load |
| MovieScene | The MovieScene getting loaded into |
| SkelMeshComponent | The Skeletal Mesh component getting loaded into. |
| InStartFrame | Frame to insert the animation |
| TimeUnit | Unit for all frame and time values, either in display rate or tick resolution |
| bKeyReduce | If true do key reduction based upon Tolerance, if false don't |
| Tolerance | If reducing keys, tolerance about which keys will be removed, smaller tolerance, more keys usually. |
| Interpolation | The key interpolation type to set the keys, defaults to EMovieSceneKeyInterpolation::SmartAuto |
| bResetControls | If true will reset all controls to initial value on every frame |