Class TextMeshData

java.lang.Object
engine.fontMeshCreator.TextMeshData

public class TextMeshData extends Object
Stores the vertex data for all the quads on which a text will be rendered.
  • Constructor Details

    • TextMeshData

      protected TextMeshData(float[] vertexPositions, float[] textureCoords)
  • Method Details

    • getVertexPositions

      public float[] getVertexPositions()
      Returns:
      the vertex positions of the text
    • getTextureCoords

      public float[] getTextureCoords()
      Returns:
      the texture Coordinates of the text
    • getVertexCount

      public int getVertexCount()
      Returns:
      the vertex count of the text