ICamera
Defined in: display/Camera.ts:29
Properties
app
app:
IApplication
Defined in: display/Camera.ts:48
container
container:
Container
Defined in: display/Camera.ts:32
followOffset
readonly
followOffset:Point
Defined in: display/Camera.ts:47
lerp
readonly
lerp:number
Defined in: display/Camera.ts:45
maxX
maxX:
number
Defined in: display/Camera.ts:35
maxY
maxY:
number
Defined in: display/Camera.ts:36
minX
minX:
number
Defined in: display/Camera.ts:33
minY
minY:
number
Defined in: display/Camera.ts:34
onZoom
onZoom:
Signal
<(camera
?) =>void
>
Defined in: display/Camera.ts:30
onZoomComplete
onZoomComplete:
Signal
<(camera
?) =>void
>
Defined in: display/Camera.ts:31
target
readonly
target:null
|ContainerLike
Defined in: display/Camera.ts:46
targetPivot
readonly
targetPivot:Point
Defined in: display/Camera.ts:41
targetScale
readonly
targetScale:Point
Defined in: display/Camera.ts:42
viewportHeight
viewportHeight:
number
Defined in: display/Camera.ts:38
viewportWidth
viewportWidth:
number
Defined in: display/Camera.ts:37
worldHeight
worldHeight:
number
Defined in: display/Camera.ts:40
worldWidth
worldWidth:
number
Defined in: display/Camera.ts:39
zooming
readonly
zooming:boolean
Defined in: display/Camera.ts:43
zoomLerp
readonly
zoomLerp:number
Defined in: display/Camera.ts:44
Methods
follow()
follow(
target
,offset
):void
Defined in: display/Camera.ts:50
Parameters
target
offset
Returns
void
pan()
pan(
deltaX
,deltaY
):void
Defined in: display/Camera.ts:52
Parameters
deltaX
number
deltaY
number
Returns
void
update()
update():
void
Defined in: display/Camera.ts:56
Returns
void
zoom()
zoom(
scale
,lerp
?):void
Defined in: display/Camera.ts:54
Parameters
scale
number
lerp?
number
Returns
void