Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchy > API/Plugins/ControlRig/Rigs/URigHierarchy/IsParentedTo
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include | #include "Rigs/RigHierarchy.h" |
UFUNCTION (BlueprintCallable, Category=URigHierarchy)
bool IsParentedTo
(
FRigElementKey InChild,
FRigElementKey InParent
) const
Remarks
Returns true if an element is parented to another element True if the given parent and given child have a parent-child relationship
Parameters
| Name | Description |
|---|---|
| InChild | The key of the child element to check for a parent |
| InParent | The key of the parent element to check for |