Package com.sun.j3d.utils.behaviors.sensor

Examples of com.sun.j3d.utils.behaviors.sensor.SensorReadListener


/*  786 */       if (this.readAction2D == -1) {
/*  787 */         this.readAction2D = 10;
/*      */       }
/*      */
/*  790 */       if (this.readAction2D == 10) {
/*  791 */         SensorReadListener r = new RotationListener2D(this.sensor2D, this.sensor6D);
/*      */
/*  793 */         this.eventAgent.addSensorReadListener(this.sensor2D, r);
/*      */       }
/*  795 */       else if (this.readAction2D == 8) {
/*  796 */         SensorReadListener r = new TranslationListener2D(this.sensor2D, this.sensor6D);
/*      */
/*  798 */         this.eventAgent.addSensorReadListener(this.sensor2D, r);
/*      */       }
/*  800 */       else if (this.readAction2D == 9) {
/*  801 */         SensorReadListener r = new ScaleListener2D(this.sensor2D, this.sensor6D);
/*      */
/*  803 */         this.eventAgent.addSensorReadListener(this.sensor2D, r);
/*      */       }
/*      */
/*  807 */       int buttonCount = this.sensor2D.getSensorButtonCount();
View Full Code Here

TOP

Related Classes of com.sun.j3d.utils.behaviors.sensor.SensorReadListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.