Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/URigHierarchy
Description
Returns a metadata ptr to the given element's metadata. If the meta data, with the same name, doesn't exist already a new entry is created for that element. If the name matches but the type differs, the existing metadata is destroyed and a new one with the matching type is created instead.
| Name | GetMetadataForElement |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include Path | #include "Rigs/RigHierarchy.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchy.cpp |
FRigBaseMetadata * GetMetadataForElement
(
FRigBaseElement * InElement,
const FName & InName,
ERigMetadataType InType,
bool bInNotify
)