Phaser API Documentation

  Version: 
PlaneCheckerboardConfig
Properties:
name type arguments Default description
color1 number <optional> 0xffffff

The odd cell color, specified as a hex value.

color2 number <optional> 0x0000ff

The even cell color, specified as a hex value.

alpha1 number <optional> 255

The odd cell alpha value, specified as a number between 0 and 255.

alpha2 number <optional> 255

The even cell alpha value, specified as a number between 0 and 255.

height number <optional> 128

The view height of the Plane after creation, in pixels.

Type:
object