Class Object3DGeneric.MaterialMapData

  • Enclosing class:
    Object3DGeneric

    public static class Object3DGeneric.MaterialMapData
    extends java.lang.Object
    Mapping from triangles to materials.
    • Constructor Summary

      Constructors 
      Constructor Description
      MaterialMapData​(long cPtr, boolean cMemoryOwn)  
      MaterialMapData​(long m, long sidx, long s)
      Constructor.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete()  
      static long getCPtr​(Object3DGeneric.MaterialMapData obj)  
      long getMatId()
      material that is used for these triangles
      long getSize()
      number of triangles from startIdx that use this material
      long getStartIdx()
      the start index of the triangles
      void setMatId​(long value)
      material that is used for these triangles
      void setSize​(long value)
      number of triangles from startIdx that use this material
      void setStartIdx​(long value)
      the start index of the triangles
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MaterialMapData

        public MaterialMapData​(long cPtr,
                               boolean cMemoryOwn)
      • MaterialMapData

        public MaterialMapData​(long m,
                               long sidx,
                               long s)
        Constructor.
        Parameters:
        m - [in] material id.
        sidx - [in] start index of triangles.
        s - [in] number of triangles that use the material.
    • Method Detail

      • delete

        public void delete()
      • setMatId

        public void setMatId​(long value)
        material that is used for these triangles
      • getMatId

        public long getMatId()
        material that is used for these triangles
      • setStartIdx

        public void setStartIdx​(long value)
        the start index of the triangles
      • getStartIdx

        public long getStartIdx()
        the start index of the triangles
      • setSize

        public void setSize​(long value)
        number of triangles from startIdx that use this material
      • getSize

        public long getSize()
        number of triangles from startIdx that use this material