Builder

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var color: Color?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val primitiveType: RenderableManager.PrimitiveType
Link copied to clipboard

Functions

Link copied to clipboard
fun <T : Geometry> build(engine: Engine, constructor: (vertexBuffer: VertexBuffer, indexBuffer: IndexBuffer, offsets: List<IntRange>, boundingBox: Box) -> T): T
open override fun build(engine: Engine): Shape
Link copied to clipboard
fun color(color: Color?): Shape.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun polygonPath(points: List<Position2>, holes: List<Int> = listOf()): Shape.Builder

fun polygonPath(path: Path, stepSize: Float = 1.0f, holes: List<Int> = listOf()): Shape.Builder

Create a Polygon shape from a Path

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard