Instance Property

colorSpace

The name of the Core Graphics color space to be used for interpreting the light's color information.

Declaration

var colorSpace: String { get set }

See Also

Working with Lights

func irradiance(atPoint: vector_float3) -> Unmanaged<CGColor>

Returns the radiance of the light as received at a specific point in the same scene.

func irradiance(atPoint: vector_float3, colorSpace: CGColorSpace) -> Unmanaged<CGColor>

Returns the radiance of the light as received at a specific point in the same scene, expressed using the specified color space.

var lightType: MDLLightType

The type of the light.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software