getConstAttributeMetadataByName#

omni::graph::core::ConstAttributeDataHandle getConstAttributeMetadataByName(
omni::graph::core::NameToken attribute,
omni::graph::core::NameToken fieldName,
) noexcept#

Search for read only field handles in the attribute by using field names.

Parameters:
  • attribute – The name of the attribute.

  • fieldName – The name of the field.

Returns:

Valid attribute handle if bundle metadata is found, invalid handle otherwise.