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" |
bool IsParentedTo
&40;
int32 InChildIndex,
int32 InParentIndex,
const TElementDependencyMap & InDependencyMap
&41; 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 |
|---|---|
| InChildIndex | The index of the child element to check for a parent |
| InParentIndex | The index of the parent element to check for |
| InDependencyMap | An additional map of dependencies to respect |