MTSkyColorValue

public enum MTSkyColorValue : Sendable, Codable, Equatable

Represents a color or expression for the sky configuration.

  • Undocumented

    Declaration

    Swift

    case color(MTColor)
  • Undocumented

    Declaration

    Swift

    case expression([MTSkyExpression])
  • Declaration

    Swift

    public init(from decoder: any Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Convenience to wrap a UIKit color.

    Declaration

    Swift

    public static func color(_ color: UIColor) -> MTSkyColorValue