Difference between revisions of "Rasterizer:getHeight"
Buckle2000 (talk | contribs) |
Buckle2000 (talk | contribs) |
||
Line 5: | Line 5: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | |||
+ | {{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getAxes]]}} | ||
+ | Gets the direction of each axis. | ||
+ | == Function == | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | axisDir1, axisDir2, ..., axisDirN = Joystick:getAxes( ) | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | None. | ||
+ | === Returns === | ||
+ | {{param|number|axisDir1|Direction of axis1.}} | ||
+ | {{param|number|axisDir2|Direction of axis2.}} | ||
+ | {{param|number|axisDirN|Direction of axisN.}} | ||
+ | |||
+ | [[Category:Functions]] | ||
+ | {{#set:Description=Gets the direction of each axis.}} | ||
+ | == Other Languages == | ||
+ | {{i18n|Joystick:getAxes}} |
Revision as of 13:59, 6 February 2017
TODO
See Also
Available since LÖVE 0.9.0 |
It has been moved from love.joystick.getAxes. |
Gets the direction of each axis.
Function
Synopsis
axisDir1, axisDir2, ..., axisDirN = Joystick:getAxes( )
Arguments
None.
Returns
number axisDir1
- Direction of axis1.
number axisDir2
- Direction of axis2.
number axisDirN
- Direction of axisN.
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info