createBundleMetadata#
- omni::graph::core::AttributeDataHandle createBundleMetadata(
- omni::graph::core::NameToken fieldName,
- omni::graph::core::Type const &fieldType,
- size_t elementCount = 0,
- Create bundle metadata field in this bundle. - Parameters:
- fieldName – Name of new bundle metadata field. 
- fieldType – Type of new bundle metadata field. 
- elementCount – Number of elements in the array, if fieldType is an array type. 
 
- Returns:
- Valid metadata attribute handle for existing name, or Invalid handle for not existing.