phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
11 lines (10 loc) • 583 B
JavaScript
/**
* @typedef {object} Phaser.Types.GameObjects.Plane.PlaneCheckerboardConfig
* @since 3.60.0
*
* @property {number} [color1=0xffffff] - The odd cell color, specified as a hex value.
* @property {number} [color2=0x0000ff] - The even cell color, specified as a hex value.
* @property {number} [alpha1=255] - The odd cell alpha value, specified as a number between 0 and 255.
* @property {number} [alpha2=255] - The even cell alpha value, specified as a number between 0 and 255.
* @property {number} [height=128] - The view height of the Plane after creation, in pixels.
*/