Difference between revisions of "love.mouse (简体中文)"
(→函数) |
|||
Line 1: | Line 1: | ||
提供鼠标接口的东东. | 提供鼠标接口的东东. | ||
== 函数 == | == 函数 == | ||
− | {{#ask: [[Category:Functions]] [[parent::love. | + | {{#ask: [[Category:Functions]] [[parent::love.mouse_(简体中文)]] [[Concept:Current]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
+ | |||
== 枚举|类似属性的东西 == | == 枚举|类似属性的东西 == | ||
{{#ask: [[Category:Enums]] [[parent::love.mouse]] [[Concept:Current]] | {{#ask: [[Category:Enums]] [[parent::love.mouse]] [[Concept:Current]] |
Revision as of 05:35, 15 March 2013
提供鼠标接口的东东.
Contents
函数
love.mouse.getPosition (简体中文) | 返回鼠标的当前位置. |
love.mouse.getX (简体中文) | 返回当前鼠标x坐标. |
love.mouse.getY (简体中文) | 返回当前鼠标y坐标。 |
love.mouse.isDown (简体中文) | 检测鼠标是否按下. |
love.mouse.isGrabbed (简体中文) | 检测鼠标是否被限制. |
love.mouse.isVisible (简体中文) | 检测光标可见性. |
love.mouse.setGrab (简体中文) | 改变鼠标在窗口的限制状态.(强大哦!喵) |
枚举|类似属性的东西
CursorType | Types of hardware cursors. |
MouseConstant | Mouse buttons. |
顺便看看
多国语言
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