Create a new influenced camera.
Protected
boundsProtected
Readonly
cueProtected
finalProtected
finalReadonly
modelThe model view matrix of this camera. Do not modify outside of camera code.
Protected
offsetReadonly
projectionThe projection matrix of this camera. Do not modify outside of camera code.
Protected
savedIf set to true, the position will be snapped to pixels.
Protected
targetProtected
viewportProtected
viewportProtected
xProtected
yProtected
zoomRegister a cue for this camera.
The cue to add.
The current camera bounds or null.
The current camera target.
Unregister a cue for this camera.
The cue to remove.
0 to fade out this cue instead of instantly removing it.
Set camera bounds.
The new bounds or null to remove the current bounds.
Protected
setSet or change the camera target.
The new camera target or null.
Protected
updateProtected
updateProtected
updateProtected
update
A camera being influenced by target influences (like velocity) and cues (points of interest). Optionally it can be contained within specified bounds.