Class WandViewBehavior.ScaleListener6D

All Implemented Interfaces:
SensorButtonListener, SensorReadListener
Enclosing class:
WandViewBehavior

public class WandViewBehavior.ScaleListener6D extends WandViewBehavior.ListenerBase
Implements a 6DOF sensor button listener that scales the view platform. The center of scaling can be the sensor hotspot or a fixed location in virtual world coordinates.
See Also:
  • Constructor Details

    • ScaleListener6D

      public ScaleListener6D(boolean reverse)
      Construct a new scale button listener for a 6DOF sensor.
      Parameters:
      reverse - if true, scale the view platform smaller; otherwise, scale the view platform larger
  • Method Details