Vizard 7 » Command Index » Vizard objects » node3d » <node3d:avatar>.setMorph
7.6

<node3d:avatar>.setMorph

Set morph target weight

<node3d:avatar>.setMorph(  
morphID  
weight  
)  
morphID
The ID of the morph to set the weight.
weight
The weight of the morph. Usually between 0 and 1. 0 means the morph will not be blended. 1 means the morph will be blended 100%

Remarks

This command will set the weight of the specified morph target on the avatar.

Morph targets are not supported by hardware skinning. Setting a morph target weight above 0 will force the avatar to fallback on CPU skinning, which can drastically reduce rendering performance.

Return Value

None