Loom Engine - v3.1.1
GitHub
TheWorldTable.ai
Preparing search index...
InputActions
Class InputActions
Index
Constructors
constructor
Methods
bind
unbind
handle
Key
Down
handle
Key
Up
release
All
is
Active
was
Just
Pressed
was
Just
Released
update
keys
For
action
Names
clear
stats
Constructors
constructor
new
InputActions
()
:
InputActions
Returns
InputActions
Methods
bind
bind
(
action
:
string
,
keys
:
string
|
string
[]
)
:
void
Parameters
action
:
string
keys
:
string
|
string
[]
Returns
void
unbind
unbind
(
action
:
string
,
keys
?:
string
|
string
[]
)
:
void
Parameters
action
:
string
Optional
keys
:
string
|
string
[]
Returns
void
handle
Key
Down
handleKeyDown
(
key
:
string
)
:
boolean
Parameters
key
:
string
Returns
boolean
handle
Key
Up
handleKeyUp
(
key
:
string
)
:
boolean
Parameters
key
:
string
Returns
boolean
release
All
releaseAll
()
:
void
Returns
void
is
Active
isActive
(
action
:
string
)
:
boolean
Parameters
action
:
string
Returns
boolean
was
Just
Pressed
wasJustPressed
(
action
:
string
)
:
boolean
Parameters
action
:
string
Returns
boolean
was
Just
Released
wasJustReleased
(
action
:
string
)
:
boolean
Parameters
action
:
string
Returns
boolean
update
update
()
:
void
Returns
void
keys
For
keysFor
(
action
:
string
)
:
string
[]
Parameters
action
:
string
Returns
string
[]
action
Names
actionNames
()
:
string
[]
Returns
string
[]
clear
clear
()
:
void
Returns
void
stats
stats
()
:
{
actions
:
number
;
keysBound
:
number
;
keyDownEvents
:
number
;
keyUpEvents
:
number
;
}
Returns
{
actions
:
number
;
keysBound
:
number
;
keyDownEvents
:
number
;
keyUpEvents
:
number
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
bind
unbind
handle
Key
Down
handle
Key
Up
release
All
is
Active
was
Just
Pressed
was
Just
Released
update
keys
For
action
Names
clear
stats
GitHub
TheWorldTable.ai
Loom Engine - v3.1.1
Loading...