ConstructorOptions

Properties

Link copied to clipboard
abstract val attributes: ERROR CLASS: Symbol not found for JsAny??

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

Link copied to clipboard
abstract val geometry: ERROR CLASS: Symbol not found for JsAny

The geometry to instance.

Link copied to clipboard
abstract val id: ERROR CLASS: Symbol not found for JsAny??

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