---
title: ARWorldTrackingConfiguration.EnvironmentTexturing.automatic
framework: arkit
role: symbol
role_heading: Case
path: arkit/arworldtrackingconfiguration/environmenttexturing-swift.enum/automatic
---

# ARWorldTrackingConfiguration.EnvironmentTexturing.automatic

The framework automatically determines when and where to generate environment textures.

## Declaration

```swift
case automatic
```

## Discussion

Discussion When you use this environmentTexturing option, ARKit automatically chooses positions in the scene to generate environment 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.
