Navigation
API > API/Plugins > API/Plugins/ControlRigEditor > API/Plugins/ControlRigEditor/UControlRigSequencerEditorLibrar-
Description
Bake the constraint to keys based on the passed in settings. This will use the open sequencer to bake. See ConstraintsScriptingLibrary to get the list of available constraints
| Name | BakeConstraints |
| 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 BakeConstraints
(
UWorld * World,
TArray < UTickableConstraint * > & InConstraints,
const FBakingAnimationKeySettings & InSettings
)
Returns True if successful, False otherwise
Parameters
| Name | Remarks |
|---|---|
| World | The active world |
| InConstraints | The Constraints tobake. After baking they will be keyed to be inactive of the range of frames that are baked |
| InSettings | Settings to use for baking |