Class WandViewBehavior.RotationListener6D

All Implemented Interfaces:
SensorButtonListener, SensorReadListener
Enclosing class:
WandViewBehavior

public class WandViewBehavior.RotationListener6D extends WandViewBehavior.ListenerBase
Implements a 6DOF sensor button listener that rotates the view platform about a Y axis. This axis can be relative to the sensor, user head, or view platform. The rotation center can be the sensor hotspot or a fixed point in virtual world coordinates.
See Also:
  • Constructor Details

    • RotationListener6D

      public RotationListener6D(boolean reverse)
      Construct a new rotation button listener for a 6DOF sensor.
      Parameters:
      reverse - if true, rotate clockwise; otherwise, rotate counter-clockwise
  • Method Details