Package engine.fontMeshCreator
Class TextMeshData
java.lang.Object
engine.fontMeshCreator.TextMeshData
Stores the vertex data for all the quads on which a text will be rendered.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TextMeshData
(float[] vertexPositions, float[] textureCoords) -
Method Summary
Modifier and TypeMethodDescriptionfloat[]
int
float[]
-
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
-