API ReferenceGlobalsBakedShadowEnvironment

# Class: BakedShadowEnvironment

# Hierarchy

# Index

# Constructors

# Methods

# Constructors

# constructor

+ new BakedShadowEnvironment(scene: Scene, oldEnvironment?: Environment): BakedShadowEnvironment

Overrides Environment.constructor

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:34

Parameters:

Name Type
scene Scene
oldEnvironment? Environment

Returns: BakedShadowEnvironment

# Methods

# addToScene

addToScene(): void

Overrides Environment.addToScene

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:143

Returns: void


# cleanUp

cleanUp(): void

Inherited from Environment.cleanUp

Defined in packages/common-core/src/environment/environment.ts:37

Returns: void


# disable

disable(): void

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:165

Returns: void


# enable

enable(): void

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:160

Returns: void


# needsBounds

needsBounds(): boolean

Overrides Environment.needsBounds

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:50

Returns: boolean


# needsCamera

needsCamera(): boolean

Overrides Environment.needsCamera

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:54

Returns: boolean


# needsRotation

needsRotation(): boolean

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:58

Returns: boolean


# reload

reload(): void

Inherited from Environment.reload

Defined in packages/common-core/src/environment/environment.ts:28

Returns: void


# removeFromScene

removeFromScene(): void

Overrides Environment.removeFromScene

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:151

Returns: void


# setLoadedCallback

setLoadedCallback(callback: function): void

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:101

Parameters:

callback: function

▸ (): void

Returns: void


# setPixotron

setPixotron(pixotron: Pixotron, renderer: WebGLRenderer, camera: Camera, params?: BakedShadowParams): void

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:62

Parameters:

Name Type
pixotron Pixotron
renderer WebGLRenderer
camera Camera
params? BakedShadowParams

Returns: void


# showGUI

showGUI(): void

Overrides Environment.showGUI

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:170

Returns: void


# update

update(): void

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:105

Returns: void


# updateBounds

updateBounds(bounds: Vector3, force?: boolean): boolean

Overrides Environment.updateBounds

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:111

Parameters:

Name Type
bounds Vector3
force? boolean

Returns: boolean


# updateCamera

updateCamera(_camera: PerspectiveCamera): void

Inherited from Environment.updateCamera

Defined in packages/common-core/src/environment/environment.ts:18

Parameters:

Name Type
_camera PerspectiveCamera

Returns: void