Vizard 8 » Command Index » Vizard objects » node3d » <node3d:canvas>.setCursorMoveScale
8.0

<node3d:canvas>.setCursorMoveScale

Set scale factor for translating mouse to cursor movement

<node3d:canvas>.setCursorMoveScale(  
scale  
)  
scale
Cursor movement scale factor

Remarks

This command sets the scale factor to use when applying real mouse move events to the virtual canvas cursor. When the viz.CANVAS_MOUSE_MOVE mouse style is enabled, raw relative mouse movements will be applied to the virtual canvas cursor position. This scale factor will control how quickly the canvas cursor moves in response to real mouse movements.

The default scale factor is 1.

Return Value

None

See also

<node3d:canvas>.getCursorMoveScale
<node3d:canvas>.getMouseStyle
<node3d:canvas>.setMouseStyle