Vizard 8 » Command Index » Vizard objects » node3d » <node3d:face>.clearMorph
8.0

<node3d:face>.clearMorph

Clear all the morph targets

<node3d:face>.clearMorph()  

Remarks

This command will set all the morph targets for the face back to zero.

Return Value

None

Example

face = viz.add('face.vzf')

#Set morph 1 to 50%
face.setMorph(1,0.5)

#Set morph 2 to 30%
face.setMorph(2,0.3)

#Clear all morphs to 0%
face.clearMorph()

See also

<node3d:face>.setMorph
<node3d:face>.getMorph