Function setMorphTargetWeights
-
setMorphTargetWeights(
engine: EngineContext,
morphTargets: MorphTargetData,
weights: ArrayLike<number>,
): voidParameters
- engine: EngineContext
Engine context that owns the morph target GPU buffer.
- morphTargets: MorphTargetData
Morph target data returned by
createMorphTargets(). - weights: ArrayLike<number>
New morph weights; missing slots are reset to 0.
Returns void
- engine: EngineContext
Update morph target weights on CPU and GPU.