Vizard 7 » Command Index » Vizard objects » node3d » <node3d:face>.setMorph
7.3

<node3d:face>.setMorph

Set the percentage of a morph

<node3d:face>.setMorph(  
num  
percent  
)  
num
The morph index to set. The first morph has an index of 0
percent
The percentage to set the morph at.

Remarks

This will set the percentage of a morph. Usually the percentage is a number between 0 and 1, where 1 represents 100%. However, it could be any number. You could use 2 to exaggerate morphs. You could also use negative numbers.

Return Value

None

Example

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

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

See also

<node3d:face>.getMorph
<node3d:face>.clearMorph