Class

ARLightEstimate

Estimated scene lighting information associated with a captured video frame in an AR session.

Declaration

@interface ARLightEstimate : NSObject

Overview

If you enable the lightEstimationEnabled setting, ARKit provides light estimates in the lightEstimate 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.

Topics

Examining Light Parameters

ambientIntensity

The estimated intensity, in lumens, of ambient light throughout the scene.

ambientColorTemperature

The estimated color temperature, in degrees Kelvin, of ambient light throughout the scene.

Relationships

Inherits From

See Also

Rendering Effects

Adding Realistic Reflections to an AR Experience

Use ARKit to generate environment probe textures from camera imagery and render reflective virtual objects.

AREnvironmentProbeAnchor

An object that provides environmental lighting information for a specific area of space in a world-tracking AR session.

ARDirectionalLightEstimate

Estimated environmental lighting information associated with a captured video frame in a face-tracking AR session.