(To be removed) Create space mouse object
vrspacemouse will be removed in a future release. For more
information, see Version History.
mouse = vrspacemouse(id)
mouse = vrspacemouse(id) creates a space mouse object capable of
interfacing with a space mouse input device. The
id parameter is a string
that specifies the space mouse connection:
vrspacemouse object has several properties that influence the
behavior of the space mouse input device. The properties can be read or modified using dot
mouse.DominantMode = true;).
Valid properties are (property names are case-sensitive):
|Mouse sensitivity for translations. Higher values correspond to higher sensitivity.|
|Mouse sensitivity for rotations. Higher values correspond to higher sensitivity.|
|Fixes the rotations at initial values, allowing you to change positions only.|
|Fixes the positions at the initial values, allowing you to change rotations only.|
|If this property is true, the mouse accepts only the prevailing movement and rotation and ignores the others. This mode is very useful for beginners using a space mouse.|
|Position coordinates for the upper limit of the mouse.|
|Enables mouse position limits. If false, the object ignores the
|Position coordinates for the lower limit of the mouse.|
|Determines whether the integrated rotation angles should wrap on a full circle
(360°). This is not used when you read the |
|Initial condition for integrated translations. This is not used when you set
|Initial condition for integrated rotations. This is not used when you set the
Version HistoryIntroduced in R2007b
R2023b: To be removed
vrspacemouse function will be removed in a future release.
sim3d classes and Simulation 3D blocks in Unreal Engine Scenario Applications to interface
MATLAB® and Simulink® with the Unreal Engine® 3D simulation environment. To get started, see Get Started Creating Virtual World with Actors.