Protected
boundsReadonly
modelThe model view matrix of this camera. Do not modify outside of camera code.
Readonly
projectionThe projection matrix of this camera. Do not modify outside of camera code.
If set to true, the position will be snapped to pixels.
Protected
viewportProtected
viewportProtected
xProtected
yProtected
zoomThe current camera bounds or null.
Set camera bounds.
The new bounds or null to remove the current bounds.
Protected
setProtected
update
A simple 2D camera, which optionally snaps position values to pixels.