API ReferenceGlobalsSceneManager

# Class: SceneManager

# Hierarchy

# Implements

# Index

# Properties

# Methods

# Properties

# creator

creator: string

_Implementation of Context.creator_

Defined in packages/common-core/src/webgl/scene-manager.ts:39

# Methods

# cameraControlChanged

cameraControlChanged(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:135

Returns: void


# cleanUp

cleanUp(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:371

Returns: void


# clearScene

clearScene(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:380

Returns: void


# destroy

destroy(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:607

Returns: void


# enableHD

enableHD(source?: DynamicLightSettingSource): void

Defined in packages/common-core/src/webgl/scene-manager.ts:394

Parameters:

Name Type
source? DynamicLightSettingSource

Returns: void


# Abstract getBakedShadowParams

getBakedShadowParams(): BakedShadowParams

Defined in packages/common-core/src/webgl/scene-manager.ts:100

Returns: BakedShadowParams


# Abstract getBounds

getBounds(): Box3

Defined in packages/common-core/src/webgl/scene-manager.ts:98

Returns: Box3


# getCameraOffset

getCameraOffset(): CanvasOffset

Defined in packages/common-core/src/webgl/scene-manager.ts:756

Returns: CanvasOffset


# getPerspectiveOffsetCamera

getPerspectiveOffsetCamera(): PerspectiveOffsetCamera

Defined in packages/common-core/src/webgl/scene-manager.ts:764

Returns: PerspectiveOffsetCamera


# Abstract getPixotronParams

getPixotronParams(): any

Defined in packages/common-core/src/webgl/scene-manager.ts:96

Returns: any


# getScene

getScene(): Scene

Defined in packages/common-core/src/webgl/scene-manager.ts:719

Returns: Scene


# handleEvent

handleEvent(evt: Event): void

Defined in packages/common-core/src/webgl/scene-manager.ts:612

Parameters:

Name Type
evt Event

Returns: void


# loadDynamicLightSetting

loadDynamicLightSetting(source: DynamicLightSettingSource): Promise‹void›

Defined in packages/common-core/src/webgl/scene-manager.ts:695

Parameters:

Name Type
source DynamicLightSettingSource

Returns: Promise‹void›


# loadQualitySetting

loadQualitySetting(qualitySetting: QualitySetting): void

Defined in packages/common-core/src/webgl/scene-manager.ts:688

Parameters:

Name Type
qualitySetting QualitySetting

Returns: void


# loadSceneSettings

loadSceneSettings(sceneSetting: SceneSettings): Promise‹void›

Defined in packages/common-core/src/webgl/scene-manager.ts:635

Parameters:

Name Type
sceneSetting SceneSettings

Returns: Promise‹void›


# pause

pause(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:575

Returns: void


# resume

resume(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:584

Returns: void


# Abstract sceneChanged

sceneChanged(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:94

Returns: void


# setBackgroundColor

setBackgroundColor(hex: string): void

Defined in packages/common-core/src/webgl/scene-manager.ts:665

Parameters:

Name Type
hex string

Returns: void


# setBackgroundImage

setBackgroundImage(url: string): void

Defined in packages/common-core/src/webgl/scene-manager.ts:669

Parameters:

Name Type
url string

Returns: void


# setBakedShadow

setBakedShadow(hex: string, url: string): void

Defined in packages/common-core/src/webgl/scene-manager.ts:673

Parameters:

Name Type
hex string
url string

Returns: void


# setCameraOffset

setCameraOffset(offset: CanvasOffset): void

Defined in packages/common-core/src/webgl/scene-manager.ts:746

Parameters:

Name Type
offset CanvasOffset

Returns: void


# showGUI

showGUI(): Promise‹void›

Defined in packages/common-core/src/webgl/scene-manager.ts:505

Returns: Promise‹void›


# showStats

showStats(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:563

Returns: void


# updateCamera

updateCamera(_changeCamera: boolean): void

Defined in packages/common-core/src/webgl/scene-manager.ts:337

Parameters:

Name Type Default
_changeCamera boolean true

Returns: void


# updateScene

updateScene(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:723

Returns: void