Package javax.media.j3d

Examples of javax.media.j3d.RenderingAttributes


                roomPartAppearance.setTexture(texture);
              }
            });
    }
    // Update room part visibility
    RenderingAttributes renderingAttributes = roomPartAppearance.getRenderingAttributes();
    renderingAttributes.setVisible(visible);
  }
View Full Code Here


/* 53 */     super(symbol, control);
/*    */   }
/*    */
/*    */   public void writeObject(DataOutput out) throws IOException {
/* 57 */     super.writeObject(out);
/* 58 */     RenderingAttributes attr = (RenderingAttributes)this.node;
/* 59 */     out.writeInt(attr.getAlphaTestFunction());
/* 60 */     out.writeFloat(attr.getAlphaTestValue());
/* 61 */     out.writeBoolean(attr.getDepthBufferEnable());
/* 62 */     out.writeBoolean(attr.getDepthBufferWriteEnable());
/* 63 */     out.writeBoolean(attr.getIgnoreVertexColors());
/* 64 */     out.writeInt(attr.getRasterOp());
/* 65 */     out.writeBoolean(attr.getRasterOpEnable());
/* 66 */     out.writeBoolean(attr.getVisible());
/*    */   }
View Full Code Here

/* 66 */     out.writeBoolean(attr.getVisible());
/*    */   }
/*    */
/*    */   public void readObject(DataInput in) throws IOException {
/* 70 */     super.readObject(in);
/* 71 */     RenderingAttributes attr = (RenderingAttributes)this.node;
/* 72 */     attr.setAlphaTestFunction(in.readInt());
/* 73 */     attr.setAlphaTestValue(in.readFloat());
/* 74 */     attr.setDepthBufferEnable(in.readBoolean());
/* 75 */     attr.setDepthBufferWriteEnable(in.readBoolean());
/* 76 */     attr.setIgnoreVertexColors(in.readBoolean());
/* 77 */     attr.setRasterOp(in.readInt());
/* 78 */     attr.setRasterOpEnable(in.readBoolean());
/* 79 */     attr.setVisible(in.readBoolean());
/*    */   }
View Full Code Here

/* 78 */     attr.setRasterOpEnable(in.readBoolean());
/* 79 */     attr.setVisible(in.readBoolean());
/*    */   }
/*    */
/*    */   protected SceneGraphObject createNode() {
/* 83 */     return new RenderingAttributes();
/*    */   }
View Full Code Here

TOP

Related Classes of javax.media.j3d.RenderingAttributes

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.