API Reference > imodeljs-frontend > Views > SkySphere > fromJSON fromJSON MethodStatic Create a SkySphere from its JSON representation. fromJSON(json: SkyBoxProps): SkySphere | undefined Parameter Type Description json SkyBoxProps Returns - SkySphere | undefined A SkySphere, or undefined if the JSON lacks a valid texture Id. Defined in core/frontend/src/DisplayStyleState.ts Line 474 Last Updated: 13 June, 2024