pymel.util.mathutils.blend

static mathutils.blend(a, b, weight=0.5)

blend(a, b[, weight=0.5]) : Blends values a and b according to normalized weight w, returns a for weight == 0.0 and b for weight = 1.0, a*(1.0-weight)+b*weight in between

Return type:float

Previous topic

pymel.util.mathutils.smoothstep

Next topic

pymel.util.mathutils.clamp

Core

Core Modules

Other Modules

This Page