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 BakeConstraints
(
UWorld * World,
TArray < UTickableConstraint * > & InConstraints,
const FBakingAnimationKeySettings & InSettings
)
Remarks
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 Returns True if successful, False otherwise
Parameters
| Name | Description |
|---|---|
| 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 |