MSFSkyType
Objective-C
enum MSFSkyType : NSInteger {}
Swift
enum MSFSkyType : Int, @unchecked Sendable
Possible sky appearances.
-
A gradient between HorizonColor and SkyColor. What the SDK drew before the atmosphere existed; pick it for a flat, stylised or brand-coloured sky.
Declaration
Objective-C
MSF_SKY_TYPE_GRADIENTSwift
case SKY_TYPE_GRADIENT = 0 -
Rayleigh and Mie single scattering, integrated along the view ray. The blue zenith, the reddening at a low sun and the halo around it all come out of the model rather than out of a colour ramp, so the sky follows the time of day on its own.
Declaration
Objective-C
MSF_SKY_TYPE_ATMOSPHERESwift
case SKY_TYPE_ATMOSPHERE = 1