---
title: scale
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/physicallybasedmaterial/roughness-swift.struct/scale
---

# scale

The roughness value for the entire entity.

## Declaration

```swift
var scale: Float
```

## See Also

### Accessing roughness data

- [texture](realitykit/physicallybasedmaterial/roughness-swift.struct/texture.md)
- [textureSemantic](realitykit/physicallybasedmaterial/roughness-swift.struct/texturesemantic.md)
