API ReferenceGlobalsEnvironmentLoader

# Class: EnvironmentLoader

# Hierarchy

# Implements

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new EnvironmentLoader(creator: string): EnvironmentLoader

Defined in packages/common-core/src/services/environment-loader.ts:27

Parameters:

Name Type
creator string

Returns: EnvironmentLoader

# Properties

# creator

creator: string

Implementation of Context.creator

Defined in packages/common-core/src/services/environment-loader.ts:9

# Methods

# getEnvironmentMap

getEnvironmentMap(): Texture

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

Returns: Texture


# registerEnvironmentChangedCallback

registerEnvironmentChangedCallback(callBack: any): void

Defined in packages/common-core/src/services/environment-loader.ts:76

Parameters:

Name Type
callBack any

Returns: void


# setEnvMap

setEnvMap(material: MeshStandardMaterial): void

Defined in packages/common-core/src/services/environment-loader.ts:89

Parameters:

Name Type
material MeshStandardMaterial

Returns: void


# setRendererAndScene

setRendererAndScene(renderer: WebGLRenderer, scene: Scene): void

Defined in packages/common-core/src/services/environment-loader.ts:71

Parameters:

Name Type
renderer WebGLRenderer
scene Scene

Returns: void


# Static setEnvironmentMap

setEnvironmentMap(material: MeshStandardMaterial, envMap: Texture): void

Defined in packages/common-core/src/services/environment-loader.ts:20

Parameters:

Name Type
material MeshStandardMaterial
envMap Texture

Returns: void