Cube

class Cube : Geometry

Types

Link copied to clipboard
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var boundingBox: Box
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
val primitiveType: RenderableManager.PrimitiveType
Link copied to clipboard
var size: Size
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, center: Position = this.center, size: Size = this.size): Cube
fun update(engine: Engine, vertices: List<Geometry.Vertex> = this.vertices, primitivesIndices: List<List<Int>> = this.primitivesIndices): Geometry