LightType

public struct LightType : RawRepresentable, Codable

Supported light types

  • A global directional light.

    Declaration

    Swift

    public static let flat: LightType
  • An indirect type of light.

    Declaration

    Swift

    public static let ambient: LightType
  • A type of light that has a direction.

    Declaration

    Swift

    public static let directional: LightType
  • Declaration

    Swift

    public let rawValue: String
  • Declaration

    Swift

    public init(rawValue: String)