Vizard 7 » Command Index » Vizard objects » operator » <operator:rotation>.setEuler
7.7

<operator:rotation>.setEuler

Sets the euler rotation effect of the operator.

<operator:rotation>.setEuler(  
[yaw,pitch,roll]  
)  
[yaw,pitch,roll]
Euler rotaion

Remarks

If this is a rotation operator, the command will set the euler rotation.

Return Value

None

Example

male = viz.addAvatar( 'vcc_male.cfg' )
viewLink = viz.link( male, viz.MainView )
rotateOperator = viewLink.preEuler([0, 40, 0])
rotateOperator.setEuler([0, 20, 0]) #Change rotation amount

See also

<operator:rotation>.setAxisAngle
<operator:rotation>.setQuat
<link>.postAxisAngle
<link>.postEuler
<link>.postQuat
<link>.preAxisAngle
<link>.preEuler
<link>.preQuat