Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchy > API/Plugins/ControlRig/Rigs/URigHierarchy/SetInitialControlValue
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include | #include "Rigs/RigHierarchy.h" |
template<typename T>
void SetInitialControlValue
(
int32 InElementIndex,
const T & InValue,
bool bSetupUndo
) const
Remarks
Sets a control's initial value given its index
Parameters
| Name | Description |
|---|---|
| InElementIndex | The index of the element to set the initial value for |
| InValue | The value to set on the control |
| bSetupUndo | If true the transform stack will be setup for undo / redo |