API Reference > imodeljs-frontend > Views > SkyBox SkyBox Namespace 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. Class Name Description SkyBox.CreateParams Parameters used by the RenderSystem to instantiate a SkyBox. SkyBox.SphereParams Parameters defining a spherical SkyBox. Defined in core/frontend/src/DisplayStyleState.ts Line 806 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. 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 762 Last Updated: 12 June, 2024