Difference between revisions of "love.window.getDisplayName (简体中文)"

m (test)
m (翻译)
Line 14: Line 14:
 
* [[love.window.getDisplayCount (简体中文)]]
 
* [[love.window.getDisplayCount (简体中文)]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
{{#set:Since=092}}
 +
{{#set:PrettySince=0.9.2}}
 
{{#set:Description=获取显示器的名称。}}
 
{{#set:Description=获取显示器的名称。}}
== Other Languages ==
+
== 其他语言 ==
 
{{i18n|love.window.getDisplayName}}
 
{{i18n|love.window.getDisplayName}}

Revision as of 14:48, 14 March 2018

自 LÖVE 0.9.2 可以使用
此 test 在早期版本中不受支持.

获取显示器的名称。

函数

基础使用

name = love.window.getDisplayName( displayindex )

参数

number displayindex (1)
需要获取名称的显示器的编号。

Returns

string name
指定显示器的名称。

参见


其他语言