Instance Property


The color for half of the squares in the checkerboard pattern.


var color1: CGColor? { get set }


This color appears in the top left square of the generated pattern, and in alternate squares thereafter.

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

var color2: CGColor?

The color for the other half of the squares in the checkerboard pattern.

var divisions: Float

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software