Instance Property

color

The color of the light. Animatable.

Declaration

@property(nonatomic, retain) id color;

Discussion

The value of this property is an NSColor or CGColorRef object. The default color is white.

You can animate changes to this property’s value. See Animating SceneKit Content.

See Also

Modifying a Light’s Appearance

type

A constant identifying the general behavior of the light.

SCNLightType

Constants specifying the general behavior of a light, used by the type property.

temperature

The color temperature, in degrees Kelvin, of the light source. Animatable.

intensity

The luminous flux, in lumens, or total brightness of the light. Animatable.

sphericalHarmonicsCoefficients

Data describing the estimated lighting environment in all directions for a light probe.