_flattenPropertyToPrimSpecWithValue#
Fully qualified name: usd_optimize::_flattenPropertyToPrimSpecWithValue
- void usd_optimize::_flattenPropertyToPrimSpecWithValue(
- const PXR_NS::UsdProperty &property,
- const PXR_NS::SdfPrimSpecHandle &spec,
- const PXR_NS::VtValue &value,
Flattens a property to a property spec on a prim spec, with an optional custom value.
- Parameters:
property – The UsdProperty to flatten
spec – The prim spec to copy the property to
value – An optional value to use instead of the existing property value