Skip to main content

@novorender/web_app / SceneConfig

Interface: SceneConfig

Scene Configuration

Properties

aabb

readonly aabb: AABB;

Scene bounding box, in world space.

Defined in

@novorender/core3d/state/scene.ts:97


boundingSphere

readonly boundingSphere: BoundingSphere;

Scene bounding sphere, in world space.

Defined in

@novorender/core3d/state/scene.ts:95


center

readonly center: ReadonlyVec3;

Weighted center point of scene, in world space.

Defined in

@novorender/core3d/state/scene.ts:91


hasPointClassification?

readonly optional hasPointClassification: boolean;

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

Defined in

@novorender/core3d/state/scene.ts:117


hasPointIntensity?

readonly optional hasPointIntensity: boolean;

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

Defined in

@novorender/core3d/state/scene.ts:119


id

readonly id: string;

Scene id.

Defined in

@novorender/core3d/state/scene.ts:85


kind

readonly kind: "octree";

Scene kind.

Defined in

@novorender/core3d/state/scene.ts:83


materialProperties

readonly materialProperties: MaterialProperties;

Scene material properties.

Defined in

@novorender/core3d/state/scene.ts:105


modelWorldMatrix?

readonly optional modelWorldMatrix: ReadonlyMat4;

Model to world space transformation matrix.

Defined in

@novorender/core3d/state/scene.ts:107


numMaterials

readonly numMaterials: number;

Total # of materials in scene.

Defined in

@novorender/core3d/state/scene.ts:103


numObjects

readonly numObjects: number;

Total # of selectable objects in scene.

Defined in

@novorender/core3d/state/scene.ts:101


numPointDeviations?

readonly optional numPointDeviations: number;

Number of deviations in scene, undefined if none.

Defined in

@novorender/core3d/state/scene.ts:115


offset

readonly offset: ReadonlyVec3;

Offset used to geo reference scene, in world space.

Defined in

@novorender/core3d/state/scene.ts:93


root

readonly root: string;

Binary root node meta information

Defined in

@novorender/core3d/state/scene.ts:121


rootByteSize

readonly rootByteSize: number;

Byte size of root node.

Defined in

@novorender/core3d/state/scene.ts:99


subtrees?

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

List of geometry type subtrees within this scene.

Defined in

@novorender/core3d/state/scene.ts:109


up?

readonly optional up: ReadonlyVec3;

Up vector, in world space.

Defined in

@novorender/core3d/state/scene.ts:89


variants?

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

Optional point cloud attributes.

Deprecated

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

Defined in

@novorender/core3d/state/scene.ts:113


version

readonly version: string;

Binary format version.

Defined in

@novorender/core3d/state/scene.ts:87