<!--
{
  "availability" : [
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/EnvironmentProbeAnchor/environmentTexture",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit22EnvironmentProbeAnchorV18environmentTextureSo10MTLTexture_pSgvp"
  },
  "title" : "environmentTexture"
}
-->

# environmentTexture

The environment texture of an anchor.

```
var environmentTexture: (any MTLTexture)? { get }
```

## Discussion

Textures may be `nil` if the person isn’t in a well-lit environment.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)