typescript-to-gdscript 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1301) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +324 -0
  3. package/dist/cache/index.d.ts +203 -0
  4. package/dist/cache/index.d.ts.map +1 -0
  5. package/dist/cache/index.js +609 -0
  6. package/dist/cache/index.js.map +1 -0
  7. package/dist/checker/godot-project.d.ts +15 -0
  8. package/dist/checker/godot-project.d.ts.map +1 -0
  9. package/dist/checker/godot-project.js +14 -0
  10. package/dist/checker/godot-project.js.map +1 -0
  11. package/dist/checker/index.d.ts +61 -0
  12. package/dist/checker/index.d.ts.map +1 -0
  13. package/dist/checker/index.js +229 -0
  14. package/dist/checker/index.js.map +1 -0
  15. package/dist/checker/ts-diagnostics.d.ts +11 -0
  16. package/dist/checker/ts-diagnostics.d.ts.map +1 -0
  17. package/dist/checker/ts-diagnostics.js +67 -0
  18. package/dist/checker/ts-diagnostics.js.map +1 -0
  19. package/dist/cli/clear-cache.d.ts +3 -0
  20. package/dist/cli/clear-cache.d.ts.map +1 -0
  21. package/dist/cli/clear-cache.js +42 -0
  22. package/dist/cli/clear-cache.js.map +1 -0
  23. package/dist/cli/convert-gd.d.ts +3 -0
  24. package/dist/cli/convert-gd.d.ts.map +1 -0
  25. package/dist/cli/convert-gd.js +148 -0
  26. package/dist/cli/convert-gd.js.map +1 -0
  27. package/dist/cli/convert.d.ts +3 -0
  28. package/dist/cli/convert.d.ts.map +1 -0
  29. package/dist/cli/convert.js +165 -0
  30. package/dist/cli/convert.js.map +1 -0
  31. package/dist/cli/generate-addon-typings.d.ts +3 -0
  32. package/dist/cli/generate-addon-typings.d.ts.map +1 -0
  33. package/dist/cli/generate-addon-typings.js +31 -0
  34. package/dist/cli/generate-addon-typings.js.map +1 -0
  35. package/dist/cli/generate-gdscript-global-typings.d.ts +3 -0
  36. package/dist/cli/generate-gdscript-global-typings.d.ts.map +1 -0
  37. package/dist/cli/generate-gdscript-global-typings.js +172 -0
  38. package/dist/cli/generate-gdscript-global-typings.js.map +1 -0
  39. package/dist/cli/generate-typings.d.ts +3 -0
  40. package/dist/cli/generate-typings.d.ts.map +1 -0
  41. package/dist/cli/generate-typings.js +48 -0
  42. package/dist/cli/generate-typings.js.map +1 -0
  43. package/dist/cli/helpers.d.ts +47 -0
  44. package/dist/cli/helpers.d.ts.map +1 -0
  45. package/dist/cli/helpers.js +180 -0
  46. package/dist/cli/helpers.js.map +1 -0
  47. package/dist/cli/index.d.ts +3 -0
  48. package/dist/cli/index.d.ts.map +1 -0
  49. package/dist/cli/index.js +35 -0
  50. package/dist/cli/index.js.map +1 -0
  51. package/dist/cli/init.d.ts +8 -0
  52. package/dist/cli/init.d.ts.map +1 -0
  53. package/dist/cli/init.js +222 -0
  54. package/dist/cli/init.js.map +1 -0
  55. package/dist/cli/initial-convert-gd-to-ts.d.ts +3 -0
  56. package/dist/cli/initial-convert-gd-to-ts.d.ts.map +1 -0
  57. package/dist/cli/initial-convert-gd-to-ts.js +149 -0
  58. package/dist/cli/initial-convert-gd-to-ts.js.map +1 -0
  59. package/dist/cli/lint.d.ts +3 -0
  60. package/dist/cli/lint.d.ts.map +1 -0
  61. package/dist/cli/lint.js +191 -0
  62. package/dist/cli/lint.js.map +1 -0
  63. package/dist/cli/open-editor.d.ts +21 -0
  64. package/dist/cli/open-editor.d.ts.map +1 -0
  65. package/dist/cli/open-editor.js +148 -0
  66. package/dist/cli/open-editor.js.map +1 -0
  67. package/dist/cli/set-latest.d.ts +3 -0
  68. package/dist/cli/set-latest.d.ts.map +1 -0
  69. package/dist/cli/set-latest.js +23 -0
  70. package/dist/cli/set-latest.js.map +1 -0
  71. package/dist/cli/validate-gd.d.ts +3 -0
  72. package/dist/cli/validate-gd.d.ts.map +1 -0
  73. package/dist/cli/validate-gd.js +37 -0
  74. package/dist/cli/validate-gd.js.map +1 -0
  75. package/dist/cli/watch.d.ts +3 -0
  76. package/dist/cli/watch.d.ts.map +1 -0
  77. package/dist/cli/watch.js +58 -0
  78. package/dist/cli/watch.js.map +1 -0
  79. package/dist/config/index.d.ts +142 -0
  80. package/dist/config/index.d.ts.map +1 -0
  81. package/dist/config/index.js +161 -0
  82. package/dist/config/index.js.map +1 -0
  83. package/dist/converter/common/index.d.ts +169 -0
  84. package/dist/converter/common/index.d.ts.map +1 -0
  85. package/dist/converter/common/index.js +298 -0
  86. package/dist/converter/common/index.js.map +1 -0
  87. package/dist/converter/gd-to-ts/class-scope.d.ts +80 -0
  88. package/dist/converter/gd-to-ts/class-scope.d.ts.map +1 -0
  89. package/dist/converter/gd-to-ts/class-scope.js +208 -0
  90. package/dist/converter/gd-to-ts/class-scope.js.map +1 -0
  91. package/dist/converter/gd-to-ts/context.d.ts +94 -0
  92. package/dist/converter/gd-to-ts/context.d.ts.map +1 -0
  93. package/dist/converter/gd-to-ts/context.js +71 -0
  94. package/dist/converter/gd-to-ts/context.js.map +1 -0
  95. package/dist/converter/gd-to-ts/expressions.d.ts +18 -0
  96. package/dist/converter/gd-to-ts/expressions.d.ts.map +1 -0
  97. package/dist/converter/gd-to-ts/expressions.js +535 -0
  98. package/dist/converter/gd-to-ts/expressions.js.map +1 -0
  99. package/dist/converter/gd-to-ts/file-scope-emitter.d.ts +34 -0
  100. package/dist/converter/gd-to-ts/file-scope-emitter.d.ts.map +1 -0
  101. package/dist/converter/gd-to-ts/file-scope-emitter.js +191 -0
  102. package/dist/converter/gd-to-ts/file-scope-emitter.js.map +1 -0
  103. package/dist/converter/gd-to-ts/functions.d.ts +20 -0
  104. package/dist/converter/gd-to-ts/functions.d.ts.map +1 -0
  105. package/dist/converter/gd-to-ts/functions.js +313 -0
  106. package/dist/converter/gd-to-ts/functions.js.map +1 -0
  107. package/dist/converter/gd-to-ts/helpers/explicit-convert.d.ts +42 -0
  108. package/dist/converter/gd-to-ts/helpers/explicit-convert.d.ts.map +1 -0
  109. package/dist/converter/gd-to-ts/helpers/explicit-convert.js +173 -0
  110. package/dist/converter/gd-to-ts/helpers/explicit-convert.js.map +1 -0
  111. package/dist/converter/gd-to-ts/helpers/nullable-return.d.ts +19 -0
  112. package/dist/converter/gd-to-ts/helpers/nullable-return.d.ts.map +1 -0
  113. package/dist/converter/gd-to-ts/helpers/nullable-return.js +116 -0
  114. package/dist/converter/gd-to-ts/helpers/nullable-return.js.map +1 -0
  115. package/dist/converter/gd-to-ts/helpers/nullable.d.ts +41 -0
  116. package/dist/converter/gd-to-ts/helpers/nullable.d.ts.map +1 -0
  117. package/dist/converter/gd-to-ts/helpers/nullable.js +526 -0
  118. package/dist/converter/gd-to-ts/helpers/nullable.js.map +1 -0
  119. package/dist/converter/gd-to-ts/helpers/operator-fix.d.ts +20 -0
  120. package/dist/converter/gd-to-ts/helpers/operator-fix.d.ts.map +1 -0
  121. package/dist/converter/gd-to-ts/helpers/operator-fix.js +114 -0
  122. package/dist/converter/gd-to-ts/helpers/operator-fix.js.map +1 -0
  123. package/dist/converter/gd-to-ts/helpers/ready-field-types.d.ts +48 -0
  124. package/dist/converter/gd-to-ts/helpers/ready-field-types.d.ts.map +1 -0
  125. package/dist/converter/gd-to-ts/helpers/ready-field-types.js +217 -0
  126. package/dist/converter/gd-to-ts/helpers/ready-field-types.js.map +1 -0
  127. package/dist/converter/gd-to-ts/helpers/unsafe-helpers.d.ts +64 -0
  128. package/dist/converter/gd-to-ts/helpers/unsafe-helpers.d.ts.map +1 -0
  129. package/dist/converter/gd-to-ts/helpers/unsafe-helpers.js +336 -0
  130. package/dist/converter/gd-to-ts/helpers/unsafe-helpers.js.map +1 -0
  131. package/dist/converter/gd-to-ts/imports.d.ts +47 -0
  132. package/dist/converter/gd-to-ts/imports.d.ts.map +1 -0
  133. package/dist/converter/gd-to-ts/imports.js +98 -0
  134. package/dist/converter/gd-to-ts/imports.js.map +1 -0
  135. package/dist/converter/gd-to-ts/index.d.ts +59 -0
  136. package/dist/converter/gd-to-ts/index.d.ts.map +1 -0
  137. package/dist/converter/gd-to-ts/index.js +189 -0
  138. package/dist/converter/gd-to-ts/index.js.map +1 -0
  139. package/dist/converter/gd-to-ts/inject-imports.d.ts +55 -0
  140. package/dist/converter/gd-to-ts/inject-imports.d.ts.map +1 -0
  141. package/dist/converter/gd-to-ts/inject-imports.js +161 -0
  142. package/dist/converter/gd-to-ts/inject-imports.js.map +1 -0
  143. package/dist/converter/gd-to-ts/members.d.ts +15 -0
  144. package/dist/converter/gd-to-ts/members.d.ts.map +1 -0
  145. package/dist/converter/gd-to-ts/members.js +397 -0
  146. package/dist/converter/gd-to-ts/members.js.map +1 -0
  147. package/dist/converter/gd-to-ts/source-emitter.d.ts +27 -0
  148. package/dist/converter/gd-to-ts/source-emitter.d.ts.map +1 -0
  149. package/dist/converter/gd-to-ts/source-emitter.js +420 -0
  150. package/dist/converter/gd-to-ts/source-emitter.js.map +1 -0
  151. package/dist/converter/gd-to-ts/statements.d.ts +6 -0
  152. package/dist/converter/gd-to-ts/statements.d.ts.map +1 -0
  153. package/dist/converter/gd-to-ts/statements.js +385 -0
  154. package/dist/converter/gd-to-ts/statements.js.map +1 -0
  155. package/dist/converter/gd-to-ts/ts-helpers.d.ts +49 -0
  156. package/dist/converter/gd-to-ts/ts-helpers.d.ts.map +1 -0
  157. package/dist/converter/gd-to-ts/ts-helpers.js +161 -0
  158. package/dist/converter/gd-to-ts/ts-helpers.js.map +1 -0
  159. package/dist/converter/gd-to-ts/type-inference.d.ts +41 -0
  160. package/dist/converter/gd-to-ts/type-inference.d.ts.map +1 -0
  161. package/dist/converter/gd-to-ts/type-inference.js +168 -0
  162. package/dist/converter/gd-to-ts/type-inference.js.map +1 -0
  163. package/dist/converter/ts-to-gd/class-body.d.ts +62 -0
  164. package/dist/converter/ts-to-gd/class-body.d.ts.map +1 -0
  165. package/dist/converter/ts-to-gd/class-body.js +290 -0
  166. package/dist/converter/ts-to-gd/class-body.js.map +1 -0
  167. package/dist/converter/ts-to-gd/class-members.d.ts +18 -0
  168. package/dist/converter/ts-to-gd/class-members.d.ts.map +1 -0
  169. package/dist/converter/ts-to-gd/class-members.js +246 -0
  170. package/dist/converter/ts-to-gd/class-members.js.map +1 -0
  171. package/dist/converter/ts-to-gd/diagnostics.d.ts +27 -0
  172. package/dist/converter/ts-to-gd/diagnostics.d.ts.map +1 -0
  173. package/dist/converter/ts-to-gd/diagnostics.js +95 -0
  174. package/dist/converter/ts-to-gd/diagnostics.js.map +1 -0
  175. package/dist/converter/ts-to-gd/emitter.d.ts +40 -0
  176. package/dist/converter/ts-to-gd/emitter.d.ts.map +1 -0
  177. package/dist/converter/ts-to-gd/emitter.js +88 -0
  178. package/dist/converter/ts-to-gd/emitter.js.map +1 -0
  179. package/dist/converter/ts-to-gd/expressions.d.ts +46 -0
  180. package/dist/converter/ts-to-gd/expressions.d.ts.map +1 -0
  181. package/dist/converter/ts-to-gd/expressions.js +793 -0
  182. package/dist/converter/ts-to-gd/expressions.js.map +1 -0
  183. package/dist/converter/ts-to-gd/file-scope.d.ts +42 -0
  184. package/dist/converter/ts-to-gd/file-scope.d.ts.map +1 -0
  185. package/dist/converter/ts-to-gd/file-scope.js +463 -0
  186. package/dist/converter/ts-to-gd/file-scope.js.map +1 -0
  187. package/dist/converter/ts-to-gd/gd-getset.d.ts +31 -0
  188. package/dist/converter/ts-to-gd/gd-getset.d.ts.map +1 -0
  189. package/dist/converter/ts-to-gd/gd-getset.js +219 -0
  190. package/dist/converter/ts-to-gd/gd-getset.js.map +1 -0
  191. package/dist/converter/ts-to-gd/gd-helpers.d.ts +44 -0
  192. package/dist/converter/ts-to-gd/gd-helpers.d.ts.map +1 -0
  193. package/dist/converter/ts-to-gd/gd-helpers.js +458 -0
  194. package/dist/converter/ts-to-gd/gd-helpers.js.map +1 -0
  195. package/dist/converter/ts-to-gd/imports.d.ts +67 -0
  196. package/dist/converter/ts-to-gd/imports.d.ts.map +1 -0
  197. package/dist/converter/ts-to-gd/imports.js +150 -0
  198. package/dist/converter/ts-to-gd/imports.js.map +1 -0
  199. package/dist/converter/ts-to-gd/index.d.ts +34 -0
  200. package/dist/converter/ts-to-gd/index.d.ts.map +1 -0
  201. package/dist/converter/ts-to-gd/index.js +52 -0
  202. package/dist/converter/ts-to-gd/index.js.map +1 -0
  203. package/dist/converter/ts-to-gd/parameters.d.ts +12 -0
  204. package/dist/converter/ts-to-gd/parameters.d.ts.map +1 -0
  205. package/dist/converter/ts-to-gd/parameters.js +100 -0
  206. package/dist/converter/ts-to-gd/parameters.js.map +1 -0
  207. package/dist/converter/ts-to-gd/statements.d.ts +12 -0
  208. package/dist/converter/ts-to-gd/statements.d.ts.map +1 -0
  209. package/dist/converter/ts-to-gd/statements.js +262 -0
  210. package/dist/converter/ts-to-gd/statements.js.map +1 -0
  211. package/dist/converter/ts-to-gd/transformer-types.d.ts +33 -0
  212. package/dist/converter/ts-to-gd/transformer-types.d.ts.map +1 -0
  213. package/dist/converter/ts-to-gd/transformer-types.js +2 -0
  214. package/dist/converter/ts-to-gd/transformer-types.js.map +1 -0
  215. package/dist/converter/ts-to-gd/transformer.d.ts +83 -0
  216. package/dist/converter/ts-to-gd/transformer.d.ts.map +1 -0
  217. package/dist/converter/ts-to-gd/transformer.js +344 -0
  218. package/dist/converter/ts-to-gd/transformer.js.map +1 -0
  219. package/dist/eslint/plugin.d.ts +11 -0
  220. package/dist/eslint/plugin.d.ts.map +1 -0
  221. package/dist/eslint/plugin.js +12 -0
  222. package/dist/eslint/plugin.js.map +1 -0
  223. package/dist/eslint/rules/convert.d.ts +4 -0
  224. package/dist/eslint/rules/convert.d.ts.map +1 -0
  225. package/dist/eslint/rules/convert.js +286 -0
  226. package/dist/eslint/rules/convert.js.map +1 -0
  227. package/dist/eslint/rules/no-in-variant.d.ts +10 -0
  228. package/dist/eslint/rules/no-in-variant.d.ts.map +1 -0
  229. package/dist/eslint/rules/no-in-variant.js +126 -0
  230. package/dist/eslint/rules/no-in-variant.js.map +1 -0
  231. package/dist/godot-validate/error-parser.d.ts +64 -0
  232. package/dist/godot-validate/error-parser.d.ts.map +1 -0
  233. package/dist/godot-validate/error-parser.js +170 -0
  234. package/dist/godot-validate/error-parser.js.map +1 -0
  235. package/dist/godot-validate/index.d.ts +76 -0
  236. package/dist/godot-validate/index.d.ts.map +1 -0
  237. package/dist/godot-validate/index.js +267 -0
  238. package/dist/godot-validate/index.js.map +1 -0
  239. package/dist/godot-validate/source-map-remap.d.ts +48 -0
  240. package/dist/godot-validate/source-map-remap.d.ts.map +1 -0
  241. package/dist/godot-validate/source-map-remap.js +195 -0
  242. package/dist/godot-validate/source-map-remap.js.map +1 -0
  243. package/dist/index.d.ts +13 -0
  244. package/dist/index.d.ts.map +1 -0
  245. package/dist/index.js +12 -0
  246. package/dist/index.js.map +1 -0
  247. package/dist/parser/gdscript/generate-types.d.ts +7 -0
  248. package/dist/parser/gdscript/generate-types.d.ts.map +1 -0
  249. package/dist/parser/gdscript/generate-types.js +134 -0
  250. package/dist/parser/gdscript/generate-types.js.map +1 -0
  251. package/dist/parser/gdscript/index.d.ts +9 -0
  252. package/dist/parser/gdscript/index.d.ts.map +1 -0
  253. package/dist/parser/gdscript/index.js +17 -0
  254. package/dist/parser/gdscript/index.js.map +1 -0
  255. package/dist/parser/gdscript/types.d.ts +689 -0
  256. package/dist/parser/gdscript/types.d.ts.map +1 -0
  257. package/dist/parser/gdscript/types.js +89 -0
  258. package/dist/parser/gdscript/types.js.map +1 -0
  259. package/dist/parser/godot-resource/index.d.ts +7 -0
  260. package/dist/parser/godot-resource/index.d.ts.map +1 -0
  261. package/dist/parser/godot-resource/index.js +14 -0
  262. package/dist/parser/godot-resource/index.js.map +1 -0
  263. package/dist/parser/godot-resource/types.d.ts +330 -0
  264. package/dist/parser/godot-resource/types.d.ts.map +1 -0
  265. package/dist/parser/godot-resource/types.js +22 -0
  266. package/dist/parser/godot-resource/types.js.map +1 -0
  267. package/dist/parser/typescript/index.d.ts +12 -0
  268. package/dist/parser/typescript/index.d.ts.map +1 -0
  269. package/dist/parser/typescript/index.js +30 -0
  270. package/dist/parser/typescript/index.js.map +1 -0
  271. package/dist/sourcemap/index.d.ts +59 -0
  272. package/dist/sourcemap/index.d.ts.map +1 -0
  273. package/dist/sourcemap/index.js +85 -0
  274. package/dist/sourcemap/index.js.map +1 -0
  275. package/dist/ts-plugin/index.d.ts +47 -0
  276. package/dist/ts-plugin/index.d.ts.map +1 -0
  277. package/dist/ts-plugin/index.js +227 -0
  278. package/dist/ts-plugin/index.js.map +1 -0
  279. package/dist/ts-plugin/lint.d.ts +48 -0
  280. package/dist/ts-plugin/lint.d.ts.map +1 -0
  281. package/dist/ts-plugin/lint.js +424 -0
  282. package/dist/ts-plugin/lint.js.map +1 -0
  283. package/dist/ts-plugin/lru.d.ts +40 -0
  284. package/dist/ts-plugin/lru.d.ts.map +1 -0
  285. package/dist/ts-plugin/lru.js +82 -0
  286. package/dist/ts-plugin/lru.js.map +1 -0
  287. package/dist/ts-plugin/navigation.d.ts +58 -0
  288. package/dist/ts-plugin/navigation.d.ts.map +1 -0
  289. package/dist/ts-plugin/navigation.js +427 -0
  290. package/dist/ts-plugin/navigation.js.map +1 -0
  291. package/dist/ts-plugin/shadow-refs.d.ts +31 -0
  292. package/dist/ts-plugin/shadow-refs.d.ts.map +1 -0
  293. package/dist/ts-plugin/shadow-refs.js +76 -0
  294. package/dist/ts-plugin/shadow-refs.js.map +1 -0
  295. package/dist/ts-plugin/snapshot-transform.d.ts +61 -0
  296. package/dist/ts-plugin/snapshot-transform.d.ts.map +1 -0
  297. package/dist/ts-plugin/snapshot-transform.js +55 -0
  298. package/dist/ts-plugin/snapshot-transform.js.map +1 -0
  299. package/dist/typings/class-generator.d.ts +54 -0
  300. package/dist/typings/class-generator.d.ts.map +1 -0
  301. package/dist/typings/class-generator.js +524 -0
  302. package/dist/typings/class-generator.js.map +1 -0
  303. package/dist/typings/classes.d.ts +24 -0
  304. package/dist/typings/classes.d.ts.map +1 -0
  305. package/dist/typings/classes.js +139 -0
  306. package/dist/typings/classes.js.map +1 -0
  307. package/dist/typings/content-generators.d.ts +62 -0
  308. package/dist/typings/content-generators.d.ts.map +1 -0
  309. package/dist/typings/content-generators.js +536 -0
  310. package/dist/typings/content-generators.js.map +1 -0
  311. package/dist/typings/global-generator.d.ts +32 -0
  312. package/dist/typings/global-generator.d.ts.map +1 -0
  313. package/dist/typings/global-generator.js +242 -0
  314. package/dist/typings/global-generator.js.map +1 -0
  315. package/dist/typings/godot-docs.d.ts +27 -0
  316. package/dist/typings/godot-docs.d.ts.map +1 -0
  317. package/dist/typings/godot-docs.js +310 -0
  318. package/dist/typings/godot-docs.js.map +1 -0
  319. package/dist/typings/godot-registry.d.ts +123 -0
  320. package/dist/typings/godot-registry.d.ts.map +1 -0
  321. package/dist/typings/godot-registry.js +157 -0
  322. package/dist/typings/godot-registry.js.map +1 -0
  323. package/dist/typings/index.d.ts +4 -0
  324. package/dist/typings/index.d.ts.map +1 -0
  325. package/dist/typings/index.js +4 -0
  326. package/dist/typings/index.js.map +1 -0
  327. package/dist/typings/override-system.d.ts +36 -0
  328. package/dist/typings/override-system.d.ts.map +1 -0
  329. package/dist/typings/override-system.js +341 -0
  330. package/dist/typings/override-system.js.map +1 -0
  331. package/dist/typings/registry-generator.d.ts +44 -0
  332. package/dist/typings/registry-generator.d.ts.map +1 -0
  333. package/dist/typings/registry-generator.js +170 -0
  334. package/dist/typings/registry-generator.js.map +1 -0
  335. package/dist/typings/scene-parser.d.ts +113 -0
  336. package/dist/typings/scene-parser.d.ts.map +1 -0
  337. package/dist/typings/scene-parser.js +436 -0
  338. package/dist/typings/scene-parser.js.map +1 -0
  339. package/dist/typings/scene-tree.d.ts +33 -0
  340. package/dist/typings/scene-tree.d.ts.map +1 -0
  341. package/dist/typings/scene-tree.js +118 -0
  342. package/dist/typings/scene-tree.js.map +1 -0
  343. package/dist/typings/scene-utils.d.ts +131 -0
  344. package/dist/typings/scene-utils.d.ts.map +1 -0
  345. package/dist/typings/scene-utils.js +604 -0
  346. package/dist/typings/scene-utils.js.map +1 -0
  347. package/dist/typings/scenes.d.ts +96 -0
  348. package/dist/typings/scenes.d.ts.map +1 -0
  349. package/dist/typings/scenes.js +368 -0
  350. package/dist/typings/scenes.js.map +1 -0
  351. package/dist/typings/type-mapping.d.ts +76 -0
  352. package/dist/typings/type-mapping.d.ts.map +1 -0
  353. package/dist/typings/type-mapping.js +239 -0
  354. package/dist/typings/type-mapping.js.map +1 -0
  355. package/dist/typings/xml-parser.d.ts +91 -0
  356. package/dist/typings/xml-parser.d.ts.map +1 -0
  357. package/dist/typings/xml-parser.js +275 -0
  358. package/dist/typings/xml-parser.js.map +1 -0
  359. package/dist/watcher/index.d.ts +74 -0
  360. package/dist/watcher/index.d.ts.map +1 -0
  361. package/dist/watcher/index.js +410 -0
  362. package/dist/watcher/index.js.map +1 -0
  363. package/package.json +115 -0
  364. package/ts-plugin/index.js +9 -0
  365. package/ts-plugin/package.json +7 -0
  366. package/typings/classes/AABB.d.ts +177 -0
  367. package/typings/classes/AESContext.d.ts +34 -0
  368. package/typings/classes/AStar2D.d.ts +108 -0
  369. package/typings/classes/AStar3D.d.ts +108 -0
  370. package/typings/classes/AStarGrid2D.d.ts +184 -0
  371. package/typings/classes/AcceptDialog.d.ts +77 -0
  372. package/typings/classes/AccessibilityServer.d.ts +405 -0
  373. package/typings/classes/AimModifier3D.d.ts +40 -0
  374. package/typings/classes/AnimatableBody2D.d.ts +14 -0
  375. package/typings/classes/AnimatableBody3D.d.ts +14 -0
  376. package/typings/classes/AnimatedSprite2D.d.ts +108 -0
  377. package/typings/classes/AnimatedSprite3D.d.ts +89 -0
  378. package/typings/classes/AnimatedTexture.d.ts +54 -0
  379. package/typings/classes/Animation.d.ts +340 -0
  380. package/typings/classes/AnimationLibrary.d.ts +34 -0
  381. package/typings/classes/AnimationMixer.d.ts +226 -0
  382. package/typings/classes/AnimationNode.d.ts +116 -0
  383. package/typings/classes/AnimationNodeAdd2.d.ts +6 -0
  384. package/typings/classes/AnimationNodeAdd3.d.ts +6 -0
  385. package/typings/classes/AnimationNodeAnimation.d.ts +64 -0
  386. package/typings/classes/AnimationNodeBlend2.d.ts +6 -0
  387. package/typings/classes/AnimationNodeBlend3.d.ts +6 -0
  388. package/typings/classes/AnimationNodeBlendSpace1D.d.ts +79 -0
  389. package/typings/classes/AnimationNodeBlendSpace2D.d.ts +104 -0
  390. package/typings/classes/AnimationNodeBlendTree.d.ts +53 -0
  391. package/typings/classes/AnimationNodeExtension.d.ts +18 -0
  392. package/typings/classes/AnimationNodeOneShot.d.ts +78 -0
  393. package/typings/classes/AnimationNodeOutput.d.ts +6 -0
  394. package/typings/classes/AnimationNodeStateMachine.d.ts +80 -0
  395. package/typings/classes/AnimationNodeStateMachinePlayback.d.ts +67 -0
  396. package/typings/classes/AnimationNodeStateMachineTransition.d.ts +83 -0
  397. package/typings/classes/AnimationNodeSub2.d.ts +6 -0
  398. package/typings/classes/AnimationNodeSync.d.ts +13 -0
  399. package/typings/classes/AnimationNodeTimeScale.d.ts +6 -0
  400. package/typings/classes/AnimationNodeTimeSeek.d.ts +12 -0
  401. package/typings/classes/AnimationNodeTransition.d.ts +45 -0
  402. package/typings/classes/AnimationPlayer.d.ts +203 -0
  403. package/typings/classes/AnimationRootNode.d.ts +8 -0
  404. package/typings/classes/AnimationTree.d.ts +35 -0
  405. package/typings/classes/Area2D.d.ts +166 -0
  406. package/typings/classes/Area3D.d.ts +214 -0
  407. package/typings/classes/Array.d.ts +301 -0
  408. package/typings/classes/ArrayMesh.d.ts +94 -0
  409. package/typings/classes/ArrayOccluder3D.d.ts +23 -0
  410. package/typings/classes/AspectRatioContainer.d.ts +46 -0
  411. package/typings/classes/AtlasTexture.d.ts +32 -0
  412. package/typings/classes/AudioBusLayout.d.ts +6 -0
  413. package/typings/classes/AudioEffect.d.ts +11 -0
  414. package/typings/classes/AudioEffectAmplify.d.ts +19 -0
  415. package/typings/classes/AudioEffectBandLimitFilter.d.ts +6 -0
  416. package/typings/classes/AudioEffectBandPassFilter.d.ts +6 -0
  417. package/typings/classes/AudioEffectCapture.d.ts +35 -0
  418. package/typings/classes/AudioEffectChorus.d.ts +108 -0
  419. package/typings/classes/AudioEffectCompressor.d.ts +47 -0
  420. package/typings/classes/AudioEffectDelay.d.ts +71 -0
  421. package/typings/classes/AudioEffectDistortion.d.ts +55 -0
  422. package/typings/classes/AudioEffectEQ.d.ts +15 -0
  423. package/typings/classes/AudioEffectEQ10.d.ts +9 -0
  424. package/typings/classes/AudioEffectEQ21.d.ts +9 -0
  425. package/typings/classes/AudioEffectEQ6.d.ts +9 -0
  426. package/typings/classes/AudioEffectFilter.d.ts +50 -0
  427. package/typings/classes/AudioEffectHardLimiter.d.ts +24 -0
  428. package/typings/classes/AudioEffectHighPassFilter.d.ts +6 -0
  429. package/typings/classes/AudioEffectHighShelfFilter.d.ts +6 -0
  430. package/typings/classes/AudioEffectInstance.d.ts +16 -0
  431. package/typings/classes/AudioEffectLimiter.d.ts +26 -0
  432. package/typings/classes/AudioEffectLowPassFilter.d.ts +6 -0
  433. package/typings/classes/AudioEffectLowShelfFilter.d.ts +6 -0
  434. package/typings/classes/AudioEffectNotchFilter.d.ts +6 -0
  435. package/typings/classes/AudioEffectPanner.d.ts +15 -0
  436. package/typings/classes/AudioEffectPhaser.d.ts +37 -0
  437. package/typings/classes/AudioEffectPitchShift.d.ts +47 -0
  438. package/typings/classes/AudioEffectRecord.d.ts +19 -0
  439. package/typings/classes/AudioEffectReverb.d.ts +55 -0
  440. package/typings/classes/AudioEffectSpectrumAnalyzer.d.ts +40 -0
  441. package/typings/classes/AudioEffectSpectrumAnalyzerInstance.d.ts +17 -0
  442. package/typings/classes/AudioEffectStereoEnhance.d.ts +27 -0
  443. package/typings/classes/AudioListener2D.d.ts +15 -0
  444. package/typings/classes/AudioListener3D.d.ts +37 -0
  445. package/typings/classes/AudioSample.d.ts +6 -0
  446. package/typings/classes/AudioSamplePlayback.d.ts +6 -0
  447. package/typings/classes/AudioServer.d.ts +199 -0
  448. package/typings/classes/AudioStream.d.ts +66 -0
  449. package/typings/classes/AudioStreamGenerator.d.ts +38 -0
  450. package/typings/classes/AudioStreamGeneratorPlayback.d.ts +28 -0
  451. package/typings/classes/AudioStreamMicrophone.d.ts +6 -0
  452. package/typings/classes/AudioStreamPlayback.d.ts +69 -0
  453. package/typings/classes/AudioStreamPlaybackPolyphonic.d.ts +32 -0
  454. package/typings/classes/AudioStreamPlaybackResampled.d.ts +16 -0
  455. package/typings/classes/AudioStreamPlayer.d.ts +110 -0
  456. package/typings/classes/AudioStreamPlayer2D.d.ts +96 -0
  457. package/typings/classes/AudioStreamPlayer3D.d.ts +162 -0
  458. package/typings/classes/AudioStreamPolyphonic.d.ts +12 -0
  459. package/typings/classes/AudioStreamRandomizer.d.ts +67 -0
  460. package/typings/classes/AudioStreamWAV.d.ts +87 -0
  461. package/typings/classes/AwaitTweener.d.ts +10 -0
  462. package/typings/classes/BackBufferCopy.d.ts +26 -0
  463. package/typings/classes/BaseButton.d.ts +116 -0
  464. package/typings/classes/BaseMaterial3D.d.ts +1021 -0
  465. package/typings/classes/Basis.d.ts +225 -0
  466. package/typings/classes/BitMap.d.ts +42 -0
  467. package/typings/classes/BlitMaterial.d.ts +22 -0
  468. package/typings/classes/Bone2D.d.ts +45 -0
  469. package/typings/classes/BoneAttachment3D.d.ts +39 -0
  470. package/typings/classes/BoneConstraint3D.d.ts +67 -0
  471. package/typings/classes/BoneMap.d.ts +39 -0
  472. package/typings/classes/BoneTwistDisperser3D.d.ts +126 -0
  473. package/typings/classes/BoxContainer.d.ts +36 -0
  474. package/typings/classes/BoxMesh.d.ts +22 -0
  475. package/typings/classes/BoxOccluder3D.d.ts +10 -0
  476. package/typings/classes/BoxShape3D.d.ts +10 -0
  477. package/typings/classes/Button.d.ts +75 -0
  478. package/typings/classes/ButtonGroup.d.ts +21 -0
  479. package/typings/classes/CCDIK3D.d.ts +6 -0
  480. package/typings/classes/CPUParticles2D.d.ts +397 -0
  481. package/typings/classes/CPUParticles3D.d.ts +421 -0
  482. package/typings/classes/Callable.d.ts +203 -0
  483. package/typings/classes/CallbackTweener.d.ts +11 -0
  484. package/typings/classes/Camera2D.d.ts +214 -0
  485. package/typings/classes/Camera3D.d.ts +207 -0
  486. package/typings/classes/CameraAttributes.d.ts +35 -0
  487. package/typings/classes/CameraAttributesPhysical.d.ts +61 -0
  488. package/typings/classes/CameraAttributesPractical.d.ts +64 -0
  489. package/typings/classes/CameraFeed.d.ts +81 -0
  490. package/typings/classes/CameraServer.d.ts +44 -0
  491. package/typings/classes/CameraTexture.d.ts +19 -0
  492. package/typings/classes/CanvasGroup.d.ts +24 -0
  493. package/typings/classes/CanvasItem.d.ts +503 -0
  494. package/typings/classes/CanvasItemMaterial.d.ts +61 -0
  495. package/typings/classes/CanvasLayer.d.ts +74 -0
  496. package/typings/classes/CanvasModulate.d.ts +10 -0
  497. package/typings/classes/CanvasTexture.d.ts +42 -0
  498. package/typings/classes/CapsuleMesh.d.ts +28 -0
  499. package/typings/classes/CapsuleShape2D.d.ts +26 -0
  500. package/typings/classes/CapsuleShape3D.d.ts +26 -0
  501. package/typings/classes/CenterContainer.d.ts +10 -0
  502. package/typings/classes/ChainIK3D.d.ts +50 -0
  503. package/typings/classes/CharFXTransform.d.ts +88 -0
  504. package/typings/classes/CharacterBody2D.d.ts +199 -0
  505. package/typings/classes/CharacterBody3D.d.ts +201 -0
  506. package/typings/classes/CheckBox.d.ts +8 -0
  507. package/typings/classes/CheckButton.d.ts +8 -0
  508. package/typings/classes/CircleShape2D.d.ts +10 -0
  509. package/typings/classes/ClassDB.d.ts +110 -0
  510. package/typings/classes/CodeEdit.d.ts +402 -0
  511. package/typings/classes/CodeHighlighter.d.ts +81 -0
  512. package/typings/classes/CollisionObject2D.d.ts +171 -0
  513. package/typings/classes/CollisionObject3D.d.ts +141 -0
  514. package/typings/classes/CollisionPolygon2D.d.ts +51 -0
  515. package/typings/classes/CollisionPolygon3D.d.ts +39 -0
  516. package/typings/classes/CollisionShape2D.d.ts +41 -0
  517. package/typings/classes/CollisionShape3D.d.ts +36 -0
  518. package/typings/classes/Color.d.ts +517 -0
  519. package/typings/classes/ColorPalette.d.ts +12 -0
  520. package/typings/classes/ColorPicker.d.ts +118 -0
  521. package/typings/classes/ColorPickerButton.d.ts +37 -0
  522. package/typings/classes/ColorRect.d.ts +10 -0
  523. package/typings/classes/Compositor.d.ts +12 -0
  524. package/typings/classes/CompositorEffect.d.ts +76 -0
  525. package/typings/classes/CompressedCubemap.d.ts +6 -0
  526. package/typings/classes/CompressedCubemapArray.d.ts +6 -0
  527. package/typings/classes/CompressedTexture2D.d.ts +13 -0
  528. package/typings/classes/CompressedTexture2DArray.d.ts +6 -0
  529. package/typings/classes/CompressedTexture3D.d.ts +12 -0
  530. package/typings/classes/CompressedTextureLayered.d.ts +12 -0
  531. package/typings/classes/ConcavePolygonShape2D.d.ts +12 -0
  532. package/typings/classes/ConcavePolygonShape3D.d.ts +21 -0
  533. package/typings/classes/ConeTwistJoint3D.d.ts +63 -0
  534. package/typings/classes/ConfigFile.d.ts +71 -0
  535. package/typings/classes/ConfirmationDialog.d.ts +19 -0
  536. package/typings/classes/Container.d.ts +42 -0
  537. package/typings/classes/Control.d.ts +1125 -0
  538. package/typings/classes/ConvertTransformModifier3D.d.ts +65 -0
  539. package/typings/classes/ConvexPolygonShape2D.d.ts +18 -0
  540. package/typings/classes/ConvexPolygonShape3D.d.ts +10 -0
  541. package/typings/classes/CopyTransformModifier3D.d.ts +117 -0
  542. package/typings/classes/Crypto.d.ts +41 -0
  543. package/typings/classes/CryptoKey.d.ts +26 -0
  544. package/typings/classes/Cubemap.d.ts +8 -0
  545. package/typings/classes/CubemapArray.d.ts +8 -0
  546. package/typings/classes/Curve.d.ts +96 -0
  547. package/typings/classes/Curve2D.d.ts +97 -0
  548. package/typings/classes/Curve3D.d.ts +129 -0
  549. package/typings/classes/CurveTexture.d.ts +30 -0
  550. package/typings/classes/CurveXYZTexture.d.ts +25 -0
  551. package/typings/classes/CylinderMesh.d.ts +48 -0
  552. package/typings/classes/CylinderShape3D.d.ts +14 -0
  553. package/typings/classes/DPITexture.d.ts +48 -0
  554. package/typings/classes/DTLSServer.d.ts +13 -0
  555. package/typings/classes/DampedSpringJoint2D.d.ts +28 -0
  556. package/typings/classes/Decal.d.ts +120 -0
  557. package/typings/classes/Dictionary.d.ts +181 -0
  558. package/typings/classes/DirAccess.d.ts +199 -0
  559. package/typings/classes/DirectionalLight2D.d.ts +16 -0
  560. package/typings/classes/DirectionalLight3D.d.ts +71 -0
  561. package/typings/classes/DisplayServer.d.ts +2153 -0
  562. package/typings/classes/DrawableTexture2D.d.ts +47 -0
  563. package/typings/classes/EditorCommandPalette.d.ts +21 -0
  564. package/typings/classes/EditorContextMenuPlugin.d.ts +59 -0
  565. package/typings/classes/EditorDebuggerPlugin.d.ts +33 -0
  566. package/typings/classes/EditorDebuggerSession.d.ts +41 -0
  567. package/typings/classes/EditorDock.d.ts +141 -0
  568. package/typings/classes/EditorExportPlatform.d.ts +125 -0
  569. package/typings/classes/EditorExportPlatformAppleEmbedded.d.ts +6 -0
  570. package/typings/classes/EditorExportPlatformExtension.d.ts +131 -0
  571. package/typings/classes/EditorExportPlatformPC.d.ts +6 -0
  572. package/typings/classes/EditorExportPlugin.d.ts +207 -0
  573. package/typings/classes/EditorExportPreset.d.ts +83 -0
  574. package/typings/classes/EditorFeatureProfile.d.ts +90 -0
  575. package/typings/classes/EditorFileDialog.d.ts +15 -0
  576. package/typings/classes/EditorFileSystem.d.ts +48 -0
  577. package/typings/classes/EditorFileSystemDirectory.d.ts +42 -0
  578. package/typings/classes/EditorFileSystemImportFormatSupportQuery.d.ts +12 -0
  579. package/typings/classes/EditorImportPlugin.d.ts +67 -0
  580. package/typings/classes/EditorInspector.d.ts +54 -0
  581. package/typings/classes/EditorInspectorPlugin.d.ts +34 -0
  582. package/typings/classes/EditorInterface.d.ts +254 -0
  583. package/typings/classes/EditorNode3DGizmo.d.ts +104 -0
  584. package/typings/classes/EditorNode3DGizmoPlugin.d.ts +103 -0
  585. package/typings/classes/EditorPaths.d.ts +52 -0
  586. package/typings/classes/EditorPlugin.d.ts +384 -0
  587. package/typings/classes/EditorProperty.d.ts +133 -0
  588. package/typings/classes/EditorResourceConversionPlugin.d.ts +20 -0
  589. package/typings/classes/EditorResourcePicker.d.ts +47 -0
  590. package/typings/classes/EditorResourcePreview.d.ts +25 -0
  591. package/typings/classes/EditorResourcePreviewGenerator.d.ts +34 -0
  592. package/typings/classes/EditorResourceTooltipPlugin.d.ts +20 -0
  593. package/typings/classes/EditorSceneFormatImporter.d.ts +36 -0
  594. package/typings/classes/EditorScenePostImport.d.ts +10 -0
  595. package/typings/classes/EditorScenePostImportPlugin.d.ts +57 -0
  596. package/typings/classes/EditorScript.d.ts +18 -0
  597. package/typings/classes/EditorScriptPicker.d.ts +10 -0
  598. package/typings/classes/EditorSelection.d.ts +29 -0
  599. package/typings/classes/EditorSettings.d.ts +1821 -0
  600. package/typings/classes/EditorSpinSlider.d.ts +65 -0
  601. package/typings/classes/EditorSyntaxHighlighter.d.ts +12 -0
  602. package/typings/classes/EditorToaster.d.ts +16 -0
  603. package/typings/classes/EditorTranslationParserPlugin.d.ts +12 -0
  604. package/typings/classes/EditorUndoRedoManager.d.ts +86 -0
  605. package/typings/classes/EditorVCSInterface.d.ts +121 -0
  606. package/typings/classes/EncodedObjectAsID.d.ts +12 -0
  607. package/typings/classes/Engine.d.ts +202 -0
  608. package/typings/classes/EngineDebugger.d.ts +66 -0
  609. package/typings/classes/EngineProfiler.d.ts +14 -0
  610. package/typings/classes/Environment.d.ts +720 -0
  611. package/typings/classes/Expression.d.ts +20 -0
  612. package/typings/classes/ExternalTexture.d.ts +22 -0
  613. package/typings/classes/FABRIK3D.d.ts +6 -0
  614. package/typings/classes/FileAccess.d.ts +411 -0
  615. package/typings/classes/FileDialog.d.ts +277 -0
  616. package/typings/classes/FileSystemDock.d.ts +35 -0
  617. package/typings/classes/FlowContainer.d.ts +64 -0
  618. package/typings/classes/FogMaterial.d.ts +43 -0
  619. package/typings/classes/FogVolume.d.ts +26 -0
  620. package/typings/classes/FoldableContainer.d.ts +65 -0
  621. package/typings/classes/FoldableGroup.d.ts +21 -0
  622. package/typings/classes/Font.d.ts +144 -0
  623. package/typings/classes/FontFile.d.ts +286 -0
  624. package/typings/classes/FontVariation.d.ts +56 -0
  625. package/typings/classes/FramebufferCacheRD.d.ts +10 -0
  626. package/typings/classes/GDExtension.d.ts +26 -0
  627. package/typings/classes/GDExtensionManager.d.ts +60 -0
  628. package/typings/classes/GPUParticles2D.d.ts +220 -0
  629. package/typings/classes/GPUParticles3D.d.ts +239 -0
  630. package/typings/classes/GPUParticlesAttractor3D.d.ts +33 -0
  631. package/typings/classes/GPUParticlesAttractorBox3D.d.ts +10 -0
  632. package/typings/classes/GPUParticlesAttractorSphere3D.d.ts +13 -0
  633. package/typings/classes/GPUParticlesAttractorVectorField3D.d.ts +19 -0
  634. package/typings/classes/GPUParticlesCollision3D.d.ts +14 -0
  635. package/typings/classes/GPUParticlesCollisionBox3D.d.ts +10 -0
  636. package/typings/classes/GPUParticlesCollisionHeightField3D.d.ts +75 -0
  637. package/typings/classes/GPUParticlesCollisionSDF3D.d.ts +59 -0
  638. package/typings/classes/GPUParticlesCollisionSphere3D.d.ts +10 -0
  639. package/typings/classes/Generic6DOFJoint3D.d.ts +241 -0
  640. package/typings/classes/Geometry2D.d.ts +147 -0
  641. package/typings/classes/Geometry3D.d.ts +67 -0
  642. package/typings/classes/GeometryInstance3D.d.ts +183 -0
  643. package/typings/classes/GodotInstance.d.ts +20 -0
  644. package/typings/classes/Gradient.d.ts +74 -0
  645. package/typings/classes/GradientTexture1D.d.ts +18 -0
  646. package/typings/classes/GradientTexture2D.d.ts +64 -0
  647. package/typings/classes/GraphEdit.d.ts +306 -0
  648. package/typings/classes/GraphElement.d.ts +56 -0
  649. package/typings/classes/GraphFrame.d.ts +46 -0
  650. package/typings/classes/GraphNode.d.ts +132 -0
  651. package/typings/classes/GridContainer.d.ts +12 -0
  652. package/typings/classes/GrooveJoint2D.d.ts +18 -0
  653. package/typings/classes/HBoxContainer.d.ts +6 -0
  654. package/typings/classes/HFlowContainer.d.ts +6 -0
  655. package/typings/classes/HMACContext.d.ts +16 -0
  656. package/typings/classes/HScrollBar.d.ts +6 -0
  657. package/typings/classes/HSeparator.d.ts +6 -0
  658. package/typings/classes/HSlider.d.ts +6 -0
  659. package/typings/classes/HSplitContainer.d.ts +8 -0
  660. package/typings/classes/HTTPClient.d.ts +384 -0
  661. package/typings/classes/HTTPRequest.d.ts +124 -0
  662. package/typings/classes/HashingContext.d.ts +22 -0
  663. package/typings/classes/HeightMapShape3D.d.ts +36 -0
  664. package/typings/classes/HingeJoint3D.d.ts +66 -0
  665. package/typings/classes/IKModifier3D.d.ts +22 -0
  666. package/typings/classes/IP.d.ts +71 -0
  667. package/typings/classes/Image.d.ts +567 -0
  668. package/typings/classes/ImageFormatLoader.d.ts +11 -0
  669. package/typings/classes/ImageFormatLoaderExtension.d.ts +20 -0
  670. package/typings/classes/ImageTexture.d.ts +25 -0
  671. package/typings/classes/ImageTexture3D.d.ts +14 -0
  672. package/typings/classes/ImageTextureLayered.d.ts +20 -0
  673. package/typings/classes/ImmediateMesh.d.ts +31 -0
  674. package/typings/classes/ImporterMesh.d.ts +84 -0
  675. package/typings/classes/ImporterMeshInstance3D.d.ts +35 -0
  676. package/typings/classes/Input.d.ts +504 -0
  677. package/typings/classes/InputEvent.d.ts +85 -0
  678. package/typings/classes/InputEventAction.d.ts +27 -0
  679. package/typings/classes/InputEventFromWindow.d.ts +10 -0
  680. package/typings/classes/InputEventGesture.d.ts +11 -0
  681. package/typings/classes/InputEventJoypadButton.d.ts +16 -0
  682. package/typings/classes/InputEventJoypadMotion.d.ts +16 -0
  683. package/typings/classes/InputEventKey.d.ts +86 -0
  684. package/typings/classes/InputEventMIDI.d.ts +59 -0
  685. package/typings/classes/InputEventMagnifyGesture.d.ts +12 -0
  686. package/typings/classes/InputEventMouse.d.ts +25 -0
  687. package/typings/classes/InputEventMouseButton.d.ts +26 -0
  688. package/typings/classes/InputEventMouseMotion.d.ts +54 -0
  689. package/typings/classes/InputEventPanGesture.d.ts +10 -0
  690. package/typings/classes/InputEventScreenDrag.d.ts +54 -0
  691. package/typings/classes/InputEventScreenTouch.d.ts +24 -0
  692. package/typings/classes/InputEventShortcut.d.ts +12 -0
  693. package/typings/classes/InputEventWithModifiers.d.ts +37 -0
  694. package/typings/classes/InputMap.d.ts +50 -0
  695. package/typings/classes/InstancePlaceholder.d.ts +20 -0
  696. package/typings/classes/IntervalTweener.d.ts +6 -0
  697. package/typings/classes/ItemList.d.ts +277 -0
  698. package/typings/classes/IterateIK3D.d.ts +85 -0
  699. package/typings/classes/JNISingleton.d.ts +8 -0
  700. package/typings/classes/JSON.d.ts +53 -0
  701. package/typings/classes/JSONRPC.d.ts +59 -0
  702. package/typings/classes/JacobianIK3D.d.ts +6 -0
  703. package/typings/classes/JavaClass.d.ts +16 -0
  704. package/typings/classes/JavaClassWrapper.d.ts +20 -0
  705. package/typings/classes/JavaObject.d.ts +10 -0
  706. package/typings/classes/JavaScriptBridge.d.ts +62 -0
  707. package/typings/classes/JavaScriptObject.d.ts +6 -0
  708. package/typings/classes/Joint2D.d.ts +28 -0
  709. package/typings/classes/Joint3D.d.ts +34 -0
  710. package/typings/classes/JointLimitation3D.d.ts +6 -0
  711. package/typings/classes/JointLimitationCone3D.d.ts +13 -0
  712. package/typings/classes/KinematicCollision2D.d.ts +36 -0
  713. package/typings/classes/KinematicCollision3D.d.ts +50 -0
  714. package/typings/classes/Label.d.ts +134 -0
  715. package/typings/classes/Label3D.d.ts +202 -0
  716. package/typings/classes/LabelSettings.d.ts +93 -0
  717. package/typings/classes/Light2D.d.ts +109 -0
  718. package/typings/classes/Light3D.d.ts +227 -0
  719. package/typings/classes/LightOccluder2D.d.ts +22 -0
  720. package/typings/classes/LightmapGI.d.ts +225 -0
  721. package/typings/classes/LightmapGIData.d.ts +50 -0
  722. package/typings/classes/LightmapProbe.d.ts +6 -0
  723. package/typings/classes/Lightmapper.d.ts +6 -0
  724. package/typings/classes/LightmapperRD.d.ts +6 -0
  725. package/typings/classes/LimitAngularVelocityModifier3D.d.ts +50 -0
  726. package/typings/classes/Line2D.d.ts +127 -0
  727. package/typings/classes/LineEdit.d.ts +370 -0
  728. package/typings/classes/LinkButton.d.ts +54 -0
  729. package/typings/classes/Logger.d.ts +31 -0
  730. package/typings/classes/LookAtModifier3D.d.ts +196 -0
  731. package/typings/classes/MainLoop.d.ts +80 -0
  732. package/typings/classes/MarginContainer.d.ts +6 -0
  733. package/typings/classes/Marker2D.d.ts +10 -0
  734. package/typings/classes/Marker3D.d.ts +10 -0
  735. package/typings/classes/Marshalls.d.ts +27 -0
  736. package/typings/classes/Material.d.ts +50 -0
  737. package/typings/classes/MenuBar.d.ts +64 -0
  738. package/typings/classes/MenuButton.d.ts +35 -0
  739. package/typings/classes/Mesh.d.ts +255 -0
  740. package/typings/classes/MeshConvexDecompositionSettings.d.ts +68 -0
  741. package/typings/classes/MeshDataTool.d.ts +99 -0
  742. package/typings/classes/MeshInstance2D.d.ts +19 -0
  743. package/typings/classes/MeshInstance3D.d.ts +87 -0
  744. package/typings/classes/MeshLibrary.d.ts +68 -0
  745. package/typings/classes/MeshTexture.d.ts +19 -0
  746. package/typings/classes/MethodTweener.d.ts +18 -0
  747. package/typings/classes/MissingNode.d.ts +26 -0
  748. package/typings/classes/MissingResource.d.ts +16 -0
  749. package/typings/classes/ModifierBoneTarget3D.d.ts +14 -0
  750. package/typings/classes/MovieWriter.d.ts +36 -0
  751. package/typings/classes/MultiMesh.d.ts +138 -0
  752. package/typings/classes/MultiMeshInstance2D.d.ts +19 -0
  753. package/typings/classes/MultiMeshInstance3D.d.ts +12 -0
  754. package/typings/classes/MultiplayerAPI.d.ts +93 -0
  755. package/typings/classes/MultiplayerAPIExtension.d.ts +24 -0
  756. package/typings/classes/MultiplayerPeer.d.ts +90 -0
  757. package/typings/classes/MultiplayerPeerExtension.d.ts +90 -0
  758. package/typings/classes/Mutex.d.ts +22 -0
  759. package/typings/classes/NativeMenu.d.ts +428 -0
  760. package/typings/classes/NavigationAgent2D.d.ts +292 -0
  761. package/typings/classes/NavigationAgent3D.d.ts +311 -0
  762. package/typings/classes/NavigationLink2D.d.ts +77 -0
  763. package/typings/classes/NavigationLink3D.d.ts +77 -0
  764. package/typings/classes/NavigationMesh.d.ts +207 -0
  765. package/typings/classes/NavigationMeshGenerator.d.ts +22 -0
  766. package/typings/classes/NavigationMeshSourceGeometryData2D.d.ts +52 -0
  767. package/typings/classes/NavigationMeshSourceGeometryData3D.d.ts +64 -0
  768. package/typings/classes/NavigationObstacle2D.d.ts +67 -0
  769. package/typings/classes/NavigationObstacle3D.d.ts +80 -0
  770. package/typings/classes/NavigationPathQueryParameters2D.d.ts +114 -0
  771. package/typings/classes/NavigationPathQueryParameters3D.d.ts +114 -0
  772. package/typings/classes/NavigationPathQueryResult2D.d.ts +41 -0
  773. package/typings/classes/NavigationPathQueryResult3D.d.ts +41 -0
  774. package/typings/classes/NavigationPolygon.d.ts +150 -0
  775. package/typings/classes/NavigationRegion2D.d.ts +74 -0
  776. package/typings/classes/NavigationRegion3D.d.ts +72 -0
  777. package/typings/classes/NavigationServer2D.d.ts +443 -0
  778. package/typings/classes/NavigationServer2DManager.d.ts +16 -0
  779. package/typings/classes/NavigationServer3D.d.ts +499 -0
  780. package/typings/classes/NavigationServer3DManager.d.ts +16 -0
  781. package/typings/classes/NinePatchRect.d.ts +65 -0
  782. package/typings/classes/Node.d.ts +1021 -0
  783. package/typings/classes/Node2D.d.ts +107 -0
  784. package/typings/classes/Node3D.d.ts +331 -0
  785. package/typings/classes/Node3DGizmo.d.ts +6 -0
  786. package/typings/classes/NodePath.d.ts +107 -0
  787. package/typings/classes/ORMMaterial3D.d.ts +6 -0
  788. package/typings/classes/OS.d.ts +556 -0
  789. package/typings/classes/Object.d.ts +434 -0
  790. package/typings/classes/Occluder3D.d.ts +10 -0
  791. package/typings/classes/OccluderInstance3D.d.ts +39 -0
  792. package/typings/classes/OccluderPolygon2D.d.ts +28 -0
  793. package/typings/classes/OmniLight3D.d.ts +31 -0
  794. package/typings/classes/OptimizedTranslation.d.ts +12 -0
  795. package/typings/classes/OptionButton.d.ts +136 -0
  796. package/typings/classes/PCKPacker.d.ts +27 -0
  797. package/typings/classes/PackedByteArray.d.ts +327 -0
  798. package/typings/classes/PackedColorArray.d.ts +125 -0
  799. package/typings/classes/PackedDataContainer.d.ts +13 -0
  800. package/typings/classes/PackedDataContainerRef.d.ts +8 -0
  801. package/typings/classes/PackedFloat32Array.d.ts +140 -0
  802. package/typings/classes/PackedFloat64Array.d.ts +140 -0
  803. package/typings/classes/PackedInt32Array.d.ts +127 -0
  804. package/typings/classes/PackedInt64Array.d.ts +127 -0
  805. package/typings/classes/PackedScene.d.ts +40 -0
  806. package/typings/classes/PackedStringArray.d.ts +124 -0
  807. package/typings/classes/PackedVector2Array.d.ts +139 -0
  808. package/typings/classes/PackedVector3Array.d.ts +139 -0
  809. package/typings/classes/PackedVector4Array.d.ts +138 -0
  810. package/typings/classes/PacketPeer.d.ts +33 -0
  811. package/typings/classes/PacketPeerDTLS.d.ts +34 -0
  812. package/typings/classes/PacketPeerExtension.d.ts +9 -0
  813. package/typings/classes/PacketPeerStream.d.ts +16 -0
  814. package/typings/classes/PacketPeerUDP.d.ts +61 -0
  815. package/typings/classes/Panel.d.ts +6 -0
  816. package/typings/classes/PanelContainer.d.ts +7 -0
  817. package/typings/classes/PanoramaSkyMaterial.d.ts +18 -0
  818. package/typings/classes/Parallax2D.d.ts +63 -0
  819. package/typings/classes/ParallaxBackground.d.ts +37 -0
  820. package/typings/classes/ParallaxLayer.d.ts +26 -0
  821. package/typings/classes/ParticleProcessMaterial.d.ts +595 -0
  822. package/typings/classes/Path2D.d.ts +10 -0
  823. package/typings/classes/Path3D.d.ts +21 -0
  824. package/typings/classes/PathFollow2D.d.ts +45 -0
  825. package/typings/classes/PathFollow3D.d.ts +76 -0
  826. package/typings/classes/Performance.d.ts +229 -0
  827. package/typings/classes/PhysicalBone2D.d.ts +44 -0
  828. package/typings/classes/PhysicalBone3D.d.ts +130 -0
  829. package/typings/classes/PhysicalBoneSimulator3D.d.ts +29 -0
  830. package/typings/classes/PhysicalSkyMaterial.d.ts +66 -0
  831. package/typings/classes/PhysicsBody2D.d.ts +34 -0
  832. package/typings/classes/PhysicsBody3D.d.ts +51 -0
  833. package/typings/classes/PhysicsDirectBodyState2D.d.ts +162 -0
  834. package/typings/classes/PhysicsDirectBodyState2DExtension.d.ts +132 -0
  835. package/typings/classes/PhysicsDirectBodyState3D.d.ts +165 -0
  836. package/typings/classes/PhysicsDirectBodyState3DExtension.d.ts +58 -0
  837. package/typings/classes/PhysicsDirectSpaceState2D.d.ts +58 -0
  838. package/typings/classes/PhysicsDirectSpaceState2DExtension.d.ts +15 -0
  839. package/typings/classes/PhysicsDirectSpaceState3D.d.ts +62 -0
  840. package/typings/classes/PhysicsDirectSpaceState3DExtension.d.ts +16 -0
  841. package/typings/classes/PhysicsMaterial.d.ts +27 -0
  842. package/typings/classes/PhysicsPointQueryParameters2D.d.ts +38 -0
  843. package/typings/classes/PhysicsPointQueryParameters3D.d.ts +31 -0
  844. package/typings/classes/PhysicsRayQueryParameters2D.d.ts +46 -0
  845. package/typings/classes/PhysicsRayQueryParameters3D.d.ts +52 -0
  846. package/typings/classes/PhysicsServer2D.d.ts +739 -0
  847. package/typings/classes/PhysicsServer2DExtension.d.ts +354 -0
  848. package/typings/classes/PhysicsServer2DManager.d.ts +16 -0
  849. package/typings/classes/PhysicsServer3D.d.ts +1028 -0
  850. package/typings/classes/PhysicsServer3DExtension.d.ts +204 -0
  851. package/typings/classes/PhysicsServer3DManager.d.ts +16 -0
  852. package/typings/classes/PhysicsServer3DRenderingServerHandler.d.ts +26 -0
  853. package/typings/classes/PhysicsShapeQueryParameters2D.d.ts +51 -0
  854. package/typings/classes/PhysicsShapeQueryParameters3D.d.ts +51 -0
  855. package/typings/classes/PhysicsTestMotionParameters2D.d.ts +46 -0
  856. package/typings/classes/PhysicsTestMotionParameters3D.d.ts +52 -0
  857. package/typings/classes/PhysicsTestMotionResult2D.d.ts +38 -0
  858. package/typings/classes/PhysicsTestMotionResult3D.d.ts +54 -0
  859. package/typings/classes/PinJoint2D.d.ts +34 -0
  860. package/typings/classes/PinJoint3D.d.ts +35 -0
  861. package/typings/classes/PlaceholderCubemap.d.ts +6 -0
  862. package/typings/classes/PlaceholderCubemapArray.d.ts +6 -0
  863. package/typings/classes/PlaceholderMaterial.d.ts +6 -0
  864. package/typings/classes/PlaceholderMesh.d.ts +9 -0
  865. package/typings/classes/PlaceholderTexture2D.d.ts +11 -0
  866. package/typings/classes/PlaceholderTexture2DArray.d.ts +6 -0
  867. package/typings/classes/PlaceholderTexture3D.d.ts +10 -0
  868. package/typings/classes/PlaceholderTextureLayered.d.ts +13 -0
  869. package/typings/classes/Plane.d.ts +143 -0
  870. package/typings/classes/PlaneMesh.d.ts +38 -0
  871. package/typings/classes/PointLight2D.d.ts +22 -0
  872. package/typings/classes/PointMesh.d.ts +6 -0
  873. package/typings/classes/Polygon2D.d.ts +101 -0
  874. package/typings/classes/PolygonOccluder3D.d.ts +13 -0
  875. package/typings/classes/PolygonPathFinder.d.ts +18 -0
  876. package/typings/classes/Popup.d.ts +18 -0
  877. package/typings/classes/PopupMenu.d.ts +349 -0
  878. package/typings/classes/PopupPanel.d.ts +10 -0
  879. package/typings/classes/PortableCompressedTexture2D.d.ts +47 -0
  880. package/typings/classes/PrimitiveMesh.d.ts +48 -0
  881. package/typings/classes/PrismMesh.d.ts +28 -0
  882. package/typings/classes/ProceduralSkyMaterial.d.ts +68 -0
  883. package/typings/classes/ProgressBar.d.ts +38 -0
  884. package/typings/classes/ProjectSettings.d.ts +3818 -0
  885. package/typings/classes/Projection.d.ts +193 -0
  886. package/typings/classes/PropertyTweener.d.ts +38 -0
  887. package/typings/classes/QuadMesh.d.ts +8 -0
  888. package/typings/classes/QuadOccluder3D.d.ts +10 -0
  889. package/typings/classes/Quaternion.d.ts +188 -0
  890. package/typings/classes/RDAttachmentFormat.d.ts +18 -0
  891. package/typings/classes/RDFramebufferPass.d.ts +33 -0
  892. package/typings/classes/RDPipelineColorBlendState.d.ts +22 -0
  893. package/typings/classes/RDPipelineColorBlendStateAttachment.d.ts +61 -0
  894. package/typings/classes/RDPipelineDepthStencilState.d.ts +102 -0
  895. package/typings/classes/RDPipelineMultisampleState.d.ts +42 -0
  896. package/typings/classes/RDPipelineRasterizationState.d.ts +64 -0
  897. package/typings/classes/RDPipelineSpecializationConstant.d.ts +18 -0
  898. package/typings/classes/RDSamplerState.d.ts +91 -0
  899. package/typings/classes/RDShaderFile.d.ts +21 -0
  900. package/typings/classes/RDShaderSPIRV.d.ts +85 -0
  901. package/typings/classes/RDShaderSource.d.ts +40 -0
  902. package/typings/classes/RDTextureFormat.d.ts +62 -0
  903. package/typings/classes/RDTextureView.d.ts +28 -0
  904. package/typings/classes/RDUniform.d.ts +23 -0
  905. package/typings/classes/RDVertexAttribute.d.ts +35 -0
  906. package/typings/classes/RID.d.ts +65 -0
  907. package/typings/classes/RandomNumberGenerator.d.ts +45 -0
  908. package/typings/classes/Range.d.ts +76 -0
  909. package/typings/classes/RayCast2D.d.ts +90 -0
  910. package/typings/classes/RayCast3D.d.ts +113 -0
  911. package/typings/classes/Rect2.d.ts +135 -0
  912. package/typings/classes/Rect2i.d.ts +127 -0
  913. package/typings/classes/RectangleShape2D.d.ts +10 -0
  914. package/typings/classes/RefCounted.d.ts +23 -0
  915. package/typings/classes/ReferenceRect.d.ts +22 -0
  916. package/typings/classes/ReflectionProbe.d.ts +118 -0
  917. package/typings/classes/RemoteTransform2D.d.ts +33 -0
  918. package/typings/classes/RemoteTransform3D.d.ts +33 -0
  919. package/typings/classes/RenderData.d.ts +20 -0
  920. package/typings/classes/RenderDataExtension.d.ts +18 -0
  921. package/typings/classes/RenderDataRD.d.ts +6 -0
  922. package/typings/classes/RenderSceneBuffers.d.ts +10 -0
  923. package/typings/classes/RenderSceneBuffersConfiguration.d.ts +48 -0
  924. package/typings/classes/RenderSceneBuffersExtension.d.ts +16 -0
  925. package/typings/classes/RenderSceneBuffersRD.d.ts +85 -0
  926. package/typings/classes/RenderSceneData.d.ts +29 -0
  927. package/typings/classes/RenderSceneDataExtension.d.ts +20 -0
  928. package/typings/classes/RenderSceneDataRD.d.ts +6 -0
  929. package/typings/classes/RenderingDevice.d.ts +2373 -0
  930. package/typings/classes/RenderingServer.d.ts +3501 -0
  931. package/typings/classes/Resource.d.ts +130 -0
  932. package/typings/classes/ResourceFormatLoader.d.ts +73 -0
  933. package/typings/classes/ResourceFormatSaver.d.ts +26 -0
  934. package/typings/classes/ResourceImporter.d.ts +18 -0
  935. package/typings/classes/ResourceImporterBMFont.d.ts +14 -0
  936. package/typings/classes/ResourceImporterBitMap.d.ts +16 -0
  937. package/typings/classes/ResourceImporterCSVTranslation.d.ts +23 -0
  938. package/typings/classes/ResourceImporterDynamicFont.d.ts +96 -0
  939. package/typings/classes/ResourceImporterImage.d.ts +6 -0
  940. package/typings/classes/ResourceImporterImageFont.d.ts +46 -0
  941. package/typings/classes/ResourceImporterLayeredTexture.d.ts +65 -0
  942. package/typings/classes/ResourceImporterOBJ.d.ts +38 -0
  943. package/typings/classes/ResourceImporterSVG.d.ts +24 -0
  944. package/typings/classes/ResourceImporterScene.d.ts +114 -0
  945. package/typings/classes/ResourceImporterShaderFile.d.ts +6 -0
  946. package/typings/classes/ResourceImporterTexture.d.ts +188 -0
  947. package/typings/classes/ResourceImporterTextureAtlas.d.ts +27 -0
  948. package/typings/classes/ResourceImporterWAV.d.ts +57 -0
  949. package/typings/classes/ResourceLoader.d.ts +106 -0
  950. package/typings/classes/ResourcePreloader.d.ts +20 -0
  951. package/typings/classes/ResourceSaver.d.ts +53 -0
  952. package/typings/classes/ResourceUID.d.ts +59 -0
  953. package/typings/classes/RetargetModifier3D.d.ts +51 -0
  954. package/typings/classes/RibbonTrailMesh.d.ts +42 -0
  955. package/typings/classes/RichTextEffect.d.ts +10 -0
  956. package/typings/classes/RichTextLabel.d.ts +524 -0
  957. package/typings/classes/RigidBody2D.d.ts +280 -0
  958. package/typings/classes/RigidBody3D.d.ts +271 -0
  959. package/typings/classes/RootMotionView.d.ts +30 -0
  960. package/typings/classes/SceneState.d.ts +93 -0
  961. package/typings/classes/SceneTree.d.ts +257 -0
  962. package/typings/classes/SceneTreeTimer.d.ts +13 -0
  963. package/typings/classes/Script.d.ts +64 -0
  964. package/typings/classes/ScriptBacktrace.d.ts +63 -0
  965. package/typings/classes/ScriptCreateDialog.d.ts +17 -0
  966. package/typings/classes/ScriptEditor.d.ts +60 -0
  967. package/typings/classes/ScriptEditorBase.d.ts +39 -0
  968. package/typings/classes/ScriptExtension.d.ts +48 -0
  969. package/typings/classes/ScriptLanguage.d.ts +12 -0
  970. package/typings/classes/ScriptLanguageExtension.d.ts +110 -0
  971. package/typings/classes/ScrollBar.d.ts +19 -0
  972. package/typings/classes/ScrollContainer.d.ts +120 -0
  973. package/typings/classes/SegmentShape2D.d.ts +14 -0
  974. package/typings/classes/Semaphore.d.ts +14 -0
  975. package/typings/classes/SeparationRayShape2D.d.ts +17 -0
  976. package/typings/classes/SeparationRayShape3D.d.ts +17 -0
  977. package/typings/classes/Separator.d.ts +6 -0
  978. package/typings/classes/Shader.d.ts +48 -0
  979. package/typings/classes/ShaderGlobalsOverride.d.ts +6 -0
  980. package/typings/classes/ShaderInclude.d.ts +12 -0
  981. package/typings/classes/ShaderIncludeDB.d.ts +14 -0
  982. package/typings/classes/ShaderMaterial.d.ts +19 -0
  983. package/typings/classes/Shape2D.d.ts +44 -0
  984. package/typings/classes/Shape3D.d.ts +24 -0
  985. package/typings/classes/ShapeCast2D.d.ts +107 -0
  986. package/typings/classes/ShapeCast3D.d.ts +116 -0
  987. package/typings/classes/Shortcut.d.ts +22 -0
  988. package/typings/classes/Signal.d.ts +86 -0
  989. package/typings/classes/Skeleton2D.d.ts +35 -0
  990. package/typings/classes/Skeleton3D.d.ts +225 -0
  991. package/typings/classes/SkeletonIK3D.d.ts +83 -0
  992. package/typings/classes/SkeletonModification2D.d.ts +52 -0
  993. package/typings/classes/SkeletonModification2DCCDIK.d.ts +64 -0
  994. package/typings/classes/SkeletonModification2DFABRIK.d.ts +40 -0
  995. package/typings/classes/SkeletonModification2DJiggle.d.ts +97 -0
  996. package/typings/classes/SkeletonModification2DLookAt.d.ts +48 -0
  997. package/typings/classes/SkeletonModification2DPhysicalBones.d.ts +32 -0
  998. package/typings/classes/SkeletonModification2DStackHolder.d.ts +12 -0
  999. package/typings/classes/SkeletonModification2DTwoBoneIK.d.ts +57 -0
  1000. package/typings/classes/SkeletonModificationStack2D.d.ts +46 -0
  1001. package/typings/classes/SkeletonModifier3D.d.ts +101 -0
  1002. package/typings/classes/SkeletonProfile.d.ts +119 -0
  1003. package/typings/classes/SkeletonProfileHumanoid.d.ts +10 -0
  1004. package/typings/classes/Skin.d.ts +16 -0
  1005. package/typings/classes/SkinReference.d.ts +15 -0
  1006. package/typings/classes/Sky.d.ts +61 -0
  1007. package/typings/classes/Slider.d.ts +49 -0
  1008. package/typings/classes/SliderJoint3D.d.ts +166 -0
  1009. package/typings/classes/SocketServer.d.ts +14 -0
  1010. package/typings/classes/SoftBody3D.d.ts +136 -0
  1011. package/typings/classes/SphereMesh.d.ts +29 -0
  1012. package/typings/classes/SphereOccluder3D.d.ts +10 -0
  1013. package/typings/classes/SphereShape3D.d.ts +10 -0
  1014. package/typings/classes/SpinBox.d.ts +60 -0
  1015. package/typings/classes/SplineIK3D.d.ts +37 -0
  1016. package/typings/classes/SplitContainer.d.ts +114 -0
  1017. package/typings/classes/SpotLight3D.d.ts +28 -0
  1018. package/typings/classes/SpringArm3D.d.ts +47 -0
  1019. package/typings/classes/SpringBoneCollision3D.d.ts +25 -0
  1020. package/typings/classes/SpringBoneCollisionCapsule3D.d.ts +30 -0
  1021. package/typings/classes/SpringBoneCollisionPlane3D.d.ts +6 -0
  1022. package/typings/classes/SpringBoneCollisionSphere3D.d.ts +14 -0
  1023. package/typings/classes/SpringBoneSimulator3D.d.ts +283 -0
  1024. package/typings/classes/Sprite2D.d.ts +88 -0
  1025. package/typings/classes/Sprite3D.d.ts +51 -0
  1026. package/typings/classes/SpriteBase3D.d.ts +147 -0
  1027. package/typings/classes/SpriteFrames.d.ts +57 -0
  1028. package/typings/classes/StandardMaterial3D.d.ts +6 -0
  1029. package/typings/classes/StaticBody2D.d.ts +27 -0
  1030. package/typings/classes/StaticBody3D.d.ts +27 -0
  1031. package/typings/classes/StatusIndicator.d.ts +36 -0
  1032. package/typings/classes/StreamPeer.d.ts +102 -0
  1033. package/typings/classes/StreamPeerBuffer.d.ts +23 -0
  1034. package/typings/classes/StreamPeerExtension.d.ts +10 -0
  1035. package/typings/classes/StreamPeerGZIP.d.ts +21 -0
  1036. package/typings/classes/StreamPeerSocket.d.ts +22 -0
  1037. package/typings/classes/StreamPeerTCP.d.ts +26 -0
  1038. package/typings/classes/StreamPeerTLS.d.ts +40 -0
  1039. package/typings/classes/StreamPeerUDS.d.ts +15 -0
  1040. package/typings/classes/String.d.ts +475 -0
  1041. package/typings/classes/StringName.d.ts +4 -0
  1042. package/typings/classes/StyleBox.d.ts +64 -0
  1043. package/typings/classes/StyleBoxEmpty.d.ts +6 -0
  1044. package/typings/classes/StyleBoxFlat.d.ts +120 -0
  1045. package/typings/classes/StyleBoxLine.d.ts +30 -0
  1046. package/typings/classes/StyleBoxTexture.d.ts +99 -0
  1047. package/typings/classes/SubViewport.d.ts +57 -0
  1048. package/typings/classes/SubViewportContainer.d.ts +33 -0
  1049. package/typings/classes/SubtweenTweener.d.ts +10 -0
  1050. package/typings/classes/SurfaceTool.d.ts +178 -0
  1051. package/typings/classes/SyntaxHighlighter.d.ts +33 -0
  1052. package/typings/classes/SystemFont.d.ts +94 -0
  1053. package/typings/classes/TCPServer.d.ts +17 -0
  1054. package/typings/classes/TLSOptions.d.ts +38 -0
  1055. package/typings/classes/TabBar.d.ts +203 -0
  1056. package/typings/classes/TabContainer.d.ts +184 -0
  1057. package/typings/classes/TextEdit.d.ts +877 -0
  1058. package/typings/classes/TextLine.d.ts +100 -0
  1059. package/typings/classes/TextMesh.d.ts +103 -0
  1060. package/typings/classes/TextParagraph.d.ts +160 -0
  1061. package/typings/classes/TextServer.d.ts +1006 -0
  1062. package/typings/classes/TextServerDummy.d.ts +6 -0
  1063. package/typings/classes/TextServerExtension.d.ts +586 -0
  1064. package/typings/classes/TextServerManager.d.ts +31 -0
  1065. package/typings/classes/Texture.d.ts +6 -0
  1066. package/typings/classes/Texture2D.d.ts +69 -0
  1067. package/typings/classes/Texture2DArray.d.ts +10 -0
  1068. package/typings/classes/Texture2DArrayRD.d.ts +6 -0
  1069. package/typings/classes/Texture2DRD.d.ts +11 -0
  1070. package/typings/classes/Texture3D.d.ts +36 -0
  1071. package/typings/classes/Texture3DRD.d.ts +10 -0
  1072. package/typings/classes/TextureButton.d.ts +80 -0
  1073. package/typings/classes/TextureCubemapArrayRD.d.ts +6 -0
  1074. package/typings/classes/TextureCubemapRD.d.ts +6 -0
  1075. package/typings/classes/TextureLayered.d.ts +46 -0
  1076. package/typings/classes/TextureLayeredRD.d.ts +10 -0
  1077. package/typings/classes/TextureProgressBar.d.ts +120 -0
  1078. package/typings/classes/TextureRect.d.ts +69 -0
  1079. package/typings/classes/Theme.d.ts +335 -0
  1080. package/typings/classes/ThemeDB.d.ts +58 -0
  1081. package/typings/classes/Thread.d.ts +55 -0
  1082. package/typings/classes/TileData.d.ts +155 -0
  1083. package/typings/classes/TileMap.d.ts +303 -0
  1084. package/typings/classes/TileMapLayer.d.ts +244 -0
  1085. package/typings/classes/TileMapPattern.d.ts +26 -0
  1086. package/typings/classes/TileSet.d.ts +348 -0
  1087. package/typings/classes/TileSetAtlasSource.d.ts +160 -0
  1088. package/typings/classes/TileSetScenesCollectionSource.d.ts +37 -0
  1089. package/typings/classes/TileSetSource.d.ts +24 -0
  1090. package/typings/classes/Time.d.ts +149 -0
  1091. package/typings/classes/Timer.d.ts +71 -0
  1092. package/typings/classes/TorusMesh.d.ts +22 -0
  1093. package/typings/classes/TouchScreenButton.d.ts +61 -0
  1094. package/typings/classes/Transform2D.d.ts +207 -0
  1095. package/typings/classes/Transform3D.d.ts +173 -0
  1096. package/typings/classes/Translation.d.ts +51 -0
  1097. package/typings/classes/TranslationDomain.d.ts +115 -0
  1098. package/typings/classes/TranslationServer.d.ts +117 -0
  1099. package/typings/classes/Tree.d.ts +298 -0
  1100. package/typings/classes/TreeItem.d.ts +374 -0
  1101. package/typings/classes/TriangleMesh.d.ts +33 -0
  1102. package/typings/classes/TubeTrailMesh.d.ts +50 -0
  1103. package/typings/classes/Tween.d.ts +218 -0
  1104. package/typings/classes/Tweener.d.ts +11 -0
  1105. package/typings/classes/TwoBoneIK3D.d.ts +87 -0
  1106. package/typings/classes/UDPServer.d.ts +35 -0
  1107. package/typings/classes/UDSServer.d.ts +13 -0
  1108. package/typings/classes/UndoRedo.d.ts +92 -0
  1109. package/typings/classes/UniformSetCacheRD.d.ts +8 -0
  1110. package/typings/classes/VBoxContainer.d.ts +6 -0
  1111. package/typings/classes/VFlowContainer.d.ts +6 -0
  1112. package/typings/classes/VScrollBar.d.ts +8 -0
  1113. package/typings/classes/VSeparator.d.ts +6 -0
  1114. package/typings/classes/VSlider.d.ts +8 -0
  1115. package/typings/classes/VSplitContainer.d.ts +8 -0
  1116. package/typings/classes/Variant.d.ts +6 -0
  1117. package/typings/classes/Vector2.d.ts +298 -0
  1118. package/typings/classes/Vector2i.d.ts +166 -0
  1119. package/typings/classes/Vector3.d.ts +309 -0
  1120. package/typings/classes/Vector3i.d.ts +172 -0
  1121. package/typings/classes/Vector4.d.ts +216 -0
  1122. package/typings/classes/Vector4i.d.ts +164 -0
  1123. package/typings/classes/VehicleBody3D.d.ts +26 -0
  1124. package/typings/classes/VehicleWheel3D.d.ts +112 -0
  1125. package/typings/classes/VideoStream.d.ts +18 -0
  1126. package/typings/classes/VideoStreamPlayback.d.ts +52 -0
  1127. package/typings/classes/VideoStreamPlayer.d.ts +82 -0
  1128. package/typings/classes/Viewport.d.ts +815 -0
  1129. package/typings/classes/ViewportTexture.d.ts +13 -0
  1130. package/typings/classes/VirtualJoystick.d.ts +94 -0
  1131. package/typings/classes/VisibleOnScreenEnabler2D.d.ts +26 -0
  1132. package/typings/classes/VisibleOnScreenEnabler3D.d.ts +26 -0
  1133. package/typings/classes/VisibleOnScreenNotifier2D.d.ts +27 -0
  1134. package/typings/classes/VisibleOnScreenNotifier3D.d.ts +20 -0
  1135. package/typings/classes/VisualInstance3D.d.ts +53 -0
  1136. package/typings/classes/VisualShader.d.ts +112 -0
  1137. package/typings/classes/VisualShaderNode.d.ts +63 -0
  1138. package/typings/classes/VisualShaderNodeBillboard.d.ts +28 -0
  1139. package/typings/classes/VisualShaderNodeBooleanConstant.d.ts +10 -0
  1140. package/typings/classes/VisualShaderNodeBooleanParameter.d.ts +14 -0
  1141. package/typings/classes/VisualShaderNodeClamp.d.ts +26 -0
  1142. package/typings/classes/VisualShaderNodeColorConstant.d.ts +10 -0
  1143. package/typings/classes/VisualShaderNodeColorFunc.d.ts +32 -0
  1144. package/typings/classes/VisualShaderNodeColorOp.d.ts +32 -0
  1145. package/typings/classes/VisualShaderNodeColorParameter.d.ts +14 -0
  1146. package/typings/classes/VisualShaderNodeComment.d.ts +12 -0
  1147. package/typings/classes/VisualShaderNodeCompare.d.ts +68 -0
  1148. package/typings/classes/VisualShaderNodeConstant.d.ts +6 -0
  1149. package/typings/classes/VisualShaderNodeCubemap.d.ts +43 -0
  1150. package/typings/classes/VisualShaderNodeCubemapParameter.d.ts +6 -0
  1151. package/typings/classes/VisualShaderNodeCurveTexture.d.ts +10 -0
  1152. package/typings/classes/VisualShaderNodeCurveXYZTexture.d.ts +10 -0
  1153. package/typings/classes/VisualShaderNodeCustom.d.ts +122 -0
  1154. package/typings/classes/VisualShaderNodeDerivativeFunc.d.ts +56 -0
  1155. package/typings/classes/VisualShaderNodeDeterminant.d.ts +6 -0
  1156. package/typings/classes/VisualShaderNodeDistanceFade.d.ts +6 -0
  1157. package/typings/classes/VisualShaderNodeDotProduct.d.ts +6 -0
  1158. package/typings/classes/VisualShaderNodeExpression.d.ts +12 -0
  1159. package/typings/classes/VisualShaderNodeFaceForward.d.ts +8 -0
  1160. package/typings/classes/VisualShaderNodeFloatConstant.d.ts +10 -0
  1161. package/typings/classes/VisualShaderNodeFloatFunc.d.ts +108 -0
  1162. package/typings/classes/VisualShaderNodeFloatOp.d.ts +36 -0
  1163. package/typings/classes/VisualShaderNodeFloatParameter.d.ts +52 -0
  1164. package/typings/classes/VisualShaderNodeFrame.d.ts +35 -0
  1165. package/typings/classes/VisualShaderNodeFresnel.d.ts +6 -0
  1166. package/typings/classes/VisualShaderNodeGlobalExpression.d.ts +6 -0
  1167. package/typings/classes/VisualShaderNodeGroupBase.d.ts +60 -0
  1168. package/typings/classes/VisualShaderNodeIf.d.ts +8 -0
  1169. package/typings/classes/VisualShaderNodeInput.d.ts +20 -0
  1170. package/typings/classes/VisualShaderNodeIntConstant.d.ts +10 -0
  1171. package/typings/classes/VisualShaderNodeIntFunc.d.ts +24 -0
  1172. package/typings/classes/VisualShaderNodeIntOp.d.ts +48 -0
  1173. package/typings/classes/VisualShaderNodeIntParameter.d.ts +58 -0
  1174. package/typings/classes/VisualShaderNodeIs.d.ts +18 -0
  1175. package/typings/classes/VisualShaderNodeLinearSceneDepth.d.ts +6 -0
  1176. package/typings/classes/VisualShaderNodeMix.d.ts +28 -0
  1177. package/typings/classes/VisualShaderNodeMultiplyAdd.d.ts +22 -0
  1178. package/typings/classes/VisualShaderNodeOuterProduct.d.ts +6 -0
  1179. package/typings/classes/VisualShaderNodeOutput.d.ts +6 -0
  1180. package/typings/classes/VisualShaderNodeParameter.d.ts +32 -0
  1181. package/typings/classes/VisualShaderNodeParameterRef.d.ts +10 -0
  1182. package/typings/classes/VisualShaderNodeParticleAccelerator.d.ts +20 -0
  1183. package/typings/classes/VisualShaderNodeParticleBoxEmitter.d.ts +6 -0
  1184. package/typings/classes/VisualShaderNodeParticleConeVelocity.d.ts +6 -0
  1185. package/typings/classes/VisualShaderNodeParticleEmit.d.ts +22 -0
  1186. package/typings/classes/VisualShaderNodeParticleEmitter.d.ts +12 -0
  1187. package/typings/classes/VisualShaderNodeParticleMeshEmitter.d.ts +20 -0
  1188. package/typings/classes/VisualShaderNodeParticleMultiplyByAxisAngle.d.ts +10 -0
  1189. package/typings/classes/VisualShaderNodeParticleOutput.d.ts +6 -0
  1190. package/typings/classes/VisualShaderNodeParticleRandomness.d.ts +22 -0
  1191. package/typings/classes/VisualShaderNodeParticleRingEmitter.d.ts +6 -0
  1192. package/typings/classes/VisualShaderNodeParticleSphereEmitter.d.ts +6 -0
  1193. package/typings/classes/VisualShaderNodeProximityFade.d.ts +6 -0
  1194. package/typings/classes/VisualShaderNodeRandomRange.d.ts +6 -0
  1195. package/typings/classes/VisualShaderNodeRemap.d.ts +33 -0
  1196. package/typings/classes/VisualShaderNodeReroute.d.ts +8 -0
  1197. package/typings/classes/VisualShaderNodeResizableBase.d.ts +10 -0
  1198. package/typings/classes/VisualShaderNodeRotationByAxis.d.ts +6 -0
  1199. package/typings/classes/VisualShaderNodeSDFRaymarch.d.ts +6 -0
  1200. package/typings/classes/VisualShaderNodeSDFToScreenUV.d.ts +8 -0
  1201. package/typings/classes/VisualShaderNodeSample3D.d.ts +18 -0
  1202. package/typings/classes/VisualShaderNodeScreenNormalWorldSpace.d.ts +6 -0
  1203. package/typings/classes/VisualShaderNodeScreenUVToSDF.d.ts +8 -0
  1204. package/typings/classes/VisualShaderNodeSmoothStep.d.ts +28 -0
  1205. package/typings/classes/VisualShaderNodeStep.d.ts +28 -0
  1206. package/typings/classes/VisualShaderNodeSwitch.d.ts +30 -0
  1207. package/typings/classes/VisualShaderNodeTexture.d.ts +57 -0
  1208. package/typings/classes/VisualShaderNodeTexture2DArray.d.ts +12 -0
  1209. package/typings/classes/VisualShaderNodeTexture2DArrayParameter.d.ts +6 -0
  1210. package/typings/classes/VisualShaderNodeTexture2DParameter.d.ts +6 -0
  1211. package/typings/classes/VisualShaderNodeTexture3D.d.ts +12 -0
  1212. package/typings/classes/VisualShaderNodeTexture3DParameter.d.ts +6 -0
  1213. package/typings/classes/VisualShaderNodeTextureParameter.d.ts +104 -0
  1214. package/typings/classes/VisualShaderNodeTextureParameterTriplanar.d.ts +6 -0
  1215. package/typings/classes/VisualShaderNodeTextureSDF.d.ts +6 -0
  1216. package/typings/classes/VisualShaderNodeTextureSDFNormal.d.ts +6 -0
  1217. package/typings/classes/VisualShaderNodeTransformCompose.d.ts +6 -0
  1218. package/typings/classes/VisualShaderNodeTransformConstant.d.ts +10 -0
  1219. package/typings/classes/VisualShaderNodeTransformDecompose.d.ts +6 -0
  1220. package/typings/classes/VisualShaderNodeTransformFunc.d.ts +18 -0
  1221. package/typings/classes/VisualShaderNodeTransformOp.d.ts +32 -0
  1222. package/typings/classes/VisualShaderNodeTransformParameter.d.ts +14 -0
  1223. package/typings/classes/VisualShaderNodeTransformVecMult.d.ts +22 -0
  1224. package/typings/classes/VisualShaderNodeUIntConstant.d.ts +10 -0
  1225. package/typings/classes/VisualShaderNodeUIntFunc.d.ts +20 -0
  1226. package/typings/classes/VisualShaderNodeUIntOp.d.ts +48 -0
  1227. package/typings/classes/VisualShaderNodeUIntParameter.d.ts +16 -0
  1228. package/typings/classes/VisualShaderNodeUVFunc.d.ts +22 -0
  1229. package/typings/classes/VisualShaderNodeUVPolarCoord.d.ts +6 -0
  1230. package/typings/classes/VisualShaderNodeVarying.d.ts +14 -0
  1231. package/typings/classes/VisualShaderNodeVaryingGetter.d.ts +6 -0
  1232. package/typings/classes/VisualShaderNodeVaryingSetter.d.ts +6 -0
  1233. package/typings/classes/VisualShaderNodeVec2Constant.d.ts +10 -0
  1234. package/typings/classes/VisualShaderNodeVec2Parameter.d.ts +14 -0
  1235. package/typings/classes/VisualShaderNodeVec3Constant.d.ts +10 -0
  1236. package/typings/classes/VisualShaderNodeVec3Parameter.d.ts +14 -0
  1237. package/typings/classes/VisualShaderNodeVec4Constant.d.ts +10 -0
  1238. package/typings/classes/VisualShaderNodeVec4Parameter.d.ts +14 -0
  1239. package/typings/classes/VisualShaderNodeVectorBase.d.ts +20 -0
  1240. package/typings/classes/VisualShaderNodeVectorCompose.d.ts +8 -0
  1241. package/typings/classes/VisualShaderNodeVectorDecompose.d.ts +8 -0
  1242. package/typings/classes/VisualShaderNodeVectorDistance.d.ts +6 -0
  1243. package/typings/classes/VisualShaderNodeVectorFunc.d.ts +84 -0
  1244. package/typings/classes/VisualShaderNodeVectorLen.d.ts +6 -0
  1245. package/typings/classes/VisualShaderNodeVectorOp.d.ts +42 -0
  1246. package/typings/classes/VisualShaderNodeVectorRefract.d.ts +8 -0
  1247. package/typings/classes/VisualShaderNodeWorldPositionFromDepth.d.ts +8 -0
  1248. package/typings/classes/VoxelGI.d.ts +54 -0
  1249. package/typings/classes/VoxelGIData.d.ts +70 -0
  1250. package/typings/classes/WeakRef.d.ts +12 -0
  1251. package/typings/classes/Window.d.ts +790 -0
  1252. package/typings/classes/WorkerThreadPool.d.ts +55 -0
  1253. package/typings/classes/World2D.d.ts +24 -0
  1254. package/typings/classes/World3D.d.ts +32 -0
  1255. package/typings/classes/WorldBoundaryShape2D.d.ts +19 -0
  1256. package/typings/classes/WorldBoundaryShape3D.d.ts +10 -0
  1257. package/typings/classes/WorldEnvironment.d.ts +22 -0
  1258. package/typings/classes/X509Certificate.d.ts +16 -0
  1259. package/typings/classes/XMLParser.d.ts +74 -0
  1260. package/typings/classes/XRAnchor3D.d.ts +12 -0
  1261. package/typings/classes/XRBodyModifier3D.d.ts +35 -0
  1262. package/typings/classes/XRBodyTracker.d.ts +218 -0
  1263. package/typings/classes/XRCamera3D.d.ts +7 -0
  1264. package/typings/classes/XRController3D.d.ts +39 -0
  1265. package/typings/classes/XRControllerTracker.d.ts +7 -0
  1266. package/typings/classes/XRFaceModifier3D.d.ts +14 -0
  1267. package/typings/classes/XRFaceTracker.d.ts +308 -0
  1268. package/typings/classes/XRHandModifier3D.d.ts +24 -0
  1269. package/typings/classes/XRHandTracker.d.ts +127 -0
  1270. package/typings/classes/XRInterface.d.ts +181 -0
  1271. package/typings/classes/XRInterfaceExtension.d.ts +94 -0
  1272. package/typings/classes/XRNode3D.d.ts +46 -0
  1273. package/typings/classes/XROrigin3D.d.ts +18 -0
  1274. package/typings/classes/XRPose.d.ts +55 -0
  1275. package/typings/classes/XRPositionalTracker.d.ts +64 -0
  1276. package/typings/classes/XRServer.d.ts +130 -0
  1277. package/typings/classes/XRTracker.d.ts +27 -0
  1278. package/typings/classes/XRVRS.d.ts +28 -0
  1279. package/typings/classes/_globals.d.ts +2243 -0
  1280. package/typings/classes/_number-ops.d.ts +19 -0
  1281. package/typings/classes/index.d.ts +915 -0
  1282. package/typings/globals/gd-helpers.d.ts +354 -0
  1283. package/typings/globals/globals.d.ts +511 -0
  1284. package/typings/godot-class-registry.json +61322 -0
  1285. package/typings/index.d.ts +3 -0
  1286. package/typings-overrides/_globals.d.ts +114 -0
  1287. package/typings-overrides/array.d.ts +54 -0
  1288. package/typings-overrides/callable-function.d.ts +92 -0
  1289. package/typings-overrides/class-db.d.ts +19 -0
  1290. package/typings-overrides/dictionary.d.ts +26 -0
  1291. package/typings-overrides/function.d.ts +29 -0
  1292. package/typings-overrides/godot-object.d.ts +32 -0
  1293. package/typings-overrides/node.d.ts +9 -0
  1294. package/typings-overrides/non-nullable.json +117 -0
  1295. package/typings-overrides/packed-scene.d.ts +7 -0
  1296. package/typings-overrides/project-settings.d.ts +73 -0
  1297. package/typings-overrides/property-tweener.d.ts +8 -0
  1298. package/typings-overrides/resource.d.ts +3 -0
  1299. package/typings-overrides/scene-tree.d.ts +54 -0
  1300. package/typings-overrides/signal.d.ts +10 -0
  1301. package/typings-overrides/tween.d.ts +18 -0
@@ -0,0 +1,2153 @@
1
+ // AUTO-GENERATED from Godot class documentation.
2
+ // Manual overrides applied from typings-overrides/*.d.ts
3
+
4
+ /** A server interface for low-level window management. */
5
+ declare interface DisplayServer extends GodotObject {
6
+ /**
7
+ * Creates a new, empty accessibility element resource.
8
+ * **Note:** An accessibility element is created and freed automatically for each {@link Node}. In general, this function should not be called manually.
9
+ */
10
+ accessibility_create_element(window_id: int, role: int): RID;
11
+ /**
12
+ * Creates a new, empty accessibility sub-element resource. Sub-elements can be used to provide accessibility information for objects which are not {@link Node}s, such as list items, table cells, or menu items. Sub-elements are freed automatically when the parent element is freed, or can be freed early using the {@link accessibility_free_element} method.
13
+ */
14
+ accessibility_create_sub_element(parent_rid: RID, role: int, insert_pos?: int): RID;
15
+ /**
16
+ * Creates a new, empty accessibility sub-element from the shaped text buffer. Sub-elements are freed automatically when the parent element is freed, or can be freed early using the {@link accessibility_free_element} method.
17
+ * If `is_last_line` is `true`, no trailing newline is appended to the text content. Set to `true` for the last line in multi-line text fields and for single-line text fields.
18
+ */
19
+ accessibility_create_sub_text_edit_elements(parent_rid: RID, shaped_text: RID, min_height: float, insert_pos?: int, is_last_line?: boolean): RID;
20
+ /** Returns the metadata of the accessibility element `id`. */
21
+ accessibility_element_get_meta(id: RID): unknown;
22
+ /** Sets the metadata of the accessibility element `id` to `meta`. */
23
+ accessibility_element_set_meta(id: RID, meta: unknown): void;
24
+ /**
25
+ * Frees the accessibility element `id` created by {@link accessibility_create_element}, {@link accessibility_create_sub_element}, or {@link accessibility_create_sub_text_edit_elements}.
26
+ */
27
+ accessibility_free_element(id: RID): void;
28
+ /** Returns the main accessibility element of the OS native window. */
29
+ accessibility_get_window_root(window_id: int): RID;
30
+ /** Returns `true` if `id` is a valid accessibility element. */
31
+ accessibility_has_element(id: RID): boolean;
32
+ /**
33
+ * Returns `1` if a screen reader, Braille display or other assistive app is active, `0` otherwise. Returns `-1` if status is unknown.
34
+ * **Note:** This method is implemented on Linux, macOS, and Windows.
35
+ * **Note:** Accessibility debugging tools, such as Accessibility Insights for Windows, Accessibility Inspector (macOS), or AT-SPI Browser (Linux/BSD), do not count as assistive apps and will not affect this value. To test your project with these tools, set {@link ProjectSettings.accessibility/general/accessibility_support} to `1`.
36
+ */
37
+ accessibility_screen_reader_active(): int;
38
+ /**
39
+ * Sets the window focused state for assistive apps.
40
+ * **Note:** This method is implemented on Linux, macOS, and Windows.
41
+ * **Note:** Advanced users only! {@link Window} objects call this method automatically.
42
+ */
43
+ accessibility_set_window_focused(window_id: int, focused: boolean): void;
44
+ /**
45
+ * Sets window outer (with decorations) and inner (without decorations) bounds for assistive apps.
46
+ * **Note:** This method is implemented on Linux, macOS, and Windows.
47
+ * **Note:** Advanced users only! {@link Window} objects call this method automatically.
48
+ */
49
+ accessibility_set_window_rect(window_id: int, rect_out: Rect2 | Rect2i, rect_in: Rect2 | Rect2i): void;
50
+ /**
51
+ * Returns `1` if a high-contrast user interface theme should be used, `0` otherwise. Returns `-1` if status is unknown.
52
+ * **Note:** This method is implemented on Linux (X11/Wayland, GNOME), macOS, and Windows.
53
+ */
54
+ accessibility_should_increase_contrast(): int;
55
+ /**
56
+ * Returns `1` if flashing, blinking, and other moving content that can cause seizures in users with photosensitive epilepsy should be disabled, `0` otherwise. Returns `-1` if status is unknown.
57
+ * **Note:** This method is implemented on macOS and Windows.
58
+ */
59
+ accessibility_should_reduce_animation(): int;
60
+ /**
61
+ * Returns `1` if background images, transparency, and other features that can reduce the contrast between the foreground and background should be disabled, `0` otherwise. Returns `-1` if status is unknown.
62
+ * **Note:** This method is implemented on macOS and Windows.
63
+ */
64
+ accessibility_should_reduce_transparency(): int;
65
+ /**
66
+ * Adds a callback for the accessibility action (action which can be performed by using a special screen reader command or buttons on the Braille display), and marks this action as supported. The action callback receives one {@link Variant} argument, which value depends on action type.
67
+ */
68
+ accessibility_update_add_action(id: RID, action: int, callable: Callable): void;
69
+ /**
70
+ * Adds a child accessibility element.
71
+ * **Note:** {@link Node} children and sub-elements are added to the child list automatically.
72
+ */
73
+ accessibility_update_add_child(id: RID, child_id: RID): void;
74
+ /**
75
+ * Adds support for a custom accessibility action. `action_id` is passed as an argument to the callback of {@link ACTION_CUSTOM} action.
76
+ */
77
+ accessibility_update_add_custom_action(id: RID, action_id: int, action_description: string | NodePath): void;
78
+ /** Adds an element that is controlled by this element. */
79
+ accessibility_update_add_related_controls(id: RID, related_id: RID): void;
80
+ /** Adds an element that describes this element. */
81
+ accessibility_update_add_related_described_by(id: RID, related_id: RID): void;
82
+ /** Adds an element that details this element. */
83
+ accessibility_update_add_related_details(id: RID, related_id: RID): void;
84
+ /** Adds an element that this element flow into. */
85
+ accessibility_update_add_related_flow_to(id: RID, related_id: RID): void;
86
+ /** Adds an element that labels this element. */
87
+ accessibility_update_add_related_labeled_by(id: RID, related_id: RID): void;
88
+ /**
89
+ * Adds an element that is part of the same radio group.
90
+ * **Note:** This method should be called on each element of the group, using all other elements as `related_id`.
91
+ */
92
+ accessibility_update_add_related_radio_group(id: RID, related_id: RID): void;
93
+ /** Adds an element that is an active descendant of this element. */
94
+ accessibility_update_set_active_descendant(id: RID, other_id: RID): void;
95
+ /** Sets element background color. */
96
+ accessibility_update_set_background_color(id: RID, color: Color): void;
97
+ /** Sets element bounding box, relative to the node position. */
98
+ accessibility_update_set_bounds(id: RID, p_rect: Rect2 | Rect2i): void;
99
+ /** Sets element checked state. */
100
+ accessibility_update_set_checked(id: RID, checekd: boolean): void;
101
+ /** Sets element class name. */
102
+ accessibility_update_set_classname(id: RID, classname: string | NodePath): void;
103
+ /** Sets element color value. */
104
+ accessibility_update_set_color_value(id: RID, color: Color): void;
105
+ /** Sets element accessibility description. */
106
+ accessibility_update_set_description(id: RID, description: string | NodePath): void;
107
+ /** Sets an element which contains an error message for this element. */
108
+ accessibility_update_set_error_message(id: RID, other_id: RID): void;
109
+ /** Sets element accessibility extra information added to the element name. */
110
+ accessibility_update_set_extra_info(id: RID, name: string | NodePath): void;
111
+ /** Sets element flag. */
112
+ accessibility_update_set_flag(id: RID, flag: int, value: boolean): void;
113
+ /** Sets currently focused element. */
114
+ accessibility_update_set_focus(id: RID): void;
115
+ /** Sets element foreground color. */
116
+ accessibility_update_set_foreground_color(id: RID, color: Color): void;
117
+ /** Sets target element for the link. */
118
+ accessibility_update_set_in_page_link_target(id: RID, other_id: RID): void;
119
+ /** Sets element text language. */
120
+ accessibility_update_set_language(id: RID, language: string | NodePath): void;
121
+ /** Sets number of items in the list. */
122
+ accessibility_update_set_list_item_count(id: RID, size: int): void;
123
+ /** Sets list/tree item expanded status. */
124
+ accessibility_update_set_list_item_expanded(id: RID, expanded: boolean): void;
125
+ /** Sets the position of the element in the list. */
126
+ accessibility_update_set_list_item_index(id: RID, index: int): void;
127
+ /** Sets the hierarchical level of the element in the list. */
128
+ accessibility_update_set_list_item_level(id: RID, level: int): void;
129
+ /** Sets list/tree item selected status. */
130
+ accessibility_update_set_list_item_selected(id: RID, selected: boolean): void;
131
+ /** Sets the orientation of the list elements. */
132
+ accessibility_update_set_list_orientation(id: RID, vertical: boolean): void;
133
+ /** Sets the priority of the live region updates. */
134
+ accessibility_update_set_live(id: RID, live: int): void;
135
+ /** Sets the element to be a member of the group. */
136
+ accessibility_update_set_member_of(id: RID, group_id: RID): void;
137
+ /** Sets element accessibility name. */
138
+ accessibility_update_set_name(id: RID, name: string | NodePath): void;
139
+ /** Sets next element on the line. */
140
+ accessibility_update_set_next_on_line(id: RID, other_id: RID): void;
141
+ /** Sets numeric value jump. */
142
+ accessibility_update_set_num_jump(id: RID, jump: float): void;
143
+ /** Sets numeric value range. */
144
+ accessibility_update_set_num_range(id: RID, min: float, max: float): void;
145
+ /** Sets numeric value step. */
146
+ accessibility_update_set_num_step(id: RID, step: float): void;
147
+ /** Sets numeric value. */
148
+ accessibility_update_set_num_value(id: RID, position: float): void;
149
+ /** Sets placeholder text. */
150
+ accessibility_update_set_placeholder(id: RID, placeholder: string | NodePath): void;
151
+ /** Sets popup type for popup buttons. */
152
+ accessibility_update_set_popup_type(id: RID, popup: int): void;
153
+ /** Sets previous element on the line. */
154
+ accessibility_update_set_previous_on_line(id: RID, other_id: RID): void;
155
+ /** Sets element accessibility role. */
156
+ accessibility_update_set_role(id: RID, role: int): void;
157
+ /** Sets element accessibility role description text. */
158
+ accessibility_update_set_role_description(id: RID, description: string | NodePath): void;
159
+ /** Sets scroll bar x position. */
160
+ accessibility_update_set_scroll_x(id: RID, position: float): void;
161
+ /** Sets scroll bar x range. */
162
+ accessibility_update_set_scroll_x_range(id: RID, min: float, max: float): void;
163
+ /** Sets scroll bar y position. */
164
+ accessibility_update_set_scroll_y(id: RID, position: float): void;
165
+ /** Sets scroll bar y range. */
166
+ accessibility_update_set_scroll_y_range(id: RID, min: float, max: float): void;
167
+ /** Sets the list of keyboard shortcuts used by element. */
168
+ accessibility_update_set_shortcut(id: RID, shortcut: string | NodePath): void;
169
+ /** Sets human-readable description of the current checked state. */
170
+ accessibility_update_set_state_description(id: RID, description: string | NodePath): void;
171
+ /** Sets cell position in the table. */
172
+ accessibility_update_set_table_cell_position(id: RID, row_index: int, column_index: int): void;
173
+ /** Sets cell row/column span. */
174
+ accessibility_update_set_table_cell_span(id: RID, row_span: int, column_span: int): void;
175
+ /** Sets number of columns in the table. */
176
+ accessibility_update_set_table_column_count(id: RID, count: int): void;
177
+ /** Sets position of the column. */
178
+ accessibility_update_set_table_column_index(id: RID, index: int): void;
179
+ /** Sets number of rows in the table. */
180
+ accessibility_update_set_table_row_count(id: RID, count: int): void;
181
+ /** Sets position of the row in the table. */
182
+ accessibility_update_set_table_row_index(id: RID, index: int): void;
183
+ /** Sets element text alignment. */
184
+ accessibility_update_set_text_align(id: RID, align: int): void;
185
+ /** Sets text underline/overline/strikethrough. */
186
+ accessibility_update_set_text_decorations(id: RID, underline: boolean, strikethrough: boolean, overline: boolean): void;
187
+ /** Sets text orientation. */
188
+ accessibility_update_set_text_orientation(id: RID, vertical: boolean): void;
189
+ /**
190
+ * Sets text selection to the text field. `text_start_id` and `text_end_id` should be elements created by {@link accessibility_create_sub_text_edit_elements}. Character offsets are relative to the corresponding element.
191
+ */
192
+ accessibility_update_set_text_selection(id: RID, text_start_id: RID, start_char: int, text_end_id: RID, end_char: int): void;
193
+ /** Sets tooltip text. */
194
+ accessibility_update_set_tooltip(id: RID, tooltip: string | NodePath): void;
195
+ /** Sets element 2D transform. */
196
+ accessibility_update_set_transform(id: RID, transform: Transform2D): void;
197
+ /** Sets link URL. */
198
+ accessibility_update_set_url(id: RID, url: string | NodePath): void;
199
+ /** Sets element text value. */
200
+ accessibility_update_set_value(id: RID, value: string | NodePath): void;
201
+ /**
202
+ * Plays the beep sound from the operative system, if possible. Because it comes from the OS, the beep sound will be audible even if the application is muted. It may also be disabled for the entire OS by the user.
203
+ * **Note:** This method is implemented on macOS, Linux (X11/Wayland), and Windows.
204
+ */
205
+ beep(): void;
206
+ /** Returns the user's clipboard as a string if possible. */
207
+ clipboard_get(): string;
208
+ /**
209
+ * Returns the user's clipboard as an image if possible.
210
+ * **Note:** This method uses the copied pixel data, e.g. from an image editing software or a web browser, not an image file copied from file explorer.
211
+ */
212
+ clipboard_get_image(): Image | null;
213
+ /**
214
+ * Returns the user's primary (https://unix.stackexchange.com/questions/139191/whats-the-difference-between-primary-selection-and-clipboard-buffer) clipboard as a string if possible. This is the clipboard that is set when the user selects text in any application, rather than when pressing `Ctrl + C`. The clipboard data can then be pasted by clicking the middle mouse button in any application that supports the primary clipboard mechanism.
215
+ * **Note:** This method is only implemented on Linux (X11/Wayland).
216
+ */
217
+ clipboard_get_primary(): string;
218
+ /** Returns `true` if there is a text content on the user's clipboard. */
219
+ clipboard_has(): boolean;
220
+ /** Returns `true` if there is an image content on the user's clipboard. */
221
+ clipboard_has_image(): boolean;
222
+ /** Sets the user's clipboard content to the given string. */
223
+ clipboard_set(clipboard: string | NodePath): void;
224
+ /**
225
+ * Sets the user's primary (https://unix.stackexchange.com/questions/139191/whats-the-difference-between-primary-selection-and-clipboard-buffer) clipboard content to the given string. This is the clipboard that is set when the user selects text in any application, rather than when pressing `Ctrl + C`. The clipboard data can then be pasted by clicking the middle mouse button in any application that supports the primary clipboard mechanism.
226
+ * **Note:** This method is only implemented on Linux (X11/Wayland).
227
+ */
228
+ clipboard_set_primary(clipboard_primary: string | NodePath): void;
229
+ /**
230
+ * Displays OS native color picker.
231
+ * Callbacks have the following arguments: `status: bool, color: Color`.
232
+ * **Note:** This method is implemented if the display server has the {@link FEATURE_NATIVE_COLOR_PICKER} feature.
233
+ * **Note:** This method is only implemented on Linux (X11/Wayland).
234
+ */
235
+ color_picker(callback: Callable): boolean;
236
+ /**
237
+ * Creates a new application status indicator with the specified icon, tooltip, and activation callback.
238
+ * `callback` should take two arguments: the pressed mouse button (one of the {@link MouseButton} constants) and the click position in screen coordinates (a {@link Vector2i}).
239
+ */
240
+ create_status_indicator(icon: Texture2D, tooltip: string | NodePath, callback: Callable): int;
241
+ /** Returns the default mouse cursor shape set by {@link cursor_set_shape}. */
242
+ cursor_get_shape(): int;
243
+ /**
244
+ * Sets a custom mouse cursor image for the given `shape`. This means the user's operating system and mouse cursor theme will no longer influence the mouse cursor's appearance.
245
+ * `cursor` can be either a {@link Texture2D} or an {@link Image}, and it should not be larger than 256×256 to display correctly. Optionally, `hotspot` can be set to offset the image's position relative to the click point. By default, `hotspot` is set to the top-left corner of the image. See also {@link cursor_set_shape}.
246
+ * **Note:** On Web, calling this method every frame can cause the cursor to flicker.
247
+ */
248
+ cursor_set_custom_image(cursor: Resource, shape: int, hotspot?: Vector2 | Vector2i): void;
249
+ /**
250
+ * Sets the default mouse cursor shape. The cursor's appearance will vary depending on the user's operating system and mouse cursor theme. See also {@link cursor_get_shape} and {@link cursor_set_custom_image}.
251
+ */
252
+ cursor_set_shape(shape: int): void;
253
+ /** Removes the application status indicator. */
254
+ delete_status_indicator(id: int): void;
255
+ /**
256
+ * Shows a text input dialog which uses the operating system's native look-and-feel. `callback` should accept a single {@link String} parameter which contains the text field's contents.
257
+ * **Note:** This method is implemented if the display server has the {@link FEATURE_NATIVE_DIALOG_INPUT} feature. Supported platforms include macOS, Windows, and Android.
258
+ */
259
+ dialog_input_text(title: string | NodePath, description: string | NodePath, existing_text: string | NodePath, callback: Callable): int;
260
+ /**
261
+ * Shows a text dialog which uses the operating system's native look-and-feel. `callback` should accept a single [int] parameter which corresponds to the index of the pressed button.
262
+ * **Note:** This method is implemented if the display server has the {@link FEATURE_NATIVE_DIALOG} feature. Supported platforms include macOS, Windows, and Android.
263
+ */
264
+ dialog_show(title: string | NodePath, description: string | NodePath, buttons: PackedStringArray | Array<unknown>, callback: Callable): int;
265
+ /**
266
+ * Allows the `process_id` PID to steal focus from this window. In other words, this disables the operating system's focus stealing protection for the specified PID.
267
+ * **Note:** This method is implemented only on Windows.
268
+ */
269
+ enable_for_stealing_focus(process_id: int): void;
270
+ /**
271
+ * Displays OS native dialog for selecting files or directories in the file system.
272
+ * Each filter string in the `filters` array should be formatted like this: `*.png,*.jpg,*.jpeg;Image Files;image/png,image/jpeg`. The description text of the filter is optional and can be omitted. It is recommended to set both file extension and MIME type. See also {@link FileDialog.filters}.
273
+ * Callbacks have the following arguments: `status: bool, selected_paths: PackedStringArray, selected_filter_index: int`. **On Android,** the third callback argument (`selected_filter_index`) is always `0`.
274
+ * **Note:** This method is implemented if the display server has the {@link FEATURE_NATIVE_DIALOG_FILE} feature. Supported platforms include Linux (X11/Wayland), Windows, macOS, and Android.
275
+ * **Note:** `current_directory` might be ignored.
276
+ * **Note:** Embedded file dialogs and Windows file dialogs support only file extensions, while Android, Linux, and macOS file dialogs also support MIME types.
277
+ * **Note:** On Android and Linux, `show_hidden` is ignored.
278
+ * **Note:** On Android and macOS, native file dialogs have no title.
279
+ * **Note:** On macOS, sandboxed apps will save security-scoped bookmarks to retain access to the opened folders across multiple sessions. Use {@link OS.get_granted_permissions} to get a list of saved bookmarks.
280
+ * **Note:** On Android, this method uses the Android Storage Access Framework (SAF).
281
+ * The file picker returns a URI instead of a filesystem path. This URI can be passed directly to {@link FileAccess} to perform read/write operations.
282
+ * When using {@link FILE_DIALOG_MODE_OPEN_DIR}, it returns a tree URI that grants full access to the selected directory. File operations inside this directory can be performed by passing a path on the form `treeUri#relative/path/to/file` to {@link FileAccess}.
283
+ * To avoid opening the file picker again after each app restart, you can take persistable URI permission as follows:
284
+ * The persistable URI permission remains valid across app restarts as long as the directory is not moved, renamed, or deleted.
285
+ */
286
+ file_dialog_show(title: string | NodePath, current_directory: string | NodePath, filename: string | NodePath, show_hidden: boolean, mode: int, filters: PackedStringArray | Array<unknown>, callback: Callable, parent_window_id?: int): int;
287
+ /**
288
+ * Displays OS native dialog for selecting files or directories in the file system with additional user selectable options.
289
+ * Each filter string in the `filters` array should be formatted like this: `*.png,*.jpg,*.jpeg;Image Files;image/png,image/jpeg`. The description text of the filter is optional and can be omitted. It is recommended to set both file extension and MIME type. See also {@link FileDialog.filters}.
290
+ * `options` is array of {@link Dictionary}s with the following keys:
291
+ * - `"name"` - option's name {@link String}.
292
+ * - `"values"` - {@link PackedStringArray} of values. If empty, boolean option (check box) is used.
293
+ * - `"default"` - default selected option index ([int]) or default boolean value ([bool]).
294
+ * Callbacks have the following arguments: `status: bool, selected_paths: PackedStringArray, selected_filter_index: int, selected_option: Dictionary`.
295
+ * **Note:** This method is implemented if the display server has the {@link FEATURE_NATIVE_DIALOG_FILE_EXTRA} feature. Supported platforms include Linux (X11/Wayland), Windows, and macOS.
296
+ * **Note:** `current_directory` might be ignored.
297
+ * **Note:** Embedded file dialogs and Windows file dialogs support only file extensions, while Android, Linux, and macOS file dialogs also support MIME types.
298
+ * **Note:** On Linux (X11), `show_hidden` is ignored.
299
+ * **Note:** On macOS, native file dialogs have no title.
300
+ * **Note:** On macOS, sandboxed apps will save security-scoped bookmarks to retain access to the opened folders across multiple sessions. Use {@link OS.get_granted_permissions} to get a list of saved bookmarks.
301
+ */
302
+ file_dialog_with_options_show(title: string | NodePath, current_directory: string | NodePath, root: string | NodePath, filename: string | NodePath, show_hidden: boolean, mode: int, filters: PackedStringArray | Array<unknown>, options: Array<Dictionary>, callback: Callable, parent_window_id?: int): int;
303
+ /**
304
+ * Forces window manager processing while ignoring all {@link InputEvent}s. See also {@link process_events}.
305
+ * **Note:** This method is implemented on Windows and macOS.
306
+ */
307
+ force_process_and_drop_events(): void;
308
+ /**
309
+ * Returns OS theme accent color. Returns `Color(0, 0, 0, 0)`, if accent color is unknown.
310
+ * **Note:** This method is implemented on macOS, Windows, Android, and Linux (X11/Wayland).
311
+ */
312
+ get_accent_color(): Color;
313
+ /**
314
+ * Returns the OS theme base color (default control background). Returns `Color(0, 0, 0, 0)` if the base color is unknown.
315
+ * **Note:** This method is implemented on macOS, Windows, and Android.
316
+ */
317
+ get_base_color(): Color;
318
+ /**
319
+ * Returns an {@link Array} of {@link Rect2}, each of which is the bounding rectangle for a display cutout or notch. These are non-functional areas on edge-to-edge screens used by cameras and sensors. Returns an empty array if the device does not have cutouts. See also {@link get_display_safe_area}.
320
+ * **Note:** Currently only implemented on Android. Other platforms will return an empty array even if they do have display cutouts or notches.
321
+ */
322
+ get_display_cutouts(): Array<Rect2>;
323
+ /**
324
+ * Returns the unobscured area of the display where interactive controls should be rendered. See also {@link get_display_cutouts}.
325
+ * **Note:** Currently only implemented on Android and iOS. On other platforms, `screen_get_usable_rect(SCREEN_OF_MAIN_WINDOW)` will be returned as a fallback. See also {@link screen_get_usable_rect}.
326
+ */
327
+ get_display_safe_area(): Rect2i;
328
+ /**
329
+ * Returns the index of the screen containing the window with the keyboard focus, or the primary screen if there's no focused window.
330
+ * **Note:** This method is implemented on Linux/X11, macOS, and Windows. On other platforms, this method always returns the primary screen.
331
+ */
332
+ get_keyboard_focus_screen(): int;
333
+ /**
334
+ * Returns the name of the {@link DisplayServer} currently in use. Most operating systems only have a single {@link DisplayServer}, but Linux has access to more than one {@link DisplayServer} (currently X11 and Wayland).
335
+ * The names of built-in display servers are `Windows`, `macOS`, `X11` (Linux), `Wayland` (Linux), `Android`, `iOS`, `web` (HTML5), and `headless` (when started with the `--headless` command line argument ($DOCS_URL/tutorials/editor/command_line_tutorial.html)).
336
+ */
337
+ get_name(): string;
338
+ /**
339
+ * Returns the index of the primary screen.
340
+ * **Note:** This method is implemented on Linux/X11, macOS, and Windows. On other platforms, this method always returns `0`.
341
+ */
342
+ get_primary_screen(): int;
343
+ /**
344
+ * Returns the number of displays available.
345
+ * **Note:** This method is implemented on Linux (X11 and Wayland), macOS, and Windows. On other platforms, this method always returns `1`.
346
+ */
347
+ get_screen_count(): int;
348
+ /**
349
+ * Returns the index of the screen that overlaps the most with the given rectangle. Returns {@link INVALID_SCREEN} if the rectangle doesn't overlap with any screen or has no area.
350
+ */
351
+ get_screen_from_rect(rect: Rect2 | Rect2i): int;
352
+ /**
353
+ * Returns `true` if positions of **OK** and **Cancel** buttons are swapped in dialogs. This is enabled by default on Windows to follow interface conventions, and be toggled by changing {@link ProjectSettings.gui/common/swap_cancel_ok}.
354
+ * **Note:** This doesn't affect native dialogs such as the ones spawned by {@link DisplayServer.dialog_show}.
355
+ */
356
+ get_swap_cancel_ok(): boolean;
357
+ /**
358
+ * Returns the ID of the window at the specified screen `position` (in pixels). On multi-monitor setups, the screen position is relative to the virtual desktop area. On multi-monitor setups with different screen resolutions or orientations, the origin may be located outside any display like this:
359
+ * [codeblock lang=text]
360
+ * * (0, 0) +-------+
361
+ * | |
362
+ * +-------------+ | |
363
+ * | | | |
364
+ * | | | |
365
+ * +-------------+ +-------+
366
+ * [/codeblock]
367
+ */
368
+ get_window_at_screen_position(position: Vector2i | Vector2): int;
369
+ /**
370
+ * Returns the list of Godot window IDs belonging to this process.
371
+ * **Note:** Native dialogs are not included in this list.
372
+ */
373
+ get_window_list(): PackedInt32Array;
374
+ /**
375
+ * Adds a new checkable item with text `label` to the global menu with ID `menu_root`.
376
+ * Returns index of the inserted item, it's not guaranteed to be the same as `index` value.
377
+ * An `accelerator` can optionally be defined, which is a keyboard shortcut that can be pressed to trigger the menu button even if it's not currently open. The `accelerator` is generally a combination of {@link KeyModifierMask}s and {@link Key}s using bitwise OR such as `KEY_MASK_CTRL | KEY_A` (`Ctrl + A`).
378
+ * **Note:** The `callback` and `key_callback` Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to `tag`.
379
+ * **Note:** This method is implemented only on macOS.
380
+ * **Supported system menu IDs:**
381
+ * [codeblock lang=text]
382
+ * "_main" - Main menu (macOS).
383
+ * "_dock" - Dock popup menu (macOS).
384
+ * "_apple" - Apple menu (macOS, custom items added before "Services").
385
+ * "_window" - Window menu (macOS, custom items added after "Bring All to Front").
386
+ * "_help" - Help menu (macOS).
387
+ * [/codeblock]
388
+ */
389
+ global_menu_add_check_item(menu_root: string | NodePath, label: string | NodePath, callback?: Callable, key_callback?: Callable, tag?: unknown, accelerator?: int, index?: int): int;
390
+ /**
391
+ * Adds a new checkable item with text `label` and icon `icon` to the global menu with ID `menu_root`.
392
+ * Returns index of the inserted item, it's not guaranteed to be the same as `index` value.
393
+ * An `accelerator` can optionally be defined, which is a keyboard shortcut that can be pressed to trigger the menu button even if it's not currently open. The `accelerator` is generally a combination of {@link KeyModifierMask}s and {@link Key}s using bitwise OR such as `KEY_MASK_CTRL | KEY_A` (`Ctrl + A`).
394
+ * **Note:** The `callback` and `key_callback` Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to `tag`.
395
+ * **Note:** This method is implemented only on macOS.
396
+ * **Supported system menu IDs:**
397
+ * [codeblock lang=text]
398
+ * "_main" - Main menu (macOS).
399
+ * "_dock" - Dock popup menu (macOS).
400
+ * "_apple" - Apple menu (macOS, custom items added before "Services").
401
+ * "_window" - Window menu (macOS, custom items added after "Bring All to Front").
402
+ * "_help" - Help menu (macOS).
403
+ * [/codeblock]
404
+ */
405
+ global_menu_add_icon_check_item(menu_root: string | NodePath, icon: Texture2D, label: string | NodePath, callback?: Callable, key_callback?: Callable, tag?: unknown, accelerator?: int, index?: int): int;
406
+ /**
407
+ * Adds a new item with text `label` and icon `icon` to the global menu with ID `menu_root`.
408
+ * Returns index of the inserted item, it's not guaranteed to be the same as `index` value.
409
+ * An `accelerator` can optionally be defined, which is a keyboard shortcut that can be pressed to trigger the menu button even if it's not currently open. The `accelerator` is generally a combination of {@link KeyModifierMask}s and {@link Key}s using bitwise OR such as `KEY_MASK_CTRL | KEY_A` (`Ctrl + A`).
410
+ * **Note:** The `callback` and `key_callback` Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to `tag`.
411
+ * **Note:** This method is implemented only on macOS.
412
+ * **Supported system menu IDs:**
413
+ * [codeblock lang=text]
414
+ * "_main" - Main menu (macOS).
415
+ * "_dock" - Dock popup menu (macOS).
416
+ * "_apple" - Apple menu (macOS, custom items added before "Services").
417
+ * "_window" - Window menu (macOS, custom items added after "Bring All to Front").
418
+ * "_help" - Help menu (macOS).
419
+ * [/codeblock]
420
+ */
421
+ global_menu_add_icon_item(menu_root: string | NodePath, icon: Texture2D, label: string | NodePath, callback?: Callable, key_callback?: Callable, tag?: unknown, accelerator?: int, index?: int): int;
422
+ /**
423
+ * Adds a new radio-checkable item with text `label` and icon `icon` to the global menu with ID `menu_root`.
424
+ * Returns index of the inserted item, it's not guaranteed to be the same as `index` value.
425
+ * An `accelerator` can optionally be defined, which is a keyboard shortcut that can be pressed to trigger the menu button even if it's not currently open. The `accelerator` is generally a combination of {@link KeyModifierMask}s and {@link Key}s using bitwise OR such as `KEY_MASK_CTRL | KEY_A` (`Ctrl + A`).
426
+ * **Note:** Radio-checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. See {@link global_menu_set_item_checked} for more info on how to control it.
427
+ * **Note:** The `callback` and `key_callback` Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to `tag`.
428
+ * **Note:** This method is implemented only on macOS.
429
+ * **Supported system menu IDs:**
430
+ * [codeblock lang=text]
431
+ * "_main" - Main menu (macOS).
432
+ * "_dock" - Dock popup menu (macOS).
433
+ * "_apple" - Apple menu (macOS, custom items added before "Services").
434
+ * "_window" - Window menu (macOS, custom items added after "Bring All to Front").
435
+ * "_help" - Help menu (macOS).
436
+ * [/codeblock]
437
+ */
438
+ global_menu_add_icon_radio_check_item(menu_root: string | NodePath, icon: Texture2D, label: string | NodePath, callback?: Callable, key_callback?: Callable, tag?: unknown, accelerator?: int, index?: int): int;
439
+ /**
440
+ * Adds a new item with text `label` to the global menu with ID `menu_root`.
441
+ * Returns index of the inserted item, it's not guaranteed to be the same as `index` value.
442
+ * An `accelerator` can optionally be defined, which is a keyboard shortcut that can be pressed to trigger the menu button even if it's not currently open. The `accelerator` is generally a combination of {@link KeyModifierMask}s and {@link Key}s using bitwise OR such as `KEY_MASK_CTRL | KEY_A` (`Ctrl + A`).
443
+ * **Note:** The `callback` and `key_callback` Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to `tag`.
444
+ * **Note:** This method is implemented only on macOS.
445
+ * **Supported system menu IDs:**
446
+ * [codeblock lang=text]
447
+ * "_main" - Main menu (macOS).
448
+ * "_dock" - Dock popup menu (macOS).
449
+ * "_apple" - Apple menu (macOS, custom items added before "Services").
450
+ * "_window" - Window menu (macOS, custom items added after "Bring All to Front").
451
+ * "_help" - Help menu (macOS).
452
+ * [/codeblock]
453
+ */
454
+ global_menu_add_item(menu_root: string | NodePath, label: string | NodePath, callback?: Callable, key_callback?: Callable, tag?: unknown, accelerator?: int, index?: int): int;
455
+ /**
456
+ * Adds a new item with text `label` to the global menu with ID `menu_root`.
457
+ * Contrarily to normal binary items, multistate items can have more than two states, as defined by `max_states`. Each press or activate of the item will increase the state by one. The default value is defined by `default_state`.
458
+ * Returns index of the inserted item, it's not guaranteed to be the same as `index` value.
459
+ * An `accelerator` can optionally be defined, which is a keyboard shortcut that can be pressed to trigger the menu button even if it's not currently open. The `accelerator` is generally a combination of {@link KeyModifierMask}s and {@link Key}s using bitwise OR such as `KEY_MASK_CTRL | KEY_A` (`Ctrl + A`).
460
+ * **Note:** By default, there's no indication of the current item state, it should be changed manually.
461
+ * **Note:** The `callback` and `key_callback` Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to `tag`.
462
+ * **Note:** This method is implemented only on macOS.
463
+ * **Supported system menu IDs:**
464
+ * [codeblock lang=text]
465
+ * "_main" - Main menu (macOS).
466
+ * "_dock" - Dock popup menu (macOS).
467
+ * "_apple" - Apple menu (macOS, custom items added before "Services").
468
+ * "_window" - Window menu (macOS, custom items added after "Bring All to Front").
469
+ * "_help" - Help menu (macOS).
470
+ * [/codeblock]
471
+ */
472
+ global_menu_add_multistate_item(menu_root: string | NodePath, label: string | NodePath, max_states: int, default_state: int, callback?: Callable, key_callback?: Callable, tag?: unknown, accelerator?: int, index?: int): int;
473
+ /**
474
+ * Adds a new radio-checkable item with text `label` to the global menu with ID `menu_root`.
475
+ * Returns index of the inserted item, it's not guaranteed to be the same as `index` value.
476
+ * An `accelerator` can optionally be defined, which is a keyboard shortcut that can be pressed to trigger the menu button even if it's not currently open. The `accelerator` is generally a combination of {@link KeyModifierMask}s and {@link Key}s using bitwise OR such as `KEY_MASK_CTRL | KEY_A` (`Ctrl + A`).
477
+ * **Note:** Radio-checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. See {@link global_menu_set_item_checked} for more info on how to control it.
478
+ * **Note:** The `callback` and `key_callback` Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to `tag`.
479
+ * **Note:** This method is implemented only on macOS.
480
+ * **Supported system menu IDs:**
481
+ * [codeblock lang=text]
482
+ * "_main" - Main menu (macOS).
483
+ * "_dock" - Dock popup menu (macOS).
484
+ * "_apple" - Apple menu (macOS, custom items added before "Services").
485
+ * "_window" - Window menu (macOS, custom items added after "Bring All to Front").
486
+ * "_help" - Help menu (macOS).
487
+ * [/codeblock]
488
+ */
489
+ global_menu_add_radio_check_item(menu_root: string | NodePath, label: string | NodePath, callback?: Callable, key_callback?: Callable, tag?: unknown, accelerator?: int, index?: int): int;
490
+ /**
491
+ * Adds a separator between items to the global menu with ID `menu_root`. Separators also occupy an index.
492
+ * Returns index of the inserted item, it's not guaranteed to be the same as `index` value.
493
+ * **Note:** This method is implemented only on macOS.
494
+ * **Supported system menu IDs:**
495
+ * [codeblock lang=text]
496
+ * "_main" - Main menu (macOS).
497
+ * "_dock" - Dock popup menu (macOS).
498
+ * "_apple" - Apple menu (macOS, custom items added before "Services").
499
+ * "_window" - Window menu (macOS, custom items added after "Bring All to Front").
500
+ * "_help" - Help menu (macOS).
501
+ * [/codeblock]
502
+ */
503
+ global_menu_add_separator(menu_root: string | NodePath, index?: int): int;
504
+ /**
505
+ * Adds an item that will act as a submenu of the global menu `menu_root`. The `submenu` argument is the ID of the global menu root that will be shown when the item is clicked.
506
+ * Returns index of the inserted item, it's not guaranteed to be the same as `index` value.
507
+ * **Note:** This method is implemented only on macOS.
508
+ * **Supported system menu IDs:**
509
+ * [codeblock lang=text]
510
+ * "_main" - Main menu (macOS).
511
+ * "_dock" - Dock popup menu (macOS).
512
+ * "_apple" - Apple menu (macOS, custom items added before "Services").
513
+ * "_window" - Window menu (macOS, custom items added after "Bring All to Front").
514
+ * "_help" - Help menu (macOS).
515
+ * [/codeblock]
516
+ */
517
+ global_menu_add_submenu_item(menu_root: string | NodePath, label: string | NodePath, submenu: string | NodePath, index?: int): int;
518
+ /**
519
+ * Removes all items from the global menu with ID `menu_root`.
520
+ * **Note:** This method is implemented only on macOS.
521
+ * **Supported system menu IDs:**
522
+ * [codeblock lang=text]
523
+ * "_main" - Main menu (macOS).
524
+ * "_dock" - Dock popup menu (macOS).
525
+ * "_apple" - Apple menu (macOS, custom items added before "Services").
526
+ * "_window" - Window menu (macOS, custom items added after "Bring All to Front").
527
+ * "_help" - Help menu (macOS).
528
+ * [/codeblock]
529
+ */
530
+ global_menu_clear(menu_root: string | NodePath): void;
531
+ /**
532
+ * Returns the accelerator of the item at index `idx`. Accelerators are special combinations of keys that activate the item, no matter which control is focused.
533
+ * **Note:** This method is implemented only on macOS.
534
+ */
535
+ global_menu_get_item_accelerator(menu_root: string | NodePath, idx: int): int;
536
+ /**
537
+ * Returns the callback of the item at index `idx`.
538
+ * **Note:** This method is implemented only on macOS.
539
+ */
540
+ global_menu_get_item_callback(menu_root: string | NodePath, idx: int): Callable;
541
+ /**
542
+ * Returns number of items in the global menu with ID `menu_root`.
543
+ * **Note:** This method is implemented only on macOS.
544
+ */
545
+ global_menu_get_item_count(menu_root: string | NodePath): int;
546
+ /**
547
+ * Returns the icon of the item at index `idx`.
548
+ * **Note:** This method is implemented only on macOS.
549
+ */
550
+ global_menu_get_item_icon(menu_root: string | NodePath, idx: int): Texture2D | null;
551
+ /**
552
+ * Returns the horizontal offset of the item at the given `idx`.
553
+ * **Note:** This method is implemented only on macOS.
554
+ */
555
+ global_menu_get_item_indentation_level(menu_root: string | NodePath, idx: int): int;
556
+ /**
557
+ * Returns the index of the item with the specified `tag`. Indices are automatically assigned to each item by the engine, and cannot be set manually.
558
+ * **Note:** This method is implemented only on macOS.
559
+ */
560
+ global_menu_get_item_index_from_tag(menu_root: string | NodePath, tag: unknown): int;
561
+ /**
562
+ * Returns the index of the item with the specified `text`. Indices are automatically assigned to each item by the engine, and cannot be set manually.
563
+ * **Note:** This method is implemented only on macOS.
564
+ */
565
+ global_menu_get_item_index_from_text(menu_root: string | NodePath, text: string | NodePath): int;
566
+ /**
567
+ * Returns the callback of the item accelerator at index `idx`.
568
+ * **Note:** This method is implemented only on macOS.
569
+ */
570
+ global_menu_get_item_key_callback(menu_root: string | NodePath, idx: int): Callable;
571
+ /**
572
+ * Returns number of states of a multistate item. See {@link global_menu_add_multistate_item} for details.
573
+ * **Note:** This method is implemented only on macOS.
574
+ */
575
+ global_menu_get_item_max_states(menu_root: string | NodePath, idx: int): int;
576
+ /**
577
+ * Returns the state of a multistate item. See {@link global_menu_add_multistate_item} for details.
578
+ * **Note:** This method is implemented only on macOS.
579
+ */
580
+ global_menu_get_item_state(menu_root: string | NodePath, idx: int): int;
581
+ /**
582
+ * Returns the submenu ID of the item at index `idx`. See {@link global_menu_add_submenu_item} for more info on how to add a submenu.
583
+ * **Note:** This method is implemented only on macOS.
584
+ */
585
+ global_menu_get_item_submenu(menu_root: string | NodePath, idx: int): string;
586
+ /**
587
+ * Returns the metadata of the specified item, which might be of any type. You can set it with {@link global_menu_set_item_tag}, which provides a simple way of assigning context data to items.
588
+ * **Note:** This method is implemented only on macOS.
589
+ */
590
+ global_menu_get_item_tag(menu_root: string | NodePath, idx: int): unknown;
591
+ /**
592
+ * Returns the text of the item at index `idx`.
593
+ * **Note:** This method is implemented only on macOS.
594
+ */
595
+ global_menu_get_item_text(menu_root: string | NodePath, idx: int): string;
596
+ /**
597
+ * Returns the tooltip associated with the specified index `idx`.
598
+ * **Note:** This method is implemented only on macOS.
599
+ */
600
+ global_menu_get_item_tooltip(menu_root: string | NodePath, idx: int): string;
601
+ /**
602
+ * Returns Dictionary of supported system menu IDs and names.
603
+ * **Note:** This method is implemented only on macOS.
604
+ */
605
+ global_menu_get_system_menu_roots(): Dictionary;
606
+ /**
607
+ * Returns `true` if the item at index `idx` is checkable in some way, i.e. if it has a checkbox or radio button.
608
+ * **Note:** This method is implemented only on macOS.
609
+ */
610
+ global_menu_is_item_checkable(menu_root: string | NodePath, idx: int): boolean;
611
+ /**
612
+ * Returns `true` if the item at index `idx` is checked.
613
+ * **Note:** This method is implemented only on macOS.
614
+ */
615
+ global_menu_is_item_checked(menu_root: string | NodePath, idx: int): boolean;
616
+ /**
617
+ * Returns `true` if the item at index `idx` is disabled. When it is disabled it can't be selected, or its action invoked.
618
+ * See {@link global_menu_set_item_disabled} for more info on how to disable an item.
619
+ * **Note:** This method is implemented only on macOS.
620
+ */
621
+ global_menu_is_item_disabled(menu_root: string | NodePath, idx: int): boolean;
622
+ /**
623
+ * Returns `true` if the item at index `idx` is hidden.
624
+ * See {@link global_menu_set_item_hidden} for more info on how to hide an item.
625
+ * **Note:** This method is implemented only on macOS.
626
+ */
627
+ global_menu_is_item_hidden(menu_root: string | NodePath, idx: int): boolean;
628
+ /**
629
+ * Returns `true` if the item at index `idx` has radio button-style checkability.
630
+ * **Note:** This is purely cosmetic; you must add the logic for checking/unchecking items in radio groups.
631
+ * **Note:** This method is implemented only on macOS.
632
+ */
633
+ global_menu_is_item_radio_checkable(menu_root: string | NodePath, idx: int): boolean;
634
+ /**
635
+ * Removes the item at index `idx` from the global menu `menu_root`.
636
+ * **Note:** The indices of items after the removed item will be shifted by one.
637
+ * **Note:** This method is implemented only on macOS.
638
+ */
639
+ global_menu_remove_item(menu_root: string | NodePath, idx: int): void;
640
+ /**
641
+ * Sets the accelerator of the item at index `idx`. `keycode` can be a single {@link Key}, or a combination of {@link KeyModifierMask}s and {@link Key}s using bitwise OR such as `KEY_MASK_CTRL | KEY_A` (`Ctrl + A`).
642
+ * **Note:** This method is implemented only on macOS.
643
+ */
644
+ global_menu_set_item_accelerator(menu_root: string | NodePath, idx: int, keycode: int): void;
645
+ /**
646
+ * Sets the callback of the item at index `idx`. Callback is emitted when an item is pressed.
647
+ * **Note:** The `callback` Callable needs to accept exactly one Variant parameter, the parameter passed to the Callable will be the value passed to the `tag` parameter when the menu item was created.
648
+ * **Note:** This method is implemented only on macOS.
649
+ */
650
+ global_menu_set_item_callback(menu_root: string | NodePath, idx: int, callback: Callable): void;
651
+ /**
652
+ * Sets whether the item at index `idx` has a checkbox. If `false`, sets the type of the item to plain text.
653
+ * **Note:** This method is implemented only on macOS.
654
+ */
655
+ global_menu_set_item_checkable(menu_root: string | NodePath, idx: int, checkable: boolean): void;
656
+ /**
657
+ * Sets the checkstate status of the item at index `idx`.
658
+ * **Note:** This method is implemented only on macOS.
659
+ */
660
+ global_menu_set_item_checked(menu_root: string | NodePath, idx: int, checked: boolean): void;
661
+ /**
662
+ * Enables/disables the item at index `idx`. When it is disabled, it can't be selected and its action can't be invoked.
663
+ * **Note:** This method is implemented only on macOS.
664
+ */
665
+ global_menu_set_item_disabled(menu_root: string | NodePath, idx: int, disabled: boolean): void;
666
+ /**
667
+ * Hides/shows the item at index `idx`. When it is hidden, an item does not appear in a menu and its action cannot be invoked.
668
+ * **Note:** This method is implemented only on macOS.
669
+ */
670
+ global_menu_set_item_hidden(menu_root: string | NodePath, idx: int, hidden: boolean): void;
671
+ /**
672
+ * Sets the callback of the item at index `idx`. The callback is emitted when an item is hovered.
673
+ * **Note:** The `callback` Callable needs to accept exactly one Variant parameter, the parameter passed to the Callable will be the value passed to the `tag` parameter when the menu item was created.
674
+ * **Note:** This method is implemented only on macOS.
675
+ */
676
+ global_menu_set_item_hover_callbacks(menu_root: string | NodePath, idx: int, callback: Callable): void;
677
+ /**
678
+ * Replaces the {@link Texture2D} icon of the specified `idx`.
679
+ * **Note:** This method is implemented only on macOS.
680
+ * **Note:** This method is not supported by macOS "_dock" menu items.
681
+ */
682
+ global_menu_set_item_icon(menu_root: string | NodePath, idx: int, icon: Texture2D): void;
683
+ /**
684
+ * Sets the horizontal offset of the item at the given `idx`.
685
+ * **Note:** This method is implemented only on macOS.
686
+ */
687
+ global_menu_set_item_indentation_level(menu_root: string | NodePath, idx: int, level: int): void;
688
+ /**
689
+ * Sets the callback of the item at index `idx`. Callback is emitted when its accelerator is activated.
690
+ * **Note:** The `key_callback` Callable needs to accept exactly one Variant parameter, the parameter passed to the Callable will be the value passed to the `tag` parameter when the menu item was created.
691
+ * **Note:** This method is implemented only on macOS.
692
+ */
693
+ global_menu_set_item_key_callback(menu_root: string | NodePath, idx: int, key_callback: Callable): void;
694
+ /**
695
+ * Sets number of state of a multistate item. See {@link global_menu_add_multistate_item} for details.
696
+ * **Note:** This method is implemented only on macOS.
697
+ */
698
+ global_menu_set_item_max_states(menu_root: string | NodePath, idx: int, max_states: int): void;
699
+ /**
700
+ * Sets the type of the item at the specified index `idx` to radio button. If `false`, sets the type of the item to plain text.
701
+ * **Note:** This is purely cosmetic; you must add the logic for checking/unchecking items in radio groups.
702
+ * **Note:** This method is implemented only on macOS.
703
+ */
704
+ global_menu_set_item_radio_checkable(menu_root: string | NodePath, idx: int, checkable: boolean): void;
705
+ /**
706
+ * Sets the state of a multistate item. See {@link global_menu_add_multistate_item} for details.
707
+ * **Note:** This method is implemented only on macOS.
708
+ */
709
+ global_menu_set_item_state(menu_root: string | NodePath, idx: int, state: int): void;
710
+ /**
711
+ * Sets the submenu of the item at index `idx`. The submenu is the ID of a global menu root that would be shown when the item is clicked.
712
+ * **Note:** This method is implemented only on macOS.
713
+ */
714
+ global_menu_set_item_submenu(menu_root: string | NodePath, idx: int, submenu: string | NodePath): void;
715
+ /**
716
+ * Sets the metadata of an item, which may be of any type. You can later get it with {@link global_menu_get_item_tag}, which provides a simple way of assigning context data to items.
717
+ * **Note:** This method is implemented only on macOS.
718
+ */
719
+ global_menu_set_item_tag(menu_root: string | NodePath, idx: int, tag: unknown): void;
720
+ /**
721
+ * Sets the text of the item at index `idx`.
722
+ * **Note:** This method is implemented only on macOS.
723
+ */
724
+ global_menu_set_item_text(menu_root: string | NodePath, idx: int, text: string | NodePath): void;
725
+ /**
726
+ * Sets the {@link String} tooltip of the item at the specified index `idx`.
727
+ * **Note:** This method is implemented only on macOS.
728
+ */
729
+ global_menu_set_item_tooltip(menu_root: string | NodePath, idx: int, tooltip: string | NodePath): void;
730
+ /**
731
+ * Registers callables to emit when the menu is respectively about to show or closed. Callback methods should have zero arguments.
732
+ */
733
+ global_menu_set_popup_callbacks(menu_root: string | NodePath, open_callback: Callable, close_callback: Callable): void;
734
+ /**
735
+ * Returns `true` if any additional outputs have been registered via {@link register_additional_output}.
736
+ */
737
+ has_additional_outputs(): boolean;
738
+ /**
739
+ * Returns `true` if the specified `feature` is supported by the current {@link DisplayServer}, `false` otherwise.
740
+ */
741
+ has_feature(feature: int): boolean;
742
+ /**
743
+ * Returns `true` if a hardware keyboard is connected.
744
+ * **Note:** This method is implemented on Android and iOS. On other platforms, this method always returns `true`.
745
+ */
746
+ has_hardware_keyboard(): boolean;
747
+ /**
748
+ * Sets native help system search callbacks.
749
+ * `search_callback` has the following arguments: `String search_string, int result_limit` and return a {@link Dictionary} with "key, display name" pairs for the search results. Called when the user enters search terms in the `Help` menu.
750
+ * `action_callback` has the following arguments: `String key`. Called when the user selects a search result in the `Help` menu.
751
+ * **Note:** This method is implemented only on macOS.
752
+ */
753
+ help_set_search_callbacks(search_callback: Callable, action_callback: Callable): void;
754
+ /**
755
+ * Returns the text selection in the Input Method Editor (https://en.wikipedia.org/wiki/Input_method) composition string, with the {@link Vector2i}'s `x` component being the caret position and `y` being the length of the selection.
756
+ * **Note:** This method is implemented only on macOS.
757
+ */
758
+ ime_get_selection(): Vector2i;
759
+ /**
760
+ * Returns the composition string contained within the Input Method Editor (https://en.wikipedia.org/wiki/Input_method) window.
761
+ * **Note:** This method is implemented only on macOS.
762
+ */
763
+ ime_get_text(): string;
764
+ /**
765
+ * Returns `true` if OS is using dark mode.
766
+ * **Note:** This method is implemented on Android, iOS, macOS, Windows, and Linux (X11/Wayland).
767
+ */
768
+ is_dark_mode(): boolean;
769
+ /**
770
+ * Returns `true` if OS supports dark mode.
771
+ * **Note:** This method is implemented on Android, iOS, macOS, Windows, and Linux (X11/Wayland).
772
+ */
773
+ is_dark_mode_supported(): boolean;
774
+ /**
775
+ * Returns `true` if the application is in picture-in-picture mode.
776
+ * **Note:** This method is implemented on Android.
777
+ */
778
+ is_in_pip_mode(window_id?: int): boolean;
779
+ /**
780
+ * Returns `true` if touch events are available (Android or iOS), the capability is detected on the Web platform or if {@link ProjectSettings.input_devices/pointing/emulate_touch_from_mouse} is `true`.
781
+ */
782
+ is_touchscreen_available(): boolean;
783
+ /**
784
+ * Returns `true` if the window background can be made transparent. This method returns `false` if {@link ProjectSettings.display/window/per_pixel_transparency/allowed} is set to `false`, or if transparency is not supported by the renderer or OS compositor.
785
+ */
786
+ is_window_transparency_available(): boolean;
787
+ /**
788
+ * Returns active keyboard layout index.
789
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
790
+ */
791
+ keyboard_get_current_layout(): int;
792
+ /**
793
+ * Converts a physical (US QWERTY) `keycode` to one in the active keyboard layout.
794
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
795
+ */
796
+ keyboard_get_keycode_from_physical(keycode: int): int;
797
+ /**
798
+ * Converts a physical (US QWERTY) `keycode` to localized label printed on the key in the active keyboard layout.
799
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
800
+ */
801
+ keyboard_get_label_from_physical(keycode: int): int;
802
+ /**
803
+ * Returns the number of keyboard layouts.
804
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
805
+ */
806
+ keyboard_get_layout_count(): int;
807
+ /**
808
+ * Returns the ISO-639/BCP-47 language code of the keyboard layout at position `index`.
809
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
810
+ */
811
+ keyboard_get_layout_language(index: int): string;
812
+ /**
813
+ * Returns the localized name of the keyboard layout at position `index`.
814
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
815
+ */
816
+ keyboard_get_layout_name(index: int): string;
817
+ /**
818
+ * Sets the active keyboard layout.
819
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
820
+ */
821
+ keyboard_set_current_layout(index: int): void;
822
+ /**
823
+ * Returns the current state of mouse buttons (whether each button is pressed) as a bitmask. If multiple mouse buttons are pressed at the same time, the bits are added together. Equivalent to {@link Input.get_mouse_button_mask}.
824
+ */
825
+ mouse_get_button_state(): int;
826
+ /** Returns the current mouse mode. See also {@link mouse_set_mode}. */
827
+ mouse_get_mode(): int;
828
+ /** Returns the mouse cursor's current position in screen coordinates. */
829
+ mouse_get_position(): Vector2i;
830
+ /** Sets the current mouse mode. See also {@link mouse_get_mode}. */
831
+ mouse_set_mode(mouse_mode: int): void;
832
+ /**
833
+ * Enters picture-in-picture mode.
834
+ * **Note:** This method is implemented on Android.
835
+ */
836
+ pip_mode_enter(window_id?: int): void;
837
+ /**
838
+ * Specifies the aspect ratio for picture-in-picture mode.
839
+ * **Note:** This method is implemented on Android.
840
+ */
841
+ pip_mode_set_aspect_ratio(numerator: int, denominator: int, window_id?: int): void;
842
+ /**
843
+ * Specifies whether picture-in-picture mode should be entered automatically when the application goes in the background.
844
+ * **Note:** This method is implemented on Android.
845
+ */
846
+ pip_mode_set_auto_enter_on_background(auto_enter_on_background: boolean, window_id?: int): void;
847
+ /**
848
+ * Perform window manager processing, including input flushing. See also {@link force_process_and_drop_events}, {@link Input.flush_buffered_events} and {@link Input.use_accumulated_input}.
849
+ */
850
+ process_events(): void;
851
+ /**
852
+ * Registers an {@link Object} which represents an additional output that will be rendered too, beyond normal windows. The {@link Object} is only used as an identifier, which can be later passed to {@link unregister_additional_output}.
853
+ * This can be used to prevent Godot from skipping rendering when no normal windows are visible.
854
+ */
855
+ register_additional_output(object: GodotObject): void;
856
+ /**
857
+ * Returns the dots per inch density of the specified screen. Returns platform specific default value if `screen` is invalid.
858
+ * **Note:** One of the following constants can be used as `screen`: {@link SCREEN_OF_MAIN_WINDOW}, {@link SCREEN_PRIMARY}, {@link SCREEN_WITH_MOUSE_FOCUS}, or {@link SCREEN_WITH_KEYBOARD_FOCUS}.
859
+ * **Note:** On macOS, returned value is inaccurate if fractional display scaling mode is used.
860
+ * **Note:** On Android devices, the actual screen densities are grouped into six generalized densities:
861
+ * [codeblock lang=text]
862
+ * ldpi - 120 dpi
863
+ * mdpi - 160 dpi
864
+ * hdpi - 240 dpi
865
+ * xhdpi - 320 dpi
866
+ * xxhdpi - 480 dpi
867
+ * xxxhdpi - 640 dpi
868
+ * [/codeblock]
869
+ * **Note:** This method is implemented on Android, iOS, Linux (X11/Wayland), macOS, Web, and Windows. On other platforms, this method always returns `72`.
870
+ */
871
+ screen_get_dpi(screen?: int): int;
872
+ /**
873
+ * Returns a screenshot of the `screen`. Returns `null` if `screen` is invalid or the {@link DisplayServer} fails to capture screenshot.
874
+ * **Note:** One of the following constants can be used as `screen`: {@link SCREEN_OF_MAIN_WINDOW}, {@link SCREEN_PRIMARY}, {@link SCREEN_WITH_MOUSE_FOCUS}, or {@link SCREEN_WITH_KEYBOARD_FOCUS}.
875
+ * **Note:** This method is implemented on Linux (X11, excluding XWayland), macOS, and Windows. On other platforms, this method always returns `null`.
876
+ * **Note:** On macOS, this method requires the "Screen Recording" permission. If permission is not granted, this method returns a screenshot that will not include other application windows or OS elements not related to the application.
877
+ */
878
+ screen_get_image(screen?: int): Image | null;
879
+ /**
880
+ * Returns a screenshot of the screen region defined by `rect`. Returns `null` if `rect` is outside screen bounds or the {@link DisplayServer} fails to capture screenshot.
881
+ * **Note:** This method is implemented on macOS and Windows. On other platforms, this method always returns `null`.
882
+ * **Note:** On macOS, this method requires the "Screen Recording" permission. If permission is not granted, this method returns a screenshot that will not include other application windows or OS elements not related to the application.
883
+ */
884
+ screen_get_image_rect(rect: Rect2i | Rect2): Image | null;
885
+ /**
886
+ * Returns the greatest scale factor of all screens.
887
+ * **Note:** On macOS returned value is `2.0` if there is at least one hiDPI (Retina) screen in the system, and `1.0` in all other cases.
888
+ * **Note:** This method is implemented only on macOS.
889
+ */
890
+ screen_get_max_scale(): float;
891
+ /**
892
+ * Returns the `screen`'s current orientation. See also {@link screen_set_orientation}. Returns {@link SCREEN_LANDSCAPE} if `screen` is invalid.
893
+ * **Note:** One of the following constants can be used as `screen`: {@link SCREEN_OF_MAIN_WINDOW}, {@link SCREEN_PRIMARY}, {@link SCREEN_WITH_MOUSE_FOCUS}, or {@link SCREEN_WITH_KEYBOARD_FOCUS}.
894
+ * **Note:** This method is implemented on Android and iOS. On other platforms, this method always returns {@link SCREEN_LANDSCAPE}.
895
+ */
896
+ screen_get_orientation(screen?: int): int;
897
+ /**
898
+ * Returns the color of the pixel at the given screen `position`. On multi-monitor setups, the screen position is relative to the virtual desktop area.
899
+ * **Note:** This method is implemented on Linux (X11, excluding XWayland), macOS, and Windows. On other platforms, this method always returns `Color(0, 0, 0, 1)`.
900
+ * **Note:** On macOS, this method requires the "Screen Recording" permission. If permission is not granted, this method returns a color from a screenshot that will not include other application windows or OS elements not related to the application.
901
+ */
902
+ screen_get_pixel(position: Vector2i | Vector2): Color;
903
+ /**
904
+ * Returns the screen's top-left corner position in pixels. Returns {@link Vector2i.ZERO} if `screen` is invalid. On multi-monitor setups, the screen position is relative to the virtual desktop area. On multi-monitor setups with different screen resolutions or orientations, the origin might be located outside any display like this:
905
+ * [codeblock lang=text]
906
+ * * (0, 0) +-------+
907
+ * | |
908
+ * +-------------+ | |
909
+ * | | | |
910
+ * | | | |
911
+ * +-------------+ +-------+
912
+ * [/codeblock]
913
+ * See also {@link screen_get_size}.
914
+ * **Note:** One of the following constants can be used as `screen`: {@link SCREEN_OF_MAIN_WINDOW}, {@link SCREEN_PRIMARY}, {@link SCREEN_WITH_MOUSE_FOCUS}, or {@link SCREEN_WITH_KEYBOARD_FOCUS}.
915
+ */
916
+ screen_get_position(screen?: int): Vector2i;
917
+ /**
918
+ * Returns the current refresh rate of the specified screen. When V-Sync is enabled, this returns the maximum framerate the project can effectively reach. Returns `-1.0` if `screen` is invalid or the {@link DisplayServer} fails to find the refresh rate for the specified screen.
919
+ * To fallback to a default refresh rate if the method fails, try:
920
+ * **Note:** One of the following constants can be used as `screen`: {@link SCREEN_OF_MAIN_WINDOW}, {@link SCREEN_PRIMARY}, {@link SCREEN_WITH_MOUSE_FOCUS}, or {@link SCREEN_WITH_KEYBOARD_FOCUS}.
921
+ * **Note:** This method is implemented on Android, iOS, macOS, Linux (X11 and Wayland), and Windows. On other platforms, this method always returns `-1.0`.
922
+ */
923
+ screen_get_refresh_rate(screen?: int): float;
924
+ /**
925
+ * Returns the scale factor of the specified screen by index. Returns `1.0` if `screen` is invalid.
926
+ * **Note:** One of the following constants can be used as `screen`: {@link SCREEN_OF_MAIN_WINDOW}, {@link SCREEN_PRIMARY}, {@link SCREEN_WITH_MOUSE_FOCUS}, or {@link SCREEN_WITH_KEYBOARD_FOCUS}.
927
+ * **Note:** On macOS, the returned value is `2.0` for hiDPI (Retina) screens, and `1.0` for all other cases.
928
+ * **Note:** On Linux (Wayland), the returned value is accurate only when `screen` is {@link SCREEN_OF_MAIN_WINDOW}. Due to API limitations, passing a direct index will return a rounded-up integer, if the screen has a fractional scale (e.g. `1.25` would get rounded up to `2.0`).
929
+ * **Note:** This method is implemented on Android, iOS, Web, macOS, and Linux (Wayland). On other platforms, this method always returns `1.0`.
930
+ */
931
+ screen_get_scale(screen?: int): float;
932
+ /**
933
+ * Returns the screen's size in pixels. See also {@link screen_get_position} and {@link screen_get_usable_rect}. Returns {@link Vector2i.ZERO} if `screen` is invalid.
934
+ * **Note:** One of the following constants can be used as `screen`: {@link SCREEN_OF_MAIN_WINDOW}, {@link SCREEN_PRIMARY}, {@link SCREEN_WITH_MOUSE_FOCUS}, or {@link SCREEN_WITH_KEYBOARD_FOCUS}.
935
+ */
936
+ screen_get_size(screen?: int): Vector2i;
937
+ /**
938
+ * Returns the portion of the screen that is not obstructed by a status bar in pixels. See also {@link screen_get_size}.
939
+ * **Note:** One of the following constants can be used as `screen`: {@link SCREEN_OF_MAIN_WINDOW}, {@link SCREEN_PRIMARY}, {@link SCREEN_WITH_MOUSE_FOCUS}, or {@link SCREEN_WITH_KEYBOARD_FOCUS}.
940
+ * **Note:** This method is implemented on Linux/X11, macOS, and Windows. On other platforms, this method always returns `Rect2i(screen_get_position(screen), screen_get_size(screen))`.
941
+ */
942
+ screen_get_usable_rect(screen?: int): Rect2i;
943
+ /**
944
+ * Returns `true` if the screen should never be turned off by the operating system's power-saving measures. See also {@link screen_set_keep_on}.
945
+ */
946
+ screen_is_kept_on(): boolean;
947
+ /**
948
+ * Sets whether the screen should never be turned off by the operating system's power-saving measures. See also {@link screen_is_kept_on}.
949
+ */
950
+ screen_set_keep_on(enable: boolean): void;
951
+ /**
952
+ * Sets the `screen`'s `orientation`. See also {@link screen_get_orientation}.
953
+ * **Note:** One of the following constants can be used as `screen`: {@link SCREEN_OF_MAIN_WINDOW}, {@link SCREEN_PRIMARY}, {@link SCREEN_WITH_MOUSE_FOCUS}, or {@link SCREEN_WITH_KEYBOARD_FOCUS}.
954
+ * **Note:** This method is implemented on Android and iOS.
955
+ * **Note:** On iOS, this method has no effect if {@link ProjectSettings.display/window/handheld/orientation} is not set to {@link SCREEN_SENSOR}.
956
+ */
957
+ screen_set_orientation(orientation: int, screen?: int): void;
958
+ /**
959
+ * Sets the callback that should be called when a hardware keyboard is connected or disconnected. `callable` should accept a single [bool] argument indicating whether the keyboard has been connected (`true`) or disconnected (`false`).
960
+ * **Note:** This method is only implemented on Android.
961
+ */
962
+ set_hardware_keyboard_connection_change_callback(callable: Callable): void;
963
+ /**
964
+ * Sets the window icon (usually displayed in the top-left corner) with an {@link Image}. To use icons in the operating system's native format, use {@link set_native_icon} instead.
965
+ * **Note:** Requires support for {@link FEATURE_ICON}.
966
+ */
967
+ set_icon(image: Image): void;
968
+ /**
969
+ * Sets the window icon (usually displayed in the top-left corner) in the operating system's *native* format. The file at `filename` must be in `.ico` format on Windows or `.icns` on macOS. By using specially crafted `.ico` or `.icns` icons, {@link set_native_icon} allows specifying different icons depending on the size the icon is displayed at. This size is determined by the operating system and user preferences (including the display scale factor). To use icons in other formats, use {@link set_icon} instead.
970
+ * **Note:** Requires support for {@link FEATURE_NATIVE_ICON}.
971
+ */
972
+ set_native_icon(filename: string | NodePath): void;
973
+ /**
974
+ * Sets the callback that should be called when the system's theme settings are changed. `callable` should accept zero arguments.
975
+ * **Note:** This method is implemented on Android, iOS, macOS, Windows, and Linux (X11/Wayland).
976
+ */
977
+ set_system_theme_change_callback(callable: Callable): void;
978
+ /**
979
+ * Opens system emoji and symbol picker.
980
+ * **Note:** This method is implemented on macOS and Windows.
981
+ */
982
+ show_emoji_and_symbol_picker(): void;
983
+ /**
984
+ * Returns the rectangle for the given status indicator `id` in screen coordinates. If the status indicator is not visible, returns an empty {@link Rect2}.
985
+ * **Note:** This method is implemented on macOS and Windows.
986
+ */
987
+ status_indicator_get_rect(id: int): Rect2;
988
+ /**
989
+ * Sets the application status indicator activation callback. `callback` should take two arguments: [int] mouse button index (one of {@link MouseButton} values) and {@link Vector2i} click position in screen coordinates.
990
+ * **Note:** This method is implemented on macOS and Windows.
991
+ */
992
+ status_indicator_set_callback(id: int, callback: Callable): void;
993
+ /**
994
+ * Sets the application status indicator icon.
995
+ * **Note:** This method is implemented on macOS and Windows.
996
+ */
997
+ status_indicator_set_icon(id: int, icon: Texture2D): void;
998
+ /**
999
+ * Sets the application status indicator native popup menu.
1000
+ * **Note:** On macOS, the menu is activated by any mouse button. Its activation callback is *not* triggered.
1001
+ * **Note:** On Windows, the menu is activated by the right mouse button, selecting the status icon and pressing `Shift + F10`, or the applications key. The menu's activation callback for the other mouse buttons is still triggered.
1002
+ * **Note:** Native popup is only supported if {@link NativeMenu} supports the {@link NativeMenu.FEATURE_POPUP_MENU} feature.
1003
+ */
1004
+ status_indicator_set_menu(id: int, menu_rid: RID): void;
1005
+ /**
1006
+ * Sets the application status indicator tooltip.
1007
+ * **Note:** This method is implemented on macOS and Windows.
1008
+ */
1009
+ status_indicator_set_tooltip(id: int, tooltip: string | NodePath): void;
1010
+ /**
1011
+ * Returns current active tablet driver name.
1012
+ * **Note:** This method is implemented only on Windows.
1013
+ */
1014
+ tablet_get_current_driver(): string;
1015
+ /**
1016
+ * Returns the total number of available tablet drivers.
1017
+ * **Note:** This method is implemented only on Windows.
1018
+ */
1019
+ tablet_get_driver_count(): int;
1020
+ /**
1021
+ * Returns the tablet driver name for the given index.
1022
+ * **Note:** This method is implemented only on Windows.
1023
+ */
1024
+ tablet_get_driver_name(idx: int): string;
1025
+ /**
1026
+ * Set active tablet driver name.
1027
+ * Supported drivers:
1028
+ * - `winink`: Windows Ink API, default.
1029
+ * - `wintab`: Wacom Wintab API (compatible device driver required).
1030
+ * - `dummy`: Dummy driver, tablet input is disabled.
1031
+ * **Note:** This method is implemented only on Windows.
1032
+ */
1033
+ tablet_set_current_driver(name: string | NodePath): void;
1034
+ /**
1035
+ * Returns an {@link Array} of voice information dictionaries.
1036
+ * Each {@link Dictionary} contains two {@link String} entries:
1037
+ * - `name` is voice name.
1038
+ * - `id` is voice identifier.
1039
+ * - `language` is language code in `lang_Variant` format. The `lang` part is a 2 or 3-letter code based on the ISO-639 standard, in lowercase. The [code skip-lint]Variant[/code] part is an engine-dependent string describing country, region or/and dialect.
1040
+ * Note that Godot depends on system libraries for text-to-speech functionality. These libraries are installed by default on Windows and macOS, but not on all Linux distributions. If they are not present, this method will return an empty list. This applies to both Godot users on Linux, as well as end-users on Linux running Godot games that use text-to-speech.
1041
+ * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
1042
+ */
1043
+ tts_get_voices(): Array<Dictionary>;
1044
+ /**
1045
+ * Returns a {@link PackedStringArray} of voice identifiers for the `language`.
1046
+ * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
1047
+ */
1048
+ tts_get_voices_for_language(language: string | NodePath): PackedStringArray;
1049
+ /**
1050
+ * Returns `true` if the synthesizer is in a paused state.
1051
+ * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
1052
+ */
1053
+ tts_is_paused(): boolean;
1054
+ /**
1055
+ * Returns `true` if the synthesizer is generating speech, or have utterance waiting in the queue.
1056
+ * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
1057
+ */
1058
+ tts_is_speaking(): boolean;
1059
+ /**
1060
+ * Puts the synthesizer into a paused state.
1061
+ * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
1062
+ */
1063
+ tts_pause(): void;
1064
+ /**
1065
+ * Resumes the synthesizer if it was paused.
1066
+ * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
1067
+ */
1068
+ tts_resume(): void;
1069
+ /**
1070
+ * Adds a callback, which is called when the utterance has started, finished, canceled or reached a text boundary.
1071
+ * - {@link TTS_UTTERANCE_STARTED}, {@link TTS_UTTERANCE_ENDED}, and {@link TTS_UTTERANCE_CANCELED} callable's method should take one [int] parameter, the utterance ID.
1072
+ * - {@link TTS_UTTERANCE_BOUNDARY} callable's method should take two [int] parameters, the index of the character and the utterance ID.
1073
+ * **Note:** The granularity of the boundary callbacks is engine dependent.
1074
+ * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
1075
+ */
1076
+ tts_set_utterance_callback(event: int, callable: Callable): void;
1077
+ /**
1078
+ * Adds an utterance to the queue. If `interrupt` is `true`, the queue is cleared first.
1079
+ * - `voice` identifier is one of the `"id"` values returned by {@link tts_get_voices} or one of the values returned by {@link tts_get_voices_for_language}.
1080
+ * - `volume` ranges from `0` (lowest) to `100` (highest).
1081
+ * - `pitch` ranges from `0.0` (lowest) to `2.0` (highest), `1.0` is default pitch for the current voice.
1082
+ * - `rate` ranges from `0.1` (lowest) to `10.0` (highest), `1.0` is a normal speaking rate. Other values act as a percentage relative.
1083
+ * - `utterance_id` is passed as a parameter to the callback functions.
1084
+ * **Note:** On Windows and Linux (X11/Wayland), utterance `text` can use SSML markup. SSML support is engine and voice dependent. If the engine does not support SSML, you should strip out all XML markup before calling {@link tts_speak}.
1085
+ * **Note:** The granularity of pitch, rate, and volume is engine and voice dependent. Values may be truncated.
1086
+ * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
1087
+ */
1088
+ tts_speak(text: string | NodePath, voice: string | NodePath, volume?: int, pitch?: float, rate?: float, utterance_id?: int, interrupt?: boolean): void;
1089
+ /**
1090
+ * Stops synthesis in progress and removes all utterances from the queue.
1091
+ * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
1092
+ */
1093
+ tts_stop(): void;
1094
+ /**
1095
+ * Unregisters an {@link Object} representing an additional output, that was registered via {@link register_additional_output}.
1096
+ */
1097
+ unregister_additional_output(object: GodotObject): void;
1098
+ /**
1099
+ * Returns the on-screen keyboard's height in pixels. Returns `0` if there is no keyboard or if it is currently hidden.
1100
+ * **Note:** On Android 7 and 8, the keyboard height may return `0` the first time the keyboard is opened in non-immersive mode. This behavior does not occur in immersive mode.
1101
+ */
1102
+ virtual_keyboard_get_height(): int;
1103
+ /** Hides the virtual keyboard if it is shown, does nothing otherwise. */
1104
+ virtual_keyboard_hide(): void;
1105
+ /**
1106
+ * Shows the virtual keyboard if the platform has one.
1107
+ * `existing_text` parameter is useful for implementing your own {@link LineEdit} or {@link TextEdit}, as it tells the virtual keyboard what text has already been typed (the virtual keyboard uses it for auto-correct and predictions).
1108
+ * `position` parameter is the screen space {@link Rect2} of the edited text.
1109
+ * `type` parameter allows configuring which type of virtual keyboard to show.
1110
+ * `max_length` limits the number of characters that can be entered if different from `-1`.
1111
+ * `cursor_start` can optionally define the current text cursor position if `cursor_end` is not set.
1112
+ * `cursor_start` and `cursor_end` can optionally define the current text selection.
1113
+ * **Note:** This method is implemented on Android, iOS and Web.
1114
+ */
1115
+ virtual_keyboard_show(existing_text: string | NodePath, position?: Rect2 | Rect2i, type_?: int, max_length?: int, cursor_start?: int, cursor_end?: int): void;
1116
+ /**
1117
+ * Sets the mouse cursor position to the given `position` relative to an origin at the upper left corner of the currently focused game Window Manager window.
1118
+ * **Note:** {@link warp_mouse} is only supported on Windows, macOS, and Linux (X11/Wayland). It has no effect on Android, iOS, and Web.
1119
+ */
1120
+ warp_mouse(position: Vector2i | Vector2): void;
1121
+ /**
1122
+ * Returns `true` if anything can be drawn in the window specified by `window_id`, `false` otherwise. Using the `--disable-render-loop` command line argument or a headless build will return `false`.
1123
+ */
1124
+ window_can_draw(window_id?: int): boolean;
1125
+ /** Returns ID of the active popup window, or {@link INVALID_WINDOW_ID} if there is none. */
1126
+ window_get_active_popup(): int;
1127
+ /** Returns the {@link Object.get_instance_id} of the {@link Window} the `window_id` is attached to. */
1128
+ window_get_attached_instance_id(window_id?: int): int;
1129
+ /**
1130
+ * Returns the screen the window specified by `window_id` is currently positioned on. If the screen overlaps multiple displays, the screen where the window's center is located is returned. See also {@link window_set_current_screen}. Returns {@link INVALID_SCREEN} if `window_id` is invalid.
1131
+ * **Note:** This method is implemented on Linux/X11, macOS, and Windows. On other platforms, this method always returns `0`.
1132
+ */
1133
+ window_get_current_screen(window_id?: int): int;
1134
+ /** Returns the current value of the given window's `flag`. */
1135
+ window_get_flag(flag: int, window_id?: int): boolean;
1136
+ /**
1137
+ * When {@link window_is_hdr_output_enabled} returns `true`, this returns the current maximum luminance in nits (cd/m²) for HDR output by the window specified by `window_id`. If the maximum luminance is being automatically adjusted based on the screen's capabilities, this method will return that value. Otherwise, it will return the value set by {@link window_set_hdr_output_max_luminance}. This maximum luminance value is used when calculating {@link window_get_output_max_linear_value}.
1138
+ * **Note:** This maximum luminance may not match the physical behavior of the screen, but will always be proportionally correct relative to {@link window_get_hdr_output_current_reference_luminance}.
1139
+ */
1140
+ window_get_hdr_output_current_max_luminance(window_id?: int): float;
1141
+ /**
1142
+ * When {@link window_is_hdr_output_enabled} returns `true`, this returns the current reference white luminance in nits (cd/m²) for HDR output by the window specified by `window_id`. If the reference luminance is being automatically adjusted to match the operating system brightness, this will return that value. Otherwise, it will return the value set by {@link window_set_hdr_output_reference_luminance}. This reference luminance value is used when calculating {@link window_get_output_max_linear_value}.
1143
+ * **Note:** This reference white luminance may not match the physical behavior of the screen, but will always be proportionally correct relative to {@link window_get_hdr_output_current_max_luminance}.
1144
+ */
1145
+ window_get_hdr_output_current_reference_luminance(window_id?: int): float;
1146
+ /**
1147
+ * Returns the maximum luminance in nits (cd/m²) set for HDR output by the window specified by `window_id`. Negative values indicate that the value is being automatically adjusted based on the screen's capabilities. See also {@link window_get_hdr_output_current_max_luminance}.
1148
+ */
1149
+ window_get_hdr_output_max_luminance(window_id?: int): float;
1150
+ /**
1151
+ * Returns the reference white luminance in nits (cd/m²) set for HDR output by the window specified by `window_id`. Negative values indicate that the value is being automatically adjusted to match the operating system brightness. See also {@link window_get_hdr_output_current_reference_luminance}.
1152
+ */
1153
+ window_get_hdr_output_reference_luminance(window_id?: int): float;
1154
+ /** Returns the window's maximum size (in pixels). See also {@link window_set_max_size}. */
1155
+ window_get_max_size(window_id?: int): Vector2i;
1156
+ /** Returns the window's minimum size (in pixels). See also {@link window_set_min_size}. */
1157
+ window_get_min_size(window_id?: int): Vector2i;
1158
+ /** Returns the mode of the given window. */
1159
+ window_get_mode(window_id?: int): int;
1160
+ /**
1161
+ * Returns internal structure pointers for use in plugins.
1162
+ * **Note:** This method is implemented on Android, Linux (X11/Wayland), macOS, and Windows.
1163
+ */
1164
+ window_get_native_handle(handle_type: int, window_id?: int): int;
1165
+ /**
1166
+ * Returns the maximum value for linear color components that can be displayed for the window specified by `window_id`, regardless of SDR or HDR output. Returns `1.0` if HDR is not enabled or not supported. When HDR output is enabled, this is calculated based on {@link window_get_hdr_output_current_reference_luminance} and {@link window_get_hdr_output_current_max_luminance}. This value is used by tonemapping and other {@link Environment} effects to ensure that bright colors are presented in the range that can be displayed by this window. Corresponds to {@link Window.get_output_max_linear_value}.
1167
+ */
1168
+ window_get_output_max_linear_value(window_id?: int): float;
1169
+ /**
1170
+ * Returns the bounding box of control, or menu item that was used to open the popup window, in the screen coordinate system.
1171
+ */
1172
+ window_get_popup_safe_rect(window: int): Rect2i;
1173
+ /** Returns the position of the client area of the given window on the screen. */
1174
+ window_get_position(window_id?: int): Vector2i;
1175
+ /**
1176
+ * Returns the position of the given window on the screen including the borders drawn by the operating system. See also {@link window_get_position}.
1177
+ */
1178
+ window_get_position_with_decorations(window_id?: int): Vector2i;
1179
+ /**
1180
+ * Returns left margins (`x`), right margins (`y`) and height (`z`) of the title that are safe to use (contains no buttons or other elements) when {@link WINDOW_FLAG_EXTEND_TO_TITLE} flag is set.
1181
+ */
1182
+ window_get_safe_title_margins(window_id?: int): Vector3i;
1183
+ /**
1184
+ * Returns the size of the window specified by `window_id` (in pixels), excluding the borders drawn by the operating system. This is also called the "client area". See also {@link window_get_size_with_decorations}, {@link window_set_size} and {@link window_get_position}.
1185
+ */
1186
+ window_get_size(window_id?: int): Vector2i;
1187
+ /**
1188
+ * Returns the size of the window specified by `window_id` (in pixels), including the borders drawn by the operating system. See also {@link window_get_size}.
1189
+ */
1190
+ window_get_size_with_decorations(window_id?: int): Vector2i;
1191
+ /**
1192
+ * Returns the estimated window title bar size (including text and window buttons) for the window specified by `window_id` (in pixels). This method does not change the window title.
1193
+ * **Note:** This method is implemented on macOS and Windows.
1194
+ */
1195
+ window_get_title_size(title: string | NodePath, window_id?: int): Vector2i;
1196
+ /** Returns the V-Sync mode of the given window. */
1197
+ window_get_vsync_mode(window_id?: int): int;
1198
+ /** Returns `true` if the window specified by `window_id` is focused. */
1199
+ window_is_focused(window_id?: int): boolean;
1200
+ /**
1201
+ * Returns `true` if HDR output is currently enabled for the window specified by `window_id`. The returned value may change dynamically based on system settings, screen capabilities, and which screen the window is currently on.
1202
+ */
1203
+ window_is_hdr_output_enabled(window_id?: int): boolean;
1204
+ /**
1205
+ * Returns `true` if HDR output is requested for the window specified by `window_id`. Corresponds to {@link Window.hdr_output_requested}.
1206
+ */
1207
+ window_is_hdr_output_requested(window_id?: int): boolean;
1208
+ /**
1209
+ * Returns `true` if the window specified by `window_id` supports HDR output. This depends on the platform, screen capabilities, system settings, and the screen the window is currently on.
1210
+ */
1211
+ window_is_hdr_output_supported(window_id?: int): boolean;
1212
+ /** Returns `true` if the given window can be maximized (the maximize button is enabled). */
1213
+ window_is_maximize_allowed(window_id?: int): boolean;
1214
+ /**
1215
+ * Returns `true` if double-clicking on a window's title should maximize it.
1216
+ * **Note:** This method is implemented only on macOS.
1217
+ */
1218
+ window_maximize_on_title_dbl_click(): boolean;
1219
+ /**
1220
+ * Returns `true` if double-clicking on a window's title should minimize it.
1221
+ * **Note:** This method is implemented only on macOS.
1222
+ */
1223
+ window_minimize_on_title_dbl_click(): boolean;
1224
+ /**
1225
+ * Moves the window specified by `window_id` to the foreground, so that it is visible over other windows.
1226
+ */
1227
+ window_move_to_foreground(window_id?: int): void;
1228
+ /**
1229
+ * Makes the window specified by `window_id` request attention, which is materialized by the window title and taskbar entry blinking until the window is focused. This usually has no visible effect if the window is currently focused. The exact behavior varies depending on the operating system.
1230
+ */
1231
+ window_request_attention(window_id?: int): void;
1232
+ /**
1233
+ * If `enable` is `true`, HDR output is requested for the window specified by `window_id`. The window will automatically switch between HDR and SDR if it is moved between screens, screen capabilities change, or system settings are modified. This will internally force {@link Viewport.use_hdr_2d} to be enabled on the main {@link Viewport}. All other {@link SubViewport} of the {@link Window} must have their {@link Viewport.use_hdr_2d} property enabled to produce HDR output. Corresponds to {@link Window.hdr_output_requested}.
1234
+ */
1235
+ window_request_hdr_output(enable: boolean, window_id?: int): void;
1236
+ /**
1237
+ * Sets the background color of the root window.
1238
+ * **Note:** This method is implemented only on Android.
1239
+ */
1240
+ window_set_color(color: Color): void;
1241
+ /**
1242
+ * Moves the window specified by `window_id` to the specified `screen`. See also {@link window_get_current_screen}.
1243
+ * **Note:** One of the following constants can be used as `screen`: {@link SCREEN_OF_MAIN_WINDOW}, {@link SCREEN_PRIMARY}, {@link SCREEN_WITH_MOUSE_FOCUS}, or {@link SCREEN_WITH_KEYBOARD_FOCUS}.
1244
+ * **Note:** This method is implemented on Linux/X11, macOS, and Windows.
1245
+ */
1246
+ window_set_current_screen(screen: int, window_id?: int): void;
1247
+ /**
1248
+ * Sets the `callback` that should be called when files are dropped from the operating system's file manager to the window specified by `window_id`. `callback` should take one {@link PackedStringArray} argument, which is the list of dropped files.
1249
+ * **Warning:** Advanced users only! Adding such a callback to a {@link Window} node will override its default implementation, which can introduce bugs.
1250
+ * **Note:** This method is implemented on Windows, macOS, Linux (X11/Wayland), and Web.
1251
+ */
1252
+ window_set_drop_files_callback(callback: Callable, window_id?: int): void;
1253
+ /**
1254
+ * If set to `true`, this window will always stay on top of its parent window, parent window will ignore input while this window is opened.
1255
+ * **Note:** On macOS, exclusive windows are confined to the same space (virtual desktop or screen) as the parent window.
1256
+ * **Note:** This method is implemented on macOS and Windows.
1257
+ */
1258
+ window_set_exclusive(window_id: int, exclusive: boolean): void;
1259
+ /** Enables or disables the given window's given `flag`. */
1260
+ window_set_flag(flag: int, enabled: boolean, window_id?: int): void;
1261
+ /**
1262
+ * Sets the maximum luminance in nits (cd/m²) for HDR output by the window specified by `window_id`. If `max_luminance` is negative, the window uses the screen's maximum luminance that is reported by the operating system. By default, this luminance is set to `-1.0` for every window. Typically this property should be left at this default value, but may optionally be exposed through in-game settings to allow the player to correct an inaccurate maximum luminance reported by the operating system. See also {@link window_get_hdr_output_current_max_luminance} and {@link window_get_hdr_output_max_luminance}.
1263
+ */
1264
+ window_set_hdr_output_max_luminance(max_luminance: float, window_id?: int): void;
1265
+ /**
1266
+ * Sets the reference white luminance in nits (cd/m²) for HDR output by the window specified by `window_id`. If `reference_luminance` is negative, the window automatically adjusts to the brightness set by the operating system. By default, this luminance is set to `-1.0` for every window. Typically this property should be left at this default value, but may optionally be exposed as an "HDR Brightness" in-game setting to allow the player to adjust the brightness of their game, independently of their device settings. See also {@link window_get_hdr_output_current_reference_luminance} and {@link window_get_hdr_output_reference_luminance}.
1267
+ */
1268
+ window_set_hdr_output_reference_luminance(reference_luminance: float, window_id?: int): void;
1269
+ /**
1270
+ * Sets whether Input Method Editor (https://en.wikipedia.org/wiki/Input_method) should be enabled for the window specified by `window_id`. See also {@link window_set_ime_position}.
1271
+ */
1272
+ window_set_ime_active(active: boolean, window_id?: int): void;
1273
+ /**
1274
+ * Sets the position of the Input Method Editor (https://en.wikipedia.org/wiki/Input_method) popup for the specified `window_id`. Only effective if {@link window_set_ime_active} was set to `true` for the specified `window_id`.
1275
+ */
1276
+ window_set_ime_position(position: Vector2i | Vector2, window_id?: int): void;
1277
+ /**
1278
+ * Sets the `callback` that should be called when any {@link InputEvent} is sent to the window specified by `window_id`.
1279
+ * **Warning:** Advanced users only! Adding such a callback to a {@link Window} node will override its default implementation, which can introduce bugs.
1280
+ */
1281
+ window_set_input_event_callback(callback: Callable, window_id?: int): void;
1282
+ /**
1283
+ * Sets the `callback` that should be called when text is entered using the virtual keyboard to the window specified by `window_id`.
1284
+ * **Warning:** Advanced users only! Adding such a callback to a {@link Window} node will override its default implementation, which can introduce bugs.
1285
+ */
1286
+ window_set_input_text_callback(callback: Callable, window_id?: int): void;
1287
+ /**
1288
+ * Sets the maximum size of the window specified by `window_id` in pixels. Normally, the user will not be able to drag the window to make it larger than the specified size. See also {@link window_get_max_size}.
1289
+ * **Note:** It's recommended to change this value using {@link Window.max_size} instead.
1290
+ * **Note:** Using third-party tools, it is possible for users to disable window geometry restrictions and therefore bypass this limit.
1291
+ */
1292
+ window_set_max_size(max_size: Vector2i | Vector2, window_id?: int): void;
1293
+ /**
1294
+ * Sets the minimum size for the given window to `min_size` in pixels. Normally, the user will not be able to drag the window to make it smaller than the specified size. See also {@link window_get_min_size}.
1295
+ * **Note:** It's recommended to change this value using {@link Window.min_size} instead.
1296
+ * **Note:** By default, the main window has a minimum size of `Vector2i(64, 64)`. This prevents issues that can arise when the window is resized to a near-zero size.
1297
+ * **Note:** Using third-party tools, it is possible for users to disable window geometry restrictions and therefore bypass this limit.
1298
+ */
1299
+ window_set_min_size(min_size: Vector2i | Vector2, window_id?: int): void;
1300
+ /**
1301
+ * Sets window mode for the given window to `mode`.
1302
+ * **Note:** On Android, setting it to {@link WINDOW_MODE_FULLSCREEN} or {@link WINDOW_MODE_EXCLUSIVE_FULLSCREEN} will enable immersive mode.
1303
+ * **Note:** Setting the window to full screen forcibly sets the borderless flag to `true`, so make sure to set it back to `false` when not wanted.
1304
+ */
1305
+ window_set_mode(mode: int, window_id?: int): void;
1306
+ /**
1307
+ * Sets a polygonal region of the window which accepts mouse events. Mouse events outside the region will be passed through.
1308
+ * Passing an empty array will disable passthrough support (all mouse events will be intercepted by the window, which is the default behavior).
1309
+ * **Note:** On Windows, the portion of a window that lies outside the region is not drawn, while on Linux (X11) and macOS it is.
1310
+ * **Note:** This method is implemented on Linux (X11), macOS and Windows.
1311
+ */
1312
+ window_set_mouse_passthrough(region: PackedVector2Array | Array<unknown>, window_id?: int): void;
1313
+ /**
1314
+ * Sets the bounding box of control, or menu item that was used to open the popup window, in the screen coordinate system. Clicking this area will not auto-close this popup.
1315
+ */
1316
+ window_set_popup_safe_rect(window: int, rect: Rect2i | Rect2): void;
1317
+ /**
1318
+ * Sets the position of the given window to `position`. On multi-monitor setups, the screen position is relative to the virtual desktop area. On multi-monitor setups with different screen resolutions or orientations, the origin may be located outside any display like this:
1319
+ * [codeblock lang=text]
1320
+ * * (0, 0) +-------+
1321
+ * | |
1322
+ * +-------------+ | |
1323
+ * | | | |
1324
+ * | | | |
1325
+ * +-------------+ +-------+
1326
+ * [/codeblock]
1327
+ * See also {@link window_get_position} and {@link window_set_size}.
1328
+ * **Note:** It's recommended to change this value using {@link Window.position} instead.
1329
+ * **Note:** On Linux (Wayland): this method is a no-op.
1330
+ */
1331
+ window_set_position(position: Vector2i | Vector2, window_id?: int): void;
1332
+ /**
1333
+ * Sets the `callback` that will be called when the window specified by `window_id` is moved or resized.
1334
+ * **Warning:** Advanced users only! Adding such a callback to a {@link Window} node will override its default implementation, which can introduce bugs.
1335
+ */
1336
+ window_set_rect_changed_callback(callback: Callable, window_id?: int): void;
1337
+ /**
1338
+ * Sets the size of the given window to `size` (in pixels). See also {@link window_get_size} and {@link window_get_position}.
1339
+ * **Note:** It's recommended to change this value using {@link Window.size} instead.
1340
+ */
1341
+ window_set_size(size: Vector2i | Vector2, window_id?: int): void;
1342
+ /**
1343
+ * Sets the type and state of the progress bar on the taskbar/dock icon of the window specified by `window_id`. See {@link ProgressState} for possible values and how each mode behaves.
1344
+ * **Note:** This method is implemented only on Windows and macOS.
1345
+ * **Note:** On macOS, the progress bar is displayed only for the main window.
1346
+ */
1347
+ window_set_taskbar_progress_state(state: int, window_id?: int): void;
1348
+ /**
1349
+ * Creates a progress bar on the taskbar/dock icon of the window specified by `window_id` if it does not exist, sets the progress of the icon.
1350
+ * `value` acts as a relative percentage value, ranges from `0.0` (lowest) to `1.0` (highest).
1351
+ * **Note:** This method is implemented only on Windows and macOS.
1352
+ * **Note:** On macOS, the progress bar is displayed only for the main window.
1353
+ */
1354
+ window_set_taskbar_progress_value(value: float, window_id?: int): void;
1355
+ /**
1356
+ * Sets the title of the given window to `title`.
1357
+ * **Note:** It's recommended to change this value using {@link Window.title} instead.
1358
+ * **Note:** Avoid changing the window title every frame, as this can cause performance issues on certain window managers. Try to change the window title only a few times per second at most.
1359
+ */
1360
+ window_set_title(title: string | NodePath, window_id?: int): void;
1361
+ /**
1362
+ * Sets window transient parent. Transient window will be destroyed with its transient parent and will return focus to their parent when closed. The transient window is displayed on top of a non-exclusive full-screen parent window. Transient windows can't enter full-screen mode.
1363
+ * **Note:** It's recommended to change this value using {@link Window.transient} instead.
1364
+ * **Note:** The behavior might be different depending on the platform.
1365
+ */
1366
+ window_set_transient(window_id: int, parent_window_id: int): void;
1367
+ /**
1368
+ * Sets the V-Sync mode of the given window. See also {@link ProjectSettings.display/window/vsync/vsync_mode}.
1369
+ * Depending on the platform and used renderer, the engine will fall back to {@link VSYNC_ENABLED} if the desired mode is not supported.
1370
+ * **Note:** V-Sync modes other than {@link VSYNC_ENABLED} are only supported in the Forward+ and Mobile rendering methods, not Compatibility.
1371
+ */
1372
+ window_set_vsync_mode(vsync_mode: int, window_id?: int): void;
1373
+ /**
1374
+ * When {@link WINDOW_FLAG_EXTEND_TO_TITLE} flag is set, set offset to the center of the first titlebar button.
1375
+ * **Note:** This flag is implemented only on macOS.
1376
+ */
1377
+ window_set_window_buttons_offset(offset: Vector2i | Vector2, window_id?: int): void;
1378
+ /**
1379
+ * Sets the `callback` that will be called when an event occurs in the window specified by `window_id`.
1380
+ * **Warning:** Advanced users only! Adding such a callback to a {@link Window} node will override its default implementation, which can introduce bugs.
1381
+ */
1382
+ window_set_window_event_callback(callback: Callable, window_id?: int): void;
1383
+ /**
1384
+ * Starts an interactive drag operation on the window with the given `window_id`, using the current mouse position. Call this method when handling a mouse button being pressed to simulate a pressed event on the window's title bar. Using this method allows the window to participate in space switching, tiling, and other system features.
1385
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
1386
+ */
1387
+ window_start_drag(window_id?: int): void;
1388
+ /**
1389
+ * Starts an interactive resize operation on the window with the given `window_id`, using the current mouse position. Call this method when handling a mouse button being pressed to simulate a pressed event on the window's edge.
1390
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
1391
+ */
1392
+ window_start_resize(edge: int, window_id?: int): void;
1393
+
1394
+ /**
1395
+ * Emitted when the device orientation changes. `orientation` is the new orientation.
1396
+ * Returns `1` for portrait, `2` for landscape, and `0` if the orientation is undefined.
1397
+ * **Note:** This method is implemented on Android and iOS.
1398
+ */
1399
+ orientation_changed: Signal<[int]>;
1400
+
1401
+ // enum Feature
1402
+ /**
1403
+ * Display server supports global menu. This allows the application to display its menu items in the operating system's top bar. **macOS**
1404
+ */
1405
+ readonly FEATURE_GLOBAL_MENU: int;
1406
+ /**
1407
+ * Display server supports multiple windows that can be moved outside of the main window. **Windows, macOS, Linux (X11)**
1408
+ */
1409
+ readonly FEATURE_SUBWINDOWS: int;
1410
+ /** Display server supports touchscreen input. **Windows, Linux (X11), Android, iOS, Web** */
1411
+ readonly FEATURE_TOUCHSCREEN: int;
1412
+ /** Display server supports mouse input. **Windows, macOS, Linux (X11/Wayland), Android, Web** */
1413
+ readonly FEATURE_MOUSE: int;
1414
+ /**
1415
+ * Display server supports warping mouse coordinates to keep the mouse cursor constrained within an area, but looping when one of the edges is reached. **Windows, macOS, Linux (X11/Wayland)**
1416
+ */
1417
+ readonly FEATURE_MOUSE_WARP: int;
1418
+ /**
1419
+ * Display server supports setting and getting clipboard data. See also {@link FEATURE_CLIPBOARD_PRIMARY}. **Windows, macOS, Linux (X11/Wayland), Android, iOS, Web**
1420
+ */
1421
+ readonly FEATURE_CLIPBOARD: int;
1422
+ /**
1423
+ * Display server supports popping up a virtual keyboard when requested to input text without a physical keyboard. **Android, iOS, Web**
1424
+ */
1425
+ readonly FEATURE_VIRTUAL_KEYBOARD: int;
1426
+ /**
1427
+ * Display server supports setting the mouse cursor shape to be different from the default. **Windows, macOS, Linux (X11/Wayland), Android, Web**
1428
+ */
1429
+ readonly FEATURE_CURSOR_SHAPE: int;
1430
+ /**
1431
+ * Display server supports setting the mouse cursor shape to a custom image. **Windows, macOS, Linux (X11/Wayland), Web**
1432
+ */
1433
+ readonly FEATURE_CUSTOM_CURSOR_SHAPE: int;
1434
+ /**
1435
+ * Display server supports spawning text dialogs using the operating system's native look-and-feel. See {@link dialog_show}. **Windows, macOS**
1436
+ */
1437
+ readonly FEATURE_NATIVE_DIALOG: int;
1438
+ /**
1439
+ * Display server supports Input Method Editor (https://en.wikipedia.org/wiki/Input_method), which is commonly used for inputting Chinese/Japanese/Korean text. This is handled by the operating system, rather than by Godot. **Windows, macOS, Linux (X11)**
1440
+ */
1441
+ readonly FEATURE_IME: int;
1442
+ /**
1443
+ * Display server supports windows can use per-pixel transparency to make windows behind them partially or fully visible. **Windows, macOS, Linux (X11/Wayland), Android**
1444
+ */
1445
+ readonly FEATURE_WINDOW_TRANSPARENCY: int;
1446
+ /**
1447
+ * Display server supports querying the operating system's display scale factor. This allows automatically detecting the hiDPI display *reliably*, instead of guessing based on the screen resolution and the display's reported DPI (which might be unreliable due to broken monitor EDID). **Windows, Linux (Wayland), macOS**
1448
+ */
1449
+ readonly FEATURE_HIDPI: int;
1450
+ /**
1451
+ * Display server supports changing the window icon (usually displayed in the top-left corner). **Windows, macOS, Linux (X11/Wayland)**
1452
+ * **Note:** Use on Wayland requires the compositor to implement the xdg_toplevel_icon_v1 (https://wayland.app/protocols/xdg-toplevel-icon-v1#xdg_toplevel_icon_v1) protocol, which not all compositors do. See xdg_toplevel_icon_v1#compositor-support (https://wayland.app/protocols/xdg-toplevel-icon-v1#compositor-support) for more information on individual compositor support.
1453
+ */
1454
+ readonly FEATURE_ICON: int;
1455
+ /**
1456
+ * Display server supports changing the window icon (usually displayed in the top-left corner). **Windows, macOS**
1457
+ */
1458
+ readonly FEATURE_NATIVE_ICON: int;
1459
+ /** Display server supports changing the screen orientation. **Android, iOS** */
1460
+ readonly FEATURE_ORIENTATION: int;
1461
+ /**
1462
+ * Display server supports V-Sync status can be changed from the default (which is forced to be enabled platforms not supporting this feature). **Windows, macOS, Linux (X11/Wayland)**
1463
+ */
1464
+ readonly FEATURE_SWAP_BUFFERS: int;
1465
+ /**
1466
+ * Display server supports Primary clipboard can be used. This is a different clipboard from {@link FEATURE_CLIPBOARD}. **Linux (X11/Wayland)**
1467
+ */
1468
+ readonly FEATURE_CLIPBOARD_PRIMARY: int;
1469
+ /**
1470
+ * Display server supports text-to-speech. See `tts_*` methods. **Windows, macOS, Linux (X11/Wayland), Android, iOS, Web**
1471
+ */
1472
+ readonly FEATURE_TEXT_TO_SPEECH: int;
1473
+ /**
1474
+ * Display server supports expanding window content to the title. See {@link WINDOW_FLAG_EXTEND_TO_TITLE}. **macOS**
1475
+ */
1476
+ readonly FEATURE_EXTEND_TO_TITLE: int;
1477
+ /** Display server supports reading screen pixels. See {@link screen_get_pixel}. */
1478
+ readonly FEATURE_SCREEN_CAPTURE: int;
1479
+ /** Display server supports application status indicators. */
1480
+ readonly FEATURE_STATUS_INDICATOR: int;
1481
+ /** Display server supports native help system search callbacks. See {@link help_set_search_callbacks}. */
1482
+ readonly FEATURE_NATIVE_HELP: int;
1483
+ /**
1484
+ * Display server supports spawning text input dialogs using the operating system's native look-and-feel. See {@link dialog_input_text}. **Windows, macOS**
1485
+ */
1486
+ readonly FEATURE_NATIVE_DIALOG_INPUT: int;
1487
+ /**
1488
+ * Display server supports spawning dialogs for selecting files or directories using the operating system's native look-and-feel. See {@link file_dialog_show}. **Windows, macOS, Linux (X11/Wayland), Android**
1489
+ */
1490
+ readonly FEATURE_NATIVE_DIALOG_FILE: int;
1491
+ /**
1492
+ * The display server supports all features of {@link FEATURE_NATIVE_DIALOG_FILE}, with the added functionality of Options and native dialog file access to `res://` and `user://` paths. See {@link file_dialog_show} and {@link file_dialog_with_options_show}. **Windows, macOS, Linux (X11/Wayland)**
1493
+ */
1494
+ readonly FEATURE_NATIVE_DIALOG_FILE_EXTRA: int;
1495
+ /**
1496
+ * The display server supports initiating window drag and resize operations on demand. See {@link window_start_drag} and {@link window_start_resize}.
1497
+ */
1498
+ readonly FEATURE_WINDOW_DRAG: int;
1499
+ /** Display server supports {@link WINDOW_FLAG_EXCLUDE_FROM_CAPTURE} window flag. **Windows, macOS** */
1500
+ readonly FEATURE_SCREEN_EXCLUDE_FROM_CAPTURE: int;
1501
+ /** Display server supports embedding a window from another process. **Windows, Linux (X11), macOS** */
1502
+ readonly FEATURE_WINDOW_EMBEDDING: int;
1503
+ /** Native file selection dialog supports MIME types as filters. */
1504
+ readonly FEATURE_NATIVE_DIALOG_FILE_MIME: int;
1505
+ /** Display server supports system emoji and symbol picker. **Windows, macOS** */
1506
+ readonly FEATURE_EMOJI_AND_SYMBOL_PICKER: int;
1507
+ /** Display server supports native color picker. **Linux (X11/Wayland)** */
1508
+ readonly FEATURE_NATIVE_COLOR_PICKER: int;
1509
+ /**
1510
+ * Display server automatically fits popups according to the screen boundaries. Window nodes should not attempt to do that themselves.
1511
+ */
1512
+ readonly FEATURE_SELF_FITTING_WINDOWS: int;
1513
+ /**
1514
+ * Display server supports interaction with screen reader or Braille display. **Linux (X11/Wayland), macOS, Windows**
1515
+ */
1516
+ readonly FEATURE_ACCESSIBILITY_SCREEN_READER: int;
1517
+ /** Display server supports HDR output. **macOS, iOS, visionOS, Windows** */
1518
+ readonly FEATURE_HDR_OUTPUT: int;
1519
+ /** Display server supports putting the application in picture-in-picture mode. **Android** */
1520
+ readonly FEATURE_PIP_MODE: int;
1521
+ // enum AccessibilityRole
1522
+ /** Unknown or custom role. */
1523
+ readonly ROLE_UNKNOWN: int;
1524
+ /** Default dialog button element. */
1525
+ readonly ROLE_DEFAULT_BUTTON: int;
1526
+ /** Audio player element. */
1527
+ readonly ROLE_AUDIO: int;
1528
+ /** Video player element. */
1529
+ readonly ROLE_VIDEO: int;
1530
+ /** Non-editable text label. */
1531
+ readonly ROLE_STATIC_TEXT: int;
1532
+ /**
1533
+ * Container element. Elements with this role are used for internal structure and ignored by screen readers.
1534
+ */
1535
+ readonly ROLE_CONTAINER: int;
1536
+ /** Panel container element. */
1537
+ readonly ROLE_PANEL: int;
1538
+ /** Button element. */
1539
+ readonly ROLE_BUTTON: int;
1540
+ /** Link element. */
1541
+ readonly ROLE_LINK: int;
1542
+ /** Check box element. */
1543
+ readonly ROLE_CHECK_BOX: int;
1544
+ /** Radio button element. */
1545
+ readonly ROLE_RADIO_BUTTON: int;
1546
+ /** Check button element. */
1547
+ readonly ROLE_CHECK_BUTTON: int;
1548
+ /** Scroll bar element. */
1549
+ readonly ROLE_SCROLL_BAR: int;
1550
+ /** Scroll container element. */
1551
+ readonly ROLE_SCROLL_VIEW: int;
1552
+ /** Container splitter handle element. */
1553
+ readonly ROLE_SPLITTER: int;
1554
+ /** Slider element. */
1555
+ readonly ROLE_SLIDER: int;
1556
+ /** Spin box element. */
1557
+ readonly ROLE_SPIN_BUTTON: int;
1558
+ /** Progress indicator element. */
1559
+ readonly ROLE_PROGRESS_INDICATOR: int;
1560
+ /** Editable text field element. */
1561
+ readonly ROLE_TEXT_FIELD: int;
1562
+ /** Multiline editable text field element. */
1563
+ readonly ROLE_MULTILINE_TEXT_FIELD: int;
1564
+ /** Color picker element. */
1565
+ readonly ROLE_COLOR_PICKER: int;
1566
+ /** Table element. */
1567
+ readonly ROLE_TABLE: int;
1568
+ /** Table/tree cell element. */
1569
+ readonly ROLE_CELL: int;
1570
+ /** Table/tree row element. */
1571
+ readonly ROLE_ROW: int;
1572
+ /** Table/tree row group element. */
1573
+ readonly ROLE_ROW_GROUP: int;
1574
+ /** Table/tree row header element. */
1575
+ readonly ROLE_ROW_HEADER: int;
1576
+ /** Table/tree column header element. */
1577
+ readonly ROLE_COLUMN_HEADER: int;
1578
+ /** Tree view element. */
1579
+ readonly ROLE_TREE: int;
1580
+ /** Tree view item element. */
1581
+ readonly ROLE_TREE_ITEM: int;
1582
+ /** List element. */
1583
+ readonly ROLE_LIST: int;
1584
+ /** List item element. */
1585
+ readonly ROLE_LIST_ITEM: int;
1586
+ /** List view element. */
1587
+ readonly ROLE_LIST_BOX: int;
1588
+ /** List view item element. */
1589
+ readonly ROLE_LIST_BOX_OPTION: int;
1590
+ /** Tab bar element. */
1591
+ readonly ROLE_TAB_BAR: int;
1592
+ /** Tab bar item element. */
1593
+ readonly ROLE_TAB: int;
1594
+ /** Tab panel element. */
1595
+ readonly ROLE_TAB_PANEL: int;
1596
+ /** Menu bar element. */
1597
+ readonly ROLE_MENU_BAR: int;
1598
+ /** Popup menu element. */
1599
+ readonly ROLE_MENU: int;
1600
+ /** Popup menu item element. */
1601
+ readonly ROLE_MENU_ITEM: int;
1602
+ /** Popup menu check button item element. */
1603
+ readonly ROLE_MENU_ITEM_CHECK_BOX: int;
1604
+ /** Popup menu radio button item element. */
1605
+ readonly ROLE_MENU_ITEM_RADIO: int;
1606
+ /** Image element. */
1607
+ readonly ROLE_IMAGE: int;
1608
+ /** Window element. */
1609
+ readonly ROLE_WINDOW: int;
1610
+ /** Embedded window title bar element. */
1611
+ readonly ROLE_TITLE_BAR: int;
1612
+ /** Dialog window element. */
1613
+ readonly ROLE_DIALOG: int;
1614
+ /** Tooltip element. */
1615
+ readonly ROLE_TOOLTIP: int;
1616
+ /** Region/landmark element. Screen readers can navigate between regions using landmark navigation. */
1617
+ readonly ROLE_REGION: int;
1618
+ /**
1619
+ * Unifor text run.
1620
+ * Note: This role is used for internal text elements, and should not be assigned to nodes.
1621
+ */
1622
+ readonly ROLE_TEXT_RUN: int;
1623
+ // enum AccessibilityPopupType
1624
+ /** Popup menu. */
1625
+ readonly POPUP_MENU: int;
1626
+ /** Popup list. */
1627
+ readonly POPUP_LIST: int;
1628
+ /** Popup tree view. */
1629
+ readonly POPUP_TREE: int;
1630
+ /** Popup dialog. */
1631
+ readonly POPUP_DIALOG: int;
1632
+ // enum AccessibilityFlags
1633
+ /** Element is hidden for accessibility tools. */
1634
+ readonly FLAG_HIDDEN: int;
1635
+ /** Element supports multiple item selection. */
1636
+ readonly FLAG_MULTISELECTABLE: int;
1637
+ /** Element require user input. */
1638
+ readonly FLAG_REQUIRED: int;
1639
+ /** Element is a visited link. */
1640
+ readonly FLAG_VISITED: int;
1641
+ /** Element content is not ready (e.g. loading). */
1642
+ readonly FLAG_BUSY: int;
1643
+ /** Element is modal window. */
1644
+ readonly FLAG_MODAL: int;
1645
+ /** Element allows touches to be passed through when a screen reader is in touch exploration mode. */
1646
+ readonly FLAG_TOUCH_PASSTHROUGH: int;
1647
+ /** Element is text field with selectable but read-only text. */
1648
+ readonly FLAG_READONLY: int;
1649
+ /** Element is disabled. */
1650
+ readonly FLAG_DISABLED: int;
1651
+ /** Element clips children. */
1652
+ readonly FLAG_CLIPS_CHILDREN: int;
1653
+ // enum AccessibilityAction
1654
+ /** Single click action, callback argument is not set. */
1655
+ readonly ACTION_CLICK: int;
1656
+ /** Focus action, callback argument is not set. */
1657
+ readonly ACTION_FOCUS: int;
1658
+ /** Blur action, callback argument is not set. */
1659
+ readonly ACTION_BLUR: int;
1660
+ /** Collapse action, callback argument is not set. */
1661
+ readonly ACTION_COLLAPSE: int;
1662
+ /** Expand action, callback argument is not set. */
1663
+ readonly ACTION_EXPAND: int;
1664
+ /** Decrement action, callback argument is not set. */
1665
+ readonly ACTION_DECREMENT: int;
1666
+ /** Increment action, callback argument is not set. */
1667
+ readonly ACTION_INCREMENT: int;
1668
+ /** Hide tooltip action, callback argument is not set. */
1669
+ readonly ACTION_HIDE_TOOLTIP: int;
1670
+ /** Show tooltip action, callback argument is not set. */
1671
+ readonly ACTION_SHOW_TOOLTIP: int;
1672
+ /**
1673
+ * Set text selection action, callback argument is set to {@link Dictionary} with the following keys:
1674
+ * - `"start_element"` accessibility element of the selection start.
1675
+ * - `"start_char"` character offset relative to the accessibility element of the selection start.
1676
+ * - `"end_element"` accessibility element of the selection end.
1677
+ * - `"end_char"` character offset relative to the accessibility element of the selection end.
1678
+ */
1679
+ readonly ACTION_SET_TEXT_SELECTION: int;
1680
+ /** Replace text action, callback argument is set to {@link String} with the replacement text. */
1681
+ readonly ACTION_REPLACE_SELECTED_TEXT: int;
1682
+ /** Scroll backward action, callback argument is not set. */
1683
+ readonly ACTION_SCROLL_BACKWARD: int;
1684
+ /** Scroll down action, callback argument is set to {@link AccessibilityScrollUnit}. */
1685
+ readonly ACTION_SCROLL_DOWN: int;
1686
+ /** Scroll forward action, callback argument is not set. */
1687
+ readonly ACTION_SCROLL_FORWARD: int;
1688
+ /** Scroll left action, callback argument is set to {@link AccessibilityScrollUnit}. */
1689
+ readonly ACTION_SCROLL_LEFT: int;
1690
+ /** Scroll right action, callback argument is set to {@link AccessibilityScrollUnit}. */
1691
+ readonly ACTION_SCROLL_RIGHT: int;
1692
+ /** Scroll up action, callback argument is set to {@link AccessibilityScrollUnit}. */
1693
+ readonly ACTION_SCROLL_UP: int;
1694
+ /** Scroll into view action, callback argument is set to {@link AccessibilityScrollHint}. */
1695
+ readonly ACTION_SCROLL_INTO_VIEW: int;
1696
+ /**
1697
+ * Scroll to point action, callback argument is set to {@link Vector2} with the relative point coordinates.
1698
+ */
1699
+ readonly ACTION_SCROLL_TO_POINT: int;
1700
+ /** Set scroll offset action, callback argument is set to {@link Vector2} with the scroll offset. */
1701
+ readonly ACTION_SET_SCROLL_OFFSET: int;
1702
+ /** Set value action, callback argument is set to {@link String} or number with the new value. */
1703
+ readonly ACTION_SET_VALUE: int;
1704
+ /** Show context menu action, callback argument is not set. */
1705
+ readonly ACTION_SHOW_CONTEXT_MENU: int;
1706
+ /** Custom action, callback argument is set to the integer action ID. */
1707
+ readonly ACTION_CUSTOM: int;
1708
+ // enum AccessibilityLiveMode
1709
+ /** Indicates that updates to the live region should not be presented. */
1710
+ readonly LIVE_OFF: int;
1711
+ /**
1712
+ * Indicates that updates to the live region should be presented at the next opportunity (for example at the end of speaking the current sentence).
1713
+ */
1714
+ readonly LIVE_POLITE: int;
1715
+ /**
1716
+ * Indicates that updates to the live region have the highest priority and should be presented immediately.
1717
+ */
1718
+ readonly LIVE_ASSERTIVE: int;
1719
+ // enum AccessibilityScrollUnit
1720
+ /** The amount by which to scroll. A single item of a list, line of text. */
1721
+ readonly SCROLL_UNIT_ITEM: int;
1722
+ /** The amount by which to scroll. A single page. */
1723
+ readonly SCROLL_UNIT_PAGE: int;
1724
+ // enum AccessibilityScrollHint
1725
+ /** A preferred position for the node scrolled into view. Top-left edge of the scroll container. */
1726
+ readonly SCROLL_HINT_TOP_LEFT: int;
1727
+ /** A preferred position for the node scrolled into view. Bottom-right edge of the scroll container. */
1728
+ readonly SCROLL_HINT_BOTTOM_RIGHT: int;
1729
+ /** A preferred position for the node scrolled into view. Top edge of the scroll container. */
1730
+ readonly SCROLL_HINT_TOP_EDGE: int;
1731
+ /** A preferred position for the node scrolled into view. Bottom edge of the scroll container. */
1732
+ readonly SCROLL_HINT_BOTTOM_EDGE: int;
1733
+ /** A preferred position for the node scrolled into view. Left edge of the scroll container. */
1734
+ readonly SCROLL_HINT_LEFT_EDGE: int;
1735
+ /** A preferred position for the node scrolled into view. Right edge of the scroll container. */
1736
+ readonly SCROLL_HINT_RIGHT_EDGE: int;
1737
+ // enum MouseMode
1738
+ /** Makes the mouse cursor visible if it is hidden. */
1739
+ readonly MOUSE_MODE_VISIBLE: int;
1740
+ /** Makes the mouse cursor hidden if it is visible. */
1741
+ readonly MOUSE_MODE_HIDDEN: int;
1742
+ /**
1743
+ * Captures the mouse. The mouse will be hidden and its position locked at the center of the window manager's window.
1744
+ * **Note:** If you want to process the mouse's movement in this mode, you need to use {@link InputEventMouseMotion.relative}.
1745
+ */
1746
+ readonly MOUSE_MODE_CAPTURED: int;
1747
+ /** Confines the mouse cursor to the game window, and make it visible. */
1748
+ readonly MOUSE_MODE_CONFINED: int;
1749
+ /** Confines the mouse cursor to the game window, and make it hidden. */
1750
+ readonly MOUSE_MODE_CONFINED_HIDDEN: int;
1751
+ /** Max value of the {@link MouseMode}. */
1752
+ readonly MOUSE_MODE_MAX: int;
1753
+ // enum ScreenOrientation
1754
+ /** Default landscape orientation. */
1755
+ readonly SCREEN_LANDSCAPE: int;
1756
+ /** Default portrait orientation. */
1757
+ readonly SCREEN_PORTRAIT: int;
1758
+ /** Reverse landscape orientation (upside down). */
1759
+ readonly SCREEN_REVERSE_LANDSCAPE: int;
1760
+ /** Reverse portrait orientation (upside down). */
1761
+ readonly SCREEN_REVERSE_PORTRAIT: int;
1762
+ /** Automatic landscape orientation (default or reverse depending on sensor). */
1763
+ readonly SCREEN_SENSOR_LANDSCAPE: int;
1764
+ /** Automatic portrait orientation (default or reverse depending on sensor). */
1765
+ readonly SCREEN_SENSOR_PORTRAIT: int;
1766
+ /** Automatic landscape or portrait orientation (default or reverse depending on sensor). */
1767
+ readonly SCREEN_SENSOR: int;
1768
+ // enum VirtualKeyboardType
1769
+ /** Default text virtual keyboard. */
1770
+ readonly KEYBOARD_TYPE_DEFAULT: int;
1771
+ /** Multiline virtual keyboard. */
1772
+ readonly KEYBOARD_TYPE_MULTILINE: int;
1773
+ /** Virtual number keypad, useful for PIN entry. */
1774
+ readonly KEYBOARD_TYPE_NUMBER: int;
1775
+ /** Virtual number keypad, useful for entering fractional numbers. */
1776
+ readonly KEYBOARD_TYPE_NUMBER_DECIMAL: int;
1777
+ /** Virtual phone number keypad. */
1778
+ readonly KEYBOARD_TYPE_PHONE: int;
1779
+ /** Virtual keyboard with additional keys to assist with typing email addresses. */
1780
+ readonly KEYBOARD_TYPE_EMAIL_ADDRESS: int;
1781
+ /**
1782
+ * Virtual keyboard for entering a password. On most platforms, this should disable autocomplete and autocapitalization.
1783
+ * **Note:** This is not supported on Web. Instead, this behaves identically to {@link KEYBOARD_TYPE_DEFAULT}.
1784
+ */
1785
+ readonly KEYBOARD_TYPE_PASSWORD: int;
1786
+ /** Virtual keyboard with additional keys to assist with typing URLs. */
1787
+ readonly KEYBOARD_TYPE_URL: int;
1788
+ // enum CursorShape
1789
+ /**
1790
+ * Arrow cursor shape. This is the default when not pointing anything that overrides the mouse cursor, such as a {@link LineEdit} or {@link TextEdit}.
1791
+ */
1792
+ readonly CURSOR_ARROW: int;
1793
+ /**
1794
+ * I-beam cursor shape. This is used by default when hovering a control that accepts text input, such as {@link LineEdit} or {@link TextEdit}.
1795
+ */
1796
+ readonly CURSOR_IBEAM: int;
1797
+ /**
1798
+ * Pointing hand cursor shape. This is used by default when hovering a {@link LinkButton} or a URL tag in a {@link RichTextLabel}.
1799
+ */
1800
+ readonly CURSOR_POINTING_HAND: int;
1801
+ /**
1802
+ * Crosshair cursor. This is intended to be displayed when the user needs precise aim over an element, such as a rectangle selection tool or a color picker.
1803
+ */
1804
+ readonly CURSOR_CROSS: int;
1805
+ /**
1806
+ * Wait cursor. On most cursor themes, this displays a spinning icon *besides* the arrow. Intended to be used for non-blocking operations (when the user can do something else at the moment). See also {@link CURSOR_BUSY}.
1807
+ */
1808
+ readonly CURSOR_WAIT: int;
1809
+ /**
1810
+ * Wait cursor. On most cursor themes, this *replaces* the arrow with a spinning icon. Intended to be used for blocking operations (when the user can't do anything else at the moment). See also {@link CURSOR_WAIT}.
1811
+ */
1812
+ readonly CURSOR_BUSY: int;
1813
+ /**
1814
+ * Dragging hand cursor. This is displayed during drag-and-drop operations. See also {@link CURSOR_CAN_DROP}.
1815
+ */
1816
+ readonly CURSOR_DRAG: int;
1817
+ /**
1818
+ * "Can drop" cursor. This is displayed during drag-and-drop operations if hovering over a {@link Control} that can accept the drag-and-drop event. On most cursor themes, this displays a dragging hand with an arrow symbol besides it. See also {@link CURSOR_DRAG}.
1819
+ */
1820
+ readonly CURSOR_CAN_DROP: int;
1821
+ /**
1822
+ * Forbidden cursor. This is displayed during drag-and-drop operations if the hovered {@link Control} can't accept the drag-and-drop event.
1823
+ */
1824
+ readonly CURSOR_FORBIDDEN: int;
1825
+ /**
1826
+ * Vertical resize cursor. Intended to be displayed when the hovered {@link Control} can be vertically resized using the mouse. See also {@link CURSOR_VSPLIT}.
1827
+ */
1828
+ readonly CURSOR_VSIZE: int;
1829
+ /**
1830
+ * Horizontal resize cursor. Intended to be displayed when the hovered {@link Control} can be horizontally resized using the mouse. See also {@link CURSOR_HSPLIT}.
1831
+ */
1832
+ readonly CURSOR_HSIZE: int;
1833
+ /**
1834
+ * Secondary diagonal resize cursor (top-right/bottom-left). Intended to be displayed when the hovered {@link Control} can be resized on both axes at once using the mouse.
1835
+ */
1836
+ readonly CURSOR_BDIAGSIZE: int;
1837
+ /**
1838
+ * Main diagonal resize cursor (top-left/bottom-right). Intended to be displayed when the hovered {@link Control} can be resized on both axes at once using the mouse.
1839
+ */
1840
+ readonly CURSOR_FDIAGSIZE: int;
1841
+ /**
1842
+ * Move cursor. Intended to be displayed when the hovered {@link Control} can be moved using the mouse.
1843
+ */
1844
+ readonly CURSOR_MOVE: int;
1845
+ /**
1846
+ * Vertical split cursor. This is displayed when hovering a {@link Control} with splits that can be vertically resized using the mouse, such as {@link VSplitContainer}. On some cursor themes, this cursor may have the same appearance as {@link CURSOR_VSIZE}.
1847
+ */
1848
+ readonly CURSOR_VSPLIT: int;
1849
+ /**
1850
+ * Horizontal split cursor. This is displayed when hovering a {@link Control} with splits that can be horizontally resized using the mouse, such as {@link HSplitContainer}. On some cursor themes, this cursor may have the same appearance as {@link CURSOR_HSIZE}.
1851
+ */
1852
+ readonly CURSOR_HSPLIT: int;
1853
+ /**
1854
+ * Help cursor. On most cursor themes, this displays a question mark icon instead of the mouse cursor. Intended to be used when the user has requested help on the next element that will be clicked.
1855
+ */
1856
+ readonly CURSOR_HELP: int;
1857
+ /** Represents the size of the {@link CursorShape} enum. */
1858
+ readonly CURSOR_MAX: int;
1859
+ // enum FileDialogMode
1860
+ /** The native file dialog allows selecting one, and only one file. */
1861
+ readonly FILE_DIALOG_MODE_OPEN_FILE: int;
1862
+ /** The native file dialog allows selecting multiple files. */
1863
+ readonly FILE_DIALOG_MODE_OPEN_FILES: int;
1864
+ /** The native file dialog only allows selecting a directory, disallowing the selection of any file. */
1865
+ readonly FILE_DIALOG_MODE_OPEN_DIR: int;
1866
+ /** The native file dialog allows selecting one file or directory. */
1867
+ readonly FILE_DIALOG_MODE_OPEN_ANY: int;
1868
+ /** The native file dialog will warn when a file exists. */
1869
+ readonly FILE_DIALOG_MODE_SAVE_FILE: int;
1870
+ // enum WindowMode
1871
+ /**
1872
+ * Windowed mode, i.e. {@link Window} doesn't occupy the whole screen (unless set to the size of the screen).
1873
+ */
1874
+ readonly WINDOW_MODE_WINDOWED: int;
1875
+ /**
1876
+ * Minimized window mode, i.e. {@link Window} is not visible and available on window manager's window list. Normally happens when the minimize button is pressed.
1877
+ */
1878
+ readonly WINDOW_MODE_MINIMIZED: int;
1879
+ /**
1880
+ * Maximized window mode, i.e. {@link Window} will occupy whole screen area except task bar and still display its borders. Normally happens when the maximize button is pressed.
1881
+ */
1882
+ readonly WINDOW_MODE_MAXIMIZED: int;
1883
+ /**
1884
+ * Full screen mode with full multi-window support.
1885
+ * Full screen window covers the entire display area of a screen and has no decorations. The display's video mode is not changed.
1886
+ * **On Android:** This enables immersive mode.
1887
+ * **On macOS:** A new desktop is used to display the running project.
1888
+ * **Note:** Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports multiple resolutions ($DOCS_URL/tutorials/rendering/multiple_resolutions.html) when enabling full screen mode.
1889
+ */
1890
+ readonly WINDOW_MODE_FULLSCREEN: int;
1891
+ /**
1892
+ * A single window full screen mode. This mode has less overhead, but only one window can be open on a given screen at a time (opening a child window or application switching will trigger a full screen transition).
1893
+ * Full screen window covers the entire display area of a screen and has no border or decorations. The display's video mode is not changed.
1894
+ * **Note:** This mode might not work with screen recording software.
1895
+ * **On Android:** This enables immersive mode.
1896
+ * **On Windows:** Depending on video driver, full screen transition might cause screens to go black for a moment.
1897
+ * **On macOS:** A new desktop is used to display the running project. Exclusive full screen mode prevents Dock and Menu from showing up when the mouse pointer is hovering the edge of the screen.
1898
+ * **On Linux (X11):** Exclusive full screen mode bypasses compositor.
1899
+ * **On Linux (Wayland):** Equivalent to {@link WINDOW_MODE_FULLSCREEN}.
1900
+ * **Note:** Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports multiple resolutions ($DOCS_URL/tutorials/rendering/multiple_resolutions.html) when enabling full screen mode.
1901
+ */
1902
+ readonly WINDOW_MODE_EXCLUSIVE_FULLSCREEN: int;
1903
+ // enum ProgressState
1904
+ /** Stops displaying progress and returns the button to its normal state. */
1905
+ readonly PROGRESS_STATE_NOPROGRESS: int;
1906
+ /**
1907
+ * The progress indicator shows an indeterminate progress.
1908
+ * On Windows, the progress indicator does not grow in size, but cycles repeatedly along the length of the taskbar button by default.
1909
+ */
1910
+ readonly PROGRESS_STATE_INDETERMINATE: int;
1911
+ /** The progress indicator shows progress normally. */
1912
+ readonly PROGRESS_STATE_NORMAL: int;
1913
+ /**
1914
+ * The progress indicator shows that an error has occurred.
1915
+ * On Windows, the progress indicator turns red by default to show that an error has occurred in one of the windows that is broadcasting progress.
1916
+ */
1917
+ readonly PROGRESS_STATE_ERROR: int;
1918
+ /**
1919
+ * The progress indicator shows it was paused.
1920
+ * On Windows, the progress indicator turns yellow by default to show that progress is currently stopped in one of the windows but can be resumed by the user.
1921
+ */
1922
+ readonly PROGRESS_STATE_PAUSED: int;
1923
+ // enum WindowFlags
1924
+ /**
1925
+ * The window can't be resized by dragging its resize grip. It's still possible to resize the window using {@link window_set_size}. This flag is ignored for full screen windows.
1926
+ */
1927
+ readonly WINDOW_FLAG_RESIZE_DISABLED: int;
1928
+ /**
1929
+ * The window do not have native title bar and other decorations. This flag is ignored for full-screen windows.
1930
+ */
1931
+ readonly WINDOW_FLAG_BORDERLESS: int;
1932
+ /** The window is floating on top of all other windows. This flag is ignored for full-screen windows. */
1933
+ readonly WINDOW_FLAG_ALWAYS_ON_TOP: int;
1934
+ /**
1935
+ * The window background can be transparent.
1936
+ * **Note:** This flag has no effect if {@link is_window_transparency_available} returns `false`.
1937
+ * **Note:** Transparency support is implemented on Linux (X11/Wayland), macOS, and Windows, but availability might vary depending on GPU driver, display manager, and compositor capabilities.
1938
+ * **Note:** Transparency support is implemented on Android, but can only be enabled via {@link ProjectSettings.display/window/per_pixel_transparency/allowed}. This flag has no effect on Android.
1939
+ */
1940
+ readonly WINDOW_FLAG_TRANSPARENT: int;
1941
+ /** The window can't be focused. No-focus window will ignore all input, except mouse clicks. */
1942
+ readonly WINDOW_FLAG_NO_FOCUS: int;
1943
+ /**
1944
+ * Window is part of menu or {@link OptionButton} dropdown. This flag can't be changed when the window is visible. An active popup window will exclusively receive all input, without stealing focus from its parent. Popup windows are automatically closed when uses click outside it, or when an application is switched. Popup window must have transient parent set (see {@link window_set_transient}).
1945
+ */
1946
+ readonly WINDOW_FLAG_POPUP: int;
1947
+ /**
1948
+ * Window content is expanded to the full size of the window. Unlike borderless window, the frame is left intact and can be used to resize the window, title bar is transparent, but have minimize/maximize/close buttons.
1949
+ * Use {@link window_set_window_buttons_offset} to adjust minimize/maximize/close buttons offset.
1950
+ * Use {@link window_get_safe_title_margins} to determine area under the title bar that is not covered by decorations.
1951
+ * **Note:** This flag is implemented only on macOS.
1952
+ */
1953
+ readonly WINDOW_FLAG_EXTEND_TO_TITLE: int;
1954
+ /** All mouse events are passed to the underlying window of the same application. */
1955
+ readonly WINDOW_FLAG_MOUSE_PASSTHROUGH: int;
1956
+ /**
1957
+ * Window style is overridden, forcing sharp corners.
1958
+ * **Note:** This flag is implemented only on Windows (11).
1959
+ */
1960
+ readonly WINDOW_FLAG_SHARP_CORNERS: int;
1961
+ /**
1962
+ * Window is excluded from screenshots taken by {@link screen_get_image}, {@link screen_get_image_rect}, and {@link screen_get_pixel}.
1963
+ * **Note:** This flag is implemented on macOS and Windows (10, 20H1).
1964
+ * **Note:** Setting this flag will prevent standard screenshot methods from capturing a window image, but does **NOT** guarantee that other apps won't be able to capture an image. It should not be used as a DRM or security measure.
1965
+ */
1966
+ readonly WINDOW_FLAG_EXCLUDE_FROM_CAPTURE: int;
1967
+ /**
1968
+ * Signals the window manager that this window is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window).
1969
+ */
1970
+ readonly WINDOW_FLAG_POPUP_WM_HINT: int;
1971
+ /**
1972
+ * Window minimize button is disabled.
1973
+ * **Note:** This flag is implemented on macOS and Windows.
1974
+ */
1975
+ readonly WINDOW_FLAG_MINIMIZE_DISABLED: int;
1976
+ /**
1977
+ * Window maximize button is disabled.
1978
+ * **Note:** This flag is implemented on macOS and Windows.
1979
+ */
1980
+ readonly WINDOW_FLAG_MAXIMIZE_DISABLED: int;
1981
+ /** Represents the size of the {@link WindowFlags} enum. */
1982
+ readonly WINDOW_FLAG_MAX: int;
1983
+ // enum WindowEvent
1984
+ /** Sent when the mouse pointer enters the window. */
1985
+ readonly WINDOW_EVENT_MOUSE_ENTER: int;
1986
+ /** Sent when the mouse pointer exits the window. */
1987
+ readonly WINDOW_EVENT_MOUSE_EXIT: int;
1988
+ /** Sent when the window grabs focus. */
1989
+ readonly WINDOW_EVENT_FOCUS_IN: int;
1990
+ /** Sent when the window loses focus. */
1991
+ readonly WINDOW_EVENT_FOCUS_OUT: int;
1992
+ /** Sent when the user has attempted to close the window (e.g. close button is pressed). */
1993
+ readonly WINDOW_EVENT_CLOSE_REQUEST: int;
1994
+ /**
1995
+ * Sent when the device "Back" button is pressed.
1996
+ * **Note:** This event is implemented only on Android.
1997
+ */
1998
+ readonly WINDOW_EVENT_GO_BACK_REQUEST: int;
1999
+ /**
2000
+ * Sent when the window is moved to the display with different DPI, or display DPI is changed.
2001
+ * **Note:** This flag is implemented only on macOS and Linux (Wayland).
2002
+ */
2003
+ readonly WINDOW_EVENT_DPI_CHANGE: int;
2004
+ /**
2005
+ * Sent when the window title bar decoration is changed (e.g. {@link WINDOW_FLAG_EXTEND_TO_TITLE} is set or window entered/exited full screen mode).
2006
+ * **Note:** This flag is implemented only on macOS.
2007
+ */
2008
+ readonly WINDOW_EVENT_TITLEBAR_CHANGE: int;
2009
+ /**
2010
+ * Sent when the window has been forcibly closed by the display server. The window will immediately hide and clean any internal rendering references.
2011
+ * **Note:** This flag is implemented only on Linux (Wayland).
2012
+ */
2013
+ readonly WINDOW_EVENT_FORCE_CLOSE: int;
2014
+ // enum WindowResizeEdge
2015
+ /** Top-left edge of a window. */
2016
+ readonly WINDOW_EDGE_TOP_LEFT: int;
2017
+ /** Top edge of a window. */
2018
+ readonly WINDOW_EDGE_TOP: int;
2019
+ /** Top-right edge of a window. */
2020
+ readonly WINDOW_EDGE_TOP_RIGHT: int;
2021
+ /** Left edge of a window. */
2022
+ readonly WINDOW_EDGE_LEFT: int;
2023
+ /** Right edge of a window. */
2024
+ readonly WINDOW_EDGE_RIGHT: int;
2025
+ /** Bottom-left edge of a window. */
2026
+ readonly WINDOW_EDGE_BOTTOM_LEFT: int;
2027
+ /** Bottom edge of a window. */
2028
+ readonly WINDOW_EDGE_BOTTOM: int;
2029
+ /** Bottom-right edge of a window. */
2030
+ readonly WINDOW_EDGE_BOTTOM_RIGHT: int;
2031
+ /** Represents the size of the {@link WindowResizeEdge} enum. */
2032
+ readonly WINDOW_EDGE_MAX: int;
2033
+ // enum VSyncMode
2034
+ /**
2035
+ * No vertical synchronization, which means the engine will display frames as fast as possible (tearing may be visible). Framerate is unlimited (regardless of {@link Engine.max_fps}).
2036
+ */
2037
+ readonly VSYNC_DISABLED: int;
2038
+ /**
2039
+ * Default vertical synchronization mode, the image is displayed only on vertical blanking intervals (no tearing is visible). Framerate is limited by the monitor refresh rate (regardless of {@link Engine.max_fps}).
2040
+ */
2041
+ readonly VSYNC_ENABLED: int;
2042
+ /**
2043
+ * Behaves like {@link VSYNC_DISABLED} when the framerate drops below the screen's refresh rate to reduce stuttering (tearing may be visible). Otherwise, vertical synchronization is enabled to avoid tearing. Framerate is limited by the monitor refresh rate (regardless of {@link Engine.max_fps}). Behaves like {@link VSYNC_ENABLED} when using the Compatibility rendering method.
2044
+ */
2045
+ readonly VSYNC_ADAPTIVE: int;
2046
+ /**
2047
+ * Displays the most recent image in the queue on vertical blanking intervals, while rendering to the other images (no tearing is visible). Framerate is unlimited (regardless of {@link Engine.max_fps}).
2048
+ * Although not guaranteed, the images can be rendered as fast as possible, which may reduce input lag (also called "Fast" V-Sync mode). {@link VSYNC_MAILBOX} works best when at least twice as many frames as the display refresh rate are rendered. Behaves like {@link VSYNC_ENABLED} when using the Compatibility rendering method.
2049
+ */
2050
+ readonly VSYNC_MAILBOX: int;
2051
+ // enum HandleType
2052
+ /**
2053
+ * Display handle:
2054
+ * - Linux (X11): `X11::Display*` for the display.
2055
+ * - Linux (Wayland): `wl_display` for the display.
2056
+ * - Android: `EGLDisplay` for the display.
2057
+ */
2058
+ readonly DISPLAY_HANDLE: int;
2059
+ /**
2060
+ * Window handle:
2061
+ * - Windows: `HWND` for the window.
2062
+ * - Linux (X11): `X11::Window*` for the window.
2063
+ * - Linux (Wayland): `wl_surface` for the window.
2064
+ * - macOS: `NSWindow*` for the window.
2065
+ * - iOS: `UIViewController*` for the view controller.
2066
+ * - Android: `jObject` for the activity.
2067
+ */
2068
+ readonly WINDOW_HANDLE: int;
2069
+ /**
2070
+ * Window view:
2071
+ * - Windows: `HDC` for the window (only with the Compatibility renderer).
2072
+ * - macOS: `NSView*` for the window main view.
2073
+ * - iOS: `UIView*` for the window main view.
2074
+ */
2075
+ readonly WINDOW_VIEW: int;
2076
+ /**
2077
+ * OpenGL context (only with the Compatibility renderer):
2078
+ * - Windows: `HGLRC` for the window (native GL), or `EGLContext` for the window (ANGLE).
2079
+ * - Linux (X11): `GLXContext*` for the window.
2080
+ * - Linux (Wayland): `EGLContext` for the window.
2081
+ * - macOS: `NSOpenGLContext*` for the window (native GL), or `EGLContext` for the window (ANGLE).
2082
+ * - Android: `EGLContext` for the window.
2083
+ */
2084
+ readonly OPENGL_CONTEXT: int;
2085
+ /**
2086
+ * - Windows: `EGLDisplay` for the window (ANGLE).
2087
+ * - macOS: `EGLDisplay` for the window (ANGLE).
2088
+ * - Linux (Wayland): `EGLDisplay` for the window.
2089
+ */
2090
+ readonly EGL_DISPLAY: int;
2091
+ /**
2092
+ * - Windows: `EGLConfig` for the window (ANGLE).
2093
+ * - macOS: `EGLConfig` for the window (ANGLE).
2094
+ * - Linux (Wayland): `EGLConfig` for the window.
2095
+ */
2096
+ readonly EGL_CONFIG: int;
2097
+ /**
2098
+ * The GLX `VisualID` for the window.
2099
+ * **Note:** Only available on Linux when using X11.
2100
+ */
2101
+ readonly GLX_VISUALID: int;
2102
+ /**
2103
+ * The `GLXFBConfig` for the window.
2104
+ * **Note:** Only available on Linux when using X11.
2105
+ */
2106
+ readonly GLX_FBCONFIG: int;
2107
+ // enum TTSUtteranceEvent
2108
+ /** Utterance has begun to be spoken. */
2109
+ readonly TTS_UTTERANCE_STARTED: int;
2110
+ /** Utterance was successfully finished. */
2111
+ readonly TTS_UTTERANCE_ENDED: int;
2112
+ /** Utterance was canceled, or TTS service was unable to process it. */
2113
+ readonly TTS_UTTERANCE_CANCELED: int;
2114
+ /** Utterance reached a word or sentence boundary. */
2115
+ readonly TTS_UTTERANCE_BOUNDARY: int;
2116
+
2117
+ /**
2118
+ * The ID that refers to a screen that does not exist. This is returned by some {@link DisplayServer} methods if no screen matches the requested result.
2119
+ */
2120
+ readonly INVALID_SCREEN: int;
2121
+ /**
2122
+ * Represents the screen containing the mouse pointer.
2123
+ * **Note:** On Android, iOS, Web, and Linux (Wayland), this constant always represents the screen at index `0`.
2124
+ */
2125
+ readonly SCREEN_WITH_MOUSE_FOCUS: int;
2126
+ /**
2127
+ * Represents the screen containing the window with the keyboard focus.
2128
+ * **Note:** On Android, iOS, Web, and Linux (Wayland), this constant always represents the screen at index `0`.
2129
+ */
2130
+ readonly SCREEN_WITH_KEYBOARD_FOCUS: int;
2131
+ /**
2132
+ * Represents the primary screen.
2133
+ * **Note:** On Android, iOS, Web, and Linux (Wayland), this constant always represents the screen at index `0`.
2134
+ */
2135
+ readonly SCREEN_PRIMARY: int;
2136
+ /**
2137
+ * Represents the screen where the main window is located. This is usually the default value in functions that allow specifying one of several screens.
2138
+ * **Note:** On Android, iOS, Web, and Linux (Wayland), this constant always represents the screen at index `0`.
2139
+ */
2140
+ readonly SCREEN_OF_MAIN_WINDOW: int;
2141
+ /**
2142
+ * The ID of the main window spawned by the engine, which can be passed to methods expecting a `window_id`.
2143
+ */
2144
+ readonly MAIN_WINDOW_ID: int;
2145
+ /**
2146
+ * The ID that refers to a nonexistent window. This is returned by some {@link DisplayServer} methods if no window matches the requested result.
2147
+ */
2148
+ readonly INVALID_WINDOW_ID: int;
2149
+ /** The ID that refers to a nonexistent application status indicator. */
2150
+ readonly INVALID_INDICATOR_ID: int;
2151
+ }
2152
+ declare const DisplayServer: DisplayServer;
2153
+