Creates a new camera object.
Protected
boundsProtected
desiredReadonly
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
speedProtected
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 camera that smoothly follows a point. Optionally it can be contained within specified bounds.