Vertex.Builder

public static final class Vertex.Builder

Factory class for Vertex.

Public Constructors

Public Methods

Vertex
build()
Vertex.Builder
setColor(Color color)
Vertex.Builder
setNormal(Vector3 normal)
Vertex.Builder
setPosition(Vector3 position)
Vertex.Builder

Inherited Methods

Public Constructors

public Vertex.Builder ()

Public Methods

public Vertex build ()

public Vertex.Builder setColor (Color color)

Parameters
color

public Vertex.Builder setNormal (Vector3 normal)

Parameters
normal

public Vertex.Builder setPosition (Vector3 position)

Parameters
position

public Vertex.Builder setUvCoordinate (Vertex.UvCoordinate uvCoordinate)

Parameters
uvCoordinate

Send feedback about...