@ringozz/godot 4.7.2-685 → 4.7.2-686

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 (1026) hide show
  1. package/README.md +185 -185
  2. package/gen/classes/AESContext.ts +6 -6
  3. package/gen/classes/AStar2D.ts +25 -25
  4. package/gen/classes/AStar3D.ts +25 -25
  5. package/gen/classes/AStarGrid2D.ts +33 -33
  6. package/gen/classes/AcceptDialog.ts +23 -22
  7. package/gen/classes/AccessibilityServer.ts +79 -75
  8. package/gen/classes/AimModifier3D.ts +12 -12
  9. package/gen/classes/AnimatableBody2D.ts +2 -2
  10. package/gen/classes/AnimatableBody3D.ts +2 -2
  11. package/gen/classes/AnimatedSprite2D.ts +37 -37
  12. package/gen/classes/AnimatedSprite3D.ts +29 -29
  13. package/gen/classes/AnimatedTexture.ts +14 -14
  14. package/gen/classes/Animation.ts +102 -86
  15. package/gen/classes/AnimationLibrary.ts +15 -15
  16. package/gen/classes/AnimationMixer.ts +54 -54
  17. package/gen/classes/AnimationNode.ts +27 -27
  18. package/gen/classes/AnimationNodeAnimation.ts +16 -16
  19. package/gen/classes/AnimationNodeBlendSpace1D.ts +37 -27
  20. package/gen/classes/AnimationNodeBlendSpace2D.ts +48 -41
  21. package/gen/classes/AnimationNodeBlendTree.ts +14 -14
  22. package/gen/classes/AnimationNodeExtension.ts +2 -2
  23. package/gen/classes/AnimationNodeObserver.ts +10 -0
  24. package/gen/classes/AnimationNodeObserverBlendSpace.ts +18 -0
  25. package/gen/classes/AnimationNodeObserverOneShot.ts +36 -0
  26. package/gen/classes/AnimationNodeObserverTransition.ts +24 -0
  27. package/gen/classes/AnimationNodeOneShot.ts +34 -22
  28. package/gen/classes/AnimationNodeOutput.ts +2 -2
  29. package/gen/classes/AnimationNodeStateMachine.ts +28 -28
  30. package/gen/classes/AnimationNodeStateMachinePlayback.ts +20 -20
  31. package/gen/classes/AnimationNodeStateMachineTransition.ts +22 -22
  32. package/gen/classes/AnimationNodeSub2.ts +2 -2
  33. package/gen/classes/AnimationNodeSync.ts +4 -4
  34. package/gen/classes/AnimationNodeTimeScale.ts +2 -2
  35. package/gen/classes/AnimationNodeTimeSeek.ts +4 -4
  36. package/gen/classes/AnimationNodeTransition.ts +28 -16
  37. package/gen/classes/AnimationPlayer.ts +67 -60
  38. package/gen/classes/AnimationRootNode.ts +2 -2
  39. package/gen/classes/AnimationTree.ts +12 -12
  40. package/gen/classes/Area2D.ts +55 -55
  41. package/gen/classes/Area3D.ts +69 -69
  42. package/gen/classes/AreaLight3D.ts +13 -13
  43. package/gen/classes/ArrayMesh.ts +28 -28
  44. package/gen/classes/ArrayOccluder3D.ts +7 -7
  45. package/gen/classes/AspectRatioContainer.ts +10 -10
  46. package/gen/classes/AtlasTexture.ts +10 -10
  47. package/gen/classes/AudioBusLayout.ts +2 -2
  48. package/gen/classes/AudioEffect.ts +2 -2
  49. package/gen/classes/AudioEffectAmplify.ts +6 -6
  50. package/gen/classes/AudioEffectBandLimitFilter.ts +2 -2
  51. package/gen/classes/AudioEffectBandPassFilter.ts +2 -2
  52. package/gen/classes/AudioEffectCapture.ts +11 -11
  53. package/gen/classes/AudioEffectChorus.ts +20 -20
  54. package/gen/classes/AudioEffectCompressor.ts +16 -16
  55. package/gen/classes/AudioEffectDelay.ts +28 -28
  56. package/gen/classes/AudioEffectDistortion.ts +12 -12
  57. package/gen/classes/AudioEffectEQ.ts +5 -5
  58. package/gen/classes/AudioEffectEQ10.ts +2 -2
  59. package/gen/classes/AudioEffectEQ21.ts +2 -2
  60. package/gen/classes/AudioEffectEQ6.ts +2 -2
  61. package/gen/classes/AudioEffectFilter.ts +10 -10
  62. package/gen/classes/AudioEffectHardLimiter.ts +8 -8
  63. package/gen/classes/AudioEffectHighPassFilter.ts +2 -2
  64. package/gen/classes/AudioEffectHighShelfFilter.ts +2 -2
  65. package/gen/classes/AudioEffectInstance.ts +2 -2
  66. package/gen/classes/AudioEffectLimiter.ts +10 -10
  67. package/gen/classes/AudioEffectLowPassFilter.ts +2 -2
  68. package/gen/classes/AudioEffectLowShelfFilter.ts +2 -2
  69. package/gen/classes/AudioEffectNotchFilter.ts +2 -2
  70. package/gen/classes/AudioEffectPanner.ts +4 -4
  71. package/gen/classes/AudioEffectPhaser.ts +12 -12
  72. package/gen/classes/AudioEffectPitchShift.ts +8 -8
  73. package/gen/classes/AudioEffectRecord.ts +7 -7
  74. package/gen/classes/AudioEffectReverb.ts +18 -18
  75. package/gen/classes/AudioEffectSpectrumAnalyzer.ts +6 -6
  76. package/gen/classes/AudioEffectSpectrumAnalyzerInstance.ts +2 -2
  77. package/gen/classes/AudioEffectStereoEnhance.ts +8 -8
  78. package/gen/classes/AudioListener2D.ts +5 -5
  79. package/gen/classes/AudioListener3D.ts +8 -8
  80. package/gen/classes/AudioSample.ts +2 -2
  81. package/gen/classes/AudioSamplePlayback.ts +2 -2
  82. package/gen/classes/AudioServer.ts +63 -63
  83. package/gen/classes/AudioStream.ts +10 -10
  84. package/gen/classes/AudioStreamGenerator.ts +8 -8
  85. package/gen/classes/AudioStreamGeneratorPlayback.ts +7 -7
  86. package/gen/classes/AudioStreamInteractive.ts +25 -25
  87. package/gen/classes/AudioStreamMP3.ts +16 -16
  88. package/gen/classes/AudioStreamMicrophone.ts +2 -2
  89. package/gen/classes/AudioStreamOggVorbis.ts +18 -18
  90. package/gen/classes/AudioStreamPlayback.ts +11 -11
  91. package/gen/classes/AudioStreamPlaybackInteractive.ts +4 -4
  92. package/gen/classes/AudioStreamPlaybackOggVorbis.ts +2 -2
  93. package/gen/classes/AudioStreamPlaybackPlaylist.ts +1 -1
  94. package/gen/classes/AudioStreamPlaybackPolyphonic.ts +6 -6
  95. package/gen/classes/AudioStreamPlaybackResampled.ts +3 -3
  96. package/gen/classes/AudioStreamPlaybackSynchronized.ts +1 -1
  97. package/gen/classes/AudioStreamPlayer.ts +32 -32
  98. package/gen/classes/AudioStreamPlayer2D.ts +38 -38
  99. package/gen/classes/AudioStreamPlayer3D.ts +54 -54
  100. package/gen/classes/AudioStreamPlaylist.ts +139 -139
  101. package/gen/classes/AudioStreamPolyphonic.ts +4 -4
  102. package/gen/classes/AudioStreamRandomizer.ts +19 -19
  103. package/gen/classes/AudioStreamSynchronized.ts +8 -8
  104. package/gen/classes/AudioStreamWAV.ts +21 -21
  105. package/gen/classes/AwaitTweener.ts +3 -3
  106. package/gen/classes/BackBufferCopy.ts +6 -6
  107. package/gen/classes/BaseButton.ts +39 -33
  108. package/gen/classes/BaseMaterial3D.ts +283 -268
  109. package/gen/classes/BitMap.ts +17 -17
  110. package/gen/classes/BlitMaterial.ts +8 -4
  111. package/gen/classes/Bone2D.ts +13 -13
  112. package/gen/classes/BoneAttachment3D.ts +14 -14
  113. package/gen/classes/BoneConstraint3D.ts +26 -26
  114. package/gen/classes/BoneMap.ts +11 -11
  115. package/gen/classes/BoneSpaceAdjuster3D.ts +76 -0
  116. package/gen/classes/BoneTwistDisperser3D.ts +36 -36
  117. package/gen/classes/BoxContainer.ts +13 -7
  118. package/gen/classes/BoxMesh.ts +10 -10
  119. package/gen/classes/BoxOccluder3D.ts +4 -4
  120. package/gen/classes/BoxShape3D.ts +4 -4
  121. package/gen/classes/Button.ts +28 -28
  122. package/gen/classes/ButtonGroup.ts +8 -8
  123. package/gen/classes/CCDIK3D.ts +2 -2
  124. package/gen/classes/CPUParticles2D.ts +145 -145
  125. package/gen/classes/CPUParticles3D.ts +162 -162
  126. package/gen/classes/CSGBox3D.ts +6 -6
  127. package/gen/classes/CSGCombiner3D.ts +2 -2
  128. package/gen/classes/CSGCylinder3D.ts +14 -14
  129. package/gen/classes/CSGMesh3D.ts +6 -6
  130. package/gen/classes/CSGPolygon3D.ts +36 -36
  131. package/gen/classes/CSGPrimitive3D.ts +3 -3
  132. package/gen/classes/CSGShape3D.ts +27 -27
  133. package/gen/classes/CSGSphere3D.ts +12 -12
  134. package/gen/classes/CSGTorus3D.ts +14 -14
  135. package/gen/classes/CallbackTweener.ts +3 -3
  136. package/gen/classes/Camera2D.ts +66 -66
  137. package/gen/classes/Camera3D.ts +53 -53
  138. package/gen/classes/CameraAttributes.ts +12 -12
  139. package/gen/classes/CameraAttributesPhysical.ts +21 -21
  140. package/gen/classes/CameraAttributesPractical.ts +20 -20
  141. package/gen/classes/CameraFeed.ts +23 -23
  142. package/gen/classes/CameraServer.ts +15 -15
  143. package/gen/classes/CameraTexture.ts +8 -8
  144. package/gen/classes/CanvasGroup.ts +8 -8
  145. package/gen/classes/CanvasItem.ts +115 -113
  146. package/gen/classes/CanvasItemMaterial.ts +14 -14
  147. package/gen/classes/CanvasLayer.ts +27 -27
  148. package/gen/classes/CanvasModulate.ts +4 -4
  149. package/gen/classes/CanvasTexture.ts +16 -16
  150. package/gen/classes/CapsuleMesh.ts +10 -10
  151. package/gen/classes/CapsuleShape2D.ts +8 -8
  152. package/gen/classes/CapsuleShape3D.ts +8 -8
  153. package/gen/classes/CenterContainer.ts +4 -4
  154. package/gen/classes/ChainIK3D.ts +18 -18
  155. package/gen/classes/CharFXTransform.ts +28 -28
  156. package/gen/classes/CharacterBody2D.ts +50 -50
  157. package/gen/classes/CharacterBody3D.ts +51 -51
  158. package/gen/classes/CheckBox.ts +2 -2
  159. package/gen/classes/CheckButton.ts +2 -2
  160. package/gen/classes/CircleShape2D.ts +4 -4
  161. package/gen/classes/ClassDB.ts +38 -32
  162. package/gen/classes/CodeEdit.ts +126 -126
  163. package/gen/classes/CodeHighlighter.ts +30 -30
  164. package/gen/classes/CollisionObject2D.ts +52 -52
  165. package/gen/classes/CollisionObject3D.ts +44 -44
  166. package/gen/classes/CollisionPolygon2D.ts +14 -14
  167. package/gen/classes/CollisionPolygon3D.ts +14 -14
  168. package/gen/classes/CollisionShape2D.ts +14 -14
  169. package/gen/classes/CollisionShape3D.ts +12 -12
  170. package/gen/classes/ColorPalette.ts +4 -4
  171. package/gen/classes/ColorPicker.ts +38 -38
  172. package/gen/classes/ColorPickerButton.ts +16 -16
  173. package/gen/classes/ColorRect.ts +4 -4
  174. package/gen/classes/Compositor.ts +4 -4
  175. package/gen/classes/CompositorEffect.ts +16 -16
  176. package/gen/classes/CompressedCubemap.ts +2 -2
  177. package/gen/classes/CompressedCubemapArray.ts +2 -2
  178. package/gen/classes/CompressedTexture2D.ts +4 -4
  179. package/gen/classes/CompressedTexture2DArray.ts +2 -2
  180. package/gen/classes/CompressedTexture3D.ts +4 -4
  181. package/gen/classes/CompressedTextureLayered.ts +3 -3
  182. package/gen/classes/ConcavePolygonShape2D.ts +4 -4
  183. package/gen/classes/ConcavePolygonShape3D.ts +6 -6
  184. package/gen/classes/ConeTwistJoint3D.ts +12 -12
  185. package/gen/classes/ConfigFile.ts +19 -19
  186. package/gen/classes/ConfirmationDialog.ts +6 -5
  187. package/gen/classes/Container.ts +10 -10
  188. package/gen/classes/Control.ts +280 -240
  189. package/gen/classes/ConvertTransformModifier3D.ts +42 -29
  190. package/gen/classes/ConvexPolygonShape2D.ts +5 -5
  191. package/gen/classes/ConvexPolygonShape3D.ts +4 -4
  192. package/gen/classes/CopyTransformModifier3D.ts +59 -46
  193. package/gen/classes/Crypto.ts +11 -11
  194. package/gen/classes/CryptoKey.ts +7 -7
  195. package/gen/classes/Cubemap.ts +3 -3
  196. package/gen/classes/CubemapArray.ts +3 -3
  197. package/gen/classes/Curve.ts +38 -38
  198. package/gen/classes/Curve2D.ts +25 -25
  199. package/gen/classes/Curve3D.ts +34 -34
  200. package/gen/classes/CurveTexture.ts +8 -8
  201. package/gen/classes/CurveXYZTexture.ts +10 -10
  202. package/gen/classes/CylinderMesh.ts +16 -16
  203. package/gen/classes/CylinderShape3D.ts +6 -6
  204. package/gen/classes/DPITexture.ts +17 -17
  205. package/gen/classes/DTLSServer.ts +4 -4
  206. package/gen/classes/DampedSpringJoint2D.ts +10 -10
  207. package/gen/classes/Decal.ts +32 -32
  208. package/gen/classes/DirAccess.ts +43 -43
  209. package/gen/classes/DirectionalLight2D.ts +6 -6
  210. package/gen/classes/DirectionalLight3D.ts +24 -24
  211. package/gen/classes/DisplayServer.ts +392 -326
  212. package/gen/classes/DrawableTexture2D.ts +10 -10
  213. package/gen/classes/ENetConnection.ts +20 -20
  214. package/gen/classes/ENetMultiplayerPeer.ts +9 -9
  215. package/gen/classes/ENetPacketPeer.ts +18 -18
  216. package/gen/classes/EncodedObjectAsID.ts +4 -4
  217. package/gen/classes/Engine.ts +43 -43
  218. package/gen/classes/EngineDebugger.ts +25 -25
  219. package/gen/classes/EngineProfiler.ts +2 -2
  220. package/gen/classes/Environment.ts +190 -190
  221. package/gen/classes/Expression.ts +6 -6
  222. package/gen/classes/ExternalTexture.ts +6 -6
  223. package/gen/classes/FABRIK3D.ts +2 -2
  224. package/gen/classes/FBXDocument.ts +2 -2
  225. package/gen/classes/FBXState.ts +4 -4
  226. package/gen/classes/FastNoiseLite.ts +44 -44
  227. package/gen/classes/FileAccess.ts +69 -69
  228. package/gen/classes/FileDialog.ts +113 -79
  229. package/gen/classes/FlowContainer.ts +11 -11
  230. package/gen/classes/FogMaterial.ts +14 -14
  231. package/gen/classes/FogVolume.ts +8 -8
  232. package/gen/classes/FoldableContainer.ts +35 -24
  233. package/gen/classes/FoldableGroup.ts +8 -8
  234. package/gen/classes/Font.ts +38 -38
  235. package/gen/classes/FontFile.ts +113 -113
  236. package/gen/classes/FontVariation.ts +28 -28
  237. package/gen/classes/FramebufferCacheRD.ts +3 -3
  238. package/gen/classes/FuzzySearch.ts +86 -0
  239. package/gen/classes/FuzzySearchMatch.ts +36 -0
  240. package/gen/classes/GDExtension.ts +4 -4
  241. package/gen/classes/GDExtensionManager.ts +15 -15
  242. package/gen/classes/GDScript.ts +3 -3
  243. package/gen/classes/GLTFAccessor.ts +34 -34
  244. package/gen/classes/GLTFAnimation.ts +8 -8
  245. package/gen/classes/GLTFBufferView.ts +17 -17
  246. package/gen/classes/GLTFCamera.ts +16 -16
  247. package/gen/classes/GLTFDocument.ts +27 -27
  248. package/gen/classes/GLTFDocumentExtension.ts +2 -2
  249. package/gen/classes/GLTFDocumentExtensionConvertImporterMesh.ts +2 -2
  250. package/gen/classes/GLTFLight.ts +20 -20
  251. package/gen/classes/GLTFMesh.ts +12 -12
  252. package/gen/classes/GLTFNode.ts +34 -34
  253. package/gen/classes/GLTFObjectModelProperty.ts +20 -20
  254. package/gen/classes/GLTFPhysicsBody.ts +22 -22
  255. package/gen/classes/GLTFPhysicsShape.ts +25 -25
  256. package/gen/classes/GLTFSkeleton.ts +13 -13
  257. package/gen/classes/GLTFSkin.ts +22 -22
  258. package/gen/classes/GLTFSpecGloss.ts +12 -12
  259. package/gen/classes/GLTFState.ts +74 -74
  260. package/gen/classes/GLTFTexture.ts +6 -6
  261. package/gen/classes/GLTFTextureSampler.ts +10 -10
  262. package/gen/classes/GPUParticles2D.ts +63 -62
  263. package/gen/classes/GPUParticles3D.ts +81 -76
  264. package/gen/classes/GPUParticlesAttractor3D.ts +9 -9
  265. package/gen/classes/GPUParticlesAttractorBox3D.ts +4 -4
  266. package/gen/classes/GPUParticlesAttractorSphere3D.ts +4 -4
  267. package/gen/classes/GPUParticlesAttractorVectorField3D.ts +6 -6
  268. package/gen/classes/GPUParticlesCollision3D.ts +3 -3
  269. package/gen/classes/GPUParticlesCollisionBox3D.ts +4 -4
  270. package/gen/classes/GPUParticlesCollisionHeightField3D.ts +14 -14
  271. package/gen/classes/GPUParticlesCollisionSDF3D.ts +14 -14
  272. package/gen/classes/GPUParticlesCollisionSphere3D.ts +4 -4
  273. package/gen/classes/Generic6DOFJoint3D.ts +54 -16
  274. package/gen/classes/Geometry2D.ts +26 -26
  275. package/gen/classes/Geometry3D.ts +17 -17
  276. package/gen/classes/GeometryInstance3D.ts +36 -36
  277. package/gen/classes/GodotInstance.ts +8 -8
  278. package/gen/classes/Gradient.ts +19 -19
  279. package/gen/classes/GradientTexture1D.ts +8 -8
  280. package/gen/classes/GradientTexture2D.ts +18 -18
  281. package/gen/classes/GraphEdit.ts +116 -116
  282. package/gen/classes/GraphElement.ts +30 -30
  283. package/gen/classes/GraphFrame.ts +17 -17
  284. package/gen/classes/GraphNode.ts +48 -48
  285. package/gen/classes/GridContainer.ts +4 -4
  286. package/gen/classes/GridMap.ts +76 -64
  287. package/gen/classes/GrooveJoint2D.ts +6 -6
  288. package/gen/classes/HBoxContainer.ts +2 -2
  289. package/gen/classes/HFlowContainer.ts +2 -2
  290. package/gen/classes/HMACContext.ts +5 -5
  291. package/gen/classes/HScrollBar.ts +2 -2
  292. package/gen/classes/HSeparator.ts +2 -2
  293. package/gen/classes/HSlider.ts +2 -2
  294. package/gen/classes/HSplitContainer.ts +2 -2
  295. package/gen/classes/HTTPClient.ts +25 -25
  296. package/gen/classes/HTTPRequest.ts +42 -28
  297. package/gen/classes/HashingContext.ts +5 -5
  298. package/gen/classes/HeightMapShape3D.ts +12 -12
  299. package/gen/classes/HingeJoint3D.ts +6 -6
  300. package/gen/classes/IKModifier3D.ts +8 -7
  301. package/gen/classes/IP.ts +12 -12
  302. package/gen/classes/Image.ts +124 -88
  303. package/gen/classes/ImageFormatLoader.ts +1 -1
  304. package/gen/classes/ImageFormatLoaderExtension.ts +4 -4
  305. package/gen/classes/ImageTexture.ts +8 -8
  306. package/gen/classes/ImageTexture3D.ts +4 -4
  307. package/gen/classes/ImageTextureLayered.ts +3 -3
  308. package/gen/classes/ImmediateMesh.ts +12 -12
  309. package/gen/classes/ImporterMesh.ts +27 -27
  310. package/gen/classes/ImporterMeshInstance3D.ts +22 -22
  311. package/gen/classes/Input.ts +174 -109
  312. package/gen/classes/InputEvent.ts +17 -17
  313. package/gen/classes/InputEventAction.ts +10 -10
  314. package/gen/classes/InputEventFromWindow.ts +3 -3
  315. package/gen/classes/InputEventGesture.ts +3 -3
  316. package/gen/classes/InputEventJoypadButton.ts +8 -8
  317. package/gen/classes/InputEventJoypadMotion.ts +6 -6
  318. package/gen/classes/InputEventKey.ts +31 -31
  319. package/gen/classes/InputEventMIDI.ts +18 -18
  320. package/gen/classes/InputEventMagnifyGesture.ts +4 -4
  321. package/gen/classes/InputEventMouse.ts +7 -7
  322. package/gen/classes/InputEventMouseButton.ts +12 -12
  323. package/gen/classes/InputEventMouseMotion.ts +16 -16
  324. package/gen/classes/InputEventPanGesture.ts +4 -4
  325. package/gen/classes/InputEventScreenDrag.ts +20 -20
  326. package/gen/classes/InputEventScreenTouch.ts +19 -12
  327. package/gen/classes/InputEventShortcut.ts +4 -4
  328. package/gen/classes/InputEventWithModifiers.ts +13 -13
  329. package/gen/classes/InputMap.ts +18 -18
  330. package/gen/classes/InstancePlaceholder.ts +4 -4
  331. package/gen/classes/IntervalTweener.ts +2 -2
  332. package/gen/classes/ItemList.ts +97 -97
  333. package/gen/classes/IterateIK3D.ts +40 -26
  334. package/gen/classes/JNISingleton.ts +3 -3
  335. package/gen/classes/JSON.ts +17 -17
  336. package/gen/classes/JSONRPC.ts +9 -9
  337. package/gen/classes/JacobianIK3D.ts +2 -2
  338. package/gen/classes/JavaClass.ts +6 -6
  339. package/gen/classes/JavaClassWrapper.ts +6 -6
  340. package/gen/classes/JavaObject.ts +4 -4
  341. package/gen/classes/JavaScriptBridge.ts +14 -14
  342. package/gen/classes/JavaScriptObject.ts +1 -1
  343. package/gen/classes/Joint2D.ts +10 -10
  344. package/gen/classes/Joint3D.ts +14 -12
  345. package/gen/classes/JointLimitation3D.ts +2 -2
  346. package/gen/classes/JointLimitationCone3D.ts +4 -4
  347. package/gen/classes/KinematicCollision2D.ts +15 -15
  348. package/gen/classes/KinematicCollision3D.ts +16 -16
  349. package/gen/classes/Label.ts +74 -51
  350. package/gen/classes/Label3D.ts +69 -69
  351. package/gen/classes/LabelSettings.ts +43 -43
  352. package/gen/classes/Light2D.ts +33 -33
  353. package/gen/classes/Light3D.ts +73 -57
  354. package/gen/classes/LightOccluder2D.ts +8 -8
  355. package/gen/classes/LightmapGI.ts +59 -47
  356. package/gen/classes/LightmapGIData.ts +20 -20
  357. package/gen/classes/LightmapProbe.ts +2 -2
  358. package/gen/classes/Lightmapper.ts +1 -1
  359. package/gen/classes/LightmapperRD.ts +2 -2
  360. package/gen/classes/LimitAngularVelocityModifier3D.ts +19 -19
  361. package/gen/classes/Line2D.ts +36 -36
  362. package/gen/classes/LineBase3D.ts +67 -0
  363. package/gen/classes/LineEdit.ts +108 -108
  364. package/gen/classes/LinkButton.ts +20 -20
  365. package/gen/classes/Logger.ts +2 -2
  366. package/gen/classes/LookAtModifier3D.ts +76 -68
  367. package/gen/classes/MainLoop.ts +4 -4
  368. package/gen/classes/MarginContainer.ts +2 -2
  369. package/gen/classes/Marker2D.ts +5 -5
  370. package/gen/classes/Marker3D.ts +5 -5
  371. package/gen/classes/Marshalls.ts +8 -8
  372. package/gen/classes/Material.ts +8 -8
  373. package/gen/classes/MenuBar.ts +26 -26
  374. package/gen/classes/MenuButton.ts +11 -11
  375. package/gen/classes/Mesh.ts +27 -23
  376. package/gen/classes/MeshConvexDecompositionSettings.ts +28 -28
  377. package/gen/classes/MeshDataTool.ts +40 -40
  378. package/gen/classes/MeshInstance2D.ts +8 -8
  379. package/gen/classes/MeshInstance3D.ts +23 -23
  380. package/gen/classes/MeshLibrary.ts +38 -28
  381. package/gen/classes/MeshTexture.ts +8 -8
  382. package/gen/classes/MethodTweener.ts +5 -5
  383. package/gen/classes/MissingNode.ts +10 -10
  384. package/gen/classes/MissingResource.ts +6 -6
  385. package/gen/classes/MobileVRInterface.ts +22 -22
  386. package/gen/classes/ModifierBoneTarget3D.ts +6 -6
  387. package/gen/classes/MovieWriter.ts +3 -3
  388. package/gen/classes/MultiMesh.ts +40 -40
  389. package/gen/classes/MultiMeshInstance2D.ts +8 -8
  390. package/gen/classes/MultiMeshInstance3D.ts +4 -4
  391. package/gen/classes/MultiplayerAPI.ts +25 -25
  392. package/gen/classes/MultiplayerAPIExtension.ts +2 -2
  393. package/gen/classes/MultiplayerPeer.ts +23 -23
  394. package/gen/classes/MultiplayerPeerExtension.ts +2 -2
  395. package/gen/classes/MultiplayerSpawner.ts +17 -17
  396. package/gen/classes/MultiplayerSynchronizer.ts +25 -25
  397. package/gen/classes/Mutex.ts +5 -5
  398. package/gen/classes/NativeMenu.ts +84 -71
  399. package/gen/classes/NavigationAgent2D.ts +98 -98
  400. package/gen/classes/NavigationAgent3D.ts +104 -104
  401. package/gen/classes/NavigationLink2D.ts +26 -26
  402. package/gen/classes/NavigationLink3D.ts +26 -26
  403. package/gen/classes/NavigationMesh.ts +62 -62
  404. package/gen/classes/NavigationMeshGenerator.ts +6 -6
  405. package/gen/classes/NavigationMeshSourceGeometryData2D.ts +18 -18
  406. package/gen/classes/NavigationMeshSourceGeometryData3D.ts +18 -18
  407. package/gen/classes/NavigationObstacle2D.ts +24 -23
  408. package/gen/classes/NavigationObstacle3D.ts +31 -30
  409. package/gen/classes/NavigationPathQueryParameters2D.ts +34 -34
  410. package/gen/classes/NavigationPathQueryParameters3D.ts +34 -34
  411. package/gen/classes/NavigationPathQueryResult2D.ts +13 -13
  412. package/gen/classes/NavigationPathQueryResult3D.ts +13 -13
  413. package/gen/classes/NavigationPolygon.ts +44 -44
  414. package/gen/classes/NavigationRegion2D.ts +28 -28
  415. package/gen/classes/NavigationRegion3D.ts +28 -28
  416. package/gen/classes/NavigationServer2D.ts +157 -157
  417. package/gen/classes/NavigationServer2DManager.ts +4 -4
  418. package/gen/classes/NavigationServer3D.ts +176 -176
  419. package/gen/classes/NavigationServer3DManager.ts +4 -4
  420. package/gen/classes/NinePatchRect.ts +22 -22
  421. package/gen/classes/Node.ts +145 -145
  422. package/gen/classes/Node2D.ts +37 -37
  423. package/gen/classes/Node3D.ts +75 -75
  424. package/gen/classes/Node3DGizmo.ts +1 -1
  425. package/gen/classes/Noise.ts +10 -10
  426. package/gen/classes/NoiseTexture2D.ts +26 -26
  427. package/gen/classes/NoiseTexture3D.ts +20 -20
  428. package/gen/classes/ORMMaterial3D.ts +2 -2
  429. package/gen/classes/OS.ts +101 -90
  430. package/gen/classes/Object.ts +60 -60
  431. package/gen/classes/Occluder3D.ts +3 -3
  432. package/gen/classes/OccluderInstance3D.ts +10 -10
  433. package/gen/classes/OccluderPolygon2D.ts +8 -8
  434. package/gen/classes/OfflineMultiplayerPeer.ts +2 -2
  435. package/gen/classes/OggPacketSequence.ts +9 -9
  436. package/gen/classes/OggPacketSequencePlayback.ts +2 -2
  437. package/gen/classes/OmniLight3D.ts +8 -8
  438. package/gen/classes/OpenXRAPIExtension.ts +58 -53
  439. package/gen/classes/OpenXRAction.ts +8 -8
  440. package/gen/classes/OpenXRActionBindingModifier.ts +2 -2
  441. package/gen/classes/OpenXRActionMap.ts +17 -17
  442. package/gen/classes/OpenXRActionSet.ts +11 -11
  443. package/gen/classes/OpenXRAnalogThresholdModifier.ts +10 -10
  444. package/gen/classes/OpenXRAnchorTracker.ts +7 -7
  445. package/gen/classes/OpenXRAndroidThreadSettingsExtension.ts +3 -3
  446. package/gen/classes/OpenXRBindingModifier.ts +1 -1
  447. package/gen/classes/OpenXRCompositionLayer.ts +42 -42
  448. package/gen/classes/OpenXRCompositionLayerCylinder.ts +10 -10
  449. package/gen/classes/OpenXRCompositionLayerEquirect.ts +12 -12
  450. package/gen/classes/OpenXRCompositionLayerQuad.ts +4 -4
  451. package/gen/classes/OpenXRDpadBindingModifier.ts +20 -20
  452. package/gen/classes/OpenXRExtensionWrapper.ts +6 -5
  453. package/gen/classes/OpenXRExtensionWrapperExtension.ts +2 -2
  454. package/gen/classes/OpenXRFoveatedInsetViewport.ts +26 -0
  455. package/gen/classes/OpenXRFrameSynthesisExtension.ts +8 -8
  456. package/gen/classes/OpenXRFutureExtension.ts +5 -5
  457. package/gen/classes/OpenXRFutureResult.ts +8 -8
  458. package/gen/classes/OpenXRHand.ts +12 -12
  459. package/gen/classes/OpenXRHapticBase.ts +1 -1
  460. package/gen/classes/OpenXRHapticVibration.ts +8 -8
  461. package/gen/classes/OpenXRIPBinding.ts +16 -16
  462. package/gen/classes/OpenXRIPBindingModifier.ts +2 -2
  463. package/gen/classes/OpenXRInteractionProfile.ts +12 -12
  464. package/gen/classes/OpenXRInteractionProfileMetadata.ts +7 -7
  465. package/gen/classes/OpenXRInterface.ts +100 -63
  466. package/gen/classes/OpenXRMarkerTracker.ts +12 -12
  467. package/gen/classes/OpenXRPlaneTracker.ts +26 -16
  468. package/gen/classes/OpenXRRenderModel.ts +7 -7
  469. package/gen/classes/OpenXRRenderModelExtension.ts +21 -21
  470. package/gen/classes/OpenXRRenderModelManager.ts +10 -10
  471. package/gen/classes/OpenXRSpatialAnchorCapability.ts +15 -15
  472. package/gen/classes/OpenXRSpatialCapabilityConfigurationAnchor.ts +3 -3
  473. package/gen/classes/OpenXRSpatialCapabilityConfigurationAprilTag.ts +5 -5
  474. package/gen/classes/OpenXRSpatialCapabilityConfigurationAruco.ts +23 -23
  475. package/gen/classes/OpenXRSpatialCapabilityConfigurationBaseHeader.ts +4 -4
  476. package/gen/classes/OpenXRSpatialCapabilityConfigurationMicroQrCode.ts +3 -3
  477. package/gen/classes/OpenXRSpatialCapabilityConfigurationPlaneTracking.ts +6 -6
  478. package/gen/classes/OpenXRSpatialCapabilityConfigurationQrCode.ts +3 -3
  479. package/gen/classes/OpenXRSpatialComponentAnchorList.ts +3 -3
  480. package/gen/classes/OpenXRSpatialComponentBounded2DList.ts +4 -4
  481. package/gen/classes/OpenXRSpatialComponentBounded3DList.ts +4 -4
  482. package/gen/classes/OpenXRSpatialComponentData.ts +4 -4
  483. package/gen/classes/OpenXRSpatialComponentMarkerList.ts +7 -7
  484. package/gen/classes/OpenXRSpatialComponentMesh2DList.ts +5 -5
  485. package/gen/classes/OpenXRSpatialComponentMesh3DList.ts +4 -4
  486. package/gen/classes/OpenXRSpatialComponentParentList.ts +3 -3
  487. package/gen/classes/OpenXRSpatialComponentPersistenceList.ts +4 -4
  488. package/gen/classes/OpenXRSpatialComponentPlaneAlignmentList.ts +3 -3
  489. package/gen/classes/OpenXRSpatialComponentPlaneSemanticLabelList.ts +3 -3
  490. package/gen/classes/OpenXRSpatialComponentPolygon2DList.ts +4 -4
  491. package/gen/classes/OpenXRSpatialContainerExtension.ts +92 -0
  492. package/gen/classes/OpenXRSpatialContainerSelfRenderingExtension.ts +19 -0
  493. package/gen/classes/OpenXRSpatialContainerState.ts +43 -0
  494. package/gen/classes/OpenXRSpatialContextPersistenceConfig.ts +5 -5
  495. package/gen/classes/OpenXRSpatialEntityExtension.ts +63 -32
  496. package/gen/classes/OpenXRSpatialEntityTracker.ts +15 -15
  497. package/gen/classes/OpenXRSpatialMarkerTrackingCapability.ts +47 -9
  498. package/gen/classes/OpenXRSpatialPlaneTrackingCapability.ts +20 -4
  499. package/gen/classes/OpenXRSpatialQueryResultData.ts +5 -5
  500. package/gen/classes/OpenXRStructureBase.ts +10 -5
  501. package/gen/classes/OpenXRVisibilityMask.ts +2 -2
  502. package/gen/classes/OptimizedTranslation.ts +3 -3
  503. package/gen/classes/OptionButton.ts +51 -51
  504. package/gen/classes/PCKPacker.ts +7 -7
  505. package/gen/classes/PackedDataContainer.ts +4 -4
  506. package/gen/classes/PackedDataContainerRef.ts +2 -2
  507. package/gen/classes/PackedScene.ts +6 -6
  508. package/gen/classes/PacketPeer.ts +10 -10
  509. package/gen/classes/PacketPeerDTLS.ts +7 -7
  510. package/gen/classes/PacketPeerExtension.ts +2 -2
  511. package/gen/classes/PacketPeerStream.ts +9 -9
  512. package/gen/classes/PacketPeerUDP.ts +16 -16
  513. package/gen/classes/Panel.ts +2 -2
  514. package/gen/classes/PanelContainer.ts +2 -2
  515. package/gen/classes/PanoramaSkyMaterial.ts +8 -8
  516. package/gen/classes/Parallax2D.ts +22 -22
  517. package/gen/classes/ParallaxBackground.ts +14 -14
  518. package/gen/classes/ParallaxLayer.ts +9 -9
  519. package/gen/classes/ParticleProcessMaterial.ts +269 -253
  520. package/gen/classes/Path2D.ts +4 -4
  521. package/gen/classes/Path3D.ts +10 -10
  522. package/gen/classes/PathFollow2D.ts +16 -16
  523. package/gen/classes/PathFollow3D.ts +21 -21
  524. package/gen/classes/Performance.ts +15 -11
  525. package/gen/classes/PhysicalBone2D.ts +14 -14
  526. package/gen/classes/PhysicalBone3D.ts +45 -39
  527. package/gen/classes/PhysicalBoneSimulator3D.ts +7 -7
  528. package/gen/classes/PhysicalSkyMaterial.ts +24 -24
  529. package/gen/classes/PhysicsBody2D.ts +7 -7
  530. package/gen/classes/PhysicsBody3D.ts +19 -19
  531. package/gen/classes/PhysicsCastMotionResult2D.ts +25 -0
  532. package/gen/classes/PhysicsCastMotionResult3D.ts +25 -0
  533. package/gen/classes/PhysicsCollideShapeResult2D.ts +38 -0
  534. package/gen/classes/PhysicsCollideShapeResult3D.ts +38 -0
  535. package/gen/classes/PhysicsDirectBodyState2D.ts +49 -49
  536. package/gen/classes/PhysicsDirectBodyState2DExtension.ts +2 -2
  537. package/gen/classes/PhysicsDirectBodyState3D.ts +51 -51
  538. package/gen/classes/PhysicsDirectBodyState3DExtension.ts +2 -2
  539. package/gen/classes/PhysicsDirectSpaceState2D.ts +61 -14
  540. package/gen/classes/PhysicsDirectSpaceState2DExtension.ts +3 -3
  541. package/gen/classes/PhysicsDirectSpaceState3D.ts +64 -15
  542. package/gen/classes/PhysicsDirectSpaceState3DExtension.ts +3 -3
  543. package/gen/classes/PhysicsGetRestInfoResult2D.ts +48 -0
  544. package/gen/classes/PhysicsGetRestInfoResult3D.ts +48 -0
  545. package/gen/classes/PhysicsIntersectPointResult2D.ts +49 -0
  546. package/gen/classes/PhysicsIntersectPointResult3D.ts +49 -0
  547. package/gen/classes/PhysicsIntersectRayResult2D.ts +49 -0
  548. package/gen/classes/PhysicsIntersectRayResult3D.ts +55 -0
  549. package/gen/classes/PhysicsIntersectShapeResult2D.ts +49 -0
  550. package/gen/classes/PhysicsIntersectShapeResult3D.ts +49 -0
  551. package/gen/classes/PhysicsMaterial.ts +10 -10
  552. package/gen/classes/PhysicsPointQueryParameters2D.ts +15 -14
  553. package/gen/classes/PhysicsPointQueryParameters3D.ts +13 -12
  554. package/gen/classes/PhysicsRayQueryParameters2D.ts +18 -17
  555. package/gen/classes/PhysicsRayQueryParameters3D.ts +20 -19
  556. package/gen/classes/PhysicsServer2D.ts +122 -122
  557. package/gen/classes/PhysicsServer2DExtension.ts +4 -4
  558. package/gen/classes/PhysicsServer2DManager.ts +4 -4
  559. package/gen/classes/PhysicsServer3D.ts +210 -182
  560. package/gen/classes/PhysicsServer3DExtension.ts +5 -5
  561. package/gen/classes/PhysicsServer3DManager.ts +4 -4
  562. package/gen/classes/PhysicsServer3DRenderingServerHandler.ts +5 -5
  563. package/gen/classes/PhysicsShapeQueryParameters2D.ts +21 -20
  564. package/gen/classes/PhysicsShapeQueryParameters3D.ts +21 -20
  565. package/gen/classes/PhysicsTestMotionParameters2D.ts +17 -16
  566. package/gen/classes/PhysicsTestMotionParameters3D.ts +19 -18
  567. package/gen/classes/PhysicsTestMotionResult2D.ts +16 -15
  568. package/gen/classes/PhysicsTestMotionResult3D.ts +17 -16
  569. package/gen/classes/PinJoint2D.ts +14 -14
  570. package/gen/classes/PinJoint3D.ts +4 -4
  571. package/gen/classes/PlaceholderCubemap.ts +2 -2
  572. package/gen/classes/PlaceholderCubemapArray.ts +2 -2
  573. package/gen/classes/PlaceholderMaterial.ts +2 -2
  574. package/gen/classes/PlaceholderMesh.ts +4 -4
  575. package/gen/classes/PlaceholderTexture2D.ts +4 -4
  576. package/gen/classes/PlaceholderTexture2DArray.ts +2 -2
  577. package/gen/classes/PlaceholderTexture3D.ts +4 -4
  578. package/gen/classes/PlaceholderTextureLayered.ts +5 -5
  579. package/gen/classes/PlaneMesh.ts +12 -12
  580. package/gen/classes/PointLight2D.ts +10 -10
  581. package/gen/classes/PointMesh.ts +2 -2
  582. package/gen/classes/Polygon2D.ts +42 -42
  583. package/gen/classes/PolygonOccluder3D.ts +4 -4
  584. package/gen/classes/PolygonPathFinder.ts +12 -12
  585. package/gen/classes/Popup.ts +4 -4
  586. package/gen/classes/PopupMenu.ts +125 -112
  587. package/gen/classes/PopupPanel.ts +2 -2
  588. package/gen/classes/PortableCompressedTexture2D.ts +11 -11
  589. package/gen/classes/PrimitiveMesh.ts +15 -15
  590. package/gen/classes/PrismMesh.ts +12 -12
  591. package/gen/classes/ProceduralSkyMaterial.ts +30 -30
  592. package/gen/classes/ProgressBar.ts +10 -10
  593. package/gen/classes/ProjectSettings.ts +26 -26
  594. package/gen/classes/PropertyTweener.ts +9 -9
  595. package/gen/classes/QuadMesh.ts +2 -2
  596. package/gen/classes/QuadOccluder3D.ts +4 -4
  597. package/gen/classes/RDAccelerationStructureGeometry.ts +20 -20
  598. package/gen/classes/RDAccelerationStructureInstance.ts +14 -14
  599. package/gen/classes/RDAttachmentFormat.ts +8 -8
  600. package/gen/classes/RDFramebufferPass.ts +12 -12
  601. package/gen/classes/RDHitGroup.ts +8 -8
  602. package/gen/classes/RDPipelineColorBlendState.ts +10 -10
  603. package/gen/classes/RDPipelineColorBlendStateAttachment.ts +25 -25
  604. package/gen/classes/RDPipelineDepthStencilState.ts +44 -44
  605. package/gen/classes/RDPipelineMultisampleState.ts +14 -14
  606. package/gen/classes/RDPipelineRasterizationState.ts +25 -25
  607. package/gen/classes/RDPipelineShader.ts +6 -6
  608. package/gen/classes/RDPipelineSpecializationConstant.ts +6 -6
  609. package/gen/classes/RDSamplerState.ts +32 -32
  610. package/gen/classes/RDShaderFile.ts +7 -7
  611. package/gen/classes/RDShaderSPIRV.ts +42 -42
  612. package/gen/classes/RDShaderSource.ts +24 -24
  613. package/gen/classes/RDTextureFormat.ts +26 -26
  614. package/gen/classes/RDTextureView.ts +12 -12
  615. package/gen/classes/RDUniform.ts +9 -9
  616. package/gen/classes/RDVertexAttribute.ts +14 -14
  617. package/gen/classes/RandomNumberGenerator.ts +13 -13
  618. package/gen/classes/Range.ts +29 -29
  619. package/gen/classes/RayCast2D.ts +30 -30
  620. package/gen/classes/RayCast3D.ts +37 -37
  621. package/gen/classes/RectangleShape2D.ts +4 -4
  622. package/gen/classes/RefCounted.ts +6 -6
  623. package/gen/classes/ReferenceRect.ts +8 -8
  624. package/gen/classes/ReflectionProbe.ts +32 -32
  625. package/gen/classes/RegEx.ts +13 -13
  626. package/gen/classes/RegExMatch.ts +9 -9
  627. package/gen/classes/RemoteTransform2D.ts +13 -13
  628. package/gen/classes/RemoteTransform3D.ts +13 -13
  629. package/gen/classes/RenderData.ts +5 -5
  630. package/gen/classes/RenderDataExtension.ts +2 -2
  631. package/gen/classes/RenderDataRD.ts +2 -2
  632. package/gen/classes/RenderSceneBuffers.ts +2 -2
  633. package/gen/classes/RenderSceneBuffersConfiguration.ts +22 -22
  634. package/gen/classes/RenderSceneBuffersExtension.ts +2 -2
  635. package/gen/classes/RenderSceneBuffersRD.ts +29 -29
  636. package/gen/classes/RenderSceneData.ts +7 -7
  637. package/gen/classes/RenderSceneDataExtension.ts +2 -2
  638. package/gen/classes/RenderSceneDataRD.ts +2 -2
  639. package/gen/classes/RenderingDevice.ts +152 -140
  640. package/gen/classes/RenderingServer.ts +603 -550
  641. package/gen/classes/Resource.ts +29 -29
  642. package/gen/classes/ResourceFormatLoader.ts +2 -2
  643. package/gen/classes/ResourceFormatSaver.ts +2 -2
  644. package/gen/classes/ResourceImporter.ts +1 -1
  645. package/gen/classes/ResourceLoader.ts +21 -16
  646. package/gen/classes/ResourcePreloader.ts +10 -10
  647. package/gen/classes/ResourceSaver.ts +8 -8
  648. package/gen/classes/ResourceUID.ts +11 -11
  649. package/gen/classes/RetargetModifier3D.ts +22 -14
  650. package/gen/classes/RibbonTrailMesh.ts +14 -14
  651. package/gen/classes/RichTextEffect.ts +2 -2
  652. package/gen/classes/RichTextLabel.ts +236 -181
  653. package/gen/classes/RigidBody2D.ts +84 -70
  654. package/gen/classes/RigidBody3D.ts +85 -71
  655. package/gen/classes/RootMotionView.ts +12 -12
  656. package/gen/classes/SceneMultiplayer.ts +31 -31
  657. package/gen/classes/SceneReplicationConfig.ts +15 -15
  658. package/gen/classes/SceneState.ts +24 -24
  659. package/gen/classes/SceneTree.ts +67 -68
  660. package/gen/classes/SceneTreeTimer.ts +5 -5
  661. package/gen/classes/Script.ts +21 -20
  662. package/gen/classes/ScriptBacktrace.ts +18 -18
  663. package/gen/classes/ScriptExtension.ts +2 -2
  664. package/gen/classes/ScriptLanguage.ts +16 -1
  665. package/gen/classes/ScriptLanguageExtension.ts +2 -2
  666. package/gen/classes/ScrollBar.ts +5 -5
  667. package/gen/classes/ScrollContainer.ts +58 -34
  668. package/gen/classes/SegmentShape2D.ts +6 -6
  669. package/gen/classes/Semaphore.ts +5 -5
  670. package/gen/classes/SeparationRayShape2D.ts +6 -6
  671. package/gen/classes/SeparationRayShape3D.ts +6 -6
  672. package/gen/classes/Separator.ts +1 -1
  673. package/gen/classes/Shader.ts +14 -9
  674. package/gen/classes/ShaderGlobalsOverride.ts +2 -2
  675. package/gen/classes/ShaderInclude.ts +4 -4
  676. package/gen/classes/ShaderIncludeDB.ts +5 -5
  677. package/gen/classes/ShaderMaterial.ts +6 -6
  678. package/gen/classes/Shape2D.ts +9 -9
  679. package/gen/classes/Shape3D.ts +6 -6
  680. package/gen/classes/ShapeCast2D.ts +38 -38
  681. package/gen/classes/ShapeCast3D.ts +41 -41
  682. package/gen/classes/Shortcut.ts +7 -7
  683. package/gen/classes/Skeleton2D.ts +12 -12
  684. package/gen/classes/Skeleton3D.ts +82 -70
  685. package/gen/classes/SkeletonIK3D.ts +27 -27
  686. package/gen/classes/SkeletonModification2D.ts +12 -12
  687. package/gen/classes/SkeletonModification2DCCDIK.ts +22 -22
  688. package/gen/classes/SkeletonModification2DFABRIK.ts +14 -14
  689. package/gen/classes/SkeletonModification2DJiggle.ts +37 -37
  690. package/gen/classes/SkeletonModification2DLookAt.ts +18 -18
  691. package/gen/classes/SkeletonModification2DPhysicalBones.ts +9 -9
  692. package/gen/classes/SkeletonModification2DStackHolder.ts +4 -4
  693. package/gen/classes/SkeletonModification2DTwoBoneIK.ts +18 -18
  694. package/gen/classes/SkeletonModificationStack2D.ts +18 -18
  695. package/gen/classes/SkeletonModifier3D.ts +9 -9
  696. package/gen/classes/SkeletonProfile.ts +34 -34
  697. package/gen/classes/SkeletonProfileHumanoid.ts +2 -2
  698. package/gen/classes/Skin.ts +49 -13
  699. package/gen/classes/SkinReference.ts +3 -3
  700. package/gen/classes/Sky.ts +8 -8
  701. package/gen/classes/Slider.ts +15 -15
  702. package/gen/classes/SliderJoint3D.ts +4 -4
  703. package/gen/classes/SocketServer.ts +5 -5
  704. package/gen/classes/SoftBody3D.ts +47 -42
  705. package/gen/classes/SphereMesh.ts +12 -12
  706. package/gen/classes/SphereOccluder3D.ts +4 -4
  707. package/gen/classes/SphereShape3D.ts +4 -4
  708. package/gen/classes/SpinBox.ts +50 -27
  709. package/gen/classes/SplineIK3D.ts +12 -12
  710. package/gen/classes/SplitContainer.ts +35 -35
  711. package/gen/classes/SpotLight3D.ts +10 -10
  712. package/gen/classes/SpringArm3D.ts +14 -14
  713. package/gen/classes/SpringBoneCollision3D.ts +11 -11
  714. package/gen/classes/SpringBoneCollisionCapsule3D.ts +10 -10
  715. package/gen/classes/SpringBoneCollisionPlane3D.ts +2 -2
  716. package/gen/classes/SpringBoneCollisionSphere3D.ts +6 -6
  717. package/gen/classes/SpringBoneSimulator3D.ts +86 -86
  718. package/gen/classes/Sprite2D.ts +32 -32
  719. package/gen/classes/Sprite3D.ts +20 -20
  720. package/gen/classes/SpriteBase3D.ts +43 -43
  721. package/gen/classes/SpriteFrames.ts +24 -24
  722. package/gen/classes/StandardMaterial3D.ts +2 -2
  723. package/gen/classes/StaticBody2D.ts +8 -8
  724. package/gen/classes/StaticBody3D.ts +8 -8
  725. package/gen/classes/StatusIndicator.ts +17 -13
  726. package/gen/classes/StreamPeer.ts +37 -37
  727. package/gen/classes/StreamPeerBuffer.ts +10 -10
  728. package/gen/classes/StreamPeerExtension.ts +2 -2
  729. package/gen/classes/StreamPeerGZIP.ts +6 -6
  730. package/gen/classes/StreamPeerSocket.ts +4 -4
  731. package/gen/classes/StreamPeerTCP.ts +9 -9
  732. package/gen/classes/StreamPeerTLS.ts +9 -9
  733. package/gen/classes/StreamPeerUDS.ts +5 -5
  734. package/gen/classes/StreamedTexture2D.ts +34 -0
  735. package/gen/classes/StyleBox.ts +17 -17
  736. package/gen/classes/StyleBoxEmpty.ts +2 -2
  737. package/gen/classes/StyleBoxFlat.ts +52 -52
  738. package/gen/classes/StyleBoxLine.ts +12 -12
  739. package/gen/classes/StyleBoxTexture.ts +32 -32
  740. package/gen/classes/SubViewport.ts +14 -14
  741. package/gen/classes/SubViewportContainer.ts +9 -9
  742. package/gen/classes/SubtweenTweener.ts +3 -3
  743. package/gen/classes/SurfaceTool.ts +35 -35
  744. package/gen/classes/SyntaxHighlighter.ts +30 -6
  745. package/gen/classes/SystemFont.ts +36 -36
  746. package/gen/classes/TCPServer.ts +6 -6
  747. package/gen/classes/TLSOptions.ts +10 -10
  748. package/gen/classes/TabBar.ts +109 -78
  749. package/gen/classes/TabContainer.ts +75 -68
  750. package/gen/classes/TextEdit.ts +275 -269
  751. package/gen/classes/TextLine.ts +41 -41
  752. package/gen/classes/TextMesh.ts +38 -38
  753. package/gen/classes/TextParagraph.ts +64 -64
  754. package/gen/classes/TextServer.ts +250 -245
  755. package/gen/classes/TextServerAdvanced.ts +2 -2
  756. package/gen/classes/TextServerDummy.ts +2 -2
  757. package/gen/classes/TextServerExtension.ts +2 -2
  758. package/gen/classes/TextServerManager.ts +14 -14
  759. package/gen/classes/Texture.ts +2 -2
  760. package/gen/classes/Texture2D.ts +14 -14
  761. package/gen/classes/Texture2DArray.ts +3 -3
  762. package/gen/classes/Texture2DArrayRD.ts +2 -2
  763. package/gen/classes/Texture2DRD.ts +4 -4
  764. package/gen/classes/Texture3D.ts +9 -9
  765. package/gen/classes/Texture3DRD.ts +4 -4
  766. package/gen/classes/TextureButton.ts +22 -22
  767. package/gen/classes/TextureCubemapArrayRD.ts +2 -2
  768. package/gen/classes/TextureCubemapRD.ts +2 -2
  769. package/gen/classes/TextureLayered.ts +9 -9
  770. package/gen/classes/TextureLayeredRD.ts +3 -3
  771. package/gen/classes/TextureProgressBar.ts +34 -34
  772. package/gen/classes/TextureRect.ts +13 -12
  773. package/gen/classes/TextureStreaming.ts +54 -0
  774. package/gen/classes/Theme.ts +116 -73
  775. package/gen/classes/ThemeDB.ts +23 -16
  776. package/gen/classes/Thread.ts +9 -9
  777. package/gen/classes/TileData.ts +58 -58
  778. package/gen/classes/TileMap.ts +65 -65
  779. package/gen/classes/TileMapLayer.ts +60 -60
  780. package/gen/classes/TileMapPattern.ts +12 -12
  781. package/gen/classes/TileSet.ts +93 -93
  782. package/gen/classes/TileSetAtlasSource.ts +43 -43
  783. package/gen/classes/TileSetScenesCollectionSource.ts +13 -13
  784. package/gen/classes/TileSetSource.ts +7 -7
  785. package/gen/classes/Time.ts +23 -23
  786. package/gen/classes/Timer.ts +20 -20
  787. package/gen/classes/TorusMesh.ts +10 -10
  788. package/gen/classes/TouchScreenButton.ts +25 -25
  789. package/gen/classes/Trail3D.ts +173 -0
  790. package/gen/classes/Translation.ts +16 -16
  791. package/gen/classes/TranslationDomain.ts +35 -35
  792. package/gen/classes/TranslationServer.ts +36 -36
  793. package/gen/classes/Tree.ts +104 -104
  794. package/gen/classes/TreeItem.ts +126 -126
  795. package/gen/classes/TriangleMesh.ts +6 -6
  796. package/gen/classes/TubeTrailMesh.ts +18 -18
  797. package/gen/classes/Tween.ts +58 -43
  798. package/gen/classes/Tweener.ts +3 -3
  799. package/gen/classes/TwoBoneIK3D.ts +32 -32
  800. package/gen/classes/UDPServer.ts +11 -11
  801. package/gen/classes/UDSServer.ts +4 -4
  802. package/gen/classes/UPNP.ts +19 -19
  803. package/gen/classes/UPNPDevice.ts +18 -18
  804. package/gen/classes/UndoRedo.ts +28 -28
  805. package/gen/classes/UniformSetCacheRD.ts +3 -3
  806. package/gen/classes/VBoxContainer.ts +2 -2
  807. package/gen/classes/VFlowContainer.ts +2 -2
  808. package/gen/classes/VScrollBar.ts +2 -2
  809. package/gen/classes/VSeparator.ts +2 -2
  810. package/gen/classes/VSlider.ts +2 -2
  811. package/gen/classes/VSplitContainer.ts +2 -2
  812. package/gen/classes/VehicleBody3D.ts +8 -8
  813. package/gen/classes/VehicleWheel3D.ts +36 -36
  814. package/gen/classes/VideoStream.ts +4 -4
  815. package/gen/classes/VideoStreamPlayback.ts +3 -3
  816. package/gen/classes/VideoStreamPlayer.ts +38 -36
  817. package/gen/classes/VideoStreamTheora.ts +2 -2
  818. package/gen/classes/Viewport.ts +148 -148
  819. package/gen/classes/ViewportTexture.ts +5 -13
  820. package/gen/classes/VirtualJoystick.ts +34 -34
  821. package/gen/classes/VisibleOnScreenEnabler2D.ts +6 -6
  822. package/gen/classes/VisibleOnScreenEnabler3D.ts +6 -6
  823. package/gen/classes/VisibleOnScreenNotifier2D.ts +11 -11
  824. package/gen/classes/VisibleOnScreenNotifier3D.ts +9 -9
  825. package/gen/classes/VisualInstance3D.ts +14 -14
  826. package/gen/classes/VisualShader.ts +25 -25
  827. package/gen/classes/VisualShaderGroup.ts +190 -0
  828. package/gen/classes/VisualShaderNode.ts +15 -15
  829. package/gen/classes/VisualShaderNodeBillboard.ts +6 -6
  830. package/gen/classes/VisualShaderNodeBooleanConstant.ts +4 -4
  831. package/gen/classes/VisualShaderNodeBooleanParameter.ts +6 -6
  832. package/gen/classes/VisualShaderNodeClamp.ts +4 -4
  833. package/gen/classes/VisualShaderNodeColorConstant.ts +4 -4
  834. package/gen/classes/VisualShaderNodeColorFunc.ts +4 -4
  835. package/gen/classes/VisualShaderNodeColorOp.ts +4 -4
  836. package/gen/classes/VisualShaderNodeColorParameter.ts +6 -6
  837. package/gen/classes/VisualShaderNodeComment.ts +4 -4
  838. package/gen/classes/VisualShaderNodeCompare.ts +8 -8
  839. package/gen/classes/VisualShaderNodeConstant.ts +1 -1
  840. package/gen/classes/VisualShaderNodeCubemap.ts +8 -8
  841. package/gen/classes/VisualShaderNodeCubemapParameter.ts +2 -2
  842. package/gen/classes/VisualShaderNodeCurveTexture.ts +4 -4
  843. package/gen/classes/VisualShaderNodeCurveXYZTexture.ts +4 -4
  844. package/gen/classes/VisualShaderNodeCustom.ts +7 -7
  845. package/gen/classes/VisualShaderNodeDerivativeFunc.ts +8 -8
  846. package/gen/classes/VisualShaderNodeDeterminant.ts +2 -2
  847. package/gen/classes/VisualShaderNodeDistanceFade.ts +2 -2
  848. package/gen/classes/VisualShaderNodeDotProduct.ts +2 -2
  849. package/gen/classes/VisualShaderNodeExpression.ts +4 -4
  850. package/gen/classes/VisualShaderNodeFaceForward.ts +2 -2
  851. package/gen/classes/VisualShaderNodeFloatConstant.ts +4 -4
  852. package/gen/classes/VisualShaderNodeFloatFunc.ts +4 -4
  853. package/gen/classes/VisualShaderNodeFloatOp.ts +4 -4
  854. package/gen/classes/VisualShaderNodeFloatParameter.ts +14 -14
  855. package/gen/classes/VisualShaderNodeFrame.ts +14 -14
  856. package/gen/classes/VisualShaderNodeFresnel.ts +2 -2
  857. package/gen/classes/VisualShaderNodeGlobalExpression.ts +2 -2
  858. package/gen/classes/VisualShaderNodeGroup.ts +22 -0
  859. package/gen/classes/VisualShaderNodeGroupBase.ts +22 -22
  860. package/gen/classes/VisualShaderNodeGroupInput.ts +14 -0
  861. package/gen/classes/VisualShaderNodeGroupOutput.ts +14 -0
  862. package/gen/classes/VisualShaderNodeIf.ts +2 -2
  863. package/gen/classes/VisualShaderNodeInput.ts +7 -7
  864. package/gen/classes/VisualShaderNodeIntConstant.ts +4 -4
  865. package/gen/classes/VisualShaderNodeIntFunc.ts +4 -4
  866. package/gen/classes/VisualShaderNodeIntOp.ts +4 -4
  867. package/gen/classes/VisualShaderNodeIntParameter.ts +16 -16
  868. package/gen/classes/VisualShaderNodeIs.ts +4 -4
  869. package/gen/classes/VisualShaderNodeLinearSceneDepth.ts +2 -2
  870. package/gen/classes/VisualShaderNodeMix.ts +4 -4
  871. package/gen/classes/VisualShaderNodeMultiplyAdd.ts +4 -4
  872. package/gen/classes/VisualShaderNodeOuterProduct.ts +2 -2
  873. package/gen/classes/VisualShaderNodeOutput.ts +1 -1
  874. package/gen/classes/VisualShaderNodeParameter.ts +7 -7
  875. package/gen/classes/VisualShaderNodeParameterRef.ts +6 -6
  876. package/gen/classes/VisualShaderNodeParticleAccelerator.ts +4 -4
  877. package/gen/classes/VisualShaderNodeParticleBoxEmitter.ts +2 -2
  878. package/gen/classes/VisualShaderNodeParticleConeVelocity.ts +2 -2
  879. package/gen/classes/VisualShaderNodeParticleEmit.ts +5 -5
  880. package/gen/classes/VisualShaderNodeParticleEmitter.ts +3 -3
  881. package/gen/classes/VisualShaderNodeParticleMeshEmitter.ts +8 -8
  882. package/gen/classes/VisualShaderNodeParticleMultiplyByAxisAngle.ts +4 -4
  883. package/gen/classes/VisualShaderNodeParticleOutput.ts +2 -2
  884. package/gen/classes/VisualShaderNodeParticleRandomness.ts +4 -4
  885. package/gen/classes/VisualShaderNodeParticleRingEmitter.ts +2 -2
  886. package/gen/classes/VisualShaderNodeParticleSphereEmitter.ts +2 -2
  887. package/gen/classes/VisualShaderNodeProximityFade.ts +2 -2
  888. package/gen/classes/VisualShaderNodeRandomRange.ts +2 -2
  889. package/gen/classes/VisualShaderNodeRemap.ts +4 -4
  890. package/gen/classes/VisualShaderNodeReroute.ts +4 -4
  891. package/gen/classes/VisualShaderNodeResizableBase.ts +3 -3
  892. package/gen/classes/VisualShaderNodeRotationByAxis.ts +2 -2
  893. package/gen/classes/VisualShaderNodeSDFRaymarch.ts +2 -2
  894. package/gen/classes/VisualShaderNodeSDFToScreenUV.ts +2 -2
  895. package/gen/classes/VisualShaderNodeSample3D.ts +3 -3
  896. package/gen/classes/VisualShaderNodeScreenNormalWorldSpace.ts +2 -2
  897. package/gen/classes/VisualShaderNodeScreenUVToSDF.ts +2 -2
  898. package/gen/classes/VisualShaderNodeSmoothStep.ts +4 -4
  899. package/gen/classes/VisualShaderNodeStep.ts +4 -4
  900. package/gen/classes/VisualShaderNodeSwitch.ts +4 -4
  901. package/gen/classes/VisualShaderNodeTexture.ts +8 -8
  902. package/gen/classes/VisualShaderNodeTexture2DArray.ts +4 -4
  903. package/gen/classes/VisualShaderNodeTexture2DArrayParameter.ts +2 -2
  904. package/gen/classes/VisualShaderNodeTexture2DParameter.ts +2 -2
  905. package/gen/classes/VisualShaderNodeTexture3D.ts +4 -4
  906. package/gen/classes/VisualShaderNodeTexture3DParameter.ts +2 -2
  907. package/gen/classes/VisualShaderNodeTextureParameter.ts +11 -11
  908. package/gen/classes/VisualShaderNodeTextureParameterTriplanar.ts +2 -2
  909. package/gen/classes/VisualShaderNodeTextureSDF.ts +2 -2
  910. package/gen/classes/VisualShaderNodeTextureSDFNormal.ts +2 -2
  911. package/gen/classes/VisualShaderNodeTransformCompose.ts +2 -2
  912. package/gen/classes/VisualShaderNodeTransformConstant.ts +4 -4
  913. package/gen/classes/VisualShaderNodeTransformDecompose.ts +2 -2
  914. package/gen/classes/VisualShaderNodeTransformFunc.ts +4 -4
  915. package/gen/classes/VisualShaderNodeTransformOp.ts +4 -4
  916. package/gen/classes/VisualShaderNodeTransformParameter.ts +6 -6
  917. package/gen/classes/VisualShaderNodeTransformVecMult.ts +4 -4
  918. package/gen/classes/VisualShaderNodeUIntConstant.ts +4 -4
  919. package/gen/classes/VisualShaderNodeUIntFunc.ts +4 -4
  920. package/gen/classes/VisualShaderNodeUIntOp.ts +4 -4
  921. package/gen/classes/VisualShaderNodeUIntParameter.ts +6 -6
  922. package/gen/classes/VisualShaderNodeUVFunc.ts +4 -4
  923. package/gen/classes/VisualShaderNodeUVPolarCoord.ts +2 -2
  924. package/gen/classes/VisualShaderNodeVarying.ts +5 -5
  925. package/gen/classes/VisualShaderNodeVaryingGetter.ts +2 -2
  926. package/gen/classes/VisualShaderNodeVaryingSetter.ts +2 -2
  927. package/gen/classes/VisualShaderNodeVec2Constant.ts +4 -4
  928. package/gen/classes/VisualShaderNodeVec2Parameter.ts +6 -6
  929. package/gen/classes/VisualShaderNodeVec3Constant.ts +4 -4
  930. package/gen/classes/VisualShaderNodeVec3Parameter.ts +6 -6
  931. package/gen/classes/VisualShaderNodeVec4Constant.ts +6 -6
  932. package/gen/classes/VisualShaderNodeVec4Parameter.ts +6 -6
  933. package/gen/classes/VisualShaderNodeVectorBase.ts +3 -3
  934. package/gen/classes/VisualShaderNodeVectorCompose.ts +2 -2
  935. package/gen/classes/VisualShaderNodeVectorDecompose.ts +2 -2
  936. package/gen/classes/VisualShaderNodeVectorDistance.ts +2 -2
  937. package/gen/classes/VisualShaderNodeVectorFunc.ts +4 -4
  938. package/gen/classes/VisualShaderNodeVectorLen.ts +2 -2
  939. package/gen/classes/VisualShaderNodeVectorOp.ts +4 -4
  940. package/gen/classes/VisualShaderNodeVectorRefract.ts +2 -2
  941. package/gen/classes/VisualShaderNodeWorldPositionFromDepth.ts +2 -2
  942. package/gen/classes/VoxelGI.ts +12 -12
  943. package/gen/classes/VoxelGIData.ts +23 -23
  944. package/gen/classes/WeakRef.ts +3 -3
  945. package/gen/classes/WebRTCDataChannel.ts +15 -15
  946. package/gen/classes/WebRTCDataChannelExtension.ts +2 -2
  947. package/gen/classes/WebRTCMultiplayerPeer.ts +12 -12
  948. package/gen/classes/WebRTCPeerConnection.ts +21 -21
  949. package/gen/classes/WebRTCPeerConnectionExtension.ts +2 -2
  950. package/gen/classes/WebSocketMultiplayerPeer.ts +20 -20
  951. package/gen/classes/WebSocketPeer.ts +32 -32
  952. package/gen/classes/WebXRInterface.ts +57 -49
  953. package/gen/classes/Window.ts +245 -202
  954. package/gen/classes/WorkerThreadPool.ts +11 -11
  955. package/gen/classes/World2D.ts +6 -6
  956. package/gen/classes/World3D.ts +12 -12
  957. package/gen/classes/WorldBoundaryShape2D.ts +6 -6
  958. package/gen/classes/WorldBoundaryShape3D.ts +4 -4
  959. package/gen/classes/WorldEnvironment.ts +8 -8
  960. package/gen/classes/X509Certificate.ts +6 -6
  961. package/gen/classes/XMLParser.ts +19 -19
  962. package/gen/classes/XRAnchor3D.ts +4 -4
  963. package/gen/classes/XRBodyModifier3D.ts +8 -8
  964. package/gen/classes/XRBodyTracker.ts +10 -10
  965. package/gen/classes/XRCamera3D.ts +11 -4
  966. package/gen/classes/XRController3D.ts +17 -17
  967. package/gen/classes/XRControllerTracker.ts +2 -2
  968. package/gen/classes/XRFaceModifier3D.ts +6 -6
  969. package/gen/classes/XRFaceTracker.ts +6 -6
  970. package/gen/classes/XRHandModifier3D.ts +6 -6
  971. package/gen/classes/XRHandTracker.ts +16 -16
  972. package/gen/classes/XRInterface.ts +45 -31
  973. package/gen/classes/XRInterfaceExtension.ts +9 -9
  974. package/gen/classes/XRNode3D.ts +14 -14
  975. package/gen/classes/XROrigin3D.ts +6 -6
  976. package/gen/classes/XRPose.ts +15 -15
  977. package/gen/classes/XRPositionalTracker.ts +26 -26
  978. package/gen/classes/XRServer.ts +57 -41
  979. package/gen/classes/XRTracker.ts +7 -7
  980. package/gen/classes/XRVRS.ts +9 -9
  981. package/gen/classes/ZIPPacker.ts +10 -10
  982. package/gen/classes/ZIPReader.ts +8 -8
  983. package/gen/classes/index.ts +31 -0
  984. package/gen/global-enums.ts +7 -3
  985. package/gen/heap-types/GodotArray.ts +65 -65
  986. package/gen/heap-types/GodotDictionary.ts +38 -38
  987. package/gen/heap-types/PackedByteArray.ts +76 -76
  988. package/gen/heap-types/PackedColorArray.ts +27 -27
  989. package/gen/heap-types/PackedFloat32Array.ts +27 -27
  990. package/gen/heap-types/PackedFloat64Array.ts +27 -27
  991. package/gen/heap-types/PackedInt32Array.ts +27 -27
  992. package/gen/heap-types/PackedInt64Array.ts +27 -27
  993. package/gen/heap-types/PackedStringArray.ts +27 -27
  994. package/gen/heap-types/PackedVector2Array.ts +27 -27
  995. package/gen/heap-types/PackedVector3Array.ts +27 -27
  996. package/gen/heap-types/PackedVector4Array.ts +27 -27
  997. package/gen/heap-types/Signal.ts +13 -13
  998. package/gen/utility-functions.ts +116 -116
  999. package/gen/value-types/AABB.ts +25 -25
  1000. package/gen/value-types/Basis.ts +24 -24
  1001. package/gen/value-types/Color.ts +26 -26
  1002. package/gen/value-types/Plane.ts +11 -11
  1003. package/gen/value-types/Projection.ts +26 -26
  1004. package/gen/value-types/Quaternion.ts +21 -21
  1005. package/gen/value-types/Rect2.ts +16 -16
  1006. package/gen/value-types/Rect2i.ts +13 -13
  1007. package/gen/value-types/Transform2D.ts +21 -21
  1008. package/gen/value-types/Transform3D.ts +13 -13
  1009. package/gen/value-types/Vector2.ts +55 -50
  1010. package/gen/value-types/Vector2i.ts +17 -17
  1011. package/gen/value-types/Vector3.ts +52 -51
  1012. package/gen/value-types/Vector3i.ts +16 -16
  1013. package/gen/value-types/Vector4.ts +36 -35
  1014. package/gen/value-types/Vector4i.ts +16 -16
  1015. package/package.json +8 -8
  1016. package/src/assets.d.ts +167 -167
  1017. package/src/boot.ts +1 -0
  1018. package/src/debug.ts +357 -357
  1019. package/src/editor.ts +102 -122
  1020. package/src/export_presets.example.cfg +41 -41
  1021. package/src/index.ts +54 -54
  1022. package/src/load.ts +480 -479
  1023. package/src/preload.ts +164 -164
  1024. package/src/runtime.ts +107 -107
  1025. package/src/serve.ts +67 -67
  1026. package/src/web-image.ts +302 -388
@@ -11,7 +11,7 @@ import type { Resource } from './Resource.ts';
11
11
  import type { Texture2D } from './Texture2D.ts';
12
12
 
13
13
  let _$: any;
14
- const $ = () => _$ ?? (_$ = _C(null, 40, 249));
14
+ const $ = () => _$ ?? (_$ = _C(null, 40, 254));
15
15
 
16
16
  /**
17
17
  * {@link DisplayServer} handles everything related to window management. It is separated from {@link OS} as a single operating system may support multiple display servers.
@@ -22,13 +22,13 @@ export class DisplayServer extends GodotVar {
22
22
  /**
23
23
  * Returns `true` if the specified `feature` is supported by the current {@link DisplayServer}, `false` otherwise.
24
24
  */
25
- static hasFeature(feature: Feature): boolean { return _C($(), 7395, feature) as boolean; }
25
+ static hasFeature(feature: Feature): boolean { return _C($(), 7542, feature) as boolean; }
26
26
 
27
27
  /**
28
28
  * 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).
29
29
  * 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)).
30
30
  */
31
- static getName(): string { return _C($(), 5602) as string; }
31
+ static getName(): string { return _C($(), 5710) as string; }
32
32
 
33
33
  /**
34
34
  * Sets native help system search callbacks.
@@ -36,12 +36,12 @@ export class DisplayServer extends GodotVar {
36
36
  * `actionCallback` has the following arguments: `String key`. Called when the user selects a search result in the `Help` menu.
37
37
  * **Note:** This method is implemented only on macOS.
38
38
  */
39
- static helpSetSearchCallbacks(searchCallback: Callable, actionCallback: Callable): void { _C($(), 7503, searchCallback, actionCallback); }
39
+ static helpSetSearchCallbacks(searchCallback: Callable, actionCallback: Callable): void { _C($(), 7654, searchCallback, actionCallback); }
40
40
 
41
41
  /**
42
42
  * Registers callables to emit when the menu is respectively about to show or closed. Callback methods should have zero arguments.
43
43
  */
44
- static globalMenuSetPopupCallbacks(menuRoot: string, openCallback: Callable, closeCallback: Callable): void { _C($(), 7245, menuRoot, openCallback, closeCallback); }
44
+ static globalMenuSetPopupCallbacks(menuRoot: string, openCallback: Callable, closeCallback: Callable): void { _C($(), 7390, menuRoot, openCallback, closeCallback); }
45
45
 
46
46
  /**
47
47
  * Adds an item that will act as a submenu of the global menu `menuRoot`. The `submenu` argument is the ID of the global menu root that will be shown when the item is clicked.
@@ -59,7 +59,7 @@ export class DisplayServer extends GodotVar {
59
59
  *
60
60
  * ```
61
61
  */
62
- static globalMenuAddSubmenuItem(menuRoot: string, label: string, submenu: string, index?: number /* = -1 */): number { return _C($(), 7205, menuRoot, label, submenu, index) as number; }
62
+ static globalMenuAddSubmenuItem(menuRoot: string, label: string, submenu: string, index?: number /* = -1 */): number { return _C($(), 7350, menuRoot, label, submenu, index) as number; }
63
63
 
64
64
  /**
65
65
  * Adds a new item with text `label` to the global menu with ID `menuRoot`.
@@ -79,7 +79,7 @@ export class DisplayServer extends GodotVar {
79
79
  *
80
80
  * ```
81
81
  */
82
- static globalMenuAddItem(menuRoot: string, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7201, menuRoot, label, callback, keyCallback, tag, accelerator, index) as number; }
82
+ static globalMenuAddItem(menuRoot: string, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7346, menuRoot, label, callback, keyCallback, tag, accelerator, index) as number; }
83
83
 
84
84
  /**
85
85
  * Adds a new checkable item with text `label` to the global menu with ID `menuRoot`.
@@ -99,7 +99,7 @@ export class DisplayServer extends GodotVar {
99
99
  *
100
100
  * ```
101
101
  */
102
- static globalMenuAddCheckItem(menuRoot: string, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7197, menuRoot, label, callback, keyCallback, tag, accelerator, index) as number; }
102
+ static globalMenuAddCheckItem(menuRoot: string, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7342, menuRoot, label, callback, keyCallback, tag, accelerator, index) as number; }
103
103
 
104
104
  /**
105
105
  * Adds a new item with text `label` and icon `icon` to the global menu with ID `menuRoot`.
@@ -119,7 +119,7 @@ export class DisplayServer extends GodotVar {
119
119
  *
120
120
  * ```
121
121
  */
122
- static globalMenuAddIconItem(menuRoot: string, icon: Texture2D, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7199, menuRoot, icon, label, callback, keyCallback, tag, accelerator, index) as number; }
122
+ static globalMenuAddIconItem(menuRoot: string, icon: Texture2D, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7344, menuRoot, icon, label, callback, keyCallback, tag, accelerator, index) as number; }
123
123
 
124
124
  /**
125
125
  * Adds a new checkable item with text `label` and icon `icon` to the global menu with ID `menuRoot`.
@@ -139,7 +139,7 @@ export class DisplayServer extends GodotVar {
139
139
  *
140
140
  * ```
141
141
  */
142
- static globalMenuAddIconCheckItem(menuRoot: string, icon: Texture2D, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7198, menuRoot, icon, label, callback, keyCallback, tag, accelerator, index) as number; }
142
+ static globalMenuAddIconCheckItem(menuRoot: string, icon: Texture2D, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7343, menuRoot, icon, label, callback, keyCallback, tag, accelerator, index) as number; }
143
143
 
144
144
  /**
145
145
  * Adds a new radio-checkable item with text `label` to the global menu with ID `menuRoot`.
@@ -160,7 +160,7 @@ export class DisplayServer extends GodotVar {
160
160
  *
161
161
  * ```
162
162
  */
163
- static globalMenuAddRadioCheckItem(menuRoot: string, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7203, menuRoot, label, callback, keyCallback, tag, accelerator, index) as number; }
163
+ static globalMenuAddRadioCheckItem(menuRoot: string, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7348, menuRoot, label, callback, keyCallback, tag, accelerator, index) as number; }
164
164
 
165
165
  /**
166
166
  * Adds a new radio-checkable item with text `label` and icon `icon` to the global menu with ID `menuRoot`.
@@ -181,7 +181,7 @@ export class DisplayServer extends GodotVar {
181
181
  *
182
182
  * ```
183
183
  */
184
- static globalMenuAddIconRadioCheckItem(menuRoot: string, icon: Texture2D, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7200, menuRoot, icon, label, callback, keyCallback, tag, accelerator, index) as number; }
184
+ static globalMenuAddIconRadioCheckItem(menuRoot: string, icon: Texture2D, label: string, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7345, menuRoot, icon, label, callback, keyCallback, tag, accelerator, index) as number; }
185
185
 
186
186
  /**
187
187
  * Adds a new item with text `label` to the global menu with ID `menuRoot`.
@@ -203,7 +203,7 @@ export class DisplayServer extends GodotVar {
203
203
  *
204
204
  * ```
205
205
  */
206
- static globalMenuAddMultistateItem(menuRoot: string, label: string, maxStates: number, defaultState: number, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7202, menuRoot, label, maxStates, defaultState, callback, keyCallback, tag, accelerator, index) as number; }
206
+ static globalMenuAddMultistateItem(menuRoot: string, label: string, maxStates: number, defaultState: number, callback?: Callable /* = Callable() */, keyCallback?: Callable /* = Callable() */, tag?: Variant /* = null */, accelerator?: Key /* = 0 */, index?: number /* = -1 */): number { return _C($(), 7347, menuRoot, label, maxStates, defaultState, callback, keyCallback, tag, accelerator, index) as number; }
207
207
 
208
208
  /**
209
209
  * Adds a separator between items to the global menu with ID `menuRoot`. Separators also occupy an index.
@@ -221,238 +221,238 @@ export class DisplayServer extends GodotVar {
221
221
  *
222
222
  * ```
223
223
  */
224
- static globalMenuAddSeparator(menuRoot: string, index?: number /* = -1 */): number { return _C($(), 7204, menuRoot, index) as number; }
224
+ static globalMenuAddSeparator(menuRoot: string, index?: number /* = -1 */): number { return _C($(), 7349, menuRoot, index) as number; }
225
225
 
226
226
  /**
227
227
  * 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.
228
228
  * **Note:** This method is implemented only on macOS.
229
229
  */
230
- static globalMenuGetItemIndexFromText(menuRoot: string, text: string): number { return _C($(), 7213, menuRoot, text) as number; }
230
+ static globalMenuGetItemIndexFromText(menuRoot: string, text: string): number { return _C($(), 7358, menuRoot, text) as number; }
231
231
 
232
232
  /**
233
233
  * 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.
234
234
  * **Note:** This method is implemented only on macOS.
235
235
  */
236
- static globalMenuGetItemIndexFromTag(menuRoot: string, tag: Variant): number { return _C($(), 7212, menuRoot, tag) as number; }
236
+ static globalMenuGetItemIndexFromTag(menuRoot: string, tag: Variant): number { return _C($(), 7357, menuRoot, tag) as number; }
237
237
 
238
238
  /**
239
239
  * Returns `true` if the item at index `idx` is checked.
240
240
  * **Note:** This method is implemented only on macOS.
241
241
  */
242
- static globalMenuIsItemChecked(menuRoot: string, idx: number): boolean { return _C($(), 7223, menuRoot, idx) as boolean; }
242
+ static globalMenuIsItemChecked(menuRoot: string, idx: number): boolean { return _C($(), 7368, menuRoot, idx) as boolean; }
243
243
 
244
244
  /**
245
245
  * Returns `true` if the item at index `idx` is checkable in some way, i.e. if it has a checkbox or radio button.
246
246
  * **Note:** This method is implemented only on macOS.
247
247
  */
248
- static globalMenuIsItemCheckable(menuRoot: string, idx: number): boolean { return _C($(), 7222, menuRoot, idx) as boolean; }
248
+ static globalMenuIsItemCheckable(menuRoot: string, idx: number): boolean { return _C($(), 7367, menuRoot, idx) as boolean; }
249
249
 
250
250
  /**
251
251
  * Returns `true` if the item at index `idx` has radio button-style checkability.
252
252
  * **Note:** This is purely cosmetic; you must add the logic for checking/unchecking items in radio groups.
253
253
  * **Note:** This method is implemented only on macOS.
254
254
  */
255
- static globalMenuIsItemRadioCheckable(menuRoot: string, idx: number): boolean { return _C($(), 7226, menuRoot, idx) as boolean; }
255
+ static globalMenuIsItemRadioCheckable(menuRoot: string, idx: number): boolean { return _C($(), 7371, menuRoot, idx) as boolean; }
256
256
 
257
257
  /**
258
258
  * Returns the callback of the item at index `idx`.
259
259
  * **Note:** This method is implemented only on macOS.
260
260
  */
261
- static globalMenuGetItemCallback(menuRoot: string, idx: number): Callable { return _C($(), 7208, menuRoot, idx) as Callable; }
261
+ static globalMenuGetItemCallback(menuRoot: string, idx: number): Callable { return _C($(), 7353, menuRoot, idx) as Callable; }
262
262
 
263
263
  /**
264
264
  * Returns the callback of the item accelerator at index `idx`.
265
265
  * **Note:** This method is implemented only on macOS.
266
266
  */
267
- static globalMenuGetItemKeyCallback(menuRoot: string, idx: number): Callable { return _C($(), 7214, menuRoot, idx) as Callable; }
267
+ static globalMenuGetItemKeyCallback(menuRoot: string, idx: number): Callable { return _C($(), 7359, menuRoot, idx) as Callable; }
268
268
 
269
269
  /**
270
270
  * Returns the metadata of the specified item, which might be of any type. You can set it with {@link globalMenuSetItemTag}, which provides a simple way of assigning context data to items.
271
271
  * **Note:** This method is implemented only on macOS.
272
272
  */
273
- static globalMenuGetItemTag(menuRoot: string, idx: number): Variant { return _C($(), 7218, menuRoot, idx) as Variant; }
273
+ static globalMenuGetItemTag(menuRoot: string, idx: number): Variant { return _C($(), 7363, menuRoot, idx) as Variant; }
274
274
 
275
275
  /**
276
276
  * Returns the text of the item at index `idx`.
277
277
  * **Note:** This method is implemented only on macOS.
278
278
  */
279
- static globalMenuGetItemText(menuRoot: string, idx: number): string { return _C($(), 7219, menuRoot, idx) as string; }
279
+ static globalMenuGetItemText(menuRoot: string, idx: number): string { return _C($(), 7364, menuRoot, idx) as string; }
280
280
 
281
281
  /**
282
282
  * Returns the submenu ID of the item at index `idx`. See {@link globalMenuAddSubmenuItem} for more info on how to add a submenu.
283
283
  * **Note:** This method is implemented only on macOS.
284
284
  */
285
- static globalMenuGetItemSubmenu(menuRoot: string, idx: number): string { return _C($(), 7217, menuRoot, idx) as string; }
285
+ static globalMenuGetItemSubmenu(menuRoot: string, idx: number): string { return _C($(), 7362, menuRoot, idx) as string; }
286
286
 
287
287
  /**
288
288
  * 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.
289
289
  * **Note:** This method is implemented only on macOS.
290
290
  */
291
- static globalMenuGetItemAccelerator(menuRoot: string, idx: number): Key { return _C($(), 7207, menuRoot, idx) as Key; }
291
+ static globalMenuGetItemAccelerator(menuRoot: string, idx: number): Key { return _C($(), 7352, menuRoot, idx) as Key; }
292
292
 
293
293
  /**
294
294
  * Returns `true` if the item at index `idx` is disabled. When it is disabled it can't be selected, or its action invoked.
295
295
  * See {@link globalMenuSetItemDisabled} for more info on how to disable an item.
296
296
  * **Note:** This method is implemented only on macOS.
297
297
  */
298
- static globalMenuIsItemDisabled(menuRoot: string, idx: number): boolean { return _C($(), 7224, menuRoot, idx) as boolean; }
298
+ static globalMenuIsItemDisabled(menuRoot: string, idx: number): boolean { return _C($(), 7369, menuRoot, idx) as boolean; }
299
299
 
300
300
  /**
301
301
  * Returns `true` if the item at index `idx` is hidden.
302
302
  * See {@link globalMenuSetItemHidden} for more info on how to hide an item.
303
303
  * **Note:** This method is implemented only on macOS.
304
304
  */
305
- static globalMenuIsItemHidden(menuRoot: string, idx: number): boolean { return _C($(), 7225, menuRoot, idx) as boolean; }
305
+ static globalMenuIsItemHidden(menuRoot: string, idx: number): boolean { return _C($(), 7370, menuRoot, idx) as boolean; }
306
306
 
307
307
  /**
308
308
  * Returns the tooltip associated with the specified index `idx`.
309
309
  * **Note:** This method is implemented only on macOS.
310
310
  */
311
- static globalMenuGetItemTooltip(menuRoot: string, idx: number): string { return _C($(), 7220, menuRoot, idx) as string; }
311
+ static globalMenuGetItemTooltip(menuRoot: string, idx: number): string { return _C($(), 7365, menuRoot, idx) as string; }
312
312
 
313
313
  /**
314
314
  * Returns the state of a multistate item. See {@link globalMenuAddMultistateItem} for details.
315
315
  * **Note:** This method is implemented only on macOS.
316
316
  */
317
- static globalMenuGetItemState(menuRoot: string, idx: number): number { return _C($(), 7216, menuRoot, idx) as number; }
317
+ static globalMenuGetItemState(menuRoot: string, idx: number): number { return _C($(), 7361, menuRoot, idx) as number; }
318
318
 
319
319
  /**
320
320
  * Returns number of states of a multistate item. See {@link globalMenuAddMultistateItem} for details.
321
321
  * **Note:** This method is implemented only on macOS.
322
322
  */
323
- static globalMenuGetItemMaxStates(menuRoot: string, idx: number): number { return _C($(), 7215, menuRoot, idx) as number; }
323
+ static globalMenuGetItemMaxStates(menuRoot: string, idx: number): number { return _C($(), 7360, menuRoot, idx) as number; }
324
324
 
325
325
  /**
326
326
  * Returns the icon of the item at index `idx`.
327
327
  * **Note:** This method is implemented only on macOS.
328
328
  */
329
- static globalMenuGetItemIcon(menuRoot: string, idx: number): Texture2D { return _C($(), 7210, menuRoot, idx) as Texture2D; }
329
+ static globalMenuGetItemIcon(menuRoot: string, idx: number): Texture2D { return _C($(), 7355, menuRoot, idx) as Texture2D; }
330
330
 
331
331
  /**
332
332
  * Returns the horizontal offset of the item at the given `idx`.
333
333
  * **Note:** This method is implemented only on macOS.
334
334
  */
335
- static globalMenuGetItemIndentationLevel(menuRoot: string, idx: number): number { return _C($(), 7211, menuRoot, idx) as number; }
335
+ static globalMenuGetItemIndentationLevel(menuRoot: string, idx: number): number { return _C($(), 7356, menuRoot, idx) as number; }
336
336
 
337
337
  /**
338
338
  * Sets the checkstate status of the item at index `idx`.
339
339
  * **Note:** This method is implemented only on macOS.
340
340
  */
341
- static globalMenuSetItemChecked(menuRoot: string, idx: number, checked: boolean): void { _C($(), 7231, menuRoot, idx, checked); }
341
+ static globalMenuSetItemChecked(menuRoot: string, idx: number, checked: boolean): void { _C($(), 7376, menuRoot, idx, checked); }
342
342
 
343
343
  /**
344
344
  * Sets whether the item at index `idx` has a checkbox. If `false`, sets the type of the item to plain text.
345
345
  * **Note:** This method is implemented only on macOS.
346
346
  */
347
- static globalMenuSetItemCheckable(menuRoot: string, idx: number, checkable: boolean): void { _C($(), 7230, menuRoot, idx, checkable); }
347
+ static globalMenuSetItemCheckable(menuRoot: string, idx: number, checkable: boolean): void { _C($(), 7375, menuRoot, idx, checkable); }
348
348
 
349
349
  /**
350
350
  * 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.
351
351
  * **Note:** This is purely cosmetic; you must add the logic for checking/unchecking items in radio groups.
352
352
  * **Note:** This method is implemented only on macOS.
353
353
  */
354
- static globalMenuSetItemRadioCheckable(menuRoot: string, idx: number, checkable: boolean): void { _C($(), 7239, menuRoot, idx, checkable); }
354
+ static globalMenuSetItemRadioCheckable(menuRoot: string, idx: number, checkable: boolean): void { _C($(), 7384, menuRoot, idx, checkable); }
355
355
 
356
356
  /**
357
357
  * Sets the callback of the item at index `idx`. Callback is emitted when an item is pressed.
358
358
  * **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.
359
359
  * **Note:** This method is implemented only on macOS.
360
360
  */
361
- static globalMenuSetItemCallback(menuRoot: string, idx: number, callback: Callable): void { _C($(), 7229, menuRoot, idx, callback); }
361
+ static globalMenuSetItemCallback(menuRoot: string, idx: number, callback: Callable): void { _C($(), 7374, menuRoot, idx, callback); }
362
362
 
363
363
  /**
364
364
  * Sets the callback of the item at index `idx`. The callback is emitted when an item is hovered.
365
365
  * **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.
366
366
  * **Note:** This method is implemented only on macOS.
367
367
  */
368
- static globalMenuSetItemHoverCallbacks(menuRoot: string, idx: number, callback: Callable): void { _C($(), 7234, menuRoot, idx, callback); }
368
+ static globalMenuSetItemHoverCallbacks(menuRoot: string, idx: number, callback: Callable): void { _C($(), 7379, menuRoot, idx, callback); }
369
369
 
370
370
  /**
371
371
  * Sets the callback of the item at index `idx`. Callback is emitted when its accelerator is activated.
372
372
  * **Note:** The `keyCallback` 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.
373
373
  * **Note:** This method is implemented only on macOS.
374
374
  */
375
- static globalMenuSetItemKeyCallback(menuRoot: string, idx: number, keyCallback: Callable): void { _C($(), 7237, menuRoot, idx, keyCallback); }
375
+ static globalMenuSetItemKeyCallback(menuRoot: string, idx: number, keyCallback: Callable): void { _C($(), 7382, menuRoot, idx, keyCallback); }
376
376
 
377
377
  /**
378
378
  * Sets the metadata of an item, which may be of any type. You can later get it with {@link globalMenuGetItemTag}, which provides a simple way of assigning context data to items.
379
379
  * **Note:** This method is implemented only on macOS.
380
380
  */
381
- static globalMenuSetItemTag(menuRoot: string, idx: number, tag: Variant): void { _C($(), 7242, menuRoot, idx, tag); }
381
+ static globalMenuSetItemTag(menuRoot: string, idx: number, tag: Variant): void { _C($(), 7387, menuRoot, idx, tag); }
382
382
 
383
383
  /**
384
384
  * Sets the text of the item at index `idx`.
385
385
  * **Note:** This method is implemented only on macOS.
386
386
  */
387
- static globalMenuSetItemText(menuRoot: string, idx: number, text: string): void { _C($(), 7243, menuRoot, idx, text); }
387
+ static globalMenuSetItemText(menuRoot: string, idx: number, text: string): void { _C($(), 7388, menuRoot, idx, text); }
388
388
 
389
389
  /**
390
390
  * 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.
391
391
  * **Note:** This method is implemented only on macOS.
392
392
  */
393
- static globalMenuSetItemSubmenu(menuRoot: string, idx: number, submenu: string): void { _C($(), 7241, menuRoot, idx, submenu); }
393
+ static globalMenuSetItemSubmenu(menuRoot: string, idx: number, submenu: string): void { _C($(), 7386, menuRoot, idx, submenu); }
394
394
 
395
395
  /**
396
396
  * 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`).
397
397
  * **Note:** This method is implemented only on macOS.
398
398
  */
399
- static globalMenuSetItemAccelerator(menuRoot: string, idx: number, keycode: Key): void { _C($(), 7228, menuRoot, idx, keycode); }
399
+ static globalMenuSetItemAccelerator(menuRoot: string, idx: number, keycode: Key): void { _C($(), 7373, menuRoot, idx, keycode); }
400
400
 
401
401
  /**
402
402
  * Enables/disables the item at index `idx`. When it is disabled, it can't be selected and its action can't be invoked.
403
403
  * **Note:** This method is implemented only on macOS.
404
404
  */
405
- static globalMenuSetItemDisabled(menuRoot: string, idx: number, disabled: boolean): void { _C($(), 7232, menuRoot, idx, disabled); }
405
+ static globalMenuSetItemDisabled(menuRoot: string, idx: number, disabled: boolean): void { _C($(), 7377, menuRoot, idx, disabled); }
406
406
 
407
407
  /**
408
408
  * 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.
409
409
  * **Note:** This method is implemented only on macOS.
410
410
  */
411
- static globalMenuSetItemHidden(menuRoot: string, idx: number, hidden: boolean): void { _C($(), 7233, menuRoot, idx, hidden); }
411
+ static globalMenuSetItemHidden(menuRoot: string, idx: number, hidden: boolean): void { _C($(), 7378, menuRoot, idx, hidden); }
412
412
 
413
413
  /**
414
414
  * Sets the {@link String} tooltip of the item at the specified index `idx`.
415
415
  * **Note:** This method is implemented only on macOS.
416
416
  */
417
- static globalMenuSetItemTooltip(menuRoot: string, idx: number, tooltip: string): void { _C($(), 7244, menuRoot, idx, tooltip); }
417
+ static globalMenuSetItemTooltip(menuRoot: string, idx: number, tooltip: string): void { _C($(), 7389, menuRoot, idx, tooltip); }
418
418
 
419
419
  /**
420
420
  * Sets the state of a multistate item. See {@link globalMenuAddMultistateItem} for details.
421
421
  * **Note:** This method is implemented only on macOS.
422
422
  */
423
- static globalMenuSetItemState(menuRoot: string, idx: number, state: number): void { _C($(), 7240, menuRoot, idx, state); }
423
+ static globalMenuSetItemState(menuRoot: string, idx: number, state: number): void { _C($(), 7385, menuRoot, idx, state); }
424
424
 
425
425
  /**
426
426
  * Sets number of state of a multistate item. See {@link globalMenuAddMultistateItem} for details.
427
427
  * **Note:** This method is implemented only on macOS.
428
428
  */
429
- static globalMenuSetItemMaxStates(menuRoot: string, idx: number, maxStates: number): void { _C($(), 7238, menuRoot, idx, maxStates); }
429
+ static globalMenuSetItemMaxStates(menuRoot: string, idx: number, maxStates: number): void { _C($(), 7383, menuRoot, idx, maxStates); }
430
430
 
431
431
  /**
432
432
  * Replaces the {@link Texture2D} icon of the specified `idx`.
433
433
  * **Note:** This method is implemented only on macOS.
434
434
  * **Note:** This method is not supported by macOS "_dock" menu items.
435
435
  */
436
- static globalMenuSetItemIcon(menuRoot: string, idx: number, icon: Texture2D): void { _C($(), 7235, menuRoot, idx, icon); }
436
+ static globalMenuSetItemIcon(menuRoot: string, idx: number, icon: Texture2D): void { _C($(), 7380, menuRoot, idx, icon); }
437
437
 
438
438
  /**
439
439
  * Sets the horizontal offset of the item at the given `idx`.
440
440
  * **Note:** This method is implemented only on macOS.
441
441
  */
442
- static globalMenuSetItemIndentationLevel(menuRoot: string, idx: number, level: number): void { _C($(), 7236, menuRoot, idx, level); }
442
+ static globalMenuSetItemIndentationLevel(menuRoot: string, idx: number, level: number): void { _C($(), 7381, menuRoot, idx, level); }
443
443
 
444
444
  /**
445
445
  * Returns number of items in the global menu with ID `menuRoot`.
446
446
  * **Note:** This method is implemented only on macOS.
447
447
  */
448
- static globalMenuGetItemCount(menuRoot: string): number { return _C($(), 7209, menuRoot) as number; }
448
+ static globalMenuGetItemCount(menuRoot: string): number { return _C($(), 7354, menuRoot) as number; }
449
449
 
450
450
  /**
451
451
  * Removes the item at index `idx` from the global menu `menuRoot`.
452
452
  * **Note:** The indices of items after the removed item will be shifted by one.
453
453
  * **Note:** This method is implemented only on macOS.
454
454
  */
455
- static globalMenuRemoveItem(menuRoot: string, idx: number): void { _C($(), 7227, menuRoot, idx); }
455
+ static globalMenuRemoveItem(menuRoot: string, idx: number): void { _C($(), 7372, menuRoot, idx); }
456
456
 
457
457
  /**
458
458
  * Removes all items from the global menu with ID `menuRoot`.
@@ -469,25 +469,25 @@ export class DisplayServer extends GodotVar {
469
469
  *
470
470
  * ```
471
471
  */
472
- static globalMenuClear(menuRoot: string): void { _C($(), 7206, menuRoot); }
472
+ static globalMenuClear(menuRoot: string): void { _C($(), 7351, menuRoot); }
473
473
 
474
474
  /**
475
475
  * Returns Dictionary of supported system menu IDs and names.
476
476
  * **Note:** This method is implemented only on macOS.
477
477
  */
478
- static globalMenuGetSystemMenuRoots(): GodotDictionary { return _C($(), 7221) as GodotDictionary; }
478
+ static globalMenuGetSystemMenuRoots(): GodotDictionary { return _C($(), 7366) as GodotDictionary; }
479
479
 
480
480
  /**
481
481
  * Returns `true` if the synthesizer is generating speech, or have utterance waiting in the queue.
482
482
  * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
483
483
  */
484
- static ttsIsSpeaking(): boolean { return _C($(), 14427) as boolean; }
484
+ static ttsIsSpeaking(): boolean { return _C($(), 14721) as boolean; }
485
485
 
486
486
  /**
487
487
  * Returns `true` if the synthesizer is in a paused state.
488
488
  * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
489
489
  */
490
- static ttsIsPaused(): boolean { return _C($(), 14426) as boolean; }
490
+ static ttsIsPaused(): boolean { return _C($(), 14720) as boolean; }
491
491
 
492
492
  /**
493
493
  * Returns an {@link Array} of voice information dictionaries.
@@ -498,13 +498,13 @@ export class DisplayServer extends GodotVar {
498
498
  * 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.
499
499
  * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
500
500
  */
501
- static ttsGetVoices(): GodotArray<GodotDictionary> { return _C($(), 14424) as GodotArray<GodotDictionary>; }
501
+ static ttsGetVoices(): GodotArray<GodotDictionary> { return _C($(), 14718) as GodotArray<GodotDictionary>; }
502
502
 
503
503
  /**
504
504
  * Returns a {@link PackedStringArray} of voice identifiers for the `language`.
505
505
  * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
506
506
  */
507
- static ttsGetVoicesForLanguage(language: string): PackedStringArray { return _C($(), 14425, language) as PackedStringArray; }
507
+ static ttsGetVoicesForLanguage(language: string): PackedStringArray { return _C($(), 14719, language) as PackedStringArray; }
508
508
 
509
509
  /**
510
510
  * Adds an utterance to the queue. If `interrupt` is `true`, the queue is cleared first.
@@ -517,25 +517,25 @@ export class DisplayServer extends GodotVar {
517
517
  * **Note:** The granularity of pitch, rate, and volume is engine and voice dependent. Values may be truncated.
518
518
  * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
519
519
  */
520
- static ttsSpeak(text: string, voice: string, volume?: number /* = 50 */, pitch?: number /* = 1.0 */, rate?: number /* = 1.0 */, utteranceId?: number /* = 0, int64 */, interrupt?: boolean /* = false */): void { _C($(), 14431, text, voice, volume, pitch, rate, utteranceId, interrupt); }
520
+ static ttsSpeak(text: string, voice: string, volume?: number /* = 50 */, pitch?: number /* = 1.0 */, rate?: number /* = 1.0 */, utteranceId?: number /* = 0, int64 */, interrupt?: boolean /* = false */): void { _C($(), 14725, text, voice, volume, pitch, rate, utteranceId, interrupt); }
521
521
 
522
522
  /**
523
523
  * Puts the synthesizer into a paused state.
524
524
  * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
525
525
  */
526
- static ttsPause(): void { _C($(), 14428); }
526
+ static ttsPause(): void { _C($(), 14722); }
527
527
 
528
528
  /**
529
529
  * Resumes the synthesizer if it was paused.
530
530
  * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
531
531
  */
532
- static ttsResume(): void { _C($(), 14429); }
532
+ static ttsResume(): void { _C($(), 14723); }
533
533
 
534
534
  /**
535
535
  * Stops synthesis in progress and removes all utterances from the queue.
536
536
  * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
537
537
  */
538
- static ttsStop(): void { _C($(), 14432); }
538
+ static ttsStop(): void { _C($(), 14726); }
539
539
 
540
540
  /**
541
541
  * Adds a callback, which is called when the utterance has started, finished, canceled or reached a text boundary.
@@ -544,168 +544,172 @@ export class DisplayServer extends GodotVar {
544
544
  * **Note:** The granularity of the boundary callbacks is engine dependent.
545
545
  * **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
546
546
  */
547
- static ttsSetUtteranceCallback(event: TTSUtteranceEvent, callable: Callable): void { _C($(), 14430, event, callable); }
547
+ static ttsSetUtteranceCallback(event: TTSUtteranceEvent, callable: Callable): void { _C($(), 14724, event, callable); }
548
548
 
549
549
  /**
550
550
  * Returns `true` if OS supports dark mode.
551
551
  * **Note:** This method is implemented on Android, iOS, macOS, Windows, and Linux (X11/Wayland).
552
552
  */
553
- static isDarkModeSupported(): boolean { return _C($(), 7869) as boolean; }
553
+ static isDarkModeSupported(): boolean { return _C($(), 8031) as boolean; }
554
554
 
555
555
  /**
556
556
  * Returns `true` if OS is using dark mode.
557
557
  * **Note:** This method is implemented on Android, iOS, macOS, Windows, and Linux (X11/Wayland).
558
558
  */
559
- static isDarkMode(): boolean { return _C($(), 7868) as boolean; }
559
+ static isDarkMode(): boolean { return _C($(), 8030) as boolean; }
560
560
 
561
561
  /**
562
562
  * Returns OS theme accent color. Returns `Color(0, 0, 0, 0)`, if accent color is unknown.
563
563
  * **Note:** This method is implemented on macOS, Windows, Android, and Linux (X11/Wayland).
564
564
  */
565
- static getAccentColor(): Color { return _C($(), 3661) as Color; }
565
+ static getAccentColor(): Color { return _C($(), 3726) as Color; }
566
566
 
567
567
  /**
568
568
  * Returns the OS theme base color (default control background). Returns `Color(0, 0, 0, 0)` if the base color is unknown.
569
569
  * **Note:** This method is implemented on macOS, Windows, and Android.
570
570
  */
571
- static getBaseColor(): Color { return _C($(), 3893) as Color; }
571
+ static getBaseColor(): Color { return _C($(), 3961) as Color; }
572
572
 
573
573
  /**
574
574
  * Sets the callback that should be called when the system's theme settings are changed. `callable` should accept zero arguments.
575
575
  * **Note:** This method is implemented on Android, iOS, macOS, Windows, and Linux (X11/Wayland).
576
576
  */
577
- static setSystemThemeChangeCallback(callable: Callable): void { _C($(), 12967, callable); }
577
+ static setSystemThemeChangeCallback(callable: Callable): void { _C($(), 13236, callable); }
578
578
 
579
579
  /**
580
580
  * Sets the current mouse mode. See also {@link mouseGetMode}.
581
581
  */
582
- static mouseSetMode(mouseMode: MouseMode): void { _C($(), 8973, mouseMode); }
582
+ static mouseSetMode(mouseMode: MouseMode): void { _C($(), 9167, mouseMode); }
583
583
 
584
584
  /**
585
585
  * Returns the current mouse mode. See also {@link mouseSetMode}.
586
586
  */
587
- static mouseGetMode(): MouseMode { return _C($(), 8968) as MouseMode; }
587
+ static mouseGetMode(): MouseMode { return _C($(), 9162) as MouseMode; }
588
588
 
589
589
  /**
590
590
  * 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.
591
591
  * **Note:** {@link warpMouse} is only supported on Windows, macOS, and Linux (X11/Wayland). It has no effect on Android, iOS, and Web.
592
592
  */
593
- static warpMouse(position: Vector2i): void { _C($(), 14840, position); }
593
+ static warpMouse(position: Vector2i): void { _C($(), 15138, position); }
594
594
 
595
595
  /**
596
596
  * Returns the mouse cursor's current position in screen coordinates.
597
597
  */
598
- static mouseGetPosition(): Vector2i { return _C($(), 8969) as Vector2i; }
598
+ static mouseGetPosition(): Vector2i { return _C($(), 9163) as Vector2i; }
599
599
 
600
600
  /**
601
601
  * 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.getMouseButtonMask}.
602
602
  */
603
- static mouseGetButtonState(): MouseButtonMask { return _C($(), 8967) as MouseButtonMask; }
603
+ static mouseGetButtonState(): MouseButtonMask { return _C($(), 9161) as MouseButtonMask; }
604
604
 
605
605
  /**
606
606
  * Sets the user's clipboard content to the given string.
607
607
  */
608
- static clipboardSet(clipboard: string): void { _C($(), 2329, clipboard); }
608
+ static clipboardSet(clipboard: string): void { _C($(), 2367, clipboard); }
609
609
 
610
610
  /**
611
611
  * Returns the user's clipboard as a string if possible.
612
612
  */
613
- static clipboardGet(): string { return _C($(), 2324) as string; }
613
+ static clipboardGet(): string { return _C($(), 2362) as string; }
614
614
 
615
615
  /**
616
616
  * Returns the user's clipboard as an image if possible.
617
617
  * **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.
618
618
  */
619
- static clipboardGetImage(): Image { return _C($(), 2325) as Image; }
619
+ static clipboardGetImage(): Image { return _C($(), 2363) as Image; }
620
620
 
621
621
  /**
622
622
  * Returns `true` if there is a text content on the user's clipboard.
623
623
  */
624
- static clipboardHas(): boolean { return _C($(), 2327) as boolean; }
624
+ static clipboardHas(): boolean { return _C($(), 2365) as boolean; }
625
625
 
626
626
  /**
627
627
  * Returns `true` if there is an image content on the user's clipboard.
628
628
  */
629
- static clipboardHasImage(): boolean { return _C($(), 2328) as boolean; }
629
+ static clipboardHasImage(): boolean { return _C($(), 2366) as boolean; }
630
630
 
631
631
  /**
632
632
  * 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.
633
633
  * **Note:** This method is only implemented on Linux (X11/Wayland).
634
634
  */
635
- static clipboardSetPrimary(clipboardPrimary: string): void { _C($(), 2330, clipboardPrimary); }
635
+ static clipboardSetPrimary(clipboardPrimary: string): void { _C($(), 2368, clipboardPrimary); }
636
636
 
637
637
  /**
638
638
  * 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.
639
639
  * **Note:** This method is only implemented on Linux (X11/Wayland).
640
640
  */
641
- static clipboardGetPrimary(): string { return _C($(), 2326) as string; }
641
+ static clipboardGetPrimary(): string { return _C($(), 2364) as string; }
642
642
 
643
643
  /**
644
644
  * 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 getDisplaySafeArea}.
645
- * **Note:** Currently only implemented on Android. Other platforms will return an empty array even if they do have display cutouts or notches.
645
+ * **Note:** The returned rectangles are relative to the physical screen and not the virtual desktop.
646
+ * **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}.
647
+ * **Note:** Currently only implemented on Android and macOS. Other platforms will return an empty array even if they do have display cutouts or notches.
646
648
  */
647
- static getDisplayCutouts(): GodotArray<Rect2> { return _C($(), 4517) as GodotArray<Rect2>; }
649
+ static getDisplayCutouts(screen?: number /* = -1 */): GodotArray<Rect2> { return _C($(), 4598, screen) as GodotArray<Rect2>; }
648
650
 
649
651
  /**
650
652
  * Returns the unobscured area of the display where interactive controls should be rendered. See also {@link getDisplayCutouts}.
651
- * **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 screenGetUsableRect}.
653
+ * **Note:** The returned rectangle is relative to the physical screen and not the virtual desktop.
654
+ * **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}.
655
+ * **Note:** Currently only implemented on Android, iOS, and macOS. On other platforms, `screen_get_usable_rect(SCREEN_OF_MAIN_WINDOW)` will be returned as a fallback. See also {@link screenGetUsableRect}.
652
656
  */
653
- static getDisplaySafeArea(): Rect2i { return _C($(), 4520) as Rect2i; }
657
+ static getDisplaySafeArea(screen?: number /* = -1 */): Rect2i { return _C($(), 4601, screen) as Rect2i; }
654
658
 
655
659
  /**
656
660
  * Returns the number of displays available.
657
661
  * **Note:** This method is implemented on Linux (X11 and Wayland), macOS, and Windows. On other platforms, this method always returns `1`.
658
662
  */
659
- static getScreenCount(): number { return _C($(), 6258) as number; }
663
+ static getScreenCount(): number { return _C($(), 6382) as number; }
660
664
 
661
665
  /**
662
666
  * Returns the index of the primary screen.
663
667
  * **Note:** This method is implemented on Linux/X11, macOS, and Windows. On other platforms, this method always returns `0`.
664
668
  */
665
- static getPrimaryScreen(): number { return _C($(), 6012) as number; }
669
+ static getPrimaryScreen(): number { return _C($(), 6128) as number; }
666
670
 
667
671
  /**
668
672
  * Returns the index of the screen containing the window with the keyboard focus, or the primary screen if there's no focused window.
669
673
  * **Note:** This method is implemented on Linux/X11, macOS, and Windows. On other platforms, this method always returns the primary screen.
670
674
  */
671
- static getKeyboardFocusScreen(): number { return _C($(), 5291) as number; }
675
+ static getKeyboardFocusScreen(): number { return _C($(), 5386) as number; }
672
676
 
673
677
  /**
674
678
  * 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.
675
679
  */
676
- static getScreenFromRect(rect: Rect2): number { return _C($(), 6259, rect) as number; }
680
+ static getScreenFromRect(rect: Rect2): number { return _C($(), 6383, rect) as number; }
677
681
 
678
682
  /**
679
683
  * 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:
680
684
  *
681
685
  * ```text
682
686
  *
683
- * * (0, 0) +-------+
684
- * | |
685
- * +-------------+ | |
686
- * | | | |
687
- * | | | |
688
- * +-------------+ +-------+
687
+ * * (0, 0) ┌───────┐
688
+ * │ │
689
+ * ┌─────────────┐ │ │
690
+ * │ │ │ │
691
+ * │ │ │ │
692
+ * └─────────────┘ └───────┘
689
693
  *
690
694
  * ```
691
695
  *
692
696
  * See also {@link screenGetSize}.
693
697
  * **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}.
694
698
  */
695
- static screenGetPosition(screen?: number /* = -1 */): Vector2i { return _C($(), 10256, screen) as Vector2i; }
699
+ static screenGetPosition(screen?: number /* = -1 */): Vector2i { return _C($(), 10471, screen) as Vector2i; }
696
700
 
697
701
  /**
698
702
  * Returns the screen's size in pixels. See also {@link screenGetPosition} and {@link screenGetUsableRect}. Returns {@link Vector2i.ZERO} if `screen` is invalid.
699
703
  * **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}.
700
704
  */
701
- static screenGetSize(screen?: number /* = -1 */): Vector2i { return _C($(), 10259, screen) as Vector2i; }
705
+ static screenGetSize(screen?: number /* = -1 */): Vector2i { return _C($(), 10474, screen) as Vector2i; }
702
706
 
703
707
  /**
704
708
  * Returns the portion of the screen that is not obstructed by a status bar in pixels. See also {@link screenGetSize}.
705
709
  * **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}.
706
710
  * **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))`.
707
711
  */
708
- static screenGetUsableRect(screen?: number /* = -1 */): Rect2i { return _C($(), 10260, screen) as Rect2i; }
712
+ static screenGetUsableRect(screen?: number /* = -1 */): Rect2i { return _C($(), 10475, screen) as Rect2i; }
709
713
 
710
714
  /**
711
715
  * Returns the dots per inch density of the specified screen. Returns platform specific default value if `screen` is invalid.
@@ -726,27 +730,27 @@ export class DisplayServer extends GodotVar {
726
730
  *
727
731
  * **Note:** This method is implemented on Android, iOS, Linux (X11/Wayland), macOS, Web, and Windows. On other platforms, this method always returns `72`.
728
732
  */
729
- static screenGetDpi(screen?: number /* = -1 */): number { return _C($(), 10248, screen) as number; }
733
+ static screenGetDpi(screen?: number /* = -1 */): number { return _C($(), 10463, screen) as number; }
730
734
 
731
735
  /**
732
736
  * Returns the scale factor of the specified screen by index. Returns `1.0` if `screen` is invalid. See also {@link screenGetMaxScale}.
733
737
  * **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}.
734
738
  * **Note:** On macOS, the returned value is `2.0` for hiDPI (Retina) screens, and `1.0` for all other cases.
735
739
  * **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`).
736
- * **Note:** This method is implemented on Android, iOS, Web, macOS, and Linux (Wayland). On other platforms, this method always returns `1.0`.
740
+ * **Note:** This method is implemented on Android, iOS, Web, macOS, Linux, and Windows. On other platforms, this method always returns `1.0`.
737
741
  */
738
- static screenGetScale(screen?: number /* = -1 */): number { return _C($(), 10258, screen) as number; }
742
+ static screenGetScale(screen?: number /* = -1 */): number { return _C($(), 10473, screen) as number; }
739
743
 
740
744
  /**
741
745
  * Returns `true` if touch events are available (Android or iOS), the capability is detected on the Web platform or if {@link ProjectSettings.inputDevices/pointing/emulateTouchFromMouse} is `true`.
742
746
  */
743
- static isTouchscreenAvailable(): boolean { return _C($(), 8369) as boolean; }
747
+ static isTouchscreenAvailable(): boolean { return _C($(), 8543) as boolean; }
744
748
 
745
749
  /**
746
750
  * Returns the greatest scale factor of all screens. See also {@link screenGetScale}.
747
751
  * **Note:** On macOS, the returned value is `2.0` if there is at least one hiDPI (Retina) screen in the system, and `1.0` in all other cases.
748
752
  */
749
- static screenGetMaxScale(): number { return _C($(), 10253) as number; }
753
+ static screenGetMaxScale(): number { return _C($(), 10468) as number; }
750
754
 
751
755
  /**
752
756
  * 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.
@@ -763,14 +767,14 @@ export class DisplayServer extends GodotVar {
763
767
  * **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}.
764
768
  * **Note:** This method is implemented on Android, iOS, macOS, Linux (X11 and Wayland), and Windows. On other platforms, this method always returns `-1.0`.
765
769
  */
766
- static screenGetRefreshRate(screen?: number /* = -1 */): number { return _C($(), 10257, screen) as number; }
770
+ static screenGetRefreshRate(screen?: number /* = -1 */): number { return _C($(), 10472, screen) as number; }
767
771
 
768
772
  /**
769
773
  * 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.
770
774
  * **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)`.
771
775
  * **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.
772
776
  */
773
- static screenGetPixel(position: Vector2i): Color { return _C($(), 10255, position) as Color; }
777
+ static screenGetPixel(position: Vector2i): Color { return _C($(), 10470, position) as Color; }
774
778
 
775
779
  /**
776
780
  * Returns a screenshot of the `screen`. Returns `null` if `screen` is invalid or the {@link DisplayServer} fails to capture screenshot.
@@ -778,14 +782,14 @@ export class DisplayServer extends GodotVar {
778
782
  * **Note:** This method is implemented on Linux (X11, excluding XWayland), macOS, and Windows. On other platforms, this method always returns `null`.
779
783
  * **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.
780
784
  */
781
- static screenGetImage(screen?: number /* = -1 */): Image | null { return _C($(), 10251, screen) as Image | null; }
785
+ static screenGetImage(screen?: number /* = -1 */): Image | null { return _C($(), 10466, screen) as Image | null; }
782
786
 
783
787
  /**
784
788
  * 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.
785
789
  * **Note:** This method is implemented on macOS and Windows. On other platforms, this method always returns `null`.
786
790
  * **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.
787
791
  */
788
- static screenGetImageRect(rect: Rect2i): Image | null { return _C($(), 10252, rect) as Image | null; }
792
+ static screenGetImageRect(rect: Rect2i): Image | null { return _C($(), 10467, rect) as Image | null; }
789
793
 
790
794
  /**
791
795
  * Sets the `screen`'s `orientation`. See also {@link screenGetOrientation}.
@@ -793,80 +797,80 @@ export class DisplayServer extends GodotVar {
793
797
  * **Note:** This method is implemented on Android and iOS.
794
798
  * **Note:** On iOS, this method has no effect if {@link ProjectSettings.display/window/handheld/orientation} is not set to {@link SCREEN_SENSOR}.
795
799
  */
796
- static screenSetOrientation(orientation: ScreenOrientation, screen?: number /* = -1 */): void { _C($(), 10266, orientation, screen); }
800
+ static screenSetOrientation(orientation: ScreenOrientation, screen?: number /* = -1 */): void { _C($(), 10481, orientation, screen); }
797
801
 
798
802
  /**
799
803
  * Returns the `screen`'s current orientation. See also {@link screenSetOrientation}. Returns {@link SCREEN_LANDSCAPE} if `screen` is invalid.
800
804
  * **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}.
801
805
  * **Note:** This method is implemented on Android and iOS. On other platforms, this method always returns {@link SCREEN_LANDSCAPE}.
802
806
  */
803
- static screenGetOrientation(screen?: number /* = -1 */): ScreenOrientation { return _C($(), 10254, screen) as ScreenOrientation; }
807
+ static screenGetOrientation(screen?: number /* = -1 */): ScreenOrientation { return _C($(), 10469, screen) as ScreenOrientation; }
804
808
 
805
809
  /**
806
810
  * Sets whether the screen should never be turned off by the operating system's power-saving measures. See also {@link screenIsKeptOn}.
807
811
  */
808
- static screenSetKeepOn(enable: boolean): void { _C($(), 10265, enable); }
812
+ static screenSetKeepOn(enable: boolean): void { _C($(), 10480, enable); }
809
813
 
810
814
  /**
811
815
  * Returns `true` if the screen should never be turned off by the operating system's power-saving measures. See also {@link screenSetKeepOn}.
812
816
  */
813
- static screenIsKeptOn(): boolean { return _C($(), 10262) as boolean; }
817
+ static screenIsKeptOn(): boolean { return _C($(), 10477) as boolean; }
814
818
 
815
819
  /**
816
820
  * Returns the list of Godot window IDs belonging to this process.
817
821
  * **Note:** Native dialogs are not included in this list.
818
822
  */
819
- static getWindowList(): PackedInt32Array { return _C($(), 7155) as PackedInt32Array; }
823
+ static getWindowList(): PackedInt32Array { return _C($(), 7298) as PackedInt32Array; }
820
824
 
821
825
  /**
822
826
  * 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:
823
827
  *
824
828
  * ```text
825
829
  *
826
- * * (0, 0) +-------+
827
- * | |
828
- * +-------------+ | |
829
- * | | | |
830
- * | | | |
831
- * +-------------+ +-------+
830
+ * * (0, 0) ┌───────┐
831
+ * │ │
832
+ * ┌─────────────┐ │ │
833
+ * │ │ │ │
834
+ * │ │ │ │
835
+ * └─────────────┘ └───────┘
832
836
  *
833
837
  * ```
834
838
  */
835
- static getWindowAtScreenPosition(position: Vector2i): number { return _C($(), 7153, position) as number; }
839
+ static getWindowAtScreenPosition(position: Vector2i): number { return _C($(), 7296, position) as number; }
836
840
 
837
841
  /**
838
842
  * Returns internal structure pointers for use in plugins.
839
843
  * **Note:** This method is implemented on Android, Linux (X11/Wayland), macOS, and Windows.
840
844
  */
841
- static windowGetNativeHandle(handleType: HandleType, windowId?: number /* = 0 */): number { return _C($(), 14868, handleType, windowId) as number; }
845
+ static windowGetNativeHandle(handleType: HandleType, windowId?: number /* = 0 */): number { return _C($(), 15166, handleType, windowId) as number; }
842
846
 
843
847
  /**
844
848
  * Returns ID of the active popup window, or {@link INVALID_WINDOW_ID} if there is none.
845
849
  */
846
- static windowGetActivePopup(): number { return _C($(), 14857) as number; }
850
+ static windowGetActivePopup(): number { return _C($(), 15155) as number; }
847
851
 
848
852
  /**
849
853
  * 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.
850
854
  */
851
- static windowSetPopupSafeRect(window: number, rect: Rect2i): void { _C($(), 14906, window, rect); }
855
+ static windowSetPopupSafeRect(window: number, rect: Rect2i): void { _C($(), 15205, window, rect); }
852
856
 
853
857
  /**
854
858
  * Returns the bounding box of control, or menu item that was used to open the popup window, in the screen coordinate system.
855
859
  */
856
- static windowGetPopupSafeRect(window: number): Rect2i { return _C($(), 14870, window) as Rect2i; }
860
+ static windowGetPopupSafeRect(window: number): Rect2i { return _C($(), 15168, window) as Rect2i; }
857
861
 
858
862
  /**
859
863
  * Sets the title of the given window to `title`.
860
864
  * **Note:** It's recommended to change this value using {@link Window.title} instead.
861
865
  * **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.
862
866
  */
863
- static windowSetTitle(title: string, windowId?: number /* = 0 */): void { _C($(), 14912, title, windowId); }
867
+ static windowSetTitle(title: string, windowId?: number /* = 0 */): void { _C($(), 15211, title, windowId); }
864
868
 
865
869
  /**
866
870
  * Returns the estimated window title bar size (including text and window buttons) for the window specified by `windowId` (in pixels). This method does not change the window title.
867
871
  * **Note:** This method is implemented on macOS and Windows.
868
872
  */
869
- static windowGetTitleSize(title: string, windowId?: number /* = 0 */): Vector2i { return _C($(), 14876, title, windowId) as Vector2i; }
873
+ static windowGetTitleSize(title: string, windowId?: number /* = 0 */): Vector2i { return _C($(), 15174, title, windowId) as Vector2i; }
870
874
 
871
875
  /**
872
876
  * Sets a polygonal region of the window which accepts mouse events. Mouse events outside the region will be passed through.
@@ -889,44 +893,44 @@ export class DisplayServer extends GodotVar {
889
893
  *
890
894
  *
891
895
  * **Note:** On Windows, the portion of a window that lies outside the region is not drawn, while on Linux (X11) and macOS it is.
892
- * **Note:** This method is implemented on Linux (X11), macOS and Windows.
896
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
893
897
  */
894
- static windowSetMousePassthrough(region: PackedVector2Array, windowId?: number /* = 0 */): void { _C($(), 14905, region, windowId); }
898
+ static windowSetMousePassthrough(region: PackedVector2Array, windowId?: number /* = 0 */): void { _C($(), 15204, region, windowId); }
895
899
 
896
900
  /**
897
901
  * Returns the screen the window specified by `windowId` is currently positioned on. If the screen overlaps multiple displays, the screen where the window's center is located is returned. See also {@link windowSetCurrentScreen}. Returns {@link INVALID_SCREEN} if `windowId` is invalid.
898
902
  * **Note:** This method is implemented on Linux/X11, macOS, and Windows. On other platforms, this method always returns `0`.
899
903
  */
900
- static windowGetCurrentScreen(windowId?: number /* = 0 */): number { return _C($(), 14859, windowId) as number; }
904
+ static windowGetCurrentScreen(windowId?: number /* = 0 */): number { return _C($(), 15157, windowId) as number; }
901
905
 
902
906
  /**
903
907
  * Moves the window specified by `windowId` to the specified `screen`. See also {@link windowGetCurrentScreen}.
904
908
  * **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}.
905
909
  * **Note:** This method is implemented on Linux/X11, macOS, and Windows.
906
910
  */
907
- static windowSetCurrentScreen(screen: number, windowId?: number /* = 0 */): void { _C($(), 14891, screen, windowId); }
911
+ static windowSetCurrentScreen(screen: number, windowId?: number /* = 0 */): void { _C($(), 15189, screen, windowId); }
908
912
 
909
913
  /**
910
914
  * Returns the position of the client area of the given window on the screen.
911
915
  */
912
- static windowGetPosition(windowId?: number /* = 0 */): Vector2i { return _C($(), 14871, windowId) as Vector2i; }
916
+ static windowGetPosition(windowId?: number /* = 0 */): Vector2i { return _C($(), 15169, windowId) as Vector2i; }
913
917
 
914
918
  /**
915
919
  * Returns the position of the given window on the screen including the borders drawn by the operating system. See also {@link windowGetPosition}.
916
920
  */
917
- static windowGetPositionWithDecorations(windowId?: number /* = 0 */): Vector2i { return _C($(), 14872, windowId) as Vector2i; }
921
+ static windowGetPositionWithDecorations(windowId?: number /* = 0 */): Vector2i { return _C($(), 15170, windowId) as Vector2i; }
918
922
 
919
923
  /**
920
924
  * 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:
921
925
  *
922
926
  * ```text
923
927
  *
924
- * * (0, 0) +-------+
925
- * | |
926
- * +-------------+ | |
927
- * | | | |
928
- * | | | |
929
- * +-------------+ +-------+
928
+ * * (0, 0) ┌───────┐
929
+ * │ │
930
+ * ┌─────────────┐ │ │
931
+ * │ │ │ │
932
+ * │ │ │ │
933
+ * └─────────────┘ └───────┘
930
934
  *
931
935
  * ```
932
936
  *
@@ -934,71 +938,72 @@ export class DisplayServer extends GodotVar {
934
938
  * **Note:** It's recommended to change this value using {@link Window.position} instead.
935
939
  * **Note:** On Linux (Wayland): this method is a no-op.
936
940
  */
937
- static windowSetPosition(position: Vector2i, windowId?: number /* = 0 */): void { _C($(), 14907, position, windowId); }
941
+ static windowSetPosition(position: Vector2i, windowId?: number /* = 0 */): void { _C($(), 15206, position, windowId); }
938
942
 
939
943
  /**
940
944
  * Returns the size of the window specified by `windowId` (in pixels), excluding the borders drawn by the operating system. This is also called the "client area". See also {@link windowGetSizeWithDecorations}, {@link windowSetSize} and {@link windowGetPosition}.
941
945
  */
942
- static windowGetSize(windowId?: number /* = 0 */): Vector2i { return _C($(), 14874, windowId) as Vector2i; }
946
+ static windowGetSize(windowId?: number /* = 0 */): Vector2i { return _C($(), 15172, windowId) as Vector2i; }
943
947
 
944
948
  /**
945
949
  * Sets the size of the given window to `size` (in pixels). See also {@link windowGetSize} and {@link windowGetPosition}.
946
950
  * **Note:** It's recommended to change this value using {@link Window.size} instead.
947
951
  */
948
- static windowSetSize(size: Vector2i, windowId?: number /* = 0 */): void { _C($(), 14909, size, windowId); }
952
+ static windowSetSize(size: Vector2i, windowId?: number /* = 0 */): void { _C($(), 15208, size, windowId); }
949
953
 
950
954
  /**
951
955
  * Sets the `callback` that will be called when the window specified by `windowId` is moved or resized.
952
956
  * **Warning:** Advanced users only! Adding such a callback to a {@link Window} node will override its default implementation, which can introduce bugs.
953
957
  */
954
- static windowSetRectChangedCallback(callback: Callable, windowId?: number /* = 0 */): void { _C($(), 14908, callback, windowId); }
958
+ static windowSetRectChangedCallback(callback: Callable, windowId?: number /* = 0 */): void { _C($(), 15207, callback, windowId); }
955
959
 
956
960
  /**
957
961
  * Sets the `callback` that will be called when an event occurs in the window specified by `windowId`.
958
962
  * **Warning:** Advanced users only! Adding such a callback to a {@link Window} node will override its default implementation, which can introduce bugs.
959
963
  */
960
- static windowSetWindowEventCallback(callback: Callable, windowId?: number /* = 0 */): void { _C($(), 14916, callback, windowId); }
964
+ static windowSetWindowEventCallback(callback: Callable, windowId?: number /* = 0 */): void { _C($(), 15215, callback, windowId); }
961
965
 
962
966
  /**
963
967
  * Sets the `callback` that should be called when any {@link InputEvent} is sent to the window specified by `windowId`.
964
968
  * **Warning:** Advanced users only! Adding such a callback to a {@link Window} node will override its default implementation, which can introduce bugs.
965
969
  */
966
- static windowSetInputEventCallback(callback: Callable, windowId?: number /* = 0 */): void { _C($(), 14900, callback, windowId); }
970
+ static windowSetInputEventCallback(callback: Callable, windowId?: number /* = 0 */): void { _C($(), 15199, callback, windowId); }
967
971
 
968
972
  /**
969
973
  * Sets the `callback` that should be called when text is entered using the virtual keyboard to the window specified by `windowId`.
970
974
  * **Warning:** Advanced users only! Adding such a callback to a {@link Window} node will override its default implementation, which can introduce bugs.
971
975
  */
972
- static windowSetInputTextCallback(callback: Callable, windowId?: number /* = 0 */): void { _C($(), 14901, callback, windowId); }
976
+ static windowSetInputTextCallback(callback: Callable, windowId?: number /* = 0 */): void { _C($(), 15200, callback, windowId); }
973
977
 
974
978
  /**
975
979
  * Sets the `callback` that should be called when files are dropped from the operating system's file manager to the window specified by `windowId`. `callback` should take one {@link PackedStringArray} argument, which is the list of dropped files.
976
980
  * **Warning:** Advanced users only! Adding such a callback to a {@link Window} node will override its default implementation, which can introduce bugs.
977
981
  * **Note:** This method is implemented on Windows, macOS, Linux (X11/Wayland), and Web.
982
+ * **Note:** On the web platform, the files are dropped to a temporary folder and will be removed automatically after the callback.
978
983
  */
979
- static windowSetDropFilesCallback(callback: Callable, windowId?: number /* = 0 */): void { _C($(), 14892, callback, windowId); }
984
+ static windowSetDropFilesCallback(callback: Callable, windowId?: number /* = 0 */): void { _C($(), 15190, callback, windowId); }
980
985
 
981
986
  /**
982
987
  * Returns the {@link Object.getInstanceId} of the {@link Window} the `windowId` is attached to.
983
988
  */
984
- static windowGetAttachedInstanceId(windowId?: number /* = 0 */): number { return _C($(), 14858, windowId) as number; }
989
+ static windowGetAttachedInstanceId(windowId?: number /* = 0 */): number { return _C($(), 15156, windowId) as number; }
985
990
 
986
991
  /**
987
992
  * Returns the window's maximum size (in pixels). See also {@link windowSetMaxSize}.
988
993
  */
989
- static windowGetMaxSize(windowId?: number /* = 0 */): Vector2i { return _C($(), 14865, windowId) as Vector2i; }
994
+ static windowGetMaxSize(windowId?: number /* = 0 */): Vector2i { return _C($(), 15163, windowId) as Vector2i; }
990
995
 
991
996
  /**
992
997
  * Sets the maximum size of the window specified by `windowId` in pixels. Normally, the user will not be able to drag the window to make it larger than the specified size. See also {@link windowGetMaxSize}.
993
998
  * **Note:** It's recommended to change this value using {@link Window.maxSize} instead.
994
999
  * **Note:** Using third-party tools, it is possible for users to disable window geometry restrictions and therefore bypass this limit.
995
1000
  */
996
- static windowSetMaxSize(maxSize: Vector2i, windowId?: number /* = 0 */): void { _C($(), 14902, maxSize, windowId); }
1001
+ static windowSetMaxSize(maxSize: Vector2i, windowId?: number /* = 0 */): void { _C($(), 15201, maxSize, windowId); }
997
1002
 
998
1003
  /**
999
1004
  * Returns the window's minimum size (in pixels). See also {@link windowSetMinSize}.
1000
1005
  */
1001
- static windowGetMinSize(windowId?: number /* = 0 */): Vector2i { return _C($(), 14866, windowId) as Vector2i; }
1006
+ static windowGetMinSize(windowId?: number /* = 0 */): Vector2i { return _C($(), 15164, windowId) as Vector2i; }
1002
1007
 
1003
1008
  /**
1004
1009
  * Sets the minimum size for the given window to `minSize` in pixels. Normally, the user will not be able to drag the window to make it smaller than the specified size. See also {@link windowGetMinSize}.
@@ -1006,56 +1011,56 @@ export class DisplayServer extends GodotVar {
1006
1011
  * **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.
1007
1012
  * **Note:** Using third-party tools, it is possible for users to disable window geometry restrictions and therefore bypass this limit.
1008
1013
  */
1009
- static windowSetMinSize(minSize: Vector2i, windowId?: number /* = 0 */): void { _C($(), 14903, minSize, windowId); }
1014
+ static windowSetMinSize(minSize: Vector2i, windowId?: number /* = 0 */): void { _C($(), 15202, minSize, windowId); }
1010
1015
 
1011
1016
  /**
1012
1017
  * Returns the size of the window specified by `windowId` (in pixels), including the borders drawn by the operating system. See also {@link windowGetSize}.
1013
1018
  */
1014
- static windowGetSizeWithDecorations(windowId?: number /* = 0 */): Vector2i { return _C($(), 14875, windowId) as Vector2i; }
1019
+ static windowGetSizeWithDecorations(windowId?: number /* = 0 */): Vector2i { return _C($(), 15173, windowId) as Vector2i; }
1015
1020
 
1016
1021
  /**
1017
1022
  * Returns the mode of the given window.
1018
1023
  */
1019
- static windowGetMode(windowId?: number /* = 0 */): WindowMode { return _C($(), 14867, windowId) as WindowMode; }
1024
+ static windowGetMode(windowId?: number /* = 0 */): WindowMode { return _C($(), 15165, windowId) as WindowMode; }
1020
1025
 
1021
1026
  /**
1022
1027
  * Sets window mode for the given window to `mode`.
1023
1028
  * **Note:** On Android, setting it to {@link WINDOW_MODE_FULLSCREEN} or {@link WINDOW_MODE_EXCLUSIVE_FULLSCREEN} will enable immersive mode.
1024
1029
  * **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.
1025
1030
  */
1026
- static windowSetMode(mode: WindowMode, windowId?: number /* = 0 */): void { _C($(), 14904, mode, windowId); }
1031
+ static windowSetMode(mode: WindowMode, windowId?: number /* = 0 */): void { _C($(), 15203, mode, windowId); }
1027
1032
 
1028
1033
  /**
1029
1034
  * Enables or disables the given window's given `flag`.
1030
1035
  */
1031
- static windowSetFlag(flag: WindowFlags, enabled: boolean, windowId?: number /* = 0 */): void { _C($(), 14894, flag, enabled, windowId); }
1036
+ static windowSetFlag(flag: WindowFlags, enabled: boolean, windowId?: number /* = 0 */): void { _C($(), 15192, flag, enabled, windowId); }
1032
1037
 
1033
1038
  /**
1034
1039
  * Returns the current value of the given window's `flag`.
1035
1040
  */
1036
- static windowGetFlag(flag: WindowFlags, windowId?: number /* = 0 */): boolean { return _C($(), 14860, flag, windowId) as boolean; }
1041
+ static windowGetFlag(flag: WindowFlags, windowId?: number /* = 0 */): boolean { return _C($(), 15158, flag, windowId) as boolean; }
1037
1042
 
1038
1043
  /**
1039
1044
  * Sets the window icon (usually displayed in the top-left corner) for the window specified by `windowId`.
1040
1045
  * **Note:** This method is implemented on Linux and Windows.
1041
1046
  */
1042
- static windowSetIcon(icon: Image, windowId?: number /* = 0 */): void { _C($(), 14897, icon, windowId); }
1047
+ static windowSetIcon(icon: Image, windowId?: number /* = 0 */): void { _C($(), 15195, icon, windowId); }
1043
1048
 
1044
1049
  /**
1045
1050
  * When {@link WINDOW_FLAG_EXTEND_TO_TITLE} flag is set, set offset to the center of the first titlebar button.
1046
1051
  * **Note:** This flag is implemented only on macOS.
1047
1052
  */
1048
- static windowSetWindowButtonsOffset(offset: Vector2i, windowId?: number /* = 0 */): void { _C($(), 14915, offset, windowId); }
1053
+ static windowSetWindowButtonsOffset(offset: Vector2i, windowId?: number /* = 0 */): void { _C($(), 15214, offset, windowId); }
1049
1054
 
1050
1055
  /**
1051
1056
  * 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.
1052
1057
  */
1053
- static windowGetSafeTitleMargins(windowId?: number /* = 0 */): Vector3i { return _C($(), 14873, windowId) as Vector3i; }
1058
+ static windowGetSafeTitleMargins(windowId?: number /* = 0 */): Vector3i { return _C($(), 15171, windowId) as Vector3i; }
1054
1059
 
1055
1060
  /**
1056
1061
  * Makes the window specified by `windowId` 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.
1057
1062
  */
1058
- static windowRequestAttention(windowId?: number /* = 0 */): void { _C($(), 14888, windowId); }
1063
+ static windowRequestAttention(windowId?: number /* = 0 */): void { _C($(), 15186, windowId); }
1059
1064
 
1060
1065
  /**
1061
1066
  * Creates a progress bar on the taskbar/dock icon of the window specified by `windowId` if it does not exist, sets the progress of the icon.
@@ -1063,564 +1068,570 @@ export class DisplayServer extends GodotVar {
1063
1068
  * **Note:** This method is implemented only on Windows and macOS.
1064
1069
  * **Note:** On macOS, the progress bar is displayed only for the main window.
1065
1070
  */
1066
- static windowSetTaskbarProgressValue(value: number, windowId?: number /* = 0 */): void { _C($(), 14911, value, windowId); }
1071
+ static windowSetTaskbarProgressValue(value: number, windowId?: number /* = 0 */): void { _C($(), 15210, value, windowId); }
1067
1072
 
1068
1073
  /**
1069
1074
  * Sets the type and state of the progress bar on the taskbar/dock icon of the window specified by `windowId`. See {@link ProgressState} for possible values and how each mode behaves.
1070
1075
  * **Note:** This method is implemented only on Windows and macOS.
1071
1076
  * **Note:** On macOS, the progress bar is displayed only for the main window.
1072
1077
  */
1073
- static windowSetTaskbarProgressState(state: ProgressState, windowId?: number /* = 0 */): void { _C($(), 14910, state, windowId); }
1078
+ static windowSetTaskbarProgressState(state: ProgressState, windowId?: number /* = 0 */): void { _C($(), 15209, state, windowId); }
1074
1079
 
1075
1080
  /**
1076
1081
  * Moves the window specified by `windowId` to the foreground, so that it is visible over other windows.
1077
1082
  */
1078
- static windowMoveToForeground(windowId?: number /* = 0 */): void { _C($(), 14887, windowId); }
1083
+ static windowMoveToForeground(windowId?: number /* = 0 */): void { _C($(), 15185, windowId); }
1079
1084
 
1080
1085
  /**
1081
1086
  * Returns `true` if the window specified by `windowId` is focused.
1082
1087
  */
1083
- static windowIsFocused(windowId?: number /* = 0 */): boolean { return _C($(), 14880, windowId) as boolean; }
1088
+ static windowIsFocused(windowId?: number /* = 0 */): boolean { return _C($(), 15178, windowId) as boolean; }
1084
1089
 
1085
1090
  /**
1086
1091
  * Returns `true` if anything can be drawn in the window specified by `windowId`, `false` otherwise. Using the `--disable-render-loop` command line argument or a headless build will return `false`.
1087
1092
  */
1088
- static windowCanDraw(windowId?: number /* = 0 */): boolean { return _C($(), 14856, windowId) as boolean; }
1093
+ static windowCanDraw(windowId?: number /* = 0 */): boolean { return _C($(), 15154, windowId) as boolean; }
1089
1094
 
1090
1095
  /**
1091
1096
  * 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.
1092
1097
  * **Note:** It's recommended to change this value using {@link Window.transient} instead.
1093
1098
  * **Note:** The behavior might be different depending on the platform.
1094
1099
  */
1095
- static windowSetTransient(windowId: number, parentWindowId: number): void { _C($(), 14913, windowId, parentWindowId); }
1100
+ static windowSetTransient(windowId: number, parentWindowId: number): void { _C($(), 15212, windowId, parentWindowId); }
1096
1101
 
1097
1102
  /**
1098
1103
  * 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.
1099
1104
  * **Note:** On macOS, exclusive windows are confined to the same space (virtual desktop or screen) as the parent window.
1100
1105
  * **Note:** This method is implemented on macOS and Windows.
1101
1106
  */
1102
- static windowSetExclusive(windowId: number, exclusive: boolean): void { _C($(), 14893, windowId, exclusive); }
1107
+ static windowSetExclusive(windowId: number, exclusive: boolean): void { _C($(), 15191, windowId, exclusive); }
1103
1108
 
1104
1109
  /**
1105
1110
  * Sets whether [Input Method Editor](https://en.wikipedia.org/wiki/Input_method) should be enabled for the window specified by `windowId`. See also {@link windowSetImePosition}.
1106
1111
  */
1107
- static windowSetImeActive(active: boolean, windowId?: number /* = 0 */): void { _C($(), 14898, active, windowId); }
1112
+ static windowSetImeActive(active: boolean, windowId?: number /* = 0 */): void { _C($(), 15196, active, windowId); }
1108
1113
 
1109
1114
  /**
1110
1115
  * Sets the position of the [Input Method Editor](https://en.wikipedia.org/wiki/Input_method) popup for the specified `windowId`. Only effective if {@link windowSetImeActive} was set to `true` for the specified `windowId`.
1111
1116
  */
1112
- static windowSetImePosition(position: Vector2i, windowId?: number /* = 0 */): void { _C($(), 14899, position, windowId); }
1117
+ static windowSetImePosition(position: Vector2i, windowId?: number /* = 0 */): void { _C($(), 15197, position, windowId); }
1118
+
1119
+ /**
1120
+ * Sets a rectangle which should not be obstructed by the [Input Method Editor](https://en.wikipedia.org/wiki/Input_method) popup for the specified `windowId`. Only effective if {@link windowSetImeActive} was set to `true` for the specified `windowId`.
1121
+ * **Note:** This method is implemented only on Windows.
1122
+ */
1123
+ static windowSetImeRect(rect: Rect2i, windowId?: number /* = 0 */): void { _C($(), 15198, rect, windowId); }
1113
1124
 
1114
1125
  /**
1115
1126
  * Sets the V-Sync mode of the given window. See also {@link ProjectSettings.display/window/vsync/vsyncMode}.
1116
1127
  * Depending on the platform and used renderer, the engine will fall back to {@link VSYNC_ENABLED} if the desired mode is not supported.
1117
1128
  * **Note:** V-Sync modes other than {@link VSYNC_ENABLED} are only supported in the Forward+ and Mobile rendering methods, not Compatibility.
1118
1129
  */
1119
- static windowSetVsyncMode(vsyncMode: VSyncMode, windowId?: number /* = 0 */): void { _C($(), 14914, vsyncMode, windowId); }
1130
+ static windowSetVsyncMode(vsyncMode: VSyncMode, windowId?: number /* = 0 */): void { _C($(), 15213, vsyncMode, windowId); }
1120
1131
 
1121
1132
  /**
1122
1133
  * Returns the V-Sync mode of the given window.
1123
1134
  */
1124
- static windowGetVsyncMode(windowId?: number /* = 0 */): VSyncMode { return _C($(), 14877, windowId) as VSyncMode; }
1135
+ static windowGetVsyncMode(windowId?: number /* = 0 */): VSyncMode { return _C($(), 15175, windowId) as VSyncMode; }
1125
1136
 
1126
1137
  /**
1127
1138
  * Returns `true` if the window specified by `windowId` supports HDR output. This depends on the platform, screen capabilities, system settings, and the screen the window is currently on.
1128
1139
  */
1129
- static windowIsHdrOutputSupported(windowId?: number /* = 0 */): boolean { return _C($(), 14883, windowId) as boolean; }
1140
+ static windowIsHdrOutputSupported(windowId?: number /* = 0 */): boolean { return _C($(), 15181, windowId) as boolean; }
1130
1141
 
1131
1142
  /**
1132
1143
  * If `enable` is `true`, HDR output is requested for the window specified by `windowId`. 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.useHdr2d} to be enabled on the main {@link Viewport}. All other {@link SubViewport} of the {@link Window} must have their {@link Viewport.useHdr2d} property enabled to produce HDR output. Corresponds to {@link Window.hdrOutputRequested}.
1133
1144
  */
1134
- static windowRequestHdrOutput(enable: boolean, windowId?: number /* = 0 */): void { _C($(), 14889, enable, windowId); }
1145
+ static windowRequestHdrOutput(enable: boolean, windowId?: number /* = 0 */): void { _C($(), 15187, enable, windowId); }
1135
1146
 
1136
1147
  /**
1137
1148
  * Returns `true` if HDR output is requested for the window specified by `windowId`. Corresponds to {@link Window.hdrOutputRequested}.
1138
1149
  */
1139
- static windowIsHdrOutputRequested(windowId?: number /* = 0 */): boolean { return _C($(), 14882, windowId) as boolean; }
1150
+ static windowIsHdrOutputRequested(windowId?: number /* = 0 */): boolean { return _C($(), 15180, windowId) as boolean; }
1140
1151
 
1141
1152
  /**
1142
1153
  * Returns `true` if HDR output is currently enabled for the window specified by `windowId`. The returned value may change dynamically based on system settings, screen capabilities, and which screen the window is currently on.
1143
1154
  */
1144
- static windowIsHdrOutputEnabled(windowId?: number /* = 0 */): boolean { return _C($(), 14881, windowId) as boolean; }
1155
+ static windowIsHdrOutputEnabled(windowId?: number /* = 0 */): boolean { return _C($(), 15179, windowId) as boolean; }
1145
1156
 
1146
1157
  /**
1147
1158
  * Sets the reference white luminance in nits (cd/m²) for HDR output by the window specified by `windowId`. If `referenceLuminance` 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 windowGetHdrOutputCurrentReferenceLuminance} and {@link windowGetHdrOutputReferenceLuminance}.
1148
1159
  * **Note:** This method is only implemented on Windows. Other platforms will always use the reference luminance that is reported by the operating system.
1149
1160
  */
1150
- static windowSetHdrOutputReferenceLuminance(referenceLuminance: number, windowId?: number /* = 0 */): void { _C($(), 14896, referenceLuminance, windowId); }
1161
+ static windowSetHdrOutputReferenceLuminance(referenceLuminance: number, windowId?: number /* = 0 */): void { _C($(), 15194, referenceLuminance, windowId); }
1151
1162
 
1152
1163
  /**
1153
1164
  * Returns the reference white luminance in nits (cd/m²) set for HDR output by the window specified by `windowId`. Negative values indicate that the value is being automatically adjusted to match the operating system brightness. See also {@link windowGetHdrOutputCurrentReferenceLuminance}.
1154
1165
  */
1155
- static windowGetHdrOutputReferenceLuminance(windowId?: number /* = 0 */): number { return _C($(), 14864, windowId) as number; }
1166
+ static windowGetHdrOutputReferenceLuminance(windowId?: number /* = 0 */): number { return _C($(), 15162, windowId) as number; }
1156
1167
 
1157
1168
  /**
1158
1169
  * When {@link windowIsHdrOutputEnabled} returns `true`, this returns the current reference white luminance in nits (cd/m²) for HDR output by the window specified by `windowId`. 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 windowSetHdrOutputReferenceLuminance}. This reference luminance value is used when calculating {@link windowGetOutputMaxLinearValue}.
1159
1170
  * **Note:** This reference white luminance may not match the physical behavior of the screen, but will always be proportionally correct relative to {@link windowGetHdrOutputCurrentMaxLuminance}.
1160
1171
  */
1161
- static windowGetHdrOutputCurrentReferenceLuminance(windowId?: number /* = 0 */): number { return _C($(), 14862, windowId) as number; }
1172
+ static windowGetHdrOutputCurrentReferenceLuminance(windowId?: number /* = 0 */): number { return _C($(), 15160, windowId) as number; }
1162
1173
 
1163
1174
  /**
1164
1175
  * Sets the maximum luminance in nits (cd/m²) for HDR output by the window specified by `windowId`. If `maxLuminance` 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 windowGetHdrOutputCurrentMaxLuminance} and {@link windowGetHdrOutputMaxLuminance}.
1165
1176
  * **Note:** This method is only implemented on macOS and Windows. Other platforms will always use the screen's maximum luminance that is reported by the operating system.
1166
1177
  */
1167
- static windowSetHdrOutputMaxLuminance(maxLuminance: number, windowId?: number /* = 0 */): void { _C($(), 14895, maxLuminance, windowId); }
1178
+ static windowSetHdrOutputMaxLuminance(maxLuminance: number, windowId?: number /* = 0 */): void { _C($(), 15193, maxLuminance, windowId); }
1168
1179
 
1169
1180
  /**
1170
1181
  * Returns the maximum luminance in nits (cd/m²) set for HDR output by the window specified by `windowId`. Negative values indicate that the value is being automatically adjusted based on the screen's capabilities. See also {@link windowGetHdrOutputCurrentMaxLuminance}.
1171
1182
  */
1172
- static windowGetHdrOutputMaxLuminance(windowId?: number /* = 0 */): number { return _C($(), 14863, windowId) as number; }
1183
+ static windowGetHdrOutputMaxLuminance(windowId?: number /* = 0 */): number { return _C($(), 15161, windowId) as number; }
1173
1184
 
1174
1185
  /**
1175
1186
  * When {@link windowIsHdrOutputEnabled} returns `true`, this returns the current maximum luminance in nits (cd/m²) for HDR output by the window specified by `windowId`. 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 windowSetHdrOutputMaxLuminance}. This maximum luminance value is used when calculating {@link windowGetOutputMaxLinearValue}.
1176
1187
  * **Note:** This maximum luminance may not match the physical behavior of the screen, but will always be proportionally correct relative to {@link windowGetHdrOutputCurrentReferenceLuminance}.
1177
1188
  */
1178
- static windowGetHdrOutputCurrentMaxLuminance(windowId?: number /* = 0 */): number { return _C($(), 14861, windowId) as number; }
1189
+ static windowGetHdrOutputCurrentMaxLuminance(windowId?: number /* = 0 */): number { return _C($(), 15159, windowId) as number; }
1179
1190
 
1180
1191
  /**
1181
1192
  * Returns the maximum value for linear color components that can be displayed for the window specified by `windowId`, 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 windowGetHdrOutputCurrentReferenceLuminance} and {@link windowGetHdrOutputCurrentMaxLuminance}. The {@link Window.output_max_linear_value_changed} signal will be emitted whenever this value changes. 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.getOutputMaxLinearValue}.
1182
1193
  */
1183
- static windowGetOutputMaxLinearValue(windowId?: number /* = 0 */): number { return _C($(), 14869, windowId) as number; }
1194
+ static windowGetOutputMaxLinearValue(windowId?: number /* = 0 */): number { return _C($(), 15167, windowId) as number; }
1184
1195
 
1185
1196
  /**
1186
1197
  * Returns `true` if the given window can be maximized (the maximize button is enabled).
1187
1198
  */
1188
- static windowIsMaximizeAllowed(windowId?: number /* = 0 */): boolean { return _C($(), 14884, windowId) as boolean; }
1199
+ static windowIsMaximizeAllowed(windowId?: number /* = 0 */): boolean { return _C($(), 15182, windowId) as boolean; }
1189
1200
 
1190
1201
  /**
1191
1202
  * Returns `true` if double-clicking on a window's title should maximize it.
1192
1203
  * **Note:** This method is implemented only on macOS.
1193
1204
  */
1194
- static windowMaximizeOnTitleDblClick(): boolean { return _C($(), 14885) as boolean; }
1205
+ static windowMaximizeOnTitleDblClick(): boolean { return _C($(), 15183) as boolean; }
1195
1206
 
1196
1207
  /**
1197
1208
  * Returns `true` if double-clicking on a window's title should minimize it.
1198
1209
  * **Note:** This method is implemented only on macOS.
1199
1210
  */
1200
- static windowMinimizeOnTitleDblClick(): boolean { return _C($(), 14886) as boolean; }
1211
+ static windowMinimizeOnTitleDblClick(): boolean { return _C($(), 15184) as boolean; }
1201
1212
 
1202
1213
  /**
1203
1214
  * Starts an interactive drag operation on the window with the given `windowId`, 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.
1204
1215
  * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
1205
1216
  */
1206
- static windowStartDrag(windowId?: number /* = 0 */): void { _C($(), 14917, windowId); }
1217
+ static windowStartDrag(windowId?: number /* = 0 */): void { _C($(), 15216, windowId); }
1207
1218
 
1208
1219
  /**
1209
1220
  * Starts an interactive resize operation on the window with the given `windowId`, 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.
1210
1221
  * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
1211
1222
  */
1212
- static windowStartResize(edge: WindowResizeEdge, windowId?: number /* = 0 */): void { _C($(), 14918, edge, windowId); }
1223
+ static windowStartResize(edge: WindowResizeEdge, windowId?: number /* = 0 */): void { _C($(), 15217, edge, windowId); }
1213
1224
 
1214
1225
  /**
1215
1226
  * Sets the background color of the root window.
1216
1227
  * **Note:** This method is implemented only on Android.
1217
1228
  */
1218
- static windowSetColor(color: Color): void { _C($(), 14890, color); }
1229
+ static windowSetColor(color: Color): void { _C($(), 15188, color); }
1219
1230
 
1220
1231
  /**
1221
1232
  * Returns `1` if a high-contrast user interface theme should be used, `0` otherwise. Returns `-1` if status is unknown.
1222
- * **Note:** This method is implemented on Linux (X11/Wayland, GNOME), macOS, and Windows.
1233
+ * **Note:** This method is implemented on Android, Linux (X11/Wayland, GNOME), macOS, and Windows.
1223
1234
  */
1224
- static accessibilityShouldIncreaseContrast(): number { return _C($(), 1084) as number; }
1235
+ static accessibilityShouldIncreaseContrast(): number { return _C($(), 1113) as number; }
1225
1236
 
1226
1237
  /**
1227
1238
  * 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.
1228
- * **Note:** This method is implemented on macOS and Windows.
1239
+ * **Note:** This method is implemented on Android, macOS, and Windows.
1229
1240
  */
1230
- static accessibilityShouldReduceAnimation(): number { return _C($(), 1085) as number; }
1241
+ static accessibilityShouldReduceAnimation(): number { return _C($(), 1114) as number; }
1231
1242
 
1232
1243
  /**
1233
1244
  * 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.
1234
1245
  * **Note:** This method is implemented on macOS and Windows.
1235
1246
  */
1236
- static accessibilityShouldReduceTransparency(): number { return _C($(), 1086) as number; }
1247
+ static accessibilityShouldReduceTransparency(): number { return _C($(), 1115) as number; }
1237
1248
 
1238
1249
  /**
1239
1250
  * Returns `1` if a screen reader, Braille display or other assistive app is active, `0` otherwise. Returns `-1` if status is unknown.
1240
- * **Note:** This method is implemented on Linux, macOS, and Windows.
1251
+ * **Note:** This method is implemented on Android, Linux, macOS, and Windows.
1241
1252
  * **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/accessibilitySupport} to `1`.
1242
1253
  */
1243
- static accessibilityScreenReaderActive(): number { return _C($(), 1081) as number; }
1254
+ static accessibilityScreenReaderActive(): number { return _C($(), 1110) as number; }
1244
1255
 
1245
1256
  /**
1246
1257
  * Creates a new, empty accessibility element resource.
1247
1258
  * **Note:** An accessibility element is created and freed automatically for each {@link Node}. In general, this function should not be called manually.
1248
1259
  */
1249
- static accessibilityCreateElement(windowId: number, role: AccessibilityRole): RID { return _C($(), 1064, windowId, role) as RID; }
1260
+ static accessibilityCreateElement(windowId: number, role: AccessibilityRole): RID { return _C($(), 1093, windowId, role) as RID; }
1250
1261
 
1251
1262
  /**
1252
1263
  * 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 accessibilityFreeElement} method.
1253
1264
  */
1254
- static accessibilityCreateSubElement(parentRid: RID, role: AccessibilityRole, insertPos?: number /* = -1 */): RID { return _C($(), 1065, parentRid, role, insertPos) as RID; }
1265
+ static accessibilityCreateSubElement(parentRid: RID, role: AccessibilityRole, insertPos?: number /* = -1 */): RID { return _C($(), 1094, parentRid, role, insertPos) as RID; }
1255
1266
 
1256
1267
  /**
1257
1268
  * 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 accessibilityFreeElement} method.
1258
1269
  * If `isLastLine` 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.
1259
1270
  */
1260
- static accessibilityCreateSubTextEditElements(parentRid: RID, shapedText: RID, minHeight: number, insertPos?: number /* = -1 */, isLastLine?: boolean /* = false */): RID { return _C($(), 1066, parentRid, shapedText, minHeight, insertPos, isLastLine) as RID; }
1271
+ static accessibilityCreateSubTextEditElements(parentRid: RID, shapedText: RID, minHeight: number, insertPos?: number /* = -1 */, isLastLine?: boolean /* = false */): RID { return _C($(), 1095, parentRid, shapedText, minHeight, insertPos, isLastLine) as RID; }
1261
1272
 
1262
1273
  /**
1263
1274
  * Returns `true` if `id` is a valid accessibility element.
1264
1275
  */
1265
- static accessibilityHasElement(id: RID): boolean { return _C($(), 1076, id) as boolean; }
1276
+ static accessibilityHasElement(id: RID): boolean { return _C($(), 1105, id) as boolean; }
1266
1277
 
1267
1278
  /**
1268
1279
  * Frees the accessibility element `id` created by {@link accessibilityCreateElement}, {@link accessibilityCreateSubElement}, or {@link accessibilityCreateSubTextEditElements}.
1269
1280
  */
1270
- static accessibilityFreeElement(id: RID): void { _C($(), 1074, id); }
1281
+ static accessibilityFreeElement(id: RID): void { _C($(), 1103, id); }
1271
1282
 
1272
1283
  /**
1273
1284
  * Sets the metadata of the accessibility element `id` to `meta`.
1274
1285
  */
1275
- static accessibilityElementSetMeta(id: RID, meta: Variant): void { _C($(), 1072, id, meta); }
1286
+ static accessibilityElementSetMeta(id: RID, meta: Variant): void { _C($(), 1101, id, meta); }
1276
1287
 
1277
1288
  /**
1278
1289
  * Returns the metadata of the accessibility element `id`.
1279
1290
  */
1280
- static accessibilityElementGetMeta(id: RID): Variant { return _C($(), 1071, id) as Variant; }
1291
+ static accessibilityElementGetMeta(id: RID): Variant { return _C($(), 1100, id) as Variant; }
1281
1292
 
1282
1293
  /**
1283
1294
  * Sets window outer (with decorations) and inner (without decorations) bounds for assistive apps.
1284
1295
  * **Note:** This method is implemented on Linux, macOS, and Windows.
1285
1296
  * **Note:** Advanced users only! {@link Window} objects call this method automatically.
1286
1297
  */
1287
- static accessibilitySetWindowRect(windowId: number, rectOut: Rect2, rectIn: Rect2): void { _C($(), 1083, windowId, rectOut, rectIn); }
1298
+ static accessibilitySetWindowRect(windowId: number, rectOut: Rect2, rectIn: Rect2): void { _C($(), 1112, windowId, rectOut, rectIn); }
1288
1299
 
1289
1300
  /**
1290
1301
  * Sets the window focused state for assistive apps.
1291
1302
  * **Note:** This method is implemented on Linux, macOS, and Windows.
1292
1303
  * **Note:** Advanced users only! {@link Window} objects call this method automatically.
1293
1304
  */
1294
- static accessibilitySetWindowFocused(windowId: number, focused: boolean): void { _C($(), 1082, windowId, focused); }
1305
+ static accessibilitySetWindowFocused(windowId: number, focused: boolean): void { _C($(), 1111, windowId, focused); }
1295
1306
 
1296
1307
  /**
1297
1308
  * Sets currently focused element.
1298
1309
  */
1299
- static accessibilityUpdateSetFocus(id: RID): void { _C($(), 1106, id); }
1310
+ static accessibilityUpdateSetFocus(id: RID): void { _C($(), 1135, id); }
1300
1311
 
1301
1312
  /**
1302
1313
  * Returns the main accessibility element of the OS native window.
1303
1314
  */
1304
- static accessibilityGetWindowRoot(windowId: number): RID { return _C($(), 1075, windowId) as RID; }
1315
+ static accessibilityGetWindowRoot(windowId: number): RID { return _C($(), 1104, windowId) as RID; }
1305
1316
 
1306
1317
  /**
1307
1318
  * Sets element accessibility role.
1308
1319
  */
1309
- static accessibilityUpdateSetRole(id: RID, role: AccessibilityRole): void { _C($(), 1127, id, role); }
1320
+ static accessibilityUpdateSetRole(id: RID, role: AccessibilityRole): void { _C($(), 1156, id, role); }
1310
1321
 
1311
1322
  /**
1312
1323
  * Sets element accessibility name.
1313
1324
  */
1314
- static accessibilityUpdateSetName(id: RID, name: string): void { _C($(), 1118, id, name); }
1325
+ static accessibilityUpdateSetName(id: RID, name: string): void { _C($(), 1147, id, name); }
1315
1326
 
1316
1327
  /**
1317
1328
  * Sets element accessibility extra information added to the element name.
1318
1329
  */
1319
- static accessibilityUpdateSetExtraInfo(id: RID, name: string): void { _C($(), 1104, id, name); }
1330
+ static accessibilityUpdateSetExtraInfo(id: RID, name: string): void { _C($(), 1133, id, name); }
1320
1331
 
1321
1332
  /**
1322
1333
  * Sets element accessibility description.
1323
1334
  */
1324
- static accessibilityUpdateSetDescription(id: RID, description: string): void { _C($(), 1102, id, description); }
1335
+ static accessibilityUpdateSetDescription(id: RID, description: string): void { _C($(), 1131, id, description); }
1325
1336
 
1326
1337
  /**
1327
1338
  * Sets element text value.
1328
1339
  */
1329
- static accessibilityUpdateSetValue(id: RID, value: string): void { _C($(), 1148, id, value); }
1340
+ static accessibilityUpdateSetValue(id: RID, value: string): void { _C($(), 1177, id, value); }
1330
1341
 
1331
1342
  /**
1332
1343
  * Sets tooltip text.
1333
1344
  */
1334
- static accessibilityUpdateSetTooltip(id: RID, tooltip: string): void { _C($(), 1145, id, tooltip); }
1345
+ static accessibilityUpdateSetTooltip(id: RID, tooltip: string): void { _C($(), 1174, id, tooltip); }
1335
1346
 
1336
1347
  /**
1337
1348
  * Sets element bounding box, relative to the node position.
1338
1349
  */
1339
- static accessibilityUpdateSetBounds(id: RID, rect: Rect2): void { _C($(), 1098, id, rect); }
1350
+ static accessibilityUpdateSetBounds(id: RID, rect: Rect2): void { _C($(), 1127, id, rect); }
1340
1351
 
1341
1352
  /**
1342
1353
  * Sets element 2D transform.
1343
1354
  */
1344
- static accessibilityUpdateSetTransform(id: RID, transform: Transform2D): void { _C($(), 1146, id, transform); }
1355
+ static accessibilityUpdateSetTransform(id: RID, transform: Transform2D): void { _C($(), 1175, id, transform); }
1345
1356
 
1346
1357
  /**
1347
1358
  * Adds a child accessibility element.
1348
1359
  * **Note:** {@link Node} children and sub-elements are added to the child list automatically.
1349
1360
  */
1350
- static accessibilityUpdateAddChild(id: RID, childId: RID): void { _C($(), 1088, id, childId); }
1361
+ static accessibilityUpdateAddChild(id: RID, childId: RID): void { _C($(), 1117, id, childId); }
1351
1362
 
1352
1363
  /**
1353
1364
  * Adds an element that is controlled by this element.
1354
1365
  */
1355
- static accessibilityUpdateAddRelatedControls(id: RID, relatedId: RID): void { _C($(), 1090, id, relatedId); }
1366
+ static accessibilityUpdateAddRelatedControls(id: RID, relatedId: RID): void { _C($(), 1119, id, relatedId); }
1356
1367
 
1357
1368
  /**
1358
1369
  * Adds an element that details this element.
1359
1370
  */
1360
- static accessibilityUpdateAddRelatedDetails(id: RID, relatedId: RID): void { _C($(), 1092, id, relatedId); }
1371
+ static accessibilityUpdateAddRelatedDetails(id: RID, relatedId: RID): void { _C($(), 1121, id, relatedId); }
1361
1372
 
1362
1373
  /**
1363
1374
  * Adds an element that describes this element.
1364
1375
  */
1365
- static accessibilityUpdateAddRelatedDescribedBy(id: RID, relatedId: RID): void { _C($(), 1091, id, relatedId); }
1376
+ static accessibilityUpdateAddRelatedDescribedBy(id: RID, relatedId: RID): void { _C($(), 1120, id, relatedId); }
1366
1377
 
1367
1378
  /**
1368
1379
  * Adds an element that this element flow into.
1369
1380
  */
1370
- static accessibilityUpdateAddRelatedFlowTo(id: RID, relatedId: RID): void { _C($(), 1093, id, relatedId); }
1381
+ static accessibilityUpdateAddRelatedFlowTo(id: RID, relatedId: RID): void { _C($(), 1122, id, relatedId); }
1371
1382
 
1372
1383
  /**
1373
1384
  * Adds an element that labels this element.
1374
1385
  */
1375
- static accessibilityUpdateAddRelatedLabeledBy(id: RID, relatedId: RID): void { _C($(), 1094, id, relatedId); }
1386
+ static accessibilityUpdateAddRelatedLabeledBy(id: RID, relatedId: RID): void { _C($(), 1123, id, relatedId); }
1376
1387
 
1377
1388
  /**
1378
1389
  * Adds an element that is part of the same radio group.
1379
1390
  * **Note:** This method should be called on each element of the group, using all other elements as `relatedId`.
1380
1391
  */
1381
- static accessibilityUpdateAddRelatedRadioGroup(id: RID, relatedId: RID): void { _C($(), 1095, id, relatedId); }
1392
+ static accessibilityUpdateAddRelatedRadioGroup(id: RID, relatedId: RID): void { _C($(), 1124, id, relatedId); }
1382
1393
 
1383
1394
  /**
1384
1395
  * Adds an element that is an active descendant of this element.
1385
1396
  */
1386
- static accessibilityUpdateSetActiveDescendant(id: RID, otherId: RID): void { _C($(), 1096, id, otherId); }
1397
+ static accessibilityUpdateSetActiveDescendant(id: RID, otherId: RID): void { _C($(), 1125, id, otherId); }
1387
1398
 
1388
1399
  /**
1389
1400
  * Sets next element on the line.
1390
1401
  */
1391
- static accessibilityUpdateSetNextOnLine(id: RID, otherId: RID): void { _C($(), 1119, id, otherId); }
1402
+ static accessibilityUpdateSetNextOnLine(id: RID, otherId: RID): void { _C($(), 1148, id, otherId); }
1392
1403
 
1393
1404
  /**
1394
1405
  * Sets previous element on the line.
1395
1406
  */
1396
- static accessibilityUpdateSetPreviousOnLine(id: RID, otherId: RID): void { _C($(), 1126, id, otherId); }
1407
+ static accessibilityUpdateSetPreviousOnLine(id: RID, otherId: RID): void { _C($(), 1155, id, otherId); }
1397
1408
 
1398
1409
  /**
1399
1410
  * Sets the element to be a member of the group.
1400
1411
  */
1401
- static accessibilityUpdateSetMemberOf(id: RID, groupId: RID): void { _C($(), 1117, id, groupId); }
1412
+ static accessibilityUpdateSetMemberOf(id: RID, groupId: RID): void { _C($(), 1146, id, groupId); }
1402
1413
 
1403
1414
  /**
1404
1415
  * Sets target element for the link.
1405
1416
  */
1406
- static accessibilityUpdateSetInPageLinkTarget(id: RID, otherId: RID): void { _C($(), 1108, id, otherId); }
1417
+ static accessibilityUpdateSetInPageLinkTarget(id: RID, otherId: RID): void { _C($(), 1137, id, otherId); }
1407
1418
 
1408
1419
  /**
1409
1420
  * Sets an element which contains an error message for this element.
1410
1421
  */
1411
- static accessibilityUpdateSetErrorMessage(id: RID, otherId: RID): void { _C($(), 1103, id, otherId); }
1422
+ static accessibilityUpdateSetErrorMessage(id: RID, otherId: RID): void { _C($(), 1132, id, otherId); }
1412
1423
 
1413
1424
  /**
1414
1425
  * Sets the priority of the live region updates.
1415
1426
  */
1416
- static accessibilityUpdateSetLive(id: RID, live: AccessibilityLiveMode): void { _C($(), 1116, id, live); }
1427
+ static accessibilityUpdateSetLive(id: RID, live: AccessibilityLiveMode): void { _C($(), 1145, id, live); }
1417
1428
 
1418
1429
  /**
1419
1430
  * 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.
1420
1431
  */
1421
- static accessibilityUpdateAddAction(id: RID, action: AccessibilityAction, callable: Callable): void { _C($(), 1087, id, action, callable); }
1432
+ static accessibilityUpdateAddAction(id: RID, action: AccessibilityAction, callable: Callable): void { _C($(), 1116, id, action, callable); }
1422
1433
 
1423
1434
  /**
1424
1435
  * Adds support for a custom accessibility action. `actionId` is passed as an argument to the callback of {@link ACTION_CUSTOM} action.
1425
1436
  */
1426
- static accessibilityUpdateAddCustomAction(id: RID, actionId: number, actionDescription: string): void { _C($(), 1089, id, actionId, actionDescription); }
1437
+ static accessibilityUpdateAddCustomAction(id: RID, actionId: number, actionDescription: string): void { _C($(), 1118, id, actionId, actionDescription); }
1427
1438
 
1428
1439
  /**
1429
1440
  * Sets number of rows in the table.
1430
1441
  */
1431
- static accessibilityUpdateSetTableRowCount(id: RID, count: number): void { _C($(), 1139, id, count); }
1442
+ static accessibilityUpdateSetTableRowCount(id: RID, count: number): void { _C($(), 1168, id, count); }
1432
1443
 
1433
1444
  /**
1434
1445
  * Sets number of columns in the table.
1435
1446
  */
1436
- static accessibilityUpdateSetTableColumnCount(id: RID, count: number): void { _C($(), 1137, id, count); }
1447
+ static accessibilityUpdateSetTableColumnCount(id: RID, count: number): void { _C($(), 1166, id, count); }
1437
1448
 
1438
1449
  /**
1439
1450
  * Sets position of the row in the table.
1440
1451
  */
1441
- static accessibilityUpdateSetTableRowIndex(id: RID, index: number): void { _C($(), 1140, id, index); }
1452
+ static accessibilityUpdateSetTableRowIndex(id: RID, index: number): void { _C($(), 1169, id, index); }
1442
1453
 
1443
1454
  /**
1444
1455
  * Sets position of the column.
1445
1456
  */
1446
- static accessibilityUpdateSetTableColumnIndex(id: RID, index: number): void { _C($(), 1138, id, index); }
1457
+ static accessibilityUpdateSetTableColumnIndex(id: RID, index: number): void { _C($(), 1167, id, index); }
1447
1458
 
1448
1459
  /**
1449
1460
  * Sets cell position in the table.
1450
1461
  */
1451
- static accessibilityUpdateSetTableCellPosition(id: RID, rowIndex: number, columnIndex: number): void { _C($(), 1135, id, rowIndex, columnIndex); }
1462
+ static accessibilityUpdateSetTableCellPosition(id: RID, rowIndex: number, columnIndex: number): void { _C($(), 1164, id, rowIndex, columnIndex); }
1452
1463
 
1453
1464
  /**
1454
1465
  * Sets cell row/column span.
1455
1466
  */
1456
- static accessibilityUpdateSetTableCellSpan(id: RID, rowSpan: number, columnSpan: number): void { _C($(), 1136, id, rowSpan, columnSpan); }
1467
+ static accessibilityUpdateSetTableCellSpan(id: RID, rowSpan: number, columnSpan: number): void { _C($(), 1165, id, rowSpan, columnSpan); }
1457
1468
 
1458
1469
  /**
1459
1470
  * Sets number of items in the list.
1460
1471
  */
1461
- static accessibilityUpdateSetListItemCount(id: RID, size: number): void { _C($(), 1110, id, size); }
1472
+ static accessibilityUpdateSetListItemCount(id: RID, size: number): void { _C($(), 1139, id, size); }
1462
1473
 
1463
1474
  /**
1464
1475
  * Sets the position of the element in the list.
1465
1476
  */
1466
- static accessibilityUpdateSetListItemIndex(id: RID, index: number): void { _C($(), 1112, id, index); }
1477
+ static accessibilityUpdateSetListItemIndex(id: RID, index: number): void { _C($(), 1141, id, index); }
1467
1478
 
1468
1479
  /**
1469
1480
  * Sets the hierarchical level of the element in the list.
1470
1481
  */
1471
- static accessibilityUpdateSetListItemLevel(id: RID, level: number): void { _C($(), 1113, id, level); }
1482
+ static accessibilityUpdateSetListItemLevel(id: RID, level: number): void { _C($(), 1142, id, level); }
1472
1483
 
1473
1484
  /**
1474
1485
  * Sets list/tree item selected status.
1475
1486
  */
1476
- static accessibilityUpdateSetListItemSelected(id: RID, selected: boolean): void { _C($(), 1114, id, selected); }
1487
+ static accessibilityUpdateSetListItemSelected(id: RID, selected: boolean): void { _C($(), 1143, id, selected); }
1477
1488
 
1478
1489
  /**
1479
1490
  * Sets list/tree item expanded status.
1480
1491
  */
1481
- static accessibilityUpdateSetListItemExpanded(id: RID, expanded: boolean): void { _C($(), 1111, id, expanded); }
1492
+ static accessibilityUpdateSetListItemExpanded(id: RID, expanded: boolean): void { _C($(), 1140, id, expanded); }
1482
1493
 
1483
1494
  /**
1484
1495
  * Sets popup type for popup buttons.
1485
1496
  */
1486
- static accessibilityUpdateSetPopupType(id: RID, popup: AccessibilityPopupType): void { _C($(), 1125, id, popup); }
1497
+ static accessibilityUpdateSetPopupType(id: RID, popup: AccessibilityPopupType): void { _C($(), 1154, id, popup); }
1487
1498
 
1488
1499
  /**
1489
1500
  * Sets element checked state.
1490
1501
  */
1491
- static accessibilityUpdateSetChecked(id: RID, checekd: boolean): void { _C($(), 1099, id, checekd); }
1502
+ static accessibilityUpdateSetChecked(id: RID, checekd: boolean): void { _C($(), 1128, id, checekd); }
1492
1503
 
1493
1504
  /**
1494
1505
  * Sets numeric value.
1495
1506
  */
1496
- static accessibilityUpdateSetNumValue(id: RID, position: number /* double */): void { _C($(), 1123, id, position); }
1507
+ static accessibilityUpdateSetNumValue(id: RID, position: number /* double */): void { _C($(), 1152, id, position); }
1497
1508
 
1498
1509
  /**
1499
1510
  * Sets numeric value range.
1500
1511
  */
1501
- static accessibilityUpdateSetNumRange(id: RID, min: number /* double */, max: number /* double */): void { _C($(), 1121, id, min, max); }
1512
+ static accessibilityUpdateSetNumRange(id: RID, min: number /* double */, max: number /* double */): void { _C($(), 1150, id, min, max); }
1502
1513
 
1503
1514
  /**
1504
1515
  * Sets numeric value step.
1505
1516
  */
1506
- static accessibilityUpdateSetNumStep(id: RID, step: number /* double */): void { _C($(), 1122, id, step); }
1517
+ static accessibilityUpdateSetNumStep(id: RID, step: number /* double */): void { _C($(), 1151, id, step); }
1507
1518
 
1508
1519
  /**
1509
1520
  * Sets numeric value jump.
1510
1521
  */
1511
- static accessibilityUpdateSetNumJump(id: RID, jump: number /* double */): void { _C($(), 1120, id, jump); }
1522
+ static accessibilityUpdateSetNumJump(id: RID, jump: number /* double */): void { _C($(), 1149, id, jump); }
1512
1523
 
1513
1524
  /**
1514
1525
  * Sets scroll bar x position.
1515
1526
  */
1516
- static accessibilityUpdateSetScrollX(id: RID, position: number /* double */): void { _C($(), 1129, id, position); }
1527
+ static accessibilityUpdateSetScrollX(id: RID, position: number /* double */): void { _C($(), 1158, id, position); }
1517
1528
 
1518
1529
  /**
1519
1530
  * Sets scroll bar x range.
1520
1531
  */
1521
- static accessibilityUpdateSetScrollXRange(id: RID, min: number /* double */, max: number /* double */): void { _C($(), 1130, id, min, max); }
1532
+ static accessibilityUpdateSetScrollXRange(id: RID, min: number /* double */, max: number /* double */): void { _C($(), 1159, id, min, max); }
1522
1533
 
1523
1534
  /**
1524
1535
  * Sets scroll bar y position.
1525
1536
  */
1526
- static accessibilityUpdateSetScrollY(id: RID, position: number /* double */): void { _C($(), 1131, id, position); }
1537
+ static accessibilityUpdateSetScrollY(id: RID, position: number /* double */): void { _C($(), 1160, id, position); }
1527
1538
 
1528
1539
  /**
1529
1540
  * Sets scroll bar y range.
1530
1541
  */
1531
- static accessibilityUpdateSetScrollYRange(id: RID, min: number /* double */, max: number /* double */): void { _C($(), 1132, id, min, max); }
1542
+ static accessibilityUpdateSetScrollYRange(id: RID, min: number /* double */, max: number /* double */): void { _C($(), 1161, id, min, max); }
1532
1543
 
1533
1544
  /**
1534
1545
  * Sets text underline/overline/strikethrough.
1535
1546
  */
1536
- static accessibilityUpdateSetTextDecorations(id: RID, underline: boolean, strikethrough: boolean, overline: boolean): void { _C($(), 1142, id, underline, strikethrough, overline); }
1547
+ static accessibilityUpdateSetTextDecorations(id: RID, underline: boolean, strikethrough: boolean, overline: boolean): void { _C($(), 1171, id, underline, strikethrough, overline); }
1537
1548
 
1538
1549
  /**
1539
1550
  * Sets element text alignment.
1540
1551
  */
1541
- static accessibilityUpdateSetTextAlign(id: RID, align: HorizontalAlignment): void { _C($(), 1141, id, align); }
1552
+ static accessibilityUpdateSetTextAlign(id: RID, align: HorizontalAlignment): void { _C($(), 1170, id, align); }
1542
1553
 
1543
1554
  /**
1544
1555
  * Sets text selection to the text field. `textStartId` and `textEndId` should be elements created by {@link accessibilityCreateSubTextEditElements}. Character offsets are relative to the corresponding element.
1545
1556
  */
1546
- static accessibilityUpdateSetTextSelection(id: RID, textStartId: RID, startChar: number, textEndId: RID, endChar: number): void { _C($(), 1144, id, textStartId, startChar, textEndId, endChar); }
1557
+ static accessibilityUpdateSetTextSelection(id: RID, textStartId: RID, startChar: number, textEndId: RID, endChar: number): void { _C($(), 1173, id, textStartId, startChar, textEndId, endChar); }
1547
1558
 
1548
1559
  /**
1549
1560
  * Sets element flag.
1550
1561
  */
1551
- static accessibilityUpdateSetFlag(id: RID, flag: AccessibilityFlags, value: boolean): void { _C($(), 1105, id, flag, value); }
1562
+ static accessibilityUpdateSetFlag(id: RID, flag: AccessibilityFlags, value: boolean): void { _C($(), 1134, id, flag, value); }
1552
1563
 
1553
1564
  /**
1554
1565
  * Sets element class name.
1555
1566
  */
1556
- static accessibilityUpdateSetClassname(id: RID, classname: string): void { _C($(), 1100, id, classname); }
1567
+ static accessibilityUpdateSetClassname(id: RID, classname: string): void { _C($(), 1129, id, classname); }
1557
1568
 
1558
1569
  /**
1559
1570
  * Sets placeholder text.
1560
1571
  */
1561
- static accessibilityUpdateSetPlaceholder(id: RID, placeholder: string): void { _C($(), 1124, id, placeholder); }
1572
+ static accessibilityUpdateSetPlaceholder(id: RID, placeholder: string): void { _C($(), 1153, id, placeholder); }
1562
1573
 
1563
1574
  /**
1564
1575
  * Sets element text language.
1565
1576
  */
1566
- static accessibilityUpdateSetLanguage(id: RID, language: string): void { _C($(), 1109, id, language); }
1577
+ static accessibilityUpdateSetLanguage(id: RID, language: string): void { _C($(), 1138, id, language); }
1567
1578
 
1568
1579
  /**
1569
1580
  * Sets text orientation.
1570
1581
  */
1571
- static accessibilityUpdateSetTextOrientation(id: RID, vertical: boolean): void { _C($(), 1143, id, vertical); }
1582
+ static accessibilityUpdateSetTextOrientation(id: RID, vertical: boolean): void { _C($(), 1172, id, vertical); }
1572
1583
 
1573
1584
  /**
1574
1585
  * Sets the orientation of the list elements.
1575
1586
  */
1576
- static accessibilityUpdateSetListOrientation(id: RID, vertical: boolean): void { _C($(), 1115, id, vertical); }
1587
+ static accessibilityUpdateSetListOrientation(id: RID, vertical: boolean): void { _C($(), 1144, id, vertical); }
1577
1588
 
1578
1589
  /**
1579
1590
  * Sets the list of keyboard shortcuts used by element.
1580
1591
  */
1581
- static accessibilityUpdateSetShortcut(id: RID, shortcut: string): void { _C($(), 1133, id, shortcut); }
1592
+ static accessibilityUpdateSetShortcut(id: RID, shortcut: string): void { _C($(), 1162, id, shortcut); }
1582
1593
 
1583
1594
  /**
1584
1595
  * Sets link URL.
1585
1596
  */
1586
- static accessibilityUpdateSetUrl(id: RID, url: string): void { _C($(), 1147, id, url); }
1597
+ static accessibilityUpdateSetUrl(id: RID, url: string): void { _C($(), 1176, id, url); }
1587
1598
 
1588
1599
  /**
1589
1600
  * Sets element accessibility role description text.
1590
1601
  */
1591
- static accessibilityUpdateSetRoleDescription(id: RID, description: string): void { _C($(), 1128, id, description); }
1602
+ static accessibilityUpdateSetRoleDescription(id: RID, description: string): void { _C($(), 1157, id, description); }
1592
1603
 
1593
1604
  /**
1594
1605
  * Sets human-readable description of the current checked state.
1595
1606
  */
1596
- static accessibilityUpdateSetStateDescription(id: RID, description: string): void { _C($(), 1134, id, description); }
1607
+ static accessibilityUpdateSetStateDescription(id: RID, description: string): void { _C($(), 1163, id, description); }
1597
1608
 
1598
1609
  /**
1599
1610
  * Sets element color value.
1600
1611
  */
1601
- static accessibilityUpdateSetColorValue(id: RID, color: Color): void { _C($(), 1101, id, color); }
1612
+ static accessibilityUpdateSetColorValue(id: RID, color: Color): void { _C($(), 1130, id, color); }
1602
1613
 
1603
1614
  /**
1604
1615
  * Sets element background color.
1605
1616
  */
1606
- static accessibilityUpdateSetBackgroundColor(id: RID, color: Color): void { _C($(), 1097, id, color); }
1617
+ static accessibilityUpdateSetBackgroundColor(id: RID, color: Color): void { _C($(), 1126, id, color); }
1607
1618
 
1608
1619
  /**
1609
1620
  * Sets element foreground color.
1610
1621
  */
1611
- static accessibilityUpdateSetForegroundColor(id: RID, color: Color): void { _C($(), 1107, id, color); }
1622
+ static accessibilityUpdateSetForegroundColor(id: RID, color: Color): void { _C($(), 1136, id, color); }
1612
1623
 
1613
1624
  /**
1614
1625
  * 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.
1615
1626
  * **Note:** This method is implemented only on macOS.
1616
1627
  */
1617
- static imeGetSelection(): Vector2i { return _C($(), 7574) as Vector2i; }
1628
+ static imeGetSelection(): Vector2i { return _C($(), 7726) as Vector2i; }
1618
1629
 
1619
1630
  /**
1620
1631
  * Returns the composition string contained within the [Input Method Editor](https://en.wikipedia.org/wiki/Input_method) window.
1621
1632
  * **Note:** This method is implemented only on macOS.
1622
1633
  */
1623
- static imeGetText(): string { return _C($(), 7575) as string; }
1634
+ static imeGetText(): string { return _C($(), 7727) as string; }
1624
1635
 
1625
1636
  /**
1626
1637
  * Shows the virtual keyboard if the platform has one.
@@ -1632,71 +1643,83 @@ export class DisplayServer extends GodotVar {
1632
1643
  * `cursorStart` and `cursorEnd` can optionally define the current text selection.
1633
1644
  * **Note:** This method is implemented on Android, iOS and Web.
1634
1645
  */
1635
- static virtualKeyboardShow(existingText: string, position?: Rect2 /* = Rect2(0, 0, 0, 0) */, type?: VirtualKeyboardType /* = 0 */, maxLength?: number /* = -1 */, cursorStart?: number /* = -1 */, cursorEnd?: number /* = -1 */): void { _C($(), 14768, existingText, position, type, maxLength, cursorStart, cursorEnd); }
1646
+ static virtualKeyboardShow(existingText: string, position?: Rect2 /* = Rect2(0, 0, 0, 0) */, type?: VirtualKeyboardType /* = 0 */, maxLength?: number /* = -1 */, cursorStart?: number /* = -1 */, cursorEnd?: number /* = -1 */): void { _C($(), 15066, existingText, position, type, maxLength, cursorStart, cursorEnd); }
1636
1647
 
1637
1648
  /**
1638
1649
  * Hides the virtual keyboard if it is shown, does nothing otherwise.
1639
1650
  */
1640
- static virtualKeyboardHide(): void { _C($(), 14767); }
1651
+ static virtualKeyboardHide(): void { _C($(), 15065); }
1641
1652
 
1642
1653
  /**
1643
1654
  * Returns the on-screen keyboard's height in pixels. Returns `0` if there is no keyboard or if it is currently hidden.
1644
1655
  * **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.
1645
1656
  */
1646
- static virtualKeyboardGetHeight(): number { return _C($(), 14766) as number; }
1657
+ static virtualKeyboardGetHeight(): number { return _C($(), 15064) as number; }
1647
1658
 
1648
1659
  /**
1649
1660
  * Returns `true` if a hardware keyboard is connected.
1650
1661
  * **Note:** This method is implemented on Android and iOS. On other platforms, this method always returns `true`.
1651
1662
  */
1652
- static hasHardwareKeyboard(): boolean { return _C($(), 7401) as boolean; }
1663
+ static hasHardwareKeyboard(): boolean { return _C($(), 7548) as boolean; }
1653
1664
 
1654
1665
  /**
1655
1666
  * Sets the callback that should be called when a hardware keyboard is connected or disconnected. `callable` should accept a single {@link bool} argument indicating whether the keyboard has been connected (`true`) or disconnected (`false`).
1656
1667
  * **Note:** This method is only implemented on Android.
1657
1668
  */
1658
- static setHardwareKeyboardConnectionChangeCallback(callable: Callable): void { _C($(), 11605, callable); }
1669
+ static setHardwareKeyboardConnectionChangeCallback(callable: Callable): void { _C($(), 11842, callable); }
1659
1670
 
1660
1671
  /**
1661
1672
  * 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 cursorGetShape} and {@link cursorSetCustomImage}.
1662
1673
  */
1663
- static cursorSetShape(shape: CursorShape): void { _C($(), 2611, shape); }
1674
+ static cursorSetShape(shape: CursorShape): void { _C($(), 2659, shape); }
1664
1675
 
1665
1676
  /**
1666
1677
  * Returns the default mouse cursor shape set by {@link cursorSetShape}.
1667
1678
  */
1668
- static cursorGetShape(): CursorShape { return _C($(), 2609) as CursorShape; }
1679
+ static cursorGetShape(): CursorShape { return _C($(), 2657) as CursorShape; }
1669
1680
 
1670
1681
  /**
1671
1682
  * 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.
1672
1683
  * `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 cursorSetShape}.
1673
1684
  * **Note:** On Web, calling this method every frame can cause the cursor to flicker.
1674
1685
  */
1675
- static cursorSetCustomImage(cursor: Resource, shape?: CursorShape /* = 0 */, hotspot?: Vector2 /* = Vector2(0, 0) */): void { _C($(), 2610, cursor, shape, hotspot); }
1686
+ static cursorSetCustomImage(cursor: Resource, shape?: CursorShape /* = 0 */, hotspot?: Vector2 /* = Vector2(0, 0) */): void { _C($(), 2658, cursor, shape, hotspot); }
1687
+
1688
+ /**
1689
+ * Displays a toast notification with `title`, `text`, and optionally `image`. `image` should be square, have a maximum edge length of 512 pixels, and should not exceed 4 MB when encoded as PNG. `callback` should accept two arguments: {@link int} (notification ID) and {@link NotificationStatus}. Returns the notification ID or {@link INVALID_NOTIFICATION_ID} if it failed.
1690
+ * **Note:** This method is only implemented on Windows.
1691
+ */
1692
+ static sendToastNotification(title: string, text: string, image: Texture2D, callback: Callable): number { return _C($(), 10589, title, text, image, callback) as number; }
1693
+
1694
+ /**
1695
+ * Hides the toast notification with `id` returned by {@link sendToastNotification}.
1696
+ * **Note:** This method is only implemented on Windows.
1697
+ */
1698
+ static hideToastNotification(id: number): void { _C($(), 7670, id); }
1676
1699
 
1677
1700
  /**
1678
1701
  * 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/swapCancelOk}.
1679
1702
  * **Note:** This doesn't affect native dialogs such as the ones spawned by {@link DisplayServer.dialogShow}.
1680
1703
  */
1681
- static getSwapCancelOk(): boolean { return _C($(), 6642) as boolean; }
1704
+ static getSwapCancelOk(): boolean { return _C($(), 6775) as boolean; }
1682
1705
 
1683
1706
  /**
1684
1707
  * Allows the `processId` PID to steal focus from this window. In other words, this disables the operating system's focus stealing protection for the specified PID.
1685
1708
  * **Note:** This method is implemented only on Windows.
1686
1709
  */
1687
- static enableForStealingFocus(processId: number /* int64 */): void { _C($(), 3066, processId); }
1710
+ static enableForStealingFocus(processId: number /* int64 */): void { _C($(), 3118, processId); }
1688
1711
 
1689
1712
  /**
1690
1713
  * Shows a text dialog which uses the operating system's native look-and-feel. `callback` should accept a single {@link int} parameter which corresponds to the index of the pressed button.
1691
1714
  * **Note:** This method is implemented if the display server has the {@link FEATURE_NATIVE_DIALOG} feature. Supported platforms include macOS, Windows, and Android.
1692
1715
  */
1693
- static dialogShow(title: string, description: string, buttons: PackedStringArray, callback: Callable): Error { return _C($(), 2781, title, description, buttons, callback) as Error; }
1716
+ static dialogShow(title: string, description: string, buttons: PackedStringArray, callback: Callable): Error { return _C($(), 2831, title, description, buttons, callback) as Error; }
1694
1717
 
1695
1718
  /**
1696
1719
  * 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.
1697
1720
  * **Note:** This method is implemented if the display server has the {@link FEATURE_NATIVE_DIALOG_INPUT} feature. Supported platforms include macOS, Windows, and Android.
1698
1721
  */
1699
- static dialogInputText(title: string, description: string, existingText: string, callback: Callable): Error { return _C($(), 2780, title, description, existingText, callback) as Error; }
1722
+ static dialogInputText(title: string, description: string, existingText: string, callback: Callable): Error { return _C($(), 2830, title, description, existingText, callback) as Error; }
1700
1723
 
1701
1724
  /**
1702
1725
  * Displays OS native dialog for selecting files or directories in the file system.
@@ -1726,7 +1749,7 @@ export class DisplayServer extends GodotVar {
1726
1749
  *
1727
1750
  * The persistable URI permission remains valid across app restarts as long as the directory is not moved, renamed, or deleted.
1728
1751
  */
1729
- static fileDialogShow(title: string, currentDirectory: string, filename: string, showHidden: boolean, mode: FileDialogMode, filters: PackedStringArray, callback: Callable, parentWindowId?: number /* = 0 */): Error { return _C($(), 3246, title, currentDirectory, filename, showHidden, mode, filters, callback, parentWindowId) as Error; }
1752
+ static fileDialogShow(title: string, currentDirectory: string, filename: string, showHidden: boolean, mode: FileDialogMode, filters: PackedStringArray, callback: Callable, parentWindowId?: number /* = 0 */): Error { return _C($(), 3301, title, currentDirectory, filename, showHidden, mode, filters, callback, parentWindowId) as Error; }
1730
1753
 
1731
1754
  /**
1732
1755
  * Displays OS native dialog for selecting files or directories in the file system with additional user selectable options.
@@ -1743,61 +1766,61 @@ export class DisplayServer extends GodotVar {
1743
1766
  * **Note:** On macOS, native file dialogs have no title.
1744
1767
  * **Note:** On macOS, sandboxed apps will save security-scoped bookmarks to retain access to the opened folders across multiple sessions. Use {@link OS.getGrantedPermissions} to get a list of saved bookmarks.
1745
1768
  */
1746
- static fileDialogWithOptionsShow(title: string, currentDirectory: string, root: string, filename: string, showHidden: boolean, mode: FileDialogMode, filters: PackedStringArray, options: GodotArray<GodotDictionary>, callback: Callable, parentWindowId?: number /* = 0 */): Error { return _C($(), 3247, title, currentDirectory, root, filename, showHidden, mode, filters, options, callback, parentWindowId) as Error; }
1769
+ static fileDialogWithOptionsShow(title: string, currentDirectory: string, root: string, filename: string, showHidden: boolean, mode: FileDialogMode, filters: PackedStringArray, options: GodotArray<GodotDictionary>, callback: Callable, parentWindowId?: number /* = 0 */): Error { return _C($(), 3302, title, currentDirectory, root, filename, showHidden, mode, filters, options, callback, parentWindowId) as Error; }
1747
1770
 
1748
1771
  /**
1749
1772
  * 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.
1750
1773
  * **Note:** This method is implemented on macOS, Linux (X11/Wayland), and Windows.
1751
1774
  */
1752
- static beep(): void { _C($(), 1744); }
1775
+ static beep(): void { _C($(), 1776); }
1753
1776
 
1754
1777
  /**
1755
1778
  * Returns the number of keyboard layouts.
1756
- * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
1779
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
1757
1780
  */
1758
- static keyboardGetLayoutCount(): number { return _C($(), 8525) as number; }
1781
+ static keyboardGetLayoutCount(): number { return _C($(), 8702) as number; }
1759
1782
 
1760
1783
  /**
1761
1784
  * Returns active keyboard layout index.
1762
1785
  * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
1763
1786
  */
1764
- static keyboardGetCurrentLayout(): number { return _C($(), 8522) as number; }
1787
+ static keyboardGetCurrentLayout(): number { return _C($(), 8699) as number; }
1765
1788
 
1766
1789
  /**
1767
1790
  * Sets the active keyboard layout.
1768
- * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
1791
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
1769
1792
  */
1770
- static keyboardSetCurrentLayout(index: number): void { _C($(), 8528, index); }
1793
+ static keyboardSetCurrentLayout(index: number): void { _C($(), 8705, index); }
1771
1794
 
1772
1795
  /**
1773
1796
  * Returns the ISO-639/BCP-47 language code of the keyboard layout at position `index`.
1774
- * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
1797
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
1775
1798
  */
1776
- static keyboardGetLayoutLanguage(index: number): string { return _C($(), 8526, index) as string; }
1799
+ static keyboardGetLayoutLanguage(index: number): string { return _C($(), 8703, index) as string; }
1777
1800
 
1778
1801
  /**
1779
1802
  * Returns the localized name of the keyboard layout at position `index`.
1780
- * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
1803
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
1781
1804
  */
1782
- static keyboardGetLayoutName(index: number): string { return _C($(), 8527, index) as string; }
1805
+ static keyboardGetLayoutName(index: number): string { return _C($(), 8704, index) as string; }
1783
1806
 
1784
1807
  /**
1785
1808
  * Converts a physical (US QWERTY) `keycode` to one in the active keyboard layout.
1786
- * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
1809
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
1787
1810
  */
1788
- static keyboardGetKeycodeFromPhysical(keycode: Key): Key { return _C($(), 8523, keycode) as Key; }
1811
+ static keyboardGetKeycodeFromPhysical(keycode: Key): Key { return _C($(), 8700, keycode) as Key; }
1789
1812
 
1790
1813
  /**
1791
1814
  * Converts a physical (US QWERTY) `keycode` to localized label printed on the key in the active keyboard layout.
1792
- * **Note:** This method is implemented on Linux (X11/Wayland), macOS and Windows.
1815
+ * **Note:** This method is implemented on Linux (X11/Wayland), macOS, and Windows.
1793
1816
  */
1794
- static keyboardGetLabelFromPhysical(keycode: Key): Key { return _C($(), 8524, keycode) as Key; }
1817
+ static keyboardGetLabelFromPhysical(keycode: Key): Key { return _C($(), 8701, keycode) as Key; }
1795
1818
 
1796
1819
  /**
1797
1820
  * Opens system emoji and symbol picker.
1798
1821
  * **Note:** This method is implemented on macOS and Windows.
1799
1822
  */
1800
- static showEmojiAndSymbolPicker(): void { _C($(), 13576); }
1823
+ static showEmojiAndSymbolPicker(): void { _C($(), 13856); }
1801
1824
 
1802
1825
  /**
1803
1826
  * Displays OS native color picker.
@@ -1805,48 +1828,48 @@ export class DisplayServer extends GodotVar {
1805
1828
  * **Note:** This method is implemented if the display server has the {@link FEATURE_NATIVE_COLOR_PICKER} feature.
1806
1829
  * **Note:** This method is only implemented on Linux (X11/Wayland).
1807
1830
  */
1808
- static colorPicker(callback: Callable): boolean { return _C($(), 2374, callback) as boolean; }
1831
+ static colorPicker(callback: Callable): boolean { return _C($(), 2421, callback) as boolean; }
1809
1832
 
1810
1833
  /**
1811
1834
  * Perform window manager processing, including input flushing. See also {@link forceProcessAndDropEvents}, {@link Input.flushBufferedEvents} and {@link Input.useAccumulatedInput}.
1812
1835
  */
1813
- static processEvents(): void { _C($(), 9571); }
1836
+ static processEvents(): void { _C($(), 9777); }
1814
1837
 
1815
1838
  /**
1816
1839
  * Forces window manager processing while ignoring all {@link InputEvent}s. See also {@link processEvents}.
1817
1840
  * **Note:** This method is implemented on Windows and macOS.
1818
1841
  */
1819
- static forceProcessAndDropEvents(): void { _C($(), 3533); }
1842
+ static forceProcessAndDropEvents(): void { _C($(), 3594); }
1820
1843
 
1821
1844
  /**
1822
1845
  * 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 setNativeIcon} 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 setIcon} instead.
1823
1846
  * **Note:** Requires support for {@link FEATURE_NATIVE_ICON}.
1824
1847
  */
1825
- static setNativeIcon(filename: string): void { _C($(), 12114, filename); }
1848
+ static setNativeIcon(filename: string): void { _C($(), 12371, filename); }
1826
1849
 
1827
1850
  /**
1828
1851
  * Sets the application icon and icons of all windows with an {@link Image}. To use icons in the operating system's native format, use {@link setNativeIcon} instead.
1829
1852
  * **Note:** Requires support for {@link FEATURE_ICON}.
1830
1853
  */
1831
- static setIcon(image: Image): void { _C($(), 11645, image); }
1854
+ static setIcon(image: Image): void { _C($(), 11882, image); }
1832
1855
 
1833
1856
  /**
1834
1857
  * Creates a new application status indicator with the specified icon, tooltip, and activation callback.
1835
1858
  * `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}).
1836
1859
  */
1837
- static createStatusIndicator(icon: Texture2D, tooltip: string, callback: Callable): number { return _C($(), 2573, icon, tooltip, callback) as number; }
1860
+ static createStatusIndicator(icon: Texture2D, tooltip: string, callback: Callable): number { return _C($(), 2621, icon, tooltip, callback) as number; }
1838
1861
 
1839
1862
  /**
1840
1863
  * Sets the application status indicator icon.
1841
1864
  * **Note:** This method is implemented on macOS and Windows.
1842
1865
  */
1843
- static statusIndicatorSetIcon(id: number, icon: Texture2D): void { _C($(), 13851, id, icon); }
1866
+ static statusIndicatorSetIcon(id: number, icon: Texture2D): void { _C($(), 14140, id, icon); }
1844
1867
 
1845
1868
  /**
1846
1869
  * Sets the application status indicator tooltip.
1847
1870
  * **Note:** This method is implemented on macOS and Windows.
1848
1871
  */
1849
- static statusIndicatorSetTooltip(id: number, tooltip: string): void { _C($(), 13853, id, tooltip); }
1872
+ static statusIndicatorSetTooltip(id: number, tooltip: string): void { _C($(), 14142, id, tooltip); }
1850
1873
 
1851
1874
  /**
1852
1875
  * Sets the application status indicator native popup menu.
@@ -1854,42 +1877,42 @@ export class DisplayServer extends GodotVar {
1854
1877
  * **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.
1855
1878
  * **Note:** Native popup is only supported if {@link NativeMenu} supports the {@link NativeMenu.FEATURE_POPUP_MENU} feature.
1856
1879
  */
1857
- static statusIndicatorSetMenu(id: number, menuRid: RID): void { _C($(), 13852, id, menuRid); }
1880
+ static statusIndicatorSetMenu(id: number, menuRid: RID): void { _C($(), 14141, id, menuRid); }
1858
1881
 
1859
1882
  /**
1860
1883
  * Sets the application status indicator activation callback. `callback` should take two arguments: {@link int} mouse button index (one of {@link MouseButton} values) and {@link Vector2i} click position in screen coordinates.
1861
1884
  * **Note:** This method is implemented on macOS and Windows.
1862
1885
  */
1863
- static statusIndicatorSetCallback(id: number, callback: Callable): void { _C($(), 13850, id, callback); }
1886
+ static statusIndicatorSetCallback(id: number, callback: Callable): void { _C($(), 14139, id, callback); }
1864
1887
 
1865
1888
  /**
1866
1889
  * Returns the rectangle for the given status indicator `id` in screen coordinates. If the status indicator is not visible, returns an empty {@link Rect2}.
1867
1890
  * **Note:** This method is implemented on macOS and Windows.
1868
1891
  */
1869
- static statusIndicatorGetRect(id: number): Rect2 { return _C($(), 13849, id) as Rect2; }
1892
+ static statusIndicatorGetRect(id: number): Rect2 { return _C($(), 14138, id) as Rect2; }
1870
1893
 
1871
1894
  /**
1872
1895
  * Removes the application status indicator.
1873
1896
  */
1874
- static deleteStatusIndicator(id: number): void { _C($(), 2727, id); }
1897
+ static deleteStatusIndicator(id: number): void { _C($(), 2777, id); }
1875
1898
 
1876
1899
  /**
1877
1900
  * Returns the total number of available tablet drivers.
1878
1901
  * **Note:** This method is implemented only on Windows.
1879
1902
  */
1880
- static tabletGetDriverCount(): number { return _C($(), 14105) as number; }
1903
+ static tabletGetDriverCount(): number { return _C($(), 14396) as number; }
1881
1904
 
1882
1905
  /**
1883
1906
  * Returns the tablet driver name for the given index.
1884
1907
  * **Note:** This method is implemented only on Windows.
1885
1908
  */
1886
- static tabletGetDriverName(idx: number): string { return _C($(), 14106, idx) as string; }
1909
+ static tabletGetDriverName(idx: number): string { return _C($(), 14397, idx) as string; }
1887
1910
 
1888
1911
  /**
1889
1912
  * Returns current active tablet driver name.
1890
1913
  * **Note:** This method is implemented only on Windows.
1891
1914
  */
1892
- static tabletGetCurrentDriver(): string { return _C($(), 14104) as string; }
1915
+ static tabletGetCurrentDriver(): string { return _C($(), 14395) as string; }
1893
1916
 
1894
1917
  /**
1895
1918
  * Set active tablet driver name.
@@ -1899,52 +1922,52 @@ export class DisplayServer extends GodotVar {
1899
1922
  * - `dummy`: Dummy driver, tablet input is disabled.
1900
1923
  * **Note:** This method is implemented only on Windows.
1901
1924
  */
1902
- static tabletSetCurrentDriver(name: string): void { _C($(), 14107, name); }
1925
+ static tabletSetCurrentDriver(name: string): void { _C($(), 14398, name); }
1903
1926
 
1904
1927
  /**
1905
1928
  * Returns `true` if the window background can be made transparent. This method returns `false` if {@link ProjectSettings.display/window/perPixelTransparency/allowed} is set to `false`, or if transparency is not supported by the renderer or OS compositor.
1906
1929
  */
1907
- static isWindowTransparencyAvailable(): boolean { return _C($(), 8454) as boolean; }
1930
+ static isWindowTransparencyAvailable(): boolean { return _C($(), 8630) as boolean; }
1908
1931
 
1909
1932
  /**
1910
1933
  * 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 unregisterAdditionalOutput}.
1911
1934
  * This can be used to prevent Godot from skipping rendering when no normal windows are visible.
1912
1935
  */
1913
- static registerAdditionalOutput(object: Object): void { _C($(), 9841, object); }
1936
+ static registerAdditionalOutput(object: Object): void { _C($(), 10047, object); }
1914
1937
 
1915
1938
  /**
1916
1939
  * Unregisters an {@link Object} representing an additional output, that was registered via {@link registerAdditionalOutput}.
1917
1940
  */
1918
- static unregisterAdditionalOutput(object: Object): void { _C($(), 14487, object); }
1941
+ static unregisterAdditionalOutput(object: Object): void { _C($(), 14781, object); }
1919
1942
 
1920
1943
  /**
1921
1944
  * Returns `true` if any additional outputs have been registered via {@link registerAdditionalOutput}.
1922
1945
  */
1923
- static hasAdditionalOutputs(): boolean { return _C($(), 7351) as boolean; }
1946
+ static hasAdditionalOutputs(): boolean { return _C($(), 7498) as boolean; }
1924
1947
 
1925
1948
  /**
1926
1949
  * Returns `true` if the application is in picture-in-picture mode.
1927
1950
  * **Note:** This method is implemented on Android.
1928
1951
  */
1929
- static isInPipMode(windowId?: number /* = 0 */): boolean { return _C($(), 8018, windowId) as boolean; }
1952
+ static isInPipMode(windowId?: number /* = 0 */): boolean { return _C($(), 8182, windowId) as boolean; }
1930
1953
 
1931
1954
  /**
1932
1955
  * Enters picture-in-picture mode.
1933
1956
  * **Note:** This method is implemented on Android.
1934
1957
  */
1935
- static pipModeEnter(windowId?: number /* = 0 */): void { _C($(), 9431, windowId); }
1958
+ static pipModeEnter(windowId?: number /* = 0 */): void { _C($(), 9633, windowId); }
1936
1959
 
1937
1960
  /**
1938
1961
  * Specifies the aspect ratio for picture-in-picture mode.
1939
1962
  * **Note:** This method is implemented on Android.
1940
1963
  */
1941
- static pipModeSetAspectRatio(numerator: number, denominator: number, windowId?: number /* = 0 */): void { _C($(), 9432, numerator, denominator, windowId); }
1964
+ static pipModeSetAspectRatio(numerator: number, denominator: number, windowId?: number /* = 0 */): void { _C($(), 9634, numerator, denominator, windowId); }
1942
1965
 
1943
1966
  /**
1944
1967
  * Specifies whether picture-in-picture mode should be entered automatically when the application goes in the background.
1945
1968
  * **Note:** This method is implemented on Android.
1946
1969
  */
1947
- static pipModeSetAutoEnterOnBackground(autoEnterOnBackground: boolean, windowId?: number /* = 0 */): void { _C($(), 9433, autoEnterOnBackground, windowId); }
1970
+ static pipModeSetAutoEnterOnBackground(autoEnterOnBackground: boolean, windowId?: number /* = 0 */): void { _C($(), 9635, autoEnterOnBackground, windowId); }
1948
1971
 
1949
1972
  /**
1950
1973
  * 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.
@@ -1991,14 +2014,18 @@ export class DisplayServer extends GodotVar {
1991
2014
  static readonly INVALID_INDICATOR_ID = -1;
1992
2015
 
1993
2016
  /**
1994
- * Emitted when the device orientation changes. `orientation` is the new orientation.
1995
- * Returns `1` for portrait, `2` for landscape, and `0` if the orientation is undefined.
2017
+ * The ID that refers to a nonexistent toast notification.
2018
+ */
2019
+ static readonly INVALID_NOTIFICATION_ID = -1;
2020
+
2021
+ /**
2022
+ * Emitted when the screen orientation changes. `orientation` is the new orientation.
1996
2023
  * **Note:** This method is implemented on Android and iOS.
1997
2024
  */
1998
- static get orientationChanged(): Signal<(orientation: number) => void> { return _G($(), 9216) as Signal<(orientation: number) => void>; }
1999
- static set orientationChanged(v: ((orientation: number) => void) | null) { _G($(), 9216, v); }
2025
+ static get orientationChanged(): Signal<(orientation: SensorOrientation) => void> { return _G($(), 9413) as Signal<(orientation: SensorOrientation) => void>; }
2026
+ static set orientationChanged(v: ((orientation: SensorOrientation) => void) | null) { _G($(), 9413, v); }
2000
2027
 
2001
- static readonly name = _R(249, DisplayServer);
2028
+ static readonly name = _R(254, DisplayServer);
2002
2029
  }
2003
2030
 
2004
2031
  export const Feature = {
@@ -2147,6 +2174,10 @@ export const Feature = {
2147
2174
  * Display server supports putting the application in picture-in-picture mode. **Android**
2148
2175
  */
2149
2176
  FEATURE_PIP_MODE: 36,
2177
+ /**
2178
+ * Display server is embedding windows to another process. **macOS**
2179
+ */
2180
+ FEATURE_EMBEDDED: 37,
2150
2181
  } as const;
2151
2182
 
2152
2183
  export type Feature = (typeof Feature)[keyof typeof Feature];
@@ -2586,7 +2617,8 @@ export const MouseMode = {
2586
2617
  MOUSE_MODE_HIDDEN: 1,
2587
2618
  /**
2588
2619
  * Captures the mouse. The mouse will be hidden and its position locked at the center of the window manager's window.
2589
- * **Note:** If you want to process the mouse's movement in this mode, you need to use {@link InputEventMouseMotion.relative}.
2620
+ * **Note:** If you want to process the mouse's movement in this mode, you need to use {@link InputEventMouseMotion.relative} or {@link InputEventMouseMotion.screenRelative}.
2621
+ * **Note:** Even when captured, the mouse cursor is still able to press buttons if they overlap with the center of the window.
2590
2622
  */
2591
2623
  MOUSE_MODE_CAPTURED: 2,
2592
2624
  /**
@@ -2638,6 +2670,23 @@ export const ScreenOrientation = {
2638
2670
 
2639
2671
  export type ScreenOrientation = (typeof ScreenOrientation)[keyof typeof ScreenOrientation];
2640
2672
 
2673
+ export const SensorOrientation = {
2674
+ /**
2675
+ * Unspecified screen sensor orientation.
2676
+ */
2677
+ SENSOR_ORIENTATION_UNDEFINED: 0,
2678
+ /**
2679
+ * Portrait orientation (either standard portrait or reverse portrait).
2680
+ */
2681
+ SENSOR_ORIENTATION_PORTRAIT: 1,
2682
+ /**
2683
+ * Landscape orientation (either standard landscape or reverse landscape).
2684
+ */
2685
+ SENSOR_ORIENTATION_LANDSCAPE: 2,
2686
+ } as const;
2687
+
2688
+ export type SensorOrientation = (typeof SensorOrientation)[keyof typeof SensorOrientation];
2689
+
2641
2690
  export const VirtualKeyboardType = {
2642
2691
  /**
2643
2692
  * Default text virtual keyboard.
@@ -2885,7 +2934,7 @@ export const WindowFlags = {
2885
2934
  WINDOW_FLAG_EXTEND_TO_TITLE: 6,
2886
2935
  /**
2887
2936
  * All mouse events are passed to the underlying window of the same application.
2888
- * **Note:** This flag is implemented on Linux (X11), macOS, and Windows.
2937
+ * **Note:** This flag is implemented on Linux (X11/Wayland), macOS, and Windows.
2889
2938
  */
2890
2939
  WINDOW_FLAG_MOUSE_PASSTHROUGH: 7,
2891
2940
  /**
@@ -3013,6 +3062,23 @@ export const WindowResizeEdge = {
3013
3062
 
3014
3063
  export type WindowResizeEdge = (typeof WindowResizeEdge)[keyof typeof WindowResizeEdge];
3015
3064
 
3065
+ export const NotificationStatus = {
3066
+ /**
3067
+ * User activates a toast notification through a click or touch.
3068
+ */
3069
+ NOTIFICATION_ACTIVATED: 0,
3070
+ /**
3071
+ * A toast notification expires or is explicitly dismissed by the user.
3072
+ */
3073
+ NOTIFICATION_DISMISSED: 1,
3074
+ /**
3075
+ * Attempts to raise a toast notification failed.
3076
+ */
3077
+ NOTIFICATION_FAILED: 2,
3078
+ } as const;
3079
+
3080
+ export type NotificationStatus = (typeof NotificationStatus)[keyof typeof NotificationStatus];
3081
+
3016
3082
  export const VSyncMode = {
3017
3083
  /**
3018
3084
  * 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.maxFps}).