Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchyController > API/Plugins/ControlRig/Rigs/URigHierarchyController/SetAvailableSpaceIndex
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchyController.h |
| Include | #include "Rigs/RigHierarchyController.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchyController.cpp |
UFUNCTION (BlueprintCallable, Category=URigHierarchyController)
bool SetAvailableSpaceIndex
(
FRigElementKey InControl,
FRigElementKey InSpace,
int32 InIndex,
bool bSetupUndo,
bool bPrintPythonCommand
)
Remarks
Reorders an available space for the given control Returns true if successful.
Parameters
| Name | Description |
|---|---|
| InControl | The control to reorder the host for |
| InSpace | The space to set the new index for |
| InIndex | The new index of the available space |
| bSetupUndo | If set to true the stack will record the change for undo / redo |
| bPrintPythonCommand | If set to true a python command equivalent to this call will be printed out |