SkyType

public enum SkyType : String, Codable, CaseIterable

The type of the sky

  • Renders the sky with a gradient that can be configured with {@link SKY_GRADIENT_RADIUS} and {@link SKY_GRADIENT}.

    Declaration

    Swift

    case gradient = "gradient"
  • Renders the sky with a simulated atmospheric scattering algorithm, the sun direction can be attached to the light position or explicitly set through {@link SKY_ATMOSPHERE_SUN}.

    Declaration

    Swift

    case atmosphere = "atmosphere"