Camera
Defined in: display/Camera.ts:59
Extends
Section titled “Extends”Container
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Camera(
config
):Camera
Defined in: display/Camera.ts:72
Parameters
Section titled “Parameters”config
Section titled “config”CustomCameraConfig
Returns
Section titled “Returns”Camera
Overrides
Section titled “Overrides”Container.constructor
Properties
Section titled “Properties”config
Section titled “config”config:
CustomCameraConfig
Defined in: display/Camera.ts:72
container
Section titled “container”container:
Container
Defined in: display/Camera.ts:62
Implementation of
Section titled “Implementation of”maxX:
number
Defined in: display/Camera.ts:65
Implementation of
Section titled “Implementation of”maxY:
number
Defined in: display/Camera.ts:66
Implementation of
Section titled “Implementation of”minX:
number
=0
Defined in: display/Camera.ts:63
Implementation of
Section titled “Implementation of”minY:
number
=0
Defined in: display/Camera.ts:64
Implementation of
Section titled “Implementation of”onZoom
Section titled “onZoom”onZoom:
Signal
<(camera?
) =>void
>
Defined in: display/Camera.ts:60
Implementation of
Section titled “Implementation of”onZoomComplete
Section titled “onZoomComplete”onZoomComplete:
Signal
<(camera?
) =>void
>
Defined in: display/Camera.ts:61
Implementation of
Section titled “Implementation of”viewportHeight
Section titled “viewportHeight”viewportHeight:
number
Defined in: display/Camera.ts:68
Implementation of
Section titled “Implementation of”viewportWidth
Section titled “viewportWidth”viewportWidth:
number
Defined in: display/Camera.ts:67
Implementation of
Section titled “Implementation of”worldHeight
Section titled “worldHeight”worldHeight:
number
Defined in: display/Camera.ts:70
Implementation of
Section titled “Implementation of”worldWidth
Section titled “worldWidth”worldWidth:
number
Defined in: display/Camera.ts:69
Implementation of
Section titled “Implementation of”Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get app():
IApplication
Defined in: display/Camera.ts:167
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”followOffset
Section titled “followOffset”Get Signature
Section titled “Get Signature”get followOffset():
Point
Defined in: display/Camera.ts:159
Returns
Section titled “Returns”Point
Set Signature
Section titled “Set Signature”set followOffset(
value
):void
Defined in: display/Camera.ts:163
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Get Signature
Section titled “Get Signature”get lerp():
number
Defined in: display/Camera.ts:133
Returns
Section titled “Returns”number
Set Signature
Section titled “Set Signature”set lerp(
value
):void
Defined in: display/Camera.ts:137
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”target
Section titled “target”Get Signature
Section titled “Get Signature”get target():
null
|ContainerLike
Defined in: display/Camera.ts:147
Returns
Section titled “Returns”null
| ContainerLike
Set Signature
Section titled “Set Signature”set target(
value
):void
Defined in: display/Camera.ts:151
Parameters
Section titled “Parameters”null
| ContainerLike
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”targetPivot
Section titled “targetPivot”Get Signature
Section titled “Get Signature”get targetPivot():
Point
Defined in: display/Camera.ts:121
Returns
Section titled “Returns”Point
Implementation of
Section titled “Implementation of”targetScale
Section titled “targetScale”Get Signature
Section titled “Get Signature”get targetScale():
Point
Defined in: display/Camera.ts:127
Returns
Section titled “Returns”Point
Implementation of
Section titled “Implementation of”zooming
Section titled “zooming”Get Signature
Section titled “Get Signature”get zooming():
boolean
Defined in: display/Camera.ts:109
Returns
Section titled “Returns”boolean
Implementation of
Section titled “Implementation of”zoomLerp
Section titled “zoomLerp”Get Signature
Section titled “Get Signature”get zoomLerp():
number
Defined in: display/Camera.ts:115
Returns
Section titled “Returns”number
Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”follow()
Section titled “follow()”follow(
target
,offset?
):void
Defined in: display/Camera.ts:171
Parameters
Section titled “Parameters”target
Section titled “target”offset?
Section titled “offset?”Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”pan(
deltaX
,deltaY
):void
Defined in: display/Camera.ts:179
Parameters
Section titled “Parameters”deltaX
Section titled “deltaX”number
deltaY
Section titled “deltaY”number
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”update()
Section titled “update()”update():
void
Defined in: display/Camera.ts:196
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”zoom()
Section titled “zoom()”zoom(
scale
,lerp
):void
Defined in: display/Camera.ts:190
Parameters
Section titled “Parameters”number
number
= 0.1
Returns
Section titled “Returns”void