API Reference > imodeljs-frontend > Views > SkyCube SkyCube Class A SkyBox drawn as a cube with an image mapped to each of its interior faces. Each member specifies the Id of a persistent texture element stored in the iModel from which the image mapped to the corresponding face is obtained. see SkyBox.createFromJSON. Extends SkyBox Implements SkyCubeProps Methods Name Description toJSON(): SkyBoxProps create(front: string, back: string, top: string, bottom: string, right: string, left: string, display?: boolean): undefined | SkyCube Static Create and return a SkyCube. Inherited methods Name Inherited from Description createFromJSON(json?: SkyBoxProps): SkyBox Static SkyBox Instantiate a SkyBox from its JSON representation. Properties Name Type Description back Readonly string Id of a persistent texture element stored in the iModel to use for the back side of the skybox cube. bottom Readonly string Id of a persistent texture element stored in the iModel to use for the bottom of the skybox cube. front Readonly string Id of a persistent texture element stored in the iModel to use for the front side of the skybox cube. left Readonly string Id of a persistent texture element stored in the iModel to use for the left side of the skybox cube. right Readonly string Id of a persistent texture element stored in the iModel to use for the front right of the skybox cube. top Readonly string Id of a persistent texture element stored in the iModel to use for the top of the skybox cube. Inherited properties Name Type Inherited from Description display boolean SkyBox Whether or not the skybox should be displayed. Defined in core/frontend/src/DisplayStyleState.ts Line 941 Last Updated: 12 June, 2024