Interface SceneNodeGeometry

Base type for scene nodes

interface SceneNodeGeometry {
    index: number;
    isSpace: boolean;
    localID: number;
    materialOverideLocalID?: number;
    model: Model;
    parentIndex?: number;
    relatedElementLocalId?: number;
    type: GEOMETRY;
}

Hierarchy (view full)

Implemented by

Properties

index: number

The index of this node in the scene array.

isSpace: boolean

Does this geometry represent a "space" (i.e. is it an "empty area", not part of the regular body geometry)

localID: number

The local id of the geometry in the model.

materialOverideLocalID?: number

Overrides the geometry id used to lookup a material for this, used where a proxy piece of geometry (for example, in a boolean operation) is used to give this a material.

model: Model

The model it came from.

parentIndex?: number

The index of the parent of this node in the scene array, note it will always be a transform if it exists.

relatedElementLocalId?: number

The local id of the related element in the model (i.e. the IfcProduct).

type: GEOMETRY

Geometry node.