API Reference > imodeljs-frontend > Views > SkyBox SkyBox Class The SkyBox is part of an Environment drawn in the background of spatial views to provide context. Several types of skybox are supported: A cube with a texture image mapped to each face; A sphere with a single texture image mapped to its surface; A sphere with a Gradient mapped to its surface. The SkyBox is part of an Environment drawn in the background of spatial views to provide context. Several types of skybox are supported: A cube with a texture image mapped to each face; A sphere with a single texture image mapped to its surface; A sphere with a Gradient mapped to its surface. Extended by SkyGradient SkySphere SkyCube Implements SkyBoxProps Methods Name Description constructor(sky?: SkyBoxProps): SkyBox Protected toJSON(): SkyBoxProps createFromJSON(json?: SkyBoxProps): SkyBox Static Instantiate a SkyBox from its JSON representation. Properties Name Type Description display boolean Whether or not the skybox should be displayed. Defined in core/frontend/src/DisplayStyleState.ts Line 328 Last Updated: 13 June, 2024