Vertex

data class Vertex(val position: Position = Position(), val normal: Direction? = null, val uvCoordinate: UvCoordinate? = null, val color: Color? = null)

Used for constructing renderables dynamically

Parameters

uvCoordinate

Represents a texture Coordinate for a Vertex. Values should be between 0 and 1.

Constructors

Link copied to clipboard
constructor(position: Position = Position(), normal: Direction? = null, uvCoordinate: UvCoordinate? = null, color: Color? = null)

Properties

Link copied to clipboard
val color: Color? = null
Link copied to clipboard
val normal: Direction? = null
Link copied to clipboard
Link copied to clipboard