Enumeration Case

ARWorldTrackingConfiguration.EnvironmentTexturing.automatic

ARKit automatically determines when and where to generate environment textures.

Declaration

case automatic = 2

Discussion

When you use this environmentTexturing option, ARKit automatically chooses positions in the scene for generating environment map textures based on the camera imagery it has collected and the other anchors you've placed.

If you display AR content using ARSCNView, SceneKit automatically retrieves texture maps from probe anchors and uses them to light the scene. Otherwise, use a delegate method such as session(_:didUpdate:) to find out when the probe anchor's texture has been updated and access the environmentTexture property.

See Also

Environment Texture Options

case none

ARKit does not generate environment map textures.

Beta
case manual

ARKit generates environment textures only for probe anchors you explicitly add to the session.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software