Package com.sun.j3d.utils.behaviors.vp
Class WandViewBehavior.EchoReadListener6D
- java.lang.Object
-
- com.sun.j3d.utils.behaviors.vp.WandViewBehavior.EchoReadListener6D
-
- All Implemented Interfaces:
SensorReadListener
- Enclosing class:
- WandViewBehavior
public class WandViewBehavior.EchoReadListener6D extends java.lang.Object implements SensorReadListener
Implements a 6DOF sensor read listener that updates the orientation and position of the sensor's echo in the virtual world.
-
-
Constructor Summary
Constructors Constructor Description EchoReadListener6D()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
read(SensorEvent e)
This method is called each time thedispatchEvents
method ofSensorEventAgent
is called and none of a sensor's buttons have been handled by a button listener.
-
-
-
Method Detail
-
read
public void read(SensorEvent e)
Description copied from interface:SensorReadListener
This method is called each time thedispatchEvents
method ofSensorEventAgent
is called and none of a sensor's buttons have been handled by a button listener. The sensor read value has not necessarily changed since the last read event.- Specified by:
read
in interfaceSensorReadListener
- Parameters:
e
- the sensor event
-
-