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

# opacity

An optional opacity texture for the decal

## Declaration

```swift
var opacity: PhysicallyBasedMaterial.Opacity?
```
