Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchyController > API/Plugins/ControlRig/Rigs/URigHierarchyController/SetDisplayName
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&40;BlueprintCallable, Category&61;URigHierarchyController&41;
FName SetDisplayName
&40;
FRigElementKey InControl,
FName InDisplayName,
bool bRenameElement,
bool bSetupUndo,
bool bPrintPythonCommand
&41;
Remarks
Sets the display name on a control Returns the new display name used for the control
Parameters
| Name | Description |
|---|---|
| InControl | The key of the control to change the display name for |
| InDisplayName | The new display name to set for the control |
| bRenameElement | True if the control should also be renamed |
| 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 |