MSFSkyType

Objective-C

enum MSFSkyType : NSInteger {}

Swift

enum MSFSkyType : Int, @unchecked Sendable

Possible sky appearances.

  • A gradient between HorizonColor and SkyColor; pick it for a flat, stylised or brand-coloured sky.

    Declaration

    Objective-C

    MSF_SKY_TYPE_GRADIENT

    Swift

    case SKY_TYPE_GRADIENT = 0
  • Rayleigh and Mie single scattering, integrated along the view ray, so the sky follows the time of day on its own.

    Declaration

    Objective-C

    MSF_SKY_TYPE_ATMOSPHERE

    Swift

    case SKY_TYPE_ATMOSPHERE = 1