_calculteUVScaleValue#
Fully qualified name: usd_optimize::_calculteUVScaleValue
- float usd_optimize::_calculteUVScaleValue(
- const PXR_NS::UsdStageWeakPtr &stage,
- float scaleFactor,
- float scaleUnits,
Calculates the UV scaling value to apply for UV generation tasks. The scaling value is based on the
scaleFactormultiplied by the distancescaleUnitsin relation to the distance units of the Usd stage. WherescaleUnitsof 0.0 signify that distance units should not be applied to the calculated scaling value.