Class WandViewBehavior.ResetViewListener

java.lang.Object
com.sun.j3d.utils.behaviors.sensor.SensorInputAdaptor
com.sun.j3d.utils.behaviors.vp.WandViewBehavior.ResetViewListener
All Implemented Interfaces:
SensorButtonListener, SensorReadListener
Enclosing class:
WandViewBehavior

public class WandViewBehavior.ResetViewListener extends SensorInputAdaptor
Resets the view back to the home transform when a specified number of buttons are down simultaneously.
See Also:
  • Constructor Details

    • ResetViewListener

      public ResetViewListener(Sensor s, int count)
      Creates a sensor listener that resets the view when the specified number of buttons are down simultaneously.
      Parameters:
      s - the sensor to listen to
      count - the number of buttons that must be down simultaneously
  • Method Details