Class ColladaMeshShape.Geometry

  • Enclosing class:
    ColladaMeshShape

    protected static class ColladaMeshShape.Geometry
    extends java.lang.Object
    Geometry and attributes of a COLLADA triangles or lines element.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected ColladaAbstractGeometry colladaGeometry
      Collada element that defines this geometry.
      protected boolean doubleSided
      Indicates whether or not the geometry is double sided.
      protected Material material
      Material applied to this geometry.
      protected int offset
      Offset (in vertices) into the coord, normal, and texcoord buffers of this coordinates for this geometry.
      protected WWTexture texture
      Texture applied to this geometry.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • offset

        protected int offset
        Offset (in vertices) into the coord, normal, and texcoord buffers of this coordinates for this geometry.
      • texture

        protected WWTexture texture
        Texture applied to this geometry.
      • material

        protected Material material
        Material applied to this geometry.
    • Constructor Detail

      • Geometry

        public Geometry​(ColladaAbstractGeometry geometry)
        Create a new geometry instance.
        Parameters:
        geometry - COLLADA geometry to render.