Skip to content

@modoki/engine / index / paintWeights

Function: paintWeights()

paintWeights(opts): PaintWeightsResult

Paint boneIndex into the vertices within the brush. Returns fresh packed arrays; inputs are not mutated. Vertices outside the brush are copied through unchanged.

Parameters

opts

PaintWeightsOptions

Returns

PaintWeightsResult

Built with Modoki.