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

# Methods

# cameraControlChanged

cameraControlChanged(): void

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

Returns: void


# cleanUp

cleanUp(): void

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

Returns: void


# clearScene

clearScene(): void

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

Returns: void


# destroy

destroy(): void

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

Returns: void


# enableHD

enableHD(source?: DynamicLightSettingSource): void

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

Parameters:

Name Type
source? DynamicLightSettingSource

Returns: void


# Abstract getBakedShadowParams

getBakedShadowParams(): BakedShadowParams

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

Returns: BakedShadowParams


# Abstract getBounds

getBounds(): Box3

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

Returns: Box3


# getCameraOffset

getCameraOffset(): CanvasOffset

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

Returns: CanvasOffset


# getOrthographicOffsetCamera

getOrthographicOffsetCamera(): OrthographicOffsetCamera

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

Returns: OrthographicOffsetCamera


# getPerspectiveOffsetCamera

getPerspectiveOffsetCamera(): PerspectiveOffsetCamera

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

Returns: PerspectiveOffsetCamera


# Abstract getPixotronParams

getPixotronParams(): any

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

Returns: any


# getScene

getScene(): Scene

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

Returns: Scene


# handleEvent

handleEvent(evt: Event): void

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

Parameters:

Name Type
evt Event

Returns: void


# loadDynamicLightSetting

loadDynamicLightSetting(source: DynamicLightSettingSource): Promise‹void›

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

Parameters:

Name Type
source DynamicLightSettingSource

Returns: Promise‹void›


# loadQualitySetting

loadQualitySetting(qualitySetting: QualitySetting): void

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

Parameters:

Name Type
qualitySetting QualitySetting

Returns: void


# loadSceneSettings

loadSceneSettings(sceneSetting: SceneSettings): Promise‹void›

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

Parameters:

Name Type
sceneSetting SceneSettings

Returns: Promise‹void›


# pause

pause(): void

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

Returns: void


# resume

resume(): void

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

Returns: void


# Abstract sceneChanged

sceneChanged(): void

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

Returns: void


# setBackgroundColor

setBackgroundColor(hex: string): void

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

Parameters:

Name Type
hex string

Returns: void


# setBackgroundImage

setBackgroundImage(url: string): void

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

Parameters:

Name Type
url string

Returns: void


# setBakedShadow

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

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

Parameters:

Name Type
hex string
url string

Returns: void


# setCameraOffset

setCameraOffset(offset: CanvasOffset): void

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

Parameters:

Name Type
offset CanvasOffset

Returns: void


# showGUI

showGUI(): Promise‹void›

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

Returns: Promise‹void›


# showStats

showStats(): void

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

Returns: void


# updateCamera

updateCamera(_changeCamera: boolean): void

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

Parameters:

Name Type Default
_changeCamera boolean true

Returns: void


# updateScene

updateScene(): void

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

Returns: void