Phaser API Documentation

  Version: 
PlaneConfig
Properties:
name type arguments Default description
key string | Phaser.Textures.Texture <optional>

The key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager.

frame string | number <optional>

An optional frame from the Texture this Game Object is rendering with.

width number <optional> 8

The width of this Plane, in cells, not pixels.

height number <optional> 8

The height of this Plane, in cells, not pixels.

tile boolean <optional> false

Is the texture tiled? I.e. repeated across each cell.

checkerboard Phaser.Types.GameObjects.Plane.PlaneCheckerboardConfig <optional>

Plane checkerboard configuration object.

Type:
object
Since: 3.60.0