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.