Skip to main content

novorender-api-docs / DataJsAPI / ObjectReference

Interface: ObjectReference

Lightweight reference to a single object within a scene instance.

Remarks

Object metadata are not loaded with scene automatically and may require an additional server request. This interface contains only the identity required to perform such a request.

Extended by

Methods

loadMetaData()

loadMetaData(): Promise<ObjectData>

Load the associated object meta data.

Returns

Promise<ObjectData>

Properties

id

readonly id: number;

The id of the object