createBundleMetadata
Defined in omni/graph/core/bundle/IBundle2.h
-
omni::graph::core::AttributeDataHandle createBundleMetadata(omni::graph::core::NameToken fieldName, omni::graph::core::Type const &fieldType, size_t elementCount = 0) noexcept
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.