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


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:108


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


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:114


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:110


up

up?: ReadonlyVec3

Up vector, in world space.

Source

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


variants

variants?: ("deviation" | "intensity")[]

Optional point cloud attributes.

Source

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


version

readonly version: string

Binary format version.

Source

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