Search
Preparing search index...
The search index is not available
Excalibur.js v0.24.5 API Documentation
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Algebra"
GlobalCoordinates
Class GlobalCoordinates
Hierarchy
GlobalCoordinates
Index
Constructors
constructor
Properties
page
Pos
screen
Pos
world
Pos
Methods
from
Page
Position
Constructors
constructor
new
Global
Coordinates
(
worldPos
:
Vector
, pagePos
:
Vector
, screenPos
:
Vector
)
:
GlobalCoordinates
Parameters
worldPos:
Vector
pagePos:
Vector
screenPos:
Vector
Returns
GlobalCoordinates
Properties
page
Pos
page
Pos
:
Vector
screen
Pos
screen
Pos
:
Vector
world
Pos
world
Pos
:
Vector
Methods
Static
from
Page
Position
from
Page
Position
(
x
:
number
, y
:
number
, engine
:
Engine
)
:
GlobalCoordinates
from
Page
Position
(
pos
:
Vector
, engine
:
Engine
)
:
GlobalCoordinates
Parameters
x:
number
y:
number
engine:
Engine
Returns
GlobalCoordinates
Parameters
pos:
Vector
engine:
Engine
Returns
GlobalCoordinates
Globals
"
Algebra"
Global
Coordinates
constructor
page
Pos
screen
Pos
world
Pos
from
Page
Position
Line
Projection
Ray
Vector
vec