Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/URigHierarchyController
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool RenameElement
(
FRigBaseElement* InElement, |
Renames an existing element in the hierarchy | Rigs/RigHierarchyController.h | |
FRigElementKey RenameElement
(
FRigElementKey InElement, |
Renames an existing element in the hierarchy | Rigs/RigHierarchyController.h |
|
RenameElement(FRigBaseElement *, const FName &, bool, bool)
Description
Renames an existing element in the hierarchy
| Name | RenameElement |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchyController.h |
| Include Path | #include "Rigs/RigHierarchyController.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchyController.cpp |
bool RenameElement
(
FRigBaseElement * InElement,
const FName & InName,
bool bClearSelection,
bool bSetupUndoRedo
)
Returns true if successful.
Parameters
| Name | Remarks |
|---|---|
| InElement | The element to rename |
| InName | The new name to set for the element |
| bClearSelection | True if the selection should be cleared after a rename |
RenameElement(FRigElementKey, FName, bool, bool, bool)
Description
Renames an existing element in the hierarchy
| Name | RenameElement |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchyController.h |
| Include Path | #include "Rigs/RigHierarchyController.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchyController.cpp |
UFUNCTION (BlueprintCallable, Category=URigHierarchyController)
FRigElementKey RenameElement
(
FRigElementKey InElement,
FName InName,
bool bSetupUndo,
bool bPrintPythonCommand,
bool bClearSelection
)
Returns the new element key used for the element
Parameters
| Name | Remarks |
|---|---|
| InElement | The key of the element to rename |
| InName | The new name to set for the element |
| 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 |
| bClearSelection | True if the selection should be cleared after a rename |