---
title: divisions
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlcheckerboardtexture/divisions
---

# divisions

The number of squares along each dimension in the checkerboard pattern.

## Declaration

```swift
var divisions: Float { get set }
```

## Discussion

Discussion For example, a value of 2 creates a checkerboard pattern of four squares (a 2 x 2 grid), where the top-left and bottom-right squares use the color1 color and the other two squares use the color2 color. A value of 4 creates a pattern of 16 squares (a 4 x 4 grid), and so on. Changing the divisions, color1, or color2 properties invalidates the cache, causing Model I/O to regenerate texel data the next time it is needed.

## See Also

### Configuring the Checkerboard Pattern

- [color1](modelio/mdlcheckerboardtexture/color1.md)
- [color2](modelio/mdlcheckerboardtexture/color2.md)
