Skip to main content

interface.SceneConfig

API > SceneConfig

Interface: SceneConfig

Scene Configuration

Properties

aabb

readonly aabb: AABB

Scene bounding box, in world space.

Source

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


boundingSphere

readonly boundingSphere: BoundingSphere

Scene bounding sphere, in world space.

Source

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


center

readonly center: ReadonlyVec3

Weighted center point of scene, in world space.

Source

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


hasPointClassification

hasPointClassification?: boolean

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

Source

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


hasPointIntensity

hasPointIntensity?: boolean

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

Source

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


id

readonly id: string

Scene id.

Source

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


kind

readonly kind: "octree"

Scene kind.

Source

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


materialProperties

readonly materialProperties: MaterialProperties

Scene material properties.

Source

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


modelWorldMatrix

modelWorldMatrix?: ReadonlyMat4

Model to world space transformation matrix.

Source

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


numMaterials

readonly numMaterials: number

Total # of materials in scene.

Source

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


numObjects

readonly numObjects: number

Total # of selectable objects in scene.

Source

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


numPointDeviations

numPointDeviations?: number

Number of deviations in scene, undefined if none.

Source

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


offset

readonly offset: ReadonlyVec3

Offset used to geo reference scene, in world space.

Source

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


root

readonly root: string

Binary root node meta information

Source

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


rootByteSize

readonly rootByteSize: number

Byte size of root node.

Source

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


subtrees

subtrees?: ("" | "triangles" | "lines" | "terrain" | "points" | "documents")[]

List of geometry type subtrees within this scene.

Source

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


up

up?: ReadonlyVec3

Up vector, in world space.

Source

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


variants

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

Source

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


version

readonly version: string

Binary format version.

Source

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