MTSkyNumberValue

public enum MTSkyNumberValue : Sendable, Codable, Equatable

Represents a numeric value or expression for the sky configuration.

  • Undocumented

    Declaration

    Swift

    case number(Double)
  • Undocumented

    Declaration

    Swift

    case expression([MTSkyExpression])
  • Declaration

    Swift

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

    Swift

    public func encode(to encoder: Encoder) throws
  • Clamps numeric values to the valid [0, 1] range.

    Declaration

    Swift

    public func clamped() -> MTSkyNumberValue