com.aspose.threed

Interfaces

Classes

Enums

Exceptions

Class VertexElementUV

    • Constructor Detail

      • VertexElementUV

        public VertexElementUV(TextureMapping textureMapping)
        Initializes a new instance of the VertexElementUV class.
        Parameters:
        textureMapping - The texture mapping type.
    • Method Detail

      • addData

        public void addData(Iterable<Vector2> data)
        Add a set of Vector2 to VertexElementUV.Data. This is a short-cut, this method will convert the Vector2 to Vector4 with z to 0 and w to 0.
        Parameters:
        data -
      • 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
      • addData2

        public void addData2(Iterable<Vector3> data)
        Add a set of Vector3 to VertexElementUV.Data. This is a short-cut, this method will convert the Vector3 to Vector4 with w to 0.
        Parameters:
        data -