Vizard 8 » Command Index » Vizard objects » operator » <operator:rotation>.setAxisAngle
8.0

<operator:rotation>.setAxisAngle

Sets the axis-angle rotation effect of the operator.

<operator:rotation>.setAxisAngle(  
[ x, y, z ,degrees]  
)  
[ x, y, z ,degrees]
The axis-angle rotation

Remarks

If this is a rotation operator, the command will set the axis-angle rotation.

Return Value

None

Example

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

See also

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