Search
Preparing search index...
The search index is not available
@akashic/akashic-engine
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/main.d"
g
Camera2D
Class Camera2D
Hierarchy
Object2D
Camera2D
Implements
CommonArea
Camera
Index
Constructors
constructor
Properties
_matrix
_modified
Count
angle
composite
Operation
game
height
id
local
name
opacity
scaleX
scaleY
width
x
y
Methods
_apply
Transform
ToRenderer
_update
Matrix
get
Matrix
modified
move
By
move
To
resize
By
resize
To
scale
serialize
deserialize
Constructors
constructor
new
Camera2D
(
game
:
Game
)
:
Camera2D
new
Camera2D
(
param
:
Camera2DParameterObject
)
:
Camera2D
Parameters
game:
Game
Returns
Camera2D
Parameters
param:
Camera2DParameterObject
Returns
Camera2D
Properties
Private
_matrix
_matrix
:
Matrix
Private
_modified
Count
_modified
Count
:
number
angle
angle
:
number
composite
Operation
composite
Operation
:
CompositeOperation
game
game
:
Game
height
height
:
number
id
id
:
number
local
local
:
boolean
name
name
:
string
opacity
opacity
:
number
scaleX
scaleX
:
number
scaleY
scaleY
:
number
width
width
:
number
x
x
:
number
y
y
:
number
Methods
Private
_apply
Transform
ToRenderer
_apply
Transform
ToRenderer
(
renderer
:
Renderer
)
:
void
Parameters
renderer:
Renderer
Returns
void
Private
_update
Matrix
_update
Matrix
(
)
:
void
Returns
void
get
Matrix
get
Matrix
(
)
:
Matrix
Returns
Matrix
modified
modified
(
)
:
void
Returns
void
move
By
move
By
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
move
To
move
To
(
x
:
number
, y
:
number
)
:
void
move
To
(
obj
:
CommonOffset
)
:
void
Parameters
x:
number
y:
number
Returns
void
Parameters
obj:
CommonOffset
Returns
void
resize
By
resize
By
(
width
:
number
, height
:
number
)
:
void
Parameters
width:
number
height:
number
Returns
void
resize
To
resize
To
(
width
:
number
, height
:
number
)
:
void
resize
To
(
size
:
CommonSize
)
:
void
Parameters
width:
number
height:
number
Returns
void
Parameters
size:
CommonSize
Returns
void
scale
scale
(
scale
:
number
)
:
void
Parameters
scale:
number
Returns
void
serialize
serialize
(
)
:
any
Returns
any
Static
deserialize
deserialize
(
ser
:
any
, game
:
Game
)
:
Camera2D
Parameters
ser:
any
game:
Game
Returns
Camera2D
Globals
Camera2D
constructor
_matrix
_modified
Count
angle
composite
Operation
game
height
id
local
name
opacity
scaleX
scaleY
width
x
y
_apply
Transform
ToRenderer
_update
Matrix
get
Matrix
modified
move
By
move
To
resize
By
resize
To
scale
serialize
deserialize
Generated using
TypeDoc