_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 scaleFactor multiplied by the distance scaleUnits in relation to the distance units of the Usd stage. Where scaleUnits of 0.0 signify that distance units should not be applied to the calculated scaling value.