Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/FRigBaseComponent
Description
Returns true if this component can be added to a given key. if you want to determine if a component can be added as a top level component you need to pass the URigHierarchy::GetTopLevelComponentElementKey() as InElementKey
| Name | CanBeAddedTo |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchyComponents.h |
| Include Path | #include "Rigs/RigHierarchyComponents.h" |
virtual bool CanBeAddedTo
(
const FRigElementKey & InElementKey,
const URigHierarchy * InHierarchy,
FString * OutFailureReason
) const