The scene contains variable layers and compiles them into one frame to render to the screen.
new Camera(scene);scene—SceneTheScenethisCamerais a part of.
Check if a bounding box is on screen.
x—numberThe x-coordinate to check.y—numberThe y-coordinate to check.width—numberThe width to check.height—numberThe height to check.parallaxX—numberOptional parallax x-value.parallaxY—numberOptional parallax y-value.