com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

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)
        Description copied from class: VertexElement
        Deep clone the vertex element
        Parameters:
        withDirect - Clone the vertex with direct array
        withIndice - Clone the vertex with index array