Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchyController > API/Plugins/ControlRig/Rigs/URigHierarchyController/ReorderElement
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 |
bool ReorderElement
(
FRigBaseElement * InElement,
int32 InIndex
)
Remarks
Changes the element's index within its default parent (or the top level) Returns true if the element has been reordered accordingly
Parameters
| Name | Description |
|---|---|
| InElement | The key of the element to rename |
| InIndex | The new index of the element to take within its default parent (or the top level) |