<operator:rotation>.setQuat

Sets the quat value of the operator.

 

<operator:rotation>.setQuat(
    [ x, y, z, w ]    

)

 

[ x, y, z, w ]

Quaternion rotation


Remarks

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

Return Value

None

Example

male = viz.add( 'vcc_male.cfg' )
viewLink = viz.link( male, viz.MainView )
rotateOperator = viewLink.preEuler( 0, 40, 0 )
rotateOperator.setQuat( 0, 20, 0 ) #Change rotation amount

See also

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