CameraBase Class

Properties
angleX angleY currCamDist currentAngleX currentAngleY dist lookFrom lookTo pos

Functions
follow move rotate scaleDist setPos update

.angleX
Type: number

.angleY
Type: number

.currCamDist
Type: number

.currentAngleX
Type: number

.currentAngleY
Type: number

.dist
Type: number

.lookFrom
Type: Vector2 [Read Only]

.lookTo
Type: Vector2 [Read Only]

.pos
Type: Vector2

follow
function follow(pos Vector2 )

move
function move(delta Vector2, dt number )

rotate
function rotate(dx number, dy number )

scaleDist
function scaleDist(approximate boolean )

setPos
function setPos(x number, z number )

update
function update(dt number )