Estimated scene lighting information associated with a captured video frame in an AR session.
SDK
- iOS 11.0+
Framework
- ARKit
Declaration
class ARLightEstimate : NSObject
Overview
If you enable the is
setting, ARKit provides light estimates in the light
property of each ARFrame
it delivers.
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.