MTLight
public struct MTLight : @unchecked Sendable, Codable
A style’s light property provides a global light source for that style.
-
Undocumented
Declaration
Swift
public init( anchor: MTLightAnchor? = nil, color: MTColor? = nil, intensity: Double? = nil, position: [Double]? = nil )
-
Declaration
Swift
public init(from decoder: any Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws