Package-level declarations

Types

Link copied to clipboard
class Cube : Geometry
Link copied to clipboard
Link copied to clipboard
open class Geometry

Geometry parameters for building and updating a Renderable

Link copied to clipboard
class Plane : Geometry
Link copied to clipboard
class Shape : Geometry
Link copied to clipboard
Link copied to clipboard
typealias UvCoordinate = Float2
Link copied to clipboard
typealias UvScale = Float2

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun RenderableManager.Builder.geometry(geometry: Geometry, offsets: List<IntRange> = geometry.primitivesOffsets): RenderableManager.Builder

Specifies the geometry data for a primitive.

Link copied to clipboard
Link copied to clipboard
fun RenderableManager.setGeometry(instance: EntityInstance, geometry: Geometry, offsets: List<IntRange> = geometry.primitivesOffsets)

Changes the geometry for the given renderable instance.

Link copied to clipboard
fun IndexBuffer.setIndices(engine: Engine, indices: List<Int>)
Link copied to clipboard
fun VertexBuffer.setVertices(engine: Engine, vertices: List<Geometry.Vertex>): Box