Vizard 7 » Command Index » Vizard objects » node3d » <node3d:face>.getMorph
7.6

<node3d:face>.getMorph

Current morph target value

<node3d:face>.getMorph(  
num  
)  
num
The morph number to get the current percentage value of.

Remarks

This command will return the current percentage value of the morph target

Return Value

A floating point number representing the current percentage value of the morph.

Example

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

face.setMorph(2,0.3)

#This will print out: 0.3
print(face.getMorph(2))

See also

<node3d:face>.setMorph
<node3d:face>.clearMorph