Vertex

public class Vertex

Represents a Vertex for a RenderableDefinition. Used for constructing renderables dynamically.

Nested Classes

class Vertex.Builder Factory class for Vertex
class Vertex.UvCoordinate Represents a texture Coordinate for a Vertex. 

Public Methods

static Vertex.Builder
Color
Vector3
Vector3
Vertex.UvCoordinate
void
setColor(Color color)
void
setNormal(Vector3 normal)
void
setPosition(Vector3 position)
void

Inherited Methods

Public Methods

public static Vertex.Builder builder ()

public Color getColor ()

public Vector3 getNormal ()

public Vector3 getPosition ()

public Vertex.UvCoordinate getUvCoordinate ()

public void setColor (Color color)

Parameters
color

public void setNormal (Vector3 normal)

Parameters
normal

public void setPosition (Vector3 position)

Parameters
position

public void setUvCoordinate (Vertex.UvCoordinate uvCoordinate)

Parameters
uvCoordinate

Send feedback about...