A vector indicating the orientation of the strongest directional light source in the scene.
- iOS 11.0+
When ARKit analyzes the directional lighting environment for a detected face, the resulting lighting estimate can represent the influence of multiple light sources with different directions and intensities. To access this level of detail for use in your custom rendering code, use the
If your app displays AR content using a technology that doesn’t support environment-based lighting, this
primary property represents the average of directional light sources in the scene. This vector is normalized and in world coordinate space.