_toArrayVtValue#
Fully qualified name: usd_optimize::_toArrayVtValue
- PXR_NS::VtValue usd_optimize::_toArrayVtValue(
- const PXR_NS::VtValue &value,
Given a VtValue, this function either returns it as is, if its an array type or converts it to a single-element array of the same type.
- Parameters:
value – The VtValue to convert to an array
- Returns:
A VtValue holding an array of the same type or element type - or an empty VtValue if unsupported.