---
title: texture
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/custommaterial/ambientocclusion-swift.struct/texture
---

# texture

The entity’s exposure to ambient light specified using a UV-mapped image.

## Declaration

```swift
var texture: CustomMaterial.Texture?
```
