Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/URigHierarchyController
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ReparentComponent
(
FRigBaseComponent* InComponent, |
Reparents an existing component in the hierarchy | Rigs/RigHierarchyController.h | |
FRigComponentKey ReparentComponent
(
FRigComponentKey InComponentKey, |
Reparents an existing component in the hierarchy | Rigs/RigHierarchyController.h |
|
ReparentComponent(FRigBaseComponent , FRigBaseElement , bool, bool)
Description
Reparents an existing component in the hierarchy
| Name | ReparentComponent |
| 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 ReparentComponent
(
FRigBaseComponent * InComponent,
FRigBaseElement * InParentElement,
bool bClearSelection,
bool bSetupUndoRedo
)
Returns true if successful.
Parameters
| Name | Remarks |
|---|---|
| InComponent | The component to reparent |
| InParentElement | The new element to reparent to |
| bClearSelection | True if the selection should be cleared after a reparenting |
ReparentComponent(FRigComponentKey, FRigElementKey, bool, bool, bool)
Description
Reparents an existing component in the hierarchy
| Name | ReparentComponent |
| 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)
FRigComponentKey ReparentComponent
(
FRigComponentKey InComponentKey,
FRigElementKey InParentElementKey,
bool bSetupUndo,
bool bPrintPythonCommand,
bool bClearSelection
)
Returns the new component key if successful or an invalid key if unsuccessful
Parameters
| Name | Remarks |
|---|---|
| InComponentKey | The component key to reparent |
| InParentElementKey | The new element key to reparent to |
| bClearSelection | True if the selection should be cleared after a reparenting |