readCamera2DView
readCamera2DView(
world):Readonly<Camera2DView> |null
The plane rectangle the current Camera2D’s frame shows, unshaken, in
the plane’s two axes, such as for spawning a wave just off the screen;
null with no Camera2D, or before its first frame. As Phaser’s
camera.worldView and Godot’s visible rectangle.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
Returns
Section titled “Returns”Readonly<Camera2DView> | null