Skip to main content

novorender-api-docs / namespaces / DataJsAPI / HierarcicalObjectReference

Interface: HierarcicalObjectReference

Hierarcical object reference to a single object within a scene instance.

Remarks​

This interface extends ObjectReference with data required for hierachical tree views and 3D rendering without loading the entire set of metadata.

Extends​

Extended by​

Methods​

loadMetaData()​

loadMetaData(): Promise<ObjectData>;

Load the associated object meta data.

Returns​

Promise<ObjectData>

Inherited from​

ObjectReference.loadMetaData

Properties​

bounds?​

readonly optional bounds: object;

Bounding volume

box​

readonly box: AABB;

sphere​

readonly sphere: BoundingSphere;

descendants?​

readonly optional descendants: number[];

id​

readonly id: number;

The id of the object

Inherited from​

ObjectReference.id


path​

readonly path: string;

The path of the object expressed as a hierarchical filesystem-like path string.


type​

readonly type: NodeType;

Type of node.