Instance

constructor(id: String, transform: Transform)

Creates an instance with the specified unique ID and transform.

Parameters

id

The ID for the instance.

transform

The transform matrix defining the position, rotation, and scale of the instance.


constructor(id: String, transform: Transform, customFloatData: FloatArray)

Creates an instance with the specified unique ID, transform and custom float data.