Shape

class Shape : Geometry

Types

Link copied to clipboard
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var boundingBox: Box
Link copied to clipboard
var color: Color?
Link copied to clipboard
Link copied to clipboard
val indexBuffer: IndexBuffer
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
val vertexBuffer: VertexBuffer
Link copied to clipboard

Functions

Link copied to clipboard
fun setPrimitivesIndices(engine: Engine, primitivesIndices: List<List<Int>>)
Link copied to clipboard
fun setVertices(engine: Engine, vertices: List<Geometry.Vertex>)
Link copied to clipboard
fun update(engine: Engine, vertices: List<Geometry.Vertex> = this.vertices, primitivesIndices: List<List<Int>> = this.primitivesIndices): Geometry
fun update(engine: Engine, polygonPath: List<Position2> = this.polygonPath, polygonHoles: List<Int> = this.polygonHoles, delaunayPoints: List<Position2> = this.delaunayPoints, normal: Direction = this.normal, uvScale: UvScale = this.uvScale, color: Color? = this.color): Shape