Class VertexElementMaterial

  • All Implemented Interfaces:
    IIndexedVertexElement

    public class VertexElementMaterial
    extends VertexElement
    Defines material index for specified components. A node can have multiple materials, the VertexElementMaterial is used to render different part of the geometry in different materials.
    • Constructor Detail

      • VertexElementMaterial

        public VertexElementMaterial()
        Initializes a new instance of the VertexElementMaterial class.
    • Method Detail

      • clear

        public void clear()
        Removes all elements from the direct and the index arrays.
        Specified by:
        clear in class VertexElement
      • clone

        public VertexElement clone​(boolean withDirect,
                                   boolean withIndice)