Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Cameras.Scene2D.Camera
backgroundColor:
Phaser.Display.Color
Description:
The background color of this Camera. Only used if
transparent
is
false
.
Type:
Phaser.Display.Color
Inherited from:
Phaser.Cameras.Scene2D.BaseCamera#backgroundColor
Since:
3.0.0
Source:
src/cameras/2d/BaseCamera.js
(Line
368
)
Possible examples