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

# scale

The reflectiveness value for the entire entity or a multiplier for the metallic texture.

## Declaration

```swift
var scale: Float
```

## Discussion

Discussion This property is an input to your material’s surface shader. Although you can choose how to use the scale value in your shader, RealityKit provides this property to control the reflectiveness of the entire entity when there’s no texture, or to function as a multiplier to the values you sample from the texture.

## See Also

### Accessing metallic data

- [texture](realitykit/custommaterial/metallic-swift.struct/texture.md)
