API ReferenceGlobalsFloorEnvironment

# Class: FloorEnvironment

# Hierarchy

BakedShadowEnvironment

FloorEnvironment

# Index

# Constructors

# Methods

# Constructors

# constructor

+ new FloorEnvironment(scene: Scene, oldEnvironment: Environment, fog?: boolean): FloorEnvironment

Overrides BakedShadowEnvironment.constructor

Defined in packages/configurator-core/src/webgl/environment/floor-environment.ts:35

Parameters:

Name Type
scene Scene
oldEnvironment Environment
fog? boolean

Returns: FloorEnvironment

# Methods

# addToScene

addToScene(): void

Overrides BakedShadowEnvironment.addToScene

Defined in packages/configurator-core/src/webgl/environment/floor-environment.ts:104

Returns: void


# changeFloorMaterial

changeFloorMaterial(rapiMaterial: RapiMaterial, maxAnisotropy?: number): Promise‹void›

Defined in packages/configurator-core/src/webgl/environment/floor-environment.ts:139

Parameters:

Name Type
rapiMaterial RapiMaterial
maxAnisotropy? number

Returns: Promise‹void›


# cleanUp

cleanUp(): void

Inherited from Environment.cleanUp

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

Returns: void


# disable

disable(): void

Inherited from BakedShadowEnvironment.disable

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

Returns: void


# enable

enable(): void

Inherited from BakedShadowEnvironment.enable

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

Returns: void


# needsBounds

needsBounds(): boolean

Overrides BakedShadowEnvironment.needsBounds

Defined in packages/configurator-core/src/webgl/environment/floor-environment.ts:46

Returns: boolean


# needsCamera

needsCamera(): boolean

Overrides BakedShadowEnvironment.needsCamera

Defined in packages/configurator-core/src/webgl/environment/floor-environment.ts:50

Returns: boolean


# needsRotation

needsRotation(): boolean

Overrides BakedShadowEnvironment.needsRotation

Defined in packages/configurator-core/src/webgl/environment/floor-environment.ts:54

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 BakedShadowEnvironment.removeFromScene

Defined in packages/configurator-core/src/webgl/environment/floor-environment.ts:116

Returns: void


# setFloorMaterial

setFloorMaterial(url: string, width: number, height: number, repeatable: boolean): Promise‹void›

Defined in packages/configurator-core/src/webgl/environment/floor-environment.ts:120

Parameters:

Name Type
url string
width number
height number
repeatable boolean

Returns: Promise‹void›


# setLoadedCallback

setLoadedCallback(callback: function): void

Inherited from BakedShadowEnvironment.setLoadedCallback

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

Inherited from BakedShadowEnvironment.setPixotron

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 BakedShadowEnvironment.showGUI

Defined in packages/configurator-core/src/webgl/environment/floor-environment.ts:168

Returns: void


# update

update(): void

Inherited from BakedShadowEnvironment.update

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

Returns: void


# updateBounds

updateBounds(bounds: Vector3): boolean

Overrides BakedShadowEnvironment.updateBounds

Defined in packages/configurator-core/src/webgl/environment/floor-environment.ts:58

Parameters:

Name Type
bounds Vector3

Returns: boolean


# updateCamera

updateCamera(camera: PerspectiveCamera): void

Overrides Environment.updateCamera

Defined in packages/configurator-core/src/webgl/environment/floor-environment.ts:68

Parameters:

Name Type
camera PerspectiveCamera

Returns: void