---
title: environmentTexture
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/environmentprobeanchor/environmenttexture
---

# environmentTexture

The environment texture of an anchor.

## Declaration

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

## Discussion

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

## See Also

### Getting anchor information

- [cameraScaleReference](arkit/environmentprobeanchor/camerascalereference.md)
- [originFromAnchorTransform](arkit/environmentprobeanchor/originfromanchortransform.md)
