ConstructorOptions

Properties

Link copied to clipboard
abstract var attributes: Any?

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

Link copied to clipboard
abstract var geometry: Any

The geometry to instance.

Link copied to clipboard
abstract var 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 var modelMatrix: Matrix4?

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