Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchy > API/Plugins/ControlRig/Rigs/URigHierarchy/SetControlValue
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include | #include "Rigs/RigHierarchy.h" |
void SetControlValue
&40;
int32 InElementIndex,
const FRigControlValue & InValue,
ERigControlValueType InValueType,
bool bSetupUndo,
bool bPrintPythonCommands
&41;
Remarks
Sets a control's current value given its index
Parameters
| Name | Description |
|---|---|
| InElementIndex | The index of the element to set the current value for |
| InValue | The value to set on the control |
| InValueType | The type of value to set |
| bSetupUndo | If true the transform stack will be setup for undo / redo |