com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class VertexElement

  • Direct Known Subclasses:
    VertexElementMaterial, VertexElementTemplate, VertexElementVector4


    public abstract class VertexElement
    extends Object
    Base class of vertex elements. A vertex element type is identified by VertexElementType. A VertexElement describes how the vertex element is mapped to a geometry surface and how the mapping information is arranged in memory. A VertexElement contains Normals, UVs or other kind of information.
    • Method Detail

      • getName

        public String getName()
        Gets the name.
      • setName

        public void setName(String value)
        Sets the name.
        Parameters:
        value - New value
      • getMappingMode

        public MappingMode getMappingMode()
        Gets how the element is mapped.
      • setMappingMode

        public void setMappingMode(MappingMode value)
        Sets how the element is mapped.
        Parameters:
        value - New value
      • getReferenceMode

        public ReferenceMode getReferenceMode()
        Gets how the element is referenced.
      • setReferenceMode

        public void setReferenceMode(ReferenceMode value)
        Sets how the element is referenced.
        Parameters:
        value - New value
      • clear

        public abstract void clear()
        Clears all the data from this vertex element.
      • clone

        public VertexElement clone(boolean withData)
        Deep clone the vertex element
        Parameters:
        withData - Clone the vertex with direct and index array
      • toString

        public String toString()
        String representation of vertex element.
        Overrides:
        toString in class Object