Vizard 8 » Command Index » Vizard modules » viz » <viz:mouse>.setScale
8.0

<viz:mouse>.setScale

This actions changes the scale factor for mouse navigation

<viz:mouse>.setScale(  
moving  
turning  
)  
moving
This adjusts movement by the mouse with the given factor
turning
This adjusts rotations by the mouse with the given factor

Remarks

Use this command to either speed up or slow down the movement with the mouse.

Return Value

None

Example

# Make movement twice as fast and turning half as fast
viz.mouse.setScale(2,0.5)