Three.V8

3D rendering engine using JavaScript as user script.

View on GitHub

<–Home

class EnvironmentMapCreator

class EnvironmentMapCreator

Name Description
Constructors  
EnvironmentMapCreator() Creates a new EnvironmentMapCreator.
Methods  
dispose() Dispose the unmanaged resource.
create() Create an EnvironmentMap object.

Constructors

EnvironmentMapCreator()

EnvironmentMapCreator()

Create an EnvironmentMapCreator object, which can be used to create EnvironmentMap objects.

Methods

dispose()

.dispose(): undefined

Dispose the unmanaged resource.

create()

.create(image: CubeImage): EnvironmentMap

Create an EnvironmentMap object using a cubemap image.

.create(image: HDRCubeImage): EnvironmentMap

Create an EnvironmentMap object using a HDR cubemap image.

.create(background: CubeBackground): EnvironmentMap

Create an EnvironmentMap object using a cubemap background.

.create(target: CubeRenderTarget, irradiance_only = false: Boolean): EnvironmentMap

Create an EnvironmentMap object using a cubemap render target.