A static class to store and provide access to the current dimensions of the rendering canvas or viewport. This class is used throughout the engine to get the current width and height of the rendering surface.
Static
The height of the renderer viewport. This value is updated whenever the canvas is resized.
The width of the renderer viewport. This value is updated whenever the canvas is resized.
A static class to store and provide access to the current dimensions of the rendering canvas or viewport. This class is used throughout the engine to get the current width and height of the rendering surface.