Class: Skybox

Skybox

Skybox provides a backdrop "at infinity" for the scene.


new Skybox(materialOrTexture)

Parameters:
Name Type Description
materialOrTexture

Either a TextureCube, a Material or a SphericalHarmonicsRGB used to render the skybox. If a texture is passed, SkyboxMaterial is used as material. When passing in spherical harmonics, SkyboxSHMaterial

Properties:
Name Type Description
material

The material used by the texture.

Author:
  • derschmale <http://www.derschmale.com>

Methods


clone()