Preparing search index...
The search index is not available
TypeSpriteJS Game Engine - API
TypeSpriteJS Game Engine - API
TileLayerViewport
Class TileLayerViewport
Hierarchy
TileLayerViewport
Index
Constructors
constructor
Properties
_repeatX
_repeatY
_viewport
Accessors
repeatX
repeatY
Methods
get
View
Rect
set
Viewport
Constructors
constructor
new
Tile
Layer
Viewport
(
)
:
TileLayerViewport
Returns
TileLayerViewport
Properties
Private
_repeatX
_repeatX
:
TileRepeat
= TileRepeat.None
Private
_repeatY
_repeatY
:
TileRepeat
= TileRepeat.None
Private
_viewport
_viewport
:
Rect
= ...
Accessors
repeatX
get
repeatX
(
)
:
TileRepeat
Returns
TileRepeat
set
repeatX
(
v
:
TileRepeat
)
:
void
Parameters
v:
TileRepeat
Returns
void
repeatY
get
repeatY
(
)
:
TileRepeat
Returns
TileRepeat
set
repeatY
(
v
:
TileRepeat
)
:
void
Parameters
v:
TileRepeat
Returns
void
Methods
get
View
Rect
get
View
Rect
(
)
:
Rect
Returns
Rect
set
Viewport
set
Viewport
(
x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
x:
number
y:
number
width:
number
height:
number
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Type
SpriteJS
Game
Engine -
API
Tile
Layer
Viewport
constructor
_repeatX
_repeatY
_viewport
repeatX
repeatY
get
View
Rect
set
Viewport
Generated using
TypeDoc