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​(java.lang.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)
      • addData2

        public void addData2​(java.lang.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 -