Package javax.media.j3d

Examples of javax.media.j3d.Behavior


/*     */     }
/*     */
/* 516 */     this.objectBehavior = new Vector();
/* 517 */     if (loadBehaviors != 0) {
/* 518 */       this.motion.createJava3dBehaviors(this.objectTransform);
/* 519 */       Behavior b = this.motion.getBehaviors();
/* 520 */       if (b != null)
/* 521 */         this.objectBehavior.addElement(b);
/*     */     }
/*     */   }
View Full Code Here


/* 217 */       this.objectTransform.addChild(this.light);
/*     */
/* 220 */       this.objectBehavior = new Vector();
/* 221 */       if (loadBehaviors != 0)
/*     */       {
/* 223 */         Behavior b = null;
/* 224 */         this.motion.createJava3dBehaviors(this.objectTransform);
/* 225 */         b = this.motion.getBehaviors();
/* 226 */         if (b != null) {
/* 227 */           this.objectBehavior.addElement(b);
/*     */         }
View Full Code Here

/* 136 */     this.objectTransform = new TransformGroup(t1);
/* 137 */     this.objectTransform.setCapability(18);
/* 138 */     this.objectBehavior = new Vector();
/* 139 */     if (loadBehaviors != 0) {
/* 140 */       this.motion.createJava3dBehaviors(this.objectTransform);
/* 141 */       Behavior b = this.motion.getBehaviors();
/* 142 */       if (b != null)
/* 143 */         this.objectBehavior.addElement(b);
/*     */     }
/*     */   }
View Full Code Here

/* 68 */     return ret;
/*    */   }
/*    */
/*    */   public void writeObject(DataOutput out) throws IOException {
/* 72 */     super.writeObject(out);
/* 73 */     Behavior beh = (Behavior)this.node;
/*    */
/* 75 */     out.writeBoolean(beh.getEnable());
/* 76 */     out.writeInt(this.control.getSymbolTable().addReference(beh.getSchedulingBoundingLeaf()));
/*    */
/* 78 */     this.control.writeBounds(out, beh.getSchedulingBounds());
/*    */
/* 83 */     out.writeInt(beh.getSchedulingInterval());
/*    */   }
View Full Code Here

/* 83 */     out.writeInt(beh.getSchedulingInterval());
/*    */   }
/*    */
/*    */   public void readObject(DataInput in) throws IOException {
/* 87 */     super.readObject(in);
/* 88 */     Behavior beh = (Behavior)this.node;
/*    */
/* 90 */     beh.setEnable(in.readBoolean());
/* 91 */     this.boundingLeaf = in.readInt();
/* 92 */     beh.setSchedulingBounds(this.control.readBounds(in));
/* 93 */     beh.setSchedulingInterval(in.readInt());
/*    */   }
View Full Code Here

TOP

Related Classes of javax.media.j3d.Behavior

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.