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&40;BlueprintCallable, Category&61;"Editor Scripting &124; Sequencer Tools &124; Control Rig"&41;
static bool SetConstraintActiveKey
&40;
UTickableConstraint &42; InConstraint,
bool bActive,
FFrameNumber InFrame,
ESequenceTimeUnit TimeUnit
&41;
Remarks
Set the constraint active key in the current open Sequencer Returns true if we set the constraint to be the passed in value, false if not. We may not do so if the value is the same.
Parameters
| Name | Description |
|---|---|
| InConstraint | The constraint to set the key |
| bActive | Whether or not it's active |
| FrameTime | Time to set the value |
| TimeUnit | Unit for the time params, either in display rate or tick resolution |