---
title: texture
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/custommaterial/opacity/texture
---

# texture

The amount of opacity specified using a UV-mapped image.

## Declaration

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

## See Also

### Accessing opacity data

- [scale](realitykit/custommaterial/opacity/scale.md)
