cameraInfo(camera, x, y, color)
Render camera information including dimensions and location.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
camera | Phaser.Camera | The Phaser.Camera to show the debug information for. | ||
x | number | X position of the debug info to be rendered. | ||
y | number | Y position of the debug info to be rendered. | ||
color | string | <optional> | 'rgb(255,255,255)' | color of the debug info to be rendered. (format is css color string). |
- Source code: utils/Debug.js (Line 285)
Please login to continue.