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

Last Updated: 13 June, 2024