Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/URigHierarchyController
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool RemoveAllParents
(
FRigBaseElement* InChild, |
Removes all parents from an element in the hierarchy. | Rigs/RigHierarchyController.h | |
bool RemoveAllParents
(
FRigElementKey InChild, |
Removes all parents from an element in the hierarchy. | Rigs/RigHierarchyController.h |
|
RemoveAllParents(FRigBaseElement *, bool)
Description
Removes all parents from an element in the hierarchy.
| Name | RemoveAllParents |
| 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 RemoveAllParents
(
FRigBaseElement * InChild,
bool bMaintainGlobalTransform
)
Returns true if successful.
Parameters
| Name | Remarks |
|---|---|
| InChild | The element to remove all parents for |
| bMaintainGlobalTransform | If set to true the child will stay in the same place spatially, otherwise it will maintain it's local transform (and potential move). |
RemoveAllParents(FRigElementKey, bool, bool, bool)
Description
Removes all parents from an element in the hierarchy.
| Name | RemoveAllParents |
| 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)
bool RemoveAllParents
(
FRigElementKey InChild,
bool bMaintainGlobalTransform,
bool bSetupUndo,
bool bPrintPythonCommand
)
Returns true if successful.
Parameters
| Name | Remarks |
|---|---|
| InChild | The key of the element to remove all parents for |
| bMaintainGlobalTransform | If set to true the child will stay in the same place spatially, otherwise it will maintain it's local transform (and potential move). |
| 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 |