Skip to main content

@novorender/api / SceneConfig

Interface: SceneConfig

Defined in: @novorender/src/core3d/state/scene.ts:81

Scene Configuration

Properties

aabb

readonly aabb: AABB;

Defined in: @novorender/src/core3d/state/scene.ts:97

Scene bounding box, in world space.


boundingSphere

readonly boundingSphere: BoundingSphere;

Defined in: @novorender/src/core3d/state/scene.ts:95

Scene bounding sphere, in world space.


center

readonly center: ReadonlyVec3;

Defined in: @novorender/src/core3d/state/scene.ts:91

Weighted center point of scene, in world space.


hasPointClassification?

readonly optional hasPointClassification: boolean;

Defined in: @novorender/src/core3d/state/scene.ts:124

True if scene has classifaction, false/undefiene if not.


hasPointIntensity?

readonly optional hasPointIntensity: boolean;

Defined in: @novorender/src/core3d/state/scene.ts:126

True if scene has Intensity, false/undefiene if not.


id

readonly id: string;

Defined in: @novorender/src/core3d/state/scene.ts:85

Scene id.


kind

readonly kind: "octree";

Defined in: @novorender/src/core3d/state/scene.ts:83

Scene kind.


materialProperties

readonly materialProperties: MaterialProperties;

Defined in: @novorender/src/core3d/state/scene.ts:105

Scene material properties.


modelWorldMatrix?

readonly optional modelWorldMatrix: ReadonlyMat4;

Defined in: @novorender/src/core3d/state/scene.ts:107

Model to world space transformation matrix.


numMaterials

readonly numMaterials: number;

Defined in: @novorender/src/core3d/state/scene.ts:103

Total # of materials in scene.


numObjects

readonly numObjects: number;

Defined in: @novorender/src/core3d/state/scene.ts:101

Total # of selectable objects in scene.


numPointDeviations?

readonly optional numPointDeviations: number;

Defined in: @novorender/src/core3d/state/scene.ts:122

Number of deviations in scene, undefined if none.


offset

readonly offset: ReadonlyVec3;

Defined in: @novorender/src/core3d/state/scene.ts:93

Offset used to geo reference scene, in world space.


root

readonly root: string;

Defined in: @novorender/src/core3d/state/scene.ts:128

Binary root node meta information


rootByteSize

readonly rootByteSize: number;

Defined in: @novorender/src/core3d/state/scene.ts:99

Byte size of root node.


subtrees?

readonly optional subtrees: ("" | "terrain" | "triangles" | "lines" | "points" | "documents")[];

Defined in: @novorender/src/core3d/state/scene.ts:109

List of geometry type subtrees within this scene.


up?

readonly optional up: ReadonlyVec3;

Defined in: @novorender/src/core3d/state/scene.ts:89

Up vector, in world space.


variants?

readonly optional variants: ("deviation" | "intensity")[];

Defined in: @novorender/src/core3d/state/scene.ts:120

Optional point cloud attributes.

Deprecated

This is no longer in use. For binary format 2.3 and above use numPointDeviations and hasPointIntensity


version

readonly version: string;

Defined in: @novorender/src/core3d/state/scene.ts:87

Binary format version.