Docs
Preparing search index...
The search index is not available
Core Engine - v2.4.0b122
Core Engine
UI
ITouchEvent
Interface ITouchEvent
interface
ITouchEvent
{
_x
:
number
;
_y
:
number
;
downX
:
number
;
downY
:
number
;
localX
:
number
;
localY
:
number
;
type
:
TouchEventType
;
x
:
number
;
y
:
number
;
hasMovedSinceLastDown
(
)
:
boolean
;
localPosAsScriptable
(
)
:
{
x
:
number
;
y
:
number
;
}
;
posAsScriptable
(
)
:
{
x
:
number
;
y
:
number
;
}
;
preparePosition
(
win
:
Window
,
rect
:
Rect
)
:
void
;
update
(
event
:
MotionEvent
)
:
void
;
}
Index
Methods
has
Moved
Since
Last
Down
local
Pos
As
Scriptable
pos
As
Scriptable
prepare
Position
update
Properties
_x
_y
downX
downY
localX
localY
type
x
y
Methods
has
Moved
Since
Last
Down
has
Moved
Since
Last
Down
(
)
:
boolean
Returns
boolean
local
Pos
As
Scriptable
local
Pos
As
Scriptable
(
)
:
{
x
:
number
;
y
:
number
;
}
Returns
{
x
:
number
;
y
:
number
;
}
x
:
number
y
:
number
pos
As
Scriptable
pos
As
Scriptable
(
)
:
{
x
:
number
;
y
:
number
;
}
Returns
{
x
:
number
;
y
:
number
;
}
x
:
number
y
:
number
prepare
Position
prepare
Position
(
win
,
rect
)
:
void
Parameters
win
:
Window
rect
:
Rect
Returns
void
update
update
(
event
)
:
void
Parameters
event
:
MotionEvent
Returns
void
Properties
_x
_x
:
number
_y
_y
:
number
downX
downX
:
number
downY
downY
:
number
localX
localX
:
number
localY
localY
:
number
type
type
:
TouchEventType
x
x
:
number
y
y
:
number
Settings
Member Visibility
Inherited
Protected
Internal
Deprecated
Theme
OS
Light
Dark
On This Page
Methods
has
Moved
Since
Last
Down
local
Pos
As
Scriptable
pos
As
Scriptable
prepare
Position
update
Properties
_x
_y
downX
downY
localX
localY
type
x
y
Docs
Core Engine - v2.4.0b122
Loading...
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and
TypeDoc
.