ConstructorOptions

Properties

Link copied to clipboard
abstract val attributes: Any?

Per-instance attributes like a show or color attribute shown in the example below.

Link copied to clipboard
abstract val geometry: Any

The geometry to instance.

Link copied to clipboard
abstract val id: Any?

A user-defined object to return when the instance is picked with Scene.pick or get/set per-instance attributes with Primitive.getGeometryInstanceAttributes.

Link copied to clipboard
abstract val modelMatrix: Matrix4?

The model matrix that transforms to transform the geometry from model to world coordinates. Default value - Matrix4.IDENTITY