Plane

class Plane : Geometry

Types

Link copied to clipboard
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var boundingBox: Box
Link copied to clipboard

Center of the constructed plane

Link copied to clipboard
val indexBuffer: IndexBuffer
Link copied to clipboard
Link copied to clipboard

Looking at direction

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val primitiveType: RenderableManager.PrimitiveType
Link copied to clipboard
var size: Size

Size of the constructed plane

Link copied to clipboard

UVs coordinates

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, size: Size = this.size, center: Position = this.center, normal: Direction = this.normal, uvScale: UvScale = this.uvScale): Plane

Update the geometry