---
title: bias
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothmeshshape/bias
---

# bias

The distance by which the vertices are extended outwards along the direction of their normals.

## Declaration

```swift
var bias: Float
```

## Discussion

Discussion This can be used to make a mesh collider slightly larger than its visual counterpart in order to avoid z-fighting.

## See Also

### Configuring the mesh shape

- [mesh](realitykit/clothmeshshape/mesh.md)
