|Top Previous Next|
180: Mouse3DControl(Enable, AutoUpdate, AutoAnimate);
This intrinsic enables the mouse to manipulate objects in the 3D Viewer. You can do this manually using other intrinsics, but this is a quick and simple way to do it. When this option is enabled, holding down the left mouse button while moving the mouse cursor over the screen, rotates the objects in the scene. Likewise, holding the middle mouse button zooms in and out. The right mouse button pans the object right, left, up and down.
Enable. This is an integer Boolean that enables or disables the mouse control.
AutoUpdate. This is an integer Boolean that enables auto-updating. When auto-updating is enabled, the Viewer is updated every time the mouse moves. If it is disabled, other methods of updating the scene are used. For example, the Viewer is normally updated at regular intervals by the Console Window. If you want complete control over scene updates, you can turn off console refresh using the EnableRefresh intrinsic. When all automatic refresh modes are turned off, you can update the 3D Viewer using the Update3DViewer intrinsic.
AutoAnimate. This is an integer Boolean that enables auto-animation. When this option is enabled, any rotation automatically continues after the mouse button is released. This produces a continuous animated spinning motion of the objects in the scene.