Vizard 7 » Command Index » Vizard objects » operator » <operator:swap>.setSwap
7.6

<operator:swap>.setSwap

Set the swap indices of the swap operator

<operator:swap>.setSwap(  
[x,y,z [,w]]  
)  
[x,y,z [,w]]
The swap indices

Remarks

This command sets the swap indices of the swap operator( <link>.swapEuler , <link>.swapPos , <link>.swapQuat ).

The indices are 1-based and negative indices will negate the incoming value.

The size of the list will depend on whether the operator works on quaternions or position/euler values.

Return Value

None

See also

<link>.swapEuler
<link>.swapPos
<link>.swapQuat