lightEstimate
An estimate of lighting conditions based on the camera image.
Declaration
var lightEstimate: ARLightEstimate? { get }Discussion
If you render your own overlay graphics for the AR scene, you can use this information in shading algorithms to help make those graphics match the real-world lighting conditions of the scene captured by the camera. (The ARSCNView class automatically uses this information to configure SceneKit lighting.)
This property’s value is nil if the isLightEstimationEnabled property of the session configuration that captured this frame is false.