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 BakeConstraint
(
UWorld * World,
UTickableConstraint * Constraint,
const TArray < FFrameNumber > & Frames,
EMovieSceneTimeUnit TimeUnit
)
Remarks
Bake the constraint to keys based on the passed in frames. This will use the open sequencer to bake. See ConstraintsScriptingLibrary to get the list of available constraints Returns True if successful, False otherwise
Parameters
| Name | Description |
|---|---|
| World | The active world |
| Constraint | The Constraint to bake. After baking it will be keyed to be inactive of the range of frames that are baked |
| Frames | The frames to bake, if the array is empty it will use the active time ranges of the constraint to determine where it should bake |
| TimeUnit | Unit for all frame and time values, either in display rate or tick resolution |