typescript-to-gdscript 0.1.1 → 0.1.3

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 (380) hide show
  1. package/README.md +4 -2
  2. package/dist/cli/convert.d.ts.map +1 -1
  3. package/dist/cli/convert.js +15 -5
  4. package/dist/cli/convert.js.map +1 -1
  5. package/dist/converter/gd-to-ts/class-scope.d.ts.map +1 -1
  6. package/dist/converter/gd-to-ts/class-scope.js +4 -4
  7. package/dist/converter/gd-to-ts/class-scope.js.map +1 -1
  8. package/dist/converter/gd-to-ts/expressions.d.ts.map +1 -1
  9. package/dist/converter/gd-to-ts/expressions.js +59 -8
  10. package/dist/converter/gd-to-ts/expressions.js.map +1 -1
  11. package/dist/converter/gd-to-ts/functions.d.ts.map +1 -1
  12. package/dist/converter/gd-to-ts/functions.js +29 -24
  13. package/dist/converter/gd-to-ts/functions.js.map +1 -1
  14. package/dist/converter/gd-to-ts/identifiers.d.ts +27 -0
  15. package/dist/converter/gd-to-ts/identifiers.d.ts.map +1 -0
  16. package/dist/converter/gd-to-ts/identifiers.js +76 -0
  17. package/dist/converter/gd-to-ts/identifiers.js.map +1 -0
  18. package/dist/converter/gd-to-ts/members.d.ts.map +1 -1
  19. package/dist/converter/gd-to-ts/members.js +15 -6
  20. package/dist/converter/gd-to-ts/members.js.map +1 -1
  21. package/dist/converter/gd-to-ts/statements.d.ts.map +1 -1
  22. package/dist/converter/gd-to-ts/statements.js +12 -1
  23. package/dist/converter/gd-to-ts/statements.js.map +1 -1
  24. package/dist/converter/gd-to-ts/type-inference.d.ts +33 -0
  25. package/dist/converter/gd-to-ts/type-inference.d.ts.map +1 -1
  26. package/dist/converter/gd-to-ts/type-inference.js +79 -0
  27. package/dist/converter/gd-to-ts/type-inference.js.map +1 -1
  28. package/dist/converter/ts-to-gd/access-rewrite.d.ts +40 -0
  29. package/dist/converter/ts-to-gd/access-rewrite.d.ts.map +1 -0
  30. package/dist/converter/ts-to-gd/access-rewrite.js +124 -0
  31. package/dist/converter/ts-to-gd/access-rewrite.js.map +1 -0
  32. package/dist/converter/ts-to-gd/expressions.d.ts.map +1 -1
  33. package/dist/converter/ts-to-gd/expressions.js +31 -7
  34. package/dist/converter/ts-to-gd/expressions.js.map +1 -1
  35. package/dist/typings/content-generators.d.ts +2 -2
  36. package/dist/typings/content-generators.d.ts.map +1 -1
  37. package/dist/typings/content-generators.js +8 -2
  38. package/dist/typings/content-generators.js.map +1 -1
  39. package/dist/typings/godot-docs.d.ts.map +1 -1
  40. package/dist/typings/godot-docs.js +45 -16
  41. package/dist/typings/godot-docs.js.map +1 -1
  42. package/dist/typings/override-system.d.ts.map +1 -1
  43. package/dist/typings/override-system.js +8 -0
  44. package/dist/typings/override-system.js.map +1 -1
  45. package/dist/typings/scene-utils.d.ts +8 -0
  46. package/dist/typings/scene-utils.d.ts.map +1 -1
  47. package/dist/typings/scene-utils.js +49 -8
  48. package/dist/typings/scene-utils.js.map +1 -1
  49. package/dist/typings/scenes.d.ts.map +1 -1
  50. package/dist/typings/scenes.js +17 -10
  51. package/dist/typings/scenes.js.map +1 -1
  52. package/dist/watcher/check.d.ts +87 -0
  53. package/dist/watcher/check.d.ts.map +1 -0
  54. package/dist/watcher/check.js +209 -0
  55. package/dist/watcher/check.js.map +1 -0
  56. package/dist/watcher/heal.d.ts +66 -0
  57. package/dist/watcher/heal.d.ts.map +1 -0
  58. package/dist/watcher/heal.js +132 -0
  59. package/dist/watcher/heal.js.map +1 -0
  60. package/dist/watcher/index.d.ts +1 -0
  61. package/dist/watcher/index.d.ts.map +1 -1
  62. package/dist/watcher/index.js +48 -52
  63. package/dist/watcher/index.js.map +1 -1
  64. package/package.json +1 -1
  65. package/typings/classes/AccessibilityServer.d.ts +405 -0
  66. package/typings/classes/AnimationLibrary.d.ts +4 -4
  67. package/typings/classes/AnimationNodeBlendSpace1D.d.ts +45 -4
  68. package/typings/classes/AnimationNodeBlendSpace2D.d.ts +45 -4
  69. package/typings/classes/Area3D.d.ts +14 -7
  70. package/typings/classes/AreaLight3D.d.ts +37 -0
  71. package/typings/classes/ArrayMesh.d.ts +15 -0
  72. package/typings/classes/AudioEffectAmplify.d.ts +2 -2
  73. package/typings/classes/AudioEffectBandLimitFilter.d.ts +1 -1
  74. package/typings/classes/AudioEffectBandPassFilter.d.ts +1 -1
  75. package/typings/classes/AudioEffectCapture.d.ts +10 -9
  76. package/typings/classes/AudioEffectChorus.d.ts +57 -28
  77. package/typings/classes/AudioEffectCompressor.d.ts +11 -9
  78. package/typings/classes/AudioEffectDelay.d.ts +21 -15
  79. package/typings/classes/AudioEffectDistortion.d.ts +19 -10
  80. package/typings/classes/AudioEffectEQ.d.ts +2 -2
  81. package/typings/classes/AudioEffectEQ10.d.ts +2 -2
  82. package/typings/classes/AudioEffectEQ21.d.ts +2 -2
  83. package/typings/classes/AudioEffectEQ6.d.ts +2 -2
  84. package/typings/classes/AudioEffectFilter.d.ts +25 -9
  85. package/typings/classes/AudioEffectHardLimiter.d.ts +8 -5
  86. package/typings/classes/AudioEffectHighPassFilter.d.ts +1 -1
  87. package/typings/classes/AudioEffectHighShelfFilter.d.ts +1 -1
  88. package/typings/classes/AudioEffectInstance.d.ts +1 -1
  89. package/typings/classes/AudioEffectLimiter.d.ts +9 -4
  90. package/typings/classes/AudioEffectLowPassFilter.d.ts +1 -1
  91. package/typings/classes/AudioEffectLowShelfFilter.d.ts +1 -1
  92. package/typings/classes/AudioEffectNotchFilter.d.ts +1 -1
  93. package/typings/classes/AudioEffectPanner.d.ts +7 -2
  94. package/typings/classes/AudioEffectPhaser.d.ts +9 -7
  95. package/typings/classes/AudioEffectPitchShift.d.ts +3 -3
  96. package/typings/classes/AudioEffectReverb.d.ts +17 -8
  97. package/typings/classes/AudioEffectSpectrumAnalyzer.d.ts +4 -5
  98. package/typings/classes/AudioEffectStereoEnhance.d.ts +7 -4
  99. package/typings/classes/AudioServer.d.ts +2 -2
  100. package/typings/classes/AudioStreamPlaybackResampled.d.ts +8 -0
  101. package/typings/classes/AudioStreamRandomizer.d.ts +10 -0
  102. package/typings/classes/AwaitTweener.d.ts +10 -0
  103. package/typings/classes/BaseButton.d.ts +1 -1
  104. package/typings/classes/Basis.d.ts +6 -2
  105. package/typings/classes/BlitMaterial.d.ts +22 -0
  106. package/typings/classes/CPUParticles2D.d.ts +2 -2
  107. package/typings/classes/CPUParticles3D.d.ts +2 -2
  108. package/typings/classes/Camera3D.d.ts +1 -1
  109. package/typings/classes/CameraAttributes.d.ts +1 -0
  110. package/typings/classes/CameraFeed.d.ts +4 -0
  111. package/typings/classes/CanvasItem.d.ts +16 -1
  112. package/typings/classes/CodeEdit.d.ts +6 -0
  113. package/typings/classes/CollisionObject2D.d.ts +6 -0
  114. package/typings/classes/CollisionPolygon2D.d.ts +5 -0
  115. package/typings/classes/CollisionShape2D.d.ts +5 -0
  116. package/typings/classes/Container.d.ts +7 -0
  117. package/typings/classes/Control.d.ts +127 -9
  118. package/typings/classes/Curve.d.ts +26 -1
  119. package/typings/classes/Curve2D.d.ts +15 -0
  120. package/typings/classes/Curve3D.d.ts +20 -0
  121. package/typings/classes/DPITexture.d.ts +14 -0
  122. package/typings/classes/Decal.d.ts +1 -0
  123. package/typings/classes/Dictionary.d.ts +74 -28
  124. package/typings/classes/DirAccess.d.ts +6 -1
  125. package/typings/classes/DisplayServer.d.ts +161 -9
  126. package/typings/classes/DrawableTexture2D.d.ts +43 -0
  127. package/typings/classes/EditorCommandPalette.d.ts +0 -2
  128. package/typings/classes/EditorContextMenuPlugin.d.ts +4 -0
  129. package/typings/classes/EditorDock.d.ts +10 -5
  130. package/typings/classes/EditorExportPlatform.d.ts +4 -2
  131. package/typings/classes/EditorExportPlugin.d.ts +7 -0
  132. package/typings/classes/EditorFeatureProfile.d.ts +1 -1
  133. package/typings/classes/EditorFileSystem.d.ts +2 -0
  134. package/typings/classes/EditorInspector.d.ts +10 -0
  135. package/typings/classes/EditorInterface.d.ts +6 -4
  136. package/typings/classes/EditorNode3DGizmoPlugin.d.ts +4 -0
  137. package/typings/classes/EditorPlugin.d.ts +4 -4
  138. package/typings/classes/EditorResourcePicker.d.ts +2 -1
  139. package/typings/classes/EditorSceneFormatImporter.d.ts +23 -0
  140. package/typings/classes/EditorSettings.d.ts +241 -140
  141. package/typings/classes/EditorSpinSlider.d.ts +6 -0
  142. package/typings/classes/EditorTranslationParserPlugin.d.ts +4 -0
  143. package/typings/classes/EditorVCSInterface.d.ts +6 -2
  144. package/typings/classes/Environment.d.ts +7 -2
  145. package/typings/classes/FileAccess.d.ts +1 -1
  146. package/typings/classes/FileDialog.d.ts +16 -1
  147. package/typings/classes/FoldableContainer.d.ts +1 -1
  148. package/typings/classes/Font.d.ts +15 -3
  149. package/typings/classes/FontVariation.d.ts +10 -0
  150. package/typings/classes/GDScript.d.ts +8 -0
  151. package/typings/classes/GDScriptLanguageProtocol.d.ts +25 -0
  152. package/typings/classes/GDScriptSyntaxHighlighter.d.ts +6 -0
  153. package/typings/classes/GDScriptTextDocument.d.ts +27 -0
  154. package/typings/classes/GDScriptWorkspace.d.ts +17 -0
  155. package/typings/classes/GPUParticles2D.d.ts +2 -2
  156. package/typings/classes/GPUParticles3D.d.ts +19 -2
  157. package/typings/classes/Geometry2D.d.ts +2 -2
  158. package/typings/classes/GeometryInstance3D.d.ts +1 -1
  159. package/typings/classes/GradientTexture2D.d.ts +2 -0
  160. package/typings/classes/Image.d.ts +7 -4
  161. package/typings/classes/ImageFormatLoader.d.ts +5 -0
  162. package/typings/classes/ImageTexture.d.ts +0 -2
  163. package/typings/classes/ImporterMesh.d.ts +6 -0
  164. package/typings/classes/Input.d.ts +159 -15
  165. package/typings/classes/InputEvent.d.ts +8 -0
  166. package/typings/classes/InputEventGesture.d.ts +2 -3
  167. package/typings/classes/InputEventMouse.d.ts +2 -3
  168. package/typings/classes/InputEventMouseMotion.d.ts +2 -2
  169. package/typings/classes/InputEventWithModifiers.d.ts +2 -3
  170. package/typings/classes/InputMap.d.ts +3 -0
  171. package/typings/classes/ItemList.d.ts +29 -2
  172. package/typings/classes/IterateIK3D.d.ts +6 -3
  173. package/typings/classes/JavaClassWrapper.d.ts +13 -0
  174. package/typings/classes/JavaScriptBridge.d.ts +1 -1
  175. package/typings/classes/Joint3D.d.ts +1 -0
  176. package/typings/classes/Label.d.ts +1 -0
  177. package/typings/classes/LabelSettings.d.ts +25 -0
  178. package/typings/classes/Light3D.d.ts +1 -1
  179. package/typings/classes/Logger.d.ts +1 -1
  180. package/typings/classes/LookAtModifier3D.d.ts +2 -1
  181. package/typings/classes/MainLoop.d.ts +4 -0
  182. package/typings/classes/MenuButton.d.ts +35 -0
  183. package/typings/classes/MeshLibrary.d.ts +2 -0
  184. package/typings/classes/MovieWriter.d.ts +2 -0
  185. package/typings/classes/MultiplayerPeerExtension.d.ts +9 -9
  186. package/typings/classes/NativeMenu.d.ts +10 -3
  187. package/typings/classes/Node.d.ts +15 -5
  188. package/typings/classes/Node3D.d.ts +6 -4
  189. package/typings/classes/OS.d.ts +3 -3
  190. package/typings/classes/Object.d.ts +9 -3
  191. package/typings/classes/OptimizedTranslation.d.ts +2 -2
  192. package/typings/classes/OptionButton.d.ts +51 -1
  193. package/typings/classes/PCKPacker.d.ts +4 -0
  194. package/typings/classes/PacketPeerExtension.d.ts +1 -1
  195. package/typings/classes/ParticleProcessMaterial.d.ts +63 -0
  196. package/typings/classes/PhysicsDirectBodyState2D.d.ts +2 -1
  197. package/typings/classes/PhysicsDirectBodyState3D.d.ts +2 -1
  198. package/typings/classes/PhysicsDirectSpaceState2DExtension.d.ts +6 -6
  199. package/typings/classes/PhysicsDirectSpaceState3DExtension.d.ts +6 -6
  200. package/typings/classes/PhysicsServer2D.d.ts +2 -2
  201. package/typings/classes/PhysicsServer2DExtension.d.ts +6 -6
  202. package/typings/classes/PhysicsServer3D.d.ts +145 -42
  203. package/typings/classes/PhysicsServer3DExtension.d.ts +1 -1
  204. package/typings/classes/PopupMenu.d.ts +74 -8
  205. package/typings/classes/PopupPanel.d.ts +2 -0
  206. package/typings/classes/PortableCompressedTexture2D.d.ts +0 -2
  207. package/typings/classes/ProjectSettings.d.ts +62 -10
  208. package/typings/classes/Quaternion.d.ts +2 -2
  209. package/typings/classes/RDAccelerationStructureGeometry.d.ts +42 -0
  210. package/typings/classes/RDAccelerationStructureInstance.d.ts +34 -0
  211. package/typings/classes/RDHitGroup.d.ts +20 -0
  212. package/typings/classes/RDPipelineShader.d.ts +14 -0
  213. package/typings/classes/RDShaderSPIRV.d.ts +30 -0
  214. package/typings/classes/RDShaderSource.d.ts +10 -0
  215. package/typings/classes/RandomNumberGenerator.d.ts +4 -2
  216. package/typings/classes/RenderSceneBuffersConfiguration.d.ts +4 -1
  217. package/typings/classes/RenderingDevice.d.ts +175 -1
  218. package/typings/classes/RenderingServer.d.ts +264 -14
  219. package/typings/classes/Resource.d.ts +4 -2
  220. package/typings/classes/ResourceImporterDynamicFont.d.ts +3 -1
  221. package/typings/classes/ResourceImporterOBJ.d.ts +1 -1
  222. package/typings/classes/ResourceImporterSVG.d.ts +10 -0
  223. package/typings/classes/ResourceImporterScene.d.ts +11 -3
  224. package/typings/classes/ResourceImporterTexture.d.ts +2 -2
  225. package/typings/classes/RichTextLabel.d.ts +14 -6
  226. package/typings/classes/Script.d.ts +2 -0
  227. package/typings/classes/ScriptEditor.d.ts +13 -0
  228. package/typings/classes/ScriptLanguageExtension.d.ts +7 -0
  229. package/typings/classes/ScrollContainer.d.ts +17 -5
  230. package/typings/classes/Shader.d.ts +2 -0
  231. package/typings/classes/Shape3D.d.ts +1 -0
  232. package/typings/classes/SkeletonModification2DJiggle.d.ts +4 -0
  233. package/typings/classes/SplitContainer.d.ts +6 -0
  234. package/typings/classes/SpringBoneSimulator3D.d.ts +4 -2
  235. package/typings/classes/SpriteFrames.d.ts +20 -4
  236. package/typings/classes/StreamPeerExtension.d.ts +2 -2
  237. package/typings/classes/String.d.ts +1 -1
  238. package/typings/classes/SubViewport.d.ts +4 -0
  239. package/typings/classes/TabBar.d.ts +20 -0
  240. package/typings/classes/TabContainer.d.ts +21 -3
  241. package/typings/classes/TextEdit.d.ts +5 -2
  242. package/typings/classes/TextServer.d.ts +25 -1
  243. package/typings/classes/TextServerExtension.d.ts +25 -1
  244. package/typings/classes/Texture2D.d.ts +14 -0
  245. package/typings/classes/TextureRect.d.ts +4 -1
  246. package/typings/classes/TileSet.d.ts +3 -1
  247. package/typings/classes/Tree.d.ts +25 -9
  248. package/typings/classes/TreeItem.d.ts +17 -2
  249. package/typings/classes/Tween.d.ts +13 -0
  250. package/typings/classes/UndoRedo.d.ts +2 -2
  251. package/typings/classes/Vector2.d.ts +4 -2
  252. package/typings/classes/Vector2i.d.ts +4 -2
  253. package/typings/classes/Vector3.d.ts +4 -2
  254. package/typings/classes/Vector3i.d.ts +4 -2
  255. package/typings/classes/Vector4.d.ts +4 -2
  256. package/typings/classes/Vector4i.d.ts +4 -2
  257. package/typings/classes/Viewport.d.ts +27 -1
  258. package/typings/classes/VirtualJoystick.d.ts +94 -0
  259. package/typings/classes/VoxelGIData.d.ts +10 -0
  260. package/typings/classes/Window.d.ts +41 -4
  261. package/typings/classes/XRCamera3D.d.ts +1 -1
  262. package/typings/classes/XRServer.d.ts +2 -0
  263. package/typings/classes/_globals.d.ts +55 -18
  264. package/typings/classes/index.d.ts +15 -112
  265. package/typings/globals/globals.d.ts +20 -0
  266. package/typings/godot-class-registry.json +2120 -3693
  267. package/typings-overrides/dictionary.d.ts +35 -15
  268. package/typings-overrides/object-dict.d.ts +43 -0
  269. package/typings/classes/VisualShader.d.ts +0 -110
  270. package/typings/classes/VisualShaderNode.d.ts +0 -63
  271. package/typings/classes/VisualShaderNodeBillboard.d.ts +0 -28
  272. package/typings/classes/VisualShaderNodeBooleanConstant.d.ts +0 -10
  273. package/typings/classes/VisualShaderNodeBooleanParameter.d.ts +0 -14
  274. package/typings/classes/VisualShaderNodeClamp.d.ts +0 -26
  275. package/typings/classes/VisualShaderNodeColorConstant.d.ts +0 -10
  276. package/typings/classes/VisualShaderNodeColorFunc.d.ts +0 -32
  277. package/typings/classes/VisualShaderNodeColorOp.d.ts +0 -32
  278. package/typings/classes/VisualShaderNodeColorParameter.d.ts +0 -14
  279. package/typings/classes/VisualShaderNodeComment.d.ts +0 -12
  280. package/typings/classes/VisualShaderNodeCompare.d.ts +0 -68
  281. package/typings/classes/VisualShaderNodeConstant.d.ts +0 -6
  282. package/typings/classes/VisualShaderNodeCubemap.d.ts +0 -43
  283. package/typings/classes/VisualShaderNodeCubemapParameter.d.ts +0 -6
  284. package/typings/classes/VisualShaderNodeCurveTexture.d.ts +0 -10
  285. package/typings/classes/VisualShaderNodeCurveXYZTexture.d.ts +0 -10
  286. package/typings/classes/VisualShaderNodeCustom.d.ts +0 -122
  287. package/typings/classes/VisualShaderNodeDerivativeFunc.d.ts +0 -56
  288. package/typings/classes/VisualShaderNodeDeterminant.d.ts +0 -6
  289. package/typings/classes/VisualShaderNodeDistanceFade.d.ts +0 -6
  290. package/typings/classes/VisualShaderNodeDotProduct.d.ts +0 -6
  291. package/typings/classes/VisualShaderNodeExpression.d.ts +0 -12
  292. package/typings/classes/VisualShaderNodeFaceForward.d.ts +0 -8
  293. package/typings/classes/VisualShaderNodeFloatConstant.d.ts +0 -10
  294. package/typings/classes/VisualShaderNodeFloatFunc.d.ts +0 -108
  295. package/typings/classes/VisualShaderNodeFloatOp.d.ts +0 -36
  296. package/typings/classes/VisualShaderNodeFloatParameter.d.ts +0 -52
  297. package/typings/classes/VisualShaderNodeFrame.d.ts +0 -35
  298. package/typings/classes/VisualShaderNodeFresnel.d.ts +0 -6
  299. package/typings/classes/VisualShaderNodeGlobalExpression.d.ts +0 -6
  300. package/typings/classes/VisualShaderNodeGroupBase.d.ts +0 -60
  301. package/typings/classes/VisualShaderNodeIf.d.ts +0 -8
  302. package/typings/classes/VisualShaderNodeInput.d.ts +0 -20
  303. package/typings/classes/VisualShaderNodeIntConstant.d.ts +0 -10
  304. package/typings/classes/VisualShaderNodeIntFunc.d.ts +0 -24
  305. package/typings/classes/VisualShaderNodeIntOp.d.ts +0 -48
  306. package/typings/classes/VisualShaderNodeIntParameter.d.ts +0 -58
  307. package/typings/classes/VisualShaderNodeIs.d.ts +0 -18
  308. package/typings/classes/VisualShaderNodeLinearSceneDepth.d.ts +0 -6
  309. package/typings/classes/VisualShaderNodeMix.d.ts +0 -28
  310. package/typings/classes/VisualShaderNodeMultiplyAdd.d.ts +0 -22
  311. package/typings/classes/VisualShaderNodeOuterProduct.d.ts +0 -6
  312. package/typings/classes/VisualShaderNodeOutput.d.ts +0 -6
  313. package/typings/classes/VisualShaderNodeParameter.d.ts +0 -32
  314. package/typings/classes/VisualShaderNodeParameterRef.d.ts +0 -10
  315. package/typings/classes/VisualShaderNodeParticleAccelerator.d.ts +0 -20
  316. package/typings/classes/VisualShaderNodeParticleBoxEmitter.d.ts +0 -6
  317. package/typings/classes/VisualShaderNodeParticleConeVelocity.d.ts +0 -6
  318. package/typings/classes/VisualShaderNodeParticleEmit.d.ts +0 -22
  319. package/typings/classes/VisualShaderNodeParticleEmitter.d.ts +0 -12
  320. package/typings/classes/VisualShaderNodeParticleMeshEmitter.d.ts +0 -20
  321. package/typings/classes/VisualShaderNodeParticleMultiplyByAxisAngle.d.ts +0 -10
  322. package/typings/classes/VisualShaderNodeParticleOutput.d.ts +0 -6
  323. package/typings/classes/VisualShaderNodeParticleRandomness.d.ts +0 -22
  324. package/typings/classes/VisualShaderNodeParticleRingEmitter.d.ts +0 -6
  325. package/typings/classes/VisualShaderNodeParticleSphereEmitter.d.ts +0 -6
  326. package/typings/classes/VisualShaderNodeProximityFade.d.ts +0 -6
  327. package/typings/classes/VisualShaderNodeRandomRange.d.ts +0 -6
  328. package/typings/classes/VisualShaderNodeRemap.d.ts +0 -33
  329. package/typings/classes/VisualShaderNodeReroute.d.ts +0 -8
  330. package/typings/classes/VisualShaderNodeResizableBase.d.ts +0 -10
  331. package/typings/classes/VisualShaderNodeRotationByAxis.d.ts +0 -6
  332. package/typings/classes/VisualShaderNodeSDFRaymarch.d.ts +0 -6
  333. package/typings/classes/VisualShaderNodeSDFToScreenUV.d.ts +0 -8
  334. package/typings/classes/VisualShaderNodeSample3D.d.ts +0 -18
  335. package/typings/classes/VisualShaderNodeScreenNormalWorldSpace.d.ts +0 -6
  336. package/typings/classes/VisualShaderNodeScreenUVToSDF.d.ts +0 -8
  337. package/typings/classes/VisualShaderNodeSmoothStep.d.ts +0 -28
  338. package/typings/classes/VisualShaderNodeStep.d.ts +0 -28
  339. package/typings/classes/VisualShaderNodeSwitch.d.ts +0 -30
  340. package/typings/classes/VisualShaderNodeTexture.d.ts +0 -57
  341. package/typings/classes/VisualShaderNodeTexture2DArray.d.ts +0 -12
  342. package/typings/classes/VisualShaderNodeTexture2DArrayParameter.d.ts +0 -6
  343. package/typings/classes/VisualShaderNodeTexture2DParameter.d.ts +0 -6
  344. package/typings/classes/VisualShaderNodeTexture3D.d.ts +0 -12
  345. package/typings/classes/VisualShaderNodeTexture3DParameter.d.ts +0 -6
  346. package/typings/classes/VisualShaderNodeTextureParameter.d.ts +0 -104
  347. package/typings/classes/VisualShaderNodeTextureParameterTriplanar.d.ts +0 -6
  348. package/typings/classes/VisualShaderNodeTextureSDF.d.ts +0 -6
  349. package/typings/classes/VisualShaderNodeTextureSDFNormal.d.ts +0 -6
  350. package/typings/classes/VisualShaderNodeTransformCompose.d.ts +0 -6
  351. package/typings/classes/VisualShaderNodeTransformConstant.d.ts +0 -10
  352. package/typings/classes/VisualShaderNodeTransformDecompose.d.ts +0 -6
  353. package/typings/classes/VisualShaderNodeTransformFunc.d.ts +0 -18
  354. package/typings/classes/VisualShaderNodeTransformOp.d.ts +0 -32
  355. package/typings/classes/VisualShaderNodeTransformParameter.d.ts +0 -14
  356. package/typings/classes/VisualShaderNodeTransformVecMult.d.ts +0 -22
  357. package/typings/classes/VisualShaderNodeUIntConstant.d.ts +0 -10
  358. package/typings/classes/VisualShaderNodeUIntFunc.d.ts +0 -20
  359. package/typings/classes/VisualShaderNodeUIntOp.d.ts +0 -48
  360. package/typings/classes/VisualShaderNodeUIntParameter.d.ts +0 -16
  361. package/typings/classes/VisualShaderNodeUVFunc.d.ts +0 -22
  362. package/typings/classes/VisualShaderNodeUVPolarCoord.d.ts +0 -6
  363. package/typings/classes/VisualShaderNodeVarying.d.ts +0 -14
  364. package/typings/classes/VisualShaderNodeVaryingGetter.d.ts +0 -6
  365. package/typings/classes/VisualShaderNodeVaryingSetter.d.ts +0 -6
  366. package/typings/classes/VisualShaderNodeVec2Constant.d.ts +0 -10
  367. package/typings/classes/VisualShaderNodeVec2Parameter.d.ts +0 -14
  368. package/typings/classes/VisualShaderNodeVec3Constant.d.ts +0 -10
  369. package/typings/classes/VisualShaderNodeVec3Parameter.d.ts +0 -14
  370. package/typings/classes/VisualShaderNodeVec4Constant.d.ts +0 -10
  371. package/typings/classes/VisualShaderNodeVec4Parameter.d.ts +0 -14
  372. package/typings/classes/VisualShaderNodeVectorBase.d.ts +0 -20
  373. package/typings/classes/VisualShaderNodeVectorCompose.d.ts +0 -8
  374. package/typings/classes/VisualShaderNodeVectorDecompose.d.ts +0 -8
  375. package/typings/classes/VisualShaderNodeVectorDistance.d.ts +0 -6
  376. package/typings/classes/VisualShaderNodeVectorFunc.d.ts +0 -84
  377. package/typings/classes/VisualShaderNodeVectorLen.d.ts +0 -6
  378. package/typings/classes/VisualShaderNodeVectorOp.d.ts +0 -42
  379. package/typings/classes/VisualShaderNodeVectorRefract.d.ts +0 -8
  380. package/typings/classes/VisualShaderNodeWorldPositionFromDepth.d.ts +0 -8
@@ -58,6 +58,10 @@ declare class Window extends Viewport {
58
58
  extend_to_title: boolean;
59
59
  /** If `true`, native window will be used regardless of parent viewport and project settings. */
60
60
  force_native: boolean;
61
+ /**
62
+ * If `true`, requests HDR output for the {@link Window}, falling back to SDR if not supported, and automatically switching between HDR and SDR as the window moves between screens, screen capabilities change, or system settings are modified. This will internally force {@link Viewport.use_hdr_2d} to be enabled on the main {@link Viewport}. All other {@link SubViewport} of this {@link Window} must have their {@link Viewport.use_hdr_2d} property enabled to produce HDR output.
63
+ */
64
+ hdr_output_requested: boolean;
61
65
  /** Specifies the initial type of position for the {@link Window}. */
62
66
  initial_position: int;
63
67
  /** If `true`, the {@link Window} width is expanded to keep the title bar text fully visible. */
@@ -193,6 +197,8 @@ declare class Window extends Viewport {
193
197
  is_exclusive(): boolean;
194
198
  set_force_native(value: boolean): void;
195
199
  get_force_native(): boolean;
200
+ set_hdr_output_requested(value: boolean): void;
201
+ is_hdr_output_requested(): boolean;
196
202
  set_initial_position(value: int): void;
197
203
  get_initial_position(): int;
198
204
  set_keep_title_visible(value: boolean): void;
@@ -281,6 +287,12 @@ declare class Window extends Viewport {
281
287
  static get_focused_window(): Window | null;
282
288
  /** Returns layout direction and text writing direction. */
283
289
  get_layout_direction(): int;
290
+ /**
291
+ * Returns the maximum value for linear color components that can be displayed in this window, regardless of SDR or HDR output. Returns `1.0` if HDR is not enabled or not supported. The {@link output_max_linear_value_changed} signal will be emitted whenever this value changes.
292
+ * 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. When using this maximum linear value in your project, it should only be used to present colors directly to the screen without tonemapping and without influencing lighting, post-processing effects, or surrounding color. The following is an example that produces the brightest purple color that the screen can produce:
293
+ * **Note:** You will need to convert sRGB colors to linear before multiplying by this value to get correct results.
294
+ */
295
+ get_output_max_linear_value(): float;
284
296
  /**
285
297
  * Returns the window's position including its border.
286
298
  * **Note:** If {@link visible} is `false`, this method returns the same value as {@link position}.
@@ -513,6 +525,17 @@ declare class Window extends Viewport {
513
525
  * Sets layout direction and text writing direction. Right-to-left layouts are necessary for certain languages (e.g. Arabic and Hebrew).
514
526
  */
515
527
  set_layout_direction(direction: int): void;
528
+ /**
529
+ * Sets the type and state of the progress bar on the taskbar/dock icon of the {@link Window}. See {@link DisplayServer.ProgressState} for possible values and how each mode behaves.
530
+ * **Note:** This method is implemented only on Windows and macOS.
531
+ */
532
+ set_taskbar_progress_state(state: int): void;
533
+ /**
534
+ * Creates a progress bar on the taskbar/dock icon of the {@link Window} if it does not exist, sets the progress of the icon.
535
+ * `value` acts as a relative percentage value, ranges from `0.0` (lowest) to `1.0` (highest).
536
+ * **Note:** This method is implemented only on Windows and macOS.
537
+ */
538
+ set_taskbar_progress_value(value: float): void;
516
539
  /**
517
540
  * If `unparent` is `true`, the window is automatically unparented when going invisible.
518
541
  * **Note:** Make sure to keep a reference to the node, otherwise it will be orphaned. You also need to manually call {@link Node.queue_free} to free the window if it's not parented.
@@ -570,6 +593,10 @@ declare class Window extends Viewport {
570
593
  * Emitted when the mouse event is received by the custom decoration area defined by {@link nonclient_area}, and normal input to the window is blocked (such as when it has an exclusive child opened). `event`'s position is in the embedder's coordinate system.
571
594
  */
572
595
  nonclient_window_input: Signal<[InputEvent]>;
596
+ /**
597
+ * Emitted when the output max linear value returned by {@link Window.get_output_max_linear_value} has changed. This occurs when HDR output is enabled or disabled and when any HDR output luminance values of the window have changed, such as when the player adjusts their screen brightness setting or moves the window to a different screen. `output_max_linear_value` is the new value.
598
+ */
599
+ output_max_linear_value_changed: Signal<[float]>;
573
600
  /** Emitted when the {@link NOTIFICATION_THEME_CHANGED} notification is sent. */
574
601
  theme_changed: Signal<[]>;
575
602
  /** Emitted when window title bar text is changed. */
@@ -621,39 +648,45 @@ declare class Window extends Viewport {
621
648
  // enum Flags
622
649
  /**
623
650
  * The window can't be resized by dragging its resize grip. It's still possible to resize the window using {@link size}. This flag is ignored for full screen windows. Set with {@link unresizable}.
651
+ * **Note:** This flag is implemented on Linux (X11), macOS, Windows, and embedded windows.
624
652
  */
625
653
  static readonly FLAG_RESIZE_DISABLED: int;
626
654
  /**
627
655
  * The window do not have native title bar and other decorations. This flag is ignored for full-screen windows. Set with {@link borderless}.
656
+ * **Note:** This flag is implemented on Linux (X11/Wayland), macOS, Windows, and embedded windows.
628
657
  */
629
658
  static readonly FLAG_BORDERLESS: int;
630
659
  /**
631
660
  * The window is floating on top of all other windows. This flag is ignored for full-screen windows. Set with {@link always_on_top}.
661
+ * **Note:** This flag is implemented on Linux (X11), macOS, Windows, and embedded windows.
632
662
  */
633
663
  static readonly FLAG_ALWAYS_ON_TOP: int;
634
664
  /**
635
665
  * The window background can be transparent. Set with {@link transparent}.
636
666
  * **Note:** This flag has no effect if either {@link ProjectSettings.display/window/per_pixel_transparency/allowed}, or the window's {@link Viewport.transparent_bg} is set to `false`.
667
+ * **Note:** Transparency support is implemented on Linux (X11/Wayland), macOS, Windows, and embedded windows.
637
668
  */
638
669
  static readonly FLAG_TRANSPARENT: int;
639
670
  /**
640
671
  * The window can't be focused. No-focus window will ignore all input, except mouse clicks. Set with {@link unfocusable}.
672
+ * **Note:** This flag is implemented on Linux (X11), macOS, Windows, and embedded windows.
641
673
  */
642
674
  static readonly FLAG_NO_FOCUS: int;
643
675
  /**
644
676
  * Window is part of menu or {@link OptionButton} dropdown. This flag can't be changed when the window is visible. An active popup window will exclusively receive all input, without stealing focus from its parent. Popup windows are automatically closed when uses click outside it, or when an application is switched. Popup window must have transient parent set (see {@link transient}).
645
- * **Note:** This flag has no effect in embedded windows (unless said window is a {@link Popup}).
677
+ * **Note:** This flag is implemented on Linux (X11/Wayland), macOS, Windows, and embedded {@link Popup} windows.
646
678
  */
647
679
  static readonly FLAG_POPUP: int;
648
680
  /**
649
681
  * Window content is expanded to the full size of the window. Unlike borderless window, the frame is left intact and can be used to resize the window, title bar is transparent, but have minimize/maximize/close buttons. Set with {@link extend_to_title}.
650
- * **Note:** This flag is implemented only on macOS.
651
682
  * **Note:** This flag has no effect in embedded windows.
683
+ * **Note:** This flag is implemented only on macOS.
652
684
  */
653
685
  static readonly FLAG_EXTEND_TO_TITLE: int;
654
686
  /**
655
687
  * All mouse events are passed to the underlying window of the same application.
656
688
  * **Note:** This flag has no effect in embedded windows.
689
+ * **Note:** This flag is implemented on Linux (X11), macOS, Windows.
657
690
  */
658
691
  static readonly FLAG_MOUSE_PASSTHROUGH: int;
659
692
  /**
@@ -671,16 +704,20 @@ declare class Window extends Viewport {
671
704
  static readonly FLAG_EXCLUDE_FROM_CAPTURE: int;
672
705
  /**
673
706
  * Signals the window manager that this window is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window).
707
+ * **Note:** This flag has no effect in embedded windows.
708
+ * **Note:** This flag is implemented on Linux (Wayland).
674
709
  */
675
710
  static readonly FLAG_POPUP_WM_HINT: int;
676
711
  /**
677
712
  * Window minimize button is disabled.
678
- * **Note:** This flag is implemented on macOS and Windows.
713
+ * **Note:** This flag has no effect in embedded windows.
714
+ * **Note:** This flag is implemented on Linux (X11), macOS, and Windows.
679
715
  */
680
716
  static readonly FLAG_MINIMIZE_DISABLED: int;
681
717
  /**
682
718
  * Window maximize button is disabled.
683
- * **Note:** This flag is implemented on macOS and Windows.
719
+ * **Note:** This flag has no effect in embedded windows.
720
+ * **Note:** This flag is implemented on Linux (X11), macOS, and Windows.
684
721
  */
685
722
  static readonly FLAG_MAXIMIZE_DISABLED: int;
686
723
  /** Max value of the {@link Flags}. */
@@ -1,7 +1,7 @@
1
1
  // AUTO-GENERATED from Godot class documentation.
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
- /** A camera node with a few overrules for AR/VR applied, such as location tracking. */
4
+ /** A camera node which automatically positions itself based on XR tracking data. */
5
5
  declare class XRCamera3D extends Camera3D {
6
6
  physics_interpolation_mode: int;
7
7
  }
@@ -88,6 +88,8 @@ declare interface XRServer extends GodotObject {
88
88
  * Emitted when an existing tracker has been updated. This can happen if the user switches controllers.
89
89
  */
90
90
  tracker_updated: Signal<[string, int]>;
91
+ /** Emitted when the world origin transform changes. */
92
+ world_origin_changed: Signal<[]>;
91
93
 
92
94
  // enum TrackerType
93
95
  /**
@@ -289,7 +289,7 @@ declare function lerpf(from_: float, to: float, weight: float): float;
289
289
  */
290
290
  declare function linear_to_db(lin: float): float;
291
291
  /**
292
- * Returns the natural logarithm (https://en.wikipedia.org/wiki/Natural_logarithm) of `x` (base *e* (https://en.wikipedia.org/wiki/E_(mathematical_constant)), with *e* being approximately 2.71828). This is the amount of time needed to reach a certain level of continuous growth.
292
+ * Returns the natural logarithm (https://en.wikipedia.org/wiki/Natural_logarithm) of `x` (base e (https://en.wikipedia.org/wiki/E_(mathematical_constant)), with *e* being approximately 2.71828). This is the amount of time needed to reach a certain level of continuous growth.
293
293
  * **Note:** This is not the same as the "log" function on most calculators, which uses a base 10 logarithm. To use base 10 logarithm, use `log(x) / log(10)`.
294
294
  * **Note:** The logarithm of `0` returns `-inf`, while negative values return `-nan`.
295
295
  */
@@ -715,27 +715,27 @@ declare const enum InlineAlignment {
715
715
 
716
716
  declare const enum EulerOrder {
717
717
  /**
718
- * Specifies that Euler angles should be in XYZ order. When composing, the order is X, Y, Z. When decomposing, the order is reversed, first Z, then Y, and X last.
718
+ * Specifies that Euler angles should be in intrinsic XYZ order. When composing, the rotations happen around the local X, Y, and Z axes, in that order. When decomposing, the order is reversed, first Z, then Y, and X last.
719
719
  */
720
720
  EULER_ORDER_XYZ = 0,
721
721
  /**
722
- * Specifies that Euler angles should be in XZY order. When composing, the order is X, Z, Y. When decomposing, the order is reversed, first Y, then Z, and X last.
722
+ * Specifies that Euler angles should be in intrinsic XZY order. When composing, the rotations happen around the local X, Z, and Y axes, in that order. When decomposing, the order is reversed, first Y, then Z, and X last.
723
723
  */
724
724
  EULER_ORDER_XZY = 1,
725
725
  /**
726
- * Specifies that Euler angles should be in YXZ order. When composing, the order is Y, X, Z. When decomposing, the order is reversed, first Z, then X, and Y last.
726
+ * Specifies that Euler angles should be in intrinsic YXZ order. When composing, the rotations happen around the local Y, X, and Z axes, in that order. When decomposing, the order is reversed, first Z, then X, and Y last.
727
727
  */
728
728
  EULER_ORDER_YXZ = 2,
729
729
  /**
730
- * Specifies that Euler angles should be in YZX order. When composing, the order is Y, Z, X. When decomposing, the order is reversed, first X, then Z, and Y last.
730
+ * Specifies that Euler angles should be in intrinsic YZX order. When composing, the rotations happen around the local Y, Z, and X axes, in that order. When decomposing, the order is reversed, first X, then Z, and Y last.
731
731
  */
732
732
  EULER_ORDER_YZX = 3,
733
733
  /**
734
- * Specifies that Euler angles should be in ZXY order. When composing, the order is Z, X, Y. When decomposing, the order is reversed, first Y, then X, and Z last.
734
+ * Specifies that Euler angles should be in intrinsic ZXY order. When composing, the rotations happen around the local Z, X, and Y axes, in that order. When decomposing, the order is reversed, first Y, then X, and Z last.
735
735
  */
736
736
  EULER_ORDER_ZXY = 4,
737
737
  /**
738
- * Specifies that Euler angles should be in ZYX order. When composing, the order is Z, Y, X. When decomposing, the order is reversed, first X, then Y, and Z last.
738
+ * Specifies that Euler angles should be in intrinsic ZYX order. When composing, the rotations happen around the local Z, Y, and X axes, in that order. When decomposing, the order is reversed, first X, then Y, and Z last.
739
739
  */
740
740
  EULER_ORDER_ZYX = 5,
741
741
  }
@@ -1132,9 +1132,9 @@ declare const enum Key {
1132
1132
  }
1133
1133
 
1134
1134
  declare const enum KeyModifierMask {
1135
- /** Key Code mask. */
1135
+ /** Bit mask with all bits enabled except for modifier keys. Apply it to remove modifiers. */
1136
1136
  KEY_CODE_MASK = 8388607,
1137
- /** Modifier key mask. */
1137
+ /** Bit mask with all modifier bits enabled. Apply it to isolate modifiers. */
1138
1138
  KEY_MODIFIER_MASK = 2130706432,
1139
1139
  /**
1140
1140
  * Automatically remapped to {@link KEY_META} on macOS and {@link KEY_CTRL} on other platforms, this mask is never set in the actual events, and should be used for key mapping only.
@@ -1259,8 +1259,20 @@ declare const enum JoyButton {
1259
1259
  JOY_BUTTON_PADDLE4 = 19,
1260
1260
  /** Game controller SDL touchpad button. */
1261
1261
  JOY_BUTTON_TOUCHPAD = 20,
1262
+ /**
1263
+ * Game controller SDL miscellaneous button. Used by Nintendo Switch 2 Pro Controller and Horipad Steam controllers.
1264
+ */
1265
+ JOY_BUTTON_MISC2 = 21,
1266
+ /** Game controller SDL miscellaneous button. */
1267
+ JOY_BUTTON_MISC3 = 22,
1268
+ /** Game controller SDL miscellaneous button. */
1269
+ JOY_BUTTON_MISC4 = 23,
1270
+ /** Game controller SDL miscellaneous button. */
1271
+ JOY_BUTTON_MISC5 = 24,
1272
+ /** Game controller SDL miscellaneous button. */
1273
+ JOY_BUTTON_MISC6 = 25,
1262
1274
  /** The number of SDL game controller buttons. */
1263
- JOY_BUTTON_SDL_MAX = 21,
1275
+ JOY_BUTTON_SDL_MAX = 26,
1264
1276
  /**
1265
1277
  * The maximum number of game controller buttons supported by the engine. The actual limit may be lower on specific platforms:
1266
1278
  * - **Android:** Up to 36 buttons.
@@ -1471,15 +1483,17 @@ declare const enum Error {
1471
1483
  * **Note:** If a built-in method returns this code, please open an issue on the GitHub Issue Tracker (https://github.com/godotengine/godot/issues).
1472
1484
  */
1473
1485
  ERR_BUG = 47,
1474
- /** Printer on fire error (This is an easter egg, no built-in methods return this error code). */
1486
+ /** Printer on fire error (this is an easter egg, no built-in methods return this error code). */
1475
1487
  ERR_PRINTER_ON_FIRE = 48,
1476
1488
  }
1477
1489
 
1478
1490
  declare const enum PropertyHint {
1479
- /** The property has no hint for the editor. */
1491
+ /**
1492
+ * The property has no hint for the editor. However, the hint string is still read, which can be used to specify a suffix for a property that has no range limit (see {@link PROPERTY_HINT_RANGE}'s description).
1493
+ */
1480
1494
  PROPERTY_HINT_NONE = 0,
1481
1495
  /**
1482
- * Hints that an [int] or [float] property should be within a range specified via the hint string `"min,max"` or `"min,max,step"`. The hint string can optionally include `"or_greater"` and/or `"or_less"` to allow manual input going respectively above the max or below the min values.
1496
+ * Hints that an [int], [float], or packed/typed {@link Array} property containing [int] or [float] types should be within a range specified via the hint string `"min,max"` or `"min,max,step"`. The hint string can optionally include `"or_greater"` and/or `"or_less"` to allow manual input going respectively above the max or below the min values.
1483
1497
  * **Example:** `"-360,360,1,or_greater,or_less"`.
1484
1498
  * Additionally, other keywords can be included: `"exp"` for exponential range editing, `"radians_as_degrees"` for editing radian angles in degrees (the range values are also in degrees), `"degrees"` to hint at an angle, `"prefer_slider"` to show the slider for integers, `"hide_control"` to hide the slider or up-down arrows, and `"suffix:px/s"` to display a suffix indicating the value's unit (e.g. `px/s` for pixels per second).
1485
1499
  */
@@ -1495,11 +1509,11 @@ declare const enum PropertyHint {
1495
1509
  */
1496
1510
  PROPERTY_HINT_ENUM_SUGGESTION = 3,
1497
1511
  /**
1498
- * Hints that a [float] property should be edited via an exponential easing function. The hint string can include `"attenuation"` to flip the curve horizontally and/or `"positive_only"` to exclude in/out easing and limit values to be greater than or equal to zero.
1512
+ * Hints that a [float] property should be edited using a curve editor showing an exponential easing function. The hint string can include `"attenuation"` to flip the curve horizontally and/or `"positive_only"` to exclude in/out easing and limit values to be greater than or equal to zero. This displays differently to a property that uses {@link PROPERTY_HINT_RANGE} with the `"exp"` keyword, as it's edited with a slider instead of a curve editor.
1499
1513
  */
1500
1514
  PROPERTY_HINT_EXP_EASING = 4,
1501
1515
  /**
1502
- * Hints that a vector property should allow its components to be linked. For example, this allows {@link Vector2.x} and {@link Vector2.y} to be edited together.
1516
+ * Hints that a vector property should allow its components to be linked. For example, this allows {@link Vector2.x} and {@link Vector2.y} to be edited together. This hint is supported on {@link Vector2}, {@link Vector2i}, {@link Vector3}, {@link Vector3i}, {@link Vector4}, and {@link Vector4i}. The hint string can be used to specify a suffix indicating each value's unit with the `"suffix:px/s"` syntax.
1503
1517
  */
1504
1518
  PROPERTY_HINT_LINK = 5,
1505
1519
  /**
@@ -1909,6 +1923,29 @@ declare const enum Variant_Operator {
1909
1923
  OP_MAX = 25,
1910
1924
  }
1911
1925
 
1926
+
1927
+ /** Maximum value of an 8-bit unsigned integer. */
1928
+ declare const UINT8_MAX: int;
1929
+ /** Maximum value of a 16-bit unsigned integer. */
1930
+ declare const UINT16_MAX: int;
1931
+ /** Maximum value of a 32-bit unsigned integer. */
1932
+ declare const UINT32_MAX: int;
1933
+ /** Minimum value of an 8-bit signed integer. */
1934
+ declare const INT8_MIN: int;
1935
+ /** Maximum value of an 8-bit signed integer. */
1936
+ declare const INT8_MAX: int;
1937
+ /** Minimum value of a 16-bit signed integer. */
1938
+ declare const INT16_MIN: int;
1939
+ /** Maximum value of a 16-bit signed integer. */
1940
+ declare const INT16_MAX: int;
1941
+ /** Minimum value of a 32-bit signed integer. */
1942
+ declare const INT32_MIN: int;
1943
+ /** Maximum value of a 32-bit signed integer. */
1944
+ declare const INT32_MAX: int;
1945
+ /** Minimum value of a 64-bit signed integer. */
1946
+ declare const INT64_MIN: int;
1947
+ /** Maximum value of a 64-bit signed integer. */
1948
+ declare const INT64_MAX: int;
1912
1949
  // @GDScript — built-in constants, functions, and annotations
1913
1950
 
1914
1951
  /**
@@ -1937,7 +1974,7 @@ declare const NAN: float;
1937
1974
  */
1938
1975
  declare function Color8(r8: int, g8: int, b8: int, a8?: int): Color;
1939
1976
  /**
1940
- * Asserts that the `condition` is `true`. If the `condition` is `false`, an error is generated. When running from the editor, the running project will also be paused until you resume it. This can be used as a stronger form of {@link @GlobalScope.push_error} for reporting errors to project developers or add-on users.
1977
+ * Asserts that the `condition` is `true`. If the `condition` is `false`, an error is generated and the current method returns a default value. When running from the editor, failed asserts also cause a debugger break. This can be used as a stronger form of {@link @GlobalScope.push_error} for reporting errors to project developers or add-on users.
1941
1978
  * An optional `message` can be shown in addition to the generic "Assertion failed" message. You can use this to provide additional details about why the assertion failed.
1942
1979
  * **Warning:** For performance reasons, the code inside {@link assert} is only executed in debug builds or when running the project from the editor. Don't include code that has side effects in an {@link assert} call. Otherwise, the project will behave differently when exported in release mode.
1943
1980
  * **Note:** {@link assert} is a keyword, not a function. So you cannot access it as a {@link Callable} or use it inside expressions.
@@ -1982,10 +2019,10 @@ declare function inst_to_dict(instance: GodotObject): Dictionary;
1982
2019
  * - A constant from the {@link Variant.Type} enumeration, for example {@link TYPE_INT}.
1983
2020
  * - An {@link Object}-derived class which exists in {@link ClassDB}, for example {@link Node}.
1984
2021
  * - A {@link Script} (you can use any class, including inner one).
1985
- * Unlike the right operand of the `is` operator, `type` can be a non-constant value. The `is` operator supports more features (such as typed arrays). Use the operator instead of this method if you do not need to check the type dynamically.
2022
+ * Unlike the right operand of the `is` operator, `type` can be a non-constant value. The `is` operator supports more features (such as typed arrays and dictionaries). Use the operator instead of this method if you do not need to check the type dynamically.
1986
2023
  * **Examples:**
1987
2024
  * **Note:** If `value` and/or `type` are freed objects (see {@link @GlobalScope.is_instance_valid}), or `type` is not one of the above options, this method will raise a runtime error.
1988
- * See also {@link @GlobalScope.typeof}, {@link type_exists}, {@link Array.is_same_typed} (and other {@link Array} methods).
2025
+ * See also {@link @GlobalScope.typeof}, {@link Object.is_class}, {@link Object.get_script}, {@link Array.is_same_typed} (and other {@link Array} methods), {@link Dictionary.is_same_typed} (and other {@link Dictionary} methods).
1989
2026
  */
1990
2027
  declare function is_instance_of(value: unknown, type_: unknown): boolean;
1991
2028
  /**
@@ -4,6 +4,7 @@
4
4
  /// <reference path="AStar3D.d.ts" />
5
5
  /// <reference path="AStarGrid2D.d.ts" />
6
6
  /// <reference path="AcceptDialog.d.ts" />
7
+ /// <reference path="AccessibilityServer.d.ts" />
7
8
  /// <reference path="AimModifier3D.d.ts" />
8
9
  /// <reference path="AnimatableBody2D.d.ts" />
9
10
  /// <reference path="AnimatableBody3D.d.ts" />
@@ -38,6 +39,7 @@
38
39
  /// <reference path="AnimationTree.d.ts" />
39
40
  /// <reference path="Area2D.d.ts" />
40
41
  /// <reference path="Area3D.d.ts" />
42
+ /// <reference path="AreaLight3D.d.ts" />
41
43
  /// <reference path="Array.d.ts" />
42
44
  /// <reference path="ArrayMesh.d.ts" />
43
45
  /// <reference path="ArrayOccluder3D.d.ts" />
@@ -92,11 +94,13 @@
92
94
  /// <reference path="AudioStreamPolyphonic.d.ts" />
93
95
  /// <reference path="AudioStreamRandomizer.d.ts" />
94
96
  /// <reference path="AudioStreamWAV.d.ts" />
97
+ /// <reference path="AwaitTweener.d.ts" />
95
98
  /// <reference path="BackBufferCopy.d.ts" />
96
99
  /// <reference path="BaseButton.d.ts" />
97
100
  /// <reference path="BaseMaterial3D.d.ts" />
98
101
  /// <reference path="Basis.d.ts" />
99
102
  /// <reference path="BitMap.d.ts" />
103
+ /// <reference path="BlitMaterial.d.ts" />
100
104
  /// <reference path="Bone2D.d.ts" />
101
105
  /// <reference path="BoneAttachment3D.d.ts" />
102
106
  /// <reference path="BoneConstraint3D.d.ts" />
@@ -191,6 +195,7 @@
191
195
  /// <reference path="DirectionalLight2D.d.ts" />
192
196
  /// <reference path="DirectionalLight3D.d.ts" />
193
197
  /// <reference path="DisplayServer.d.ts" />
198
+ /// <reference path="DrawableTexture2D.d.ts" />
194
199
  /// <reference path="EditorCommandPalette.d.ts" />
195
200
  /// <reference path="EditorContextMenuPlugin.d.ts" />
196
201
  /// <reference path="EditorDebuggerPlugin.d.ts" />
@@ -256,6 +261,11 @@
256
261
  /// <reference path="FramebufferCacheRD.d.ts" />
257
262
  /// <reference path="GDExtension.d.ts" />
258
263
  /// <reference path="GDExtensionManager.d.ts" />
264
+ /// <reference path="GDScript.d.ts" />
265
+ /// <reference path="GDScriptLanguageProtocol.d.ts" />
266
+ /// <reference path="GDScriptSyntaxHighlighter.d.ts" />
267
+ /// <reference path="GDScriptTextDocument.d.ts" />
268
+ /// <reference path="GDScriptWorkspace.d.ts" />
259
269
  /// <reference path="GPUParticles2D.d.ts" />
260
270
  /// <reference path="GPUParticles3D.d.ts" />
261
271
  /// <reference path="GPUParticlesAttractor3D.d.ts" />
@@ -518,13 +528,17 @@
518
528
  /// <reference path="QuadMesh.d.ts" />
519
529
  /// <reference path="QuadOccluder3D.d.ts" />
520
530
  /// <reference path="Quaternion.d.ts" />
531
+ /// <reference path="RDAccelerationStructureGeometry.d.ts" />
532
+ /// <reference path="RDAccelerationStructureInstance.d.ts" />
521
533
  /// <reference path="RDAttachmentFormat.d.ts" />
522
534
  /// <reference path="RDFramebufferPass.d.ts" />
535
+ /// <reference path="RDHitGroup.d.ts" />
523
536
  /// <reference path="RDPipelineColorBlendState.d.ts" />
524
537
  /// <reference path="RDPipelineColorBlendStateAttachment.d.ts" />
525
538
  /// <reference path="RDPipelineDepthStencilState.d.ts" />
526
539
  /// <reference path="RDPipelineMultisampleState.d.ts" />
527
540
  /// <reference path="RDPipelineRasterizationState.d.ts" />
541
+ /// <reference path="RDPipelineShader.d.ts" />
528
542
  /// <reference path="RDPipelineSpecializationConstant.d.ts" />
529
543
  /// <reference path="RDSamplerState.d.ts" />
530
544
  /// <reference path="RDShaderFile.d.ts" />
@@ -758,123 +772,12 @@
758
772
  /// <reference path="VideoStreamPlayer.d.ts" />
759
773
  /// <reference path="Viewport.d.ts" />
760
774
  /// <reference path="ViewportTexture.d.ts" />
775
+ /// <reference path="VirtualJoystick.d.ts" />
761
776
  /// <reference path="VisibleOnScreenEnabler2D.d.ts" />
762
777
  /// <reference path="VisibleOnScreenEnabler3D.d.ts" />
763
778
  /// <reference path="VisibleOnScreenNotifier2D.d.ts" />
764
779
  /// <reference path="VisibleOnScreenNotifier3D.d.ts" />
765
780
  /// <reference path="VisualInstance3D.d.ts" />
766
- /// <reference path="VisualShader.d.ts" />
767
- /// <reference path="VisualShaderNode.d.ts" />
768
- /// <reference path="VisualShaderNodeBillboard.d.ts" />
769
- /// <reference path="VisualShaderNodeBooleanConstant.d.ts" />
770
- /// <reference path="VisualShaderNodeBooleanParameter.d.ts" />
771
- /// <reference path="VisualShaderNodeClamp.d.ts" />
772
- /// <reference path="VisualShaderNodeColorConstant.d.ts" />
773
- /// <reference path="VisualShaderNodeColorFunc.d.ts" />
774
- /// <reference path="VisualShaderNodeColorOp.d.ts" />
775
- /// <reference path="VisualShaderNodeColorParameter.d.ts" />
776
- /// <reference path="VisualShaderNodeComment.d.ts" />
777
- /// <reference path="VisualShaderNodeCompare.d.ts" />
778
- /// <reference path="VisualShaderNodeConstant.d.ts" />
779
- /// <reference path="VisualShaderNodeCubemap.d.ts" />
780
- /// <reference path="VisualShaderNodeCubemapParameter.d.ts" />
781
- /// <reference path="VisualShaderNodeCurveTexture.d.ts" />
782
- /// <reference path="VisualShaderNodeCurveXYZTexture.d.ts" />
783
- /// <reference path="VisualShaderNodeCustom.d.ts" />
784
- /// <reference path="VisualShaderNodeDerivativeFunc.d.ts" />
785
- /// <reference path="VisualShaderNodeDeterminant.d.ts" />
786
- /// <reference path="VisualShaderNodeDistanceFade.d.ts" />
787
- /// <reference path="VisualShaderNodeDotProduct.d.ts" />
788
- /// <reference path="VisualShaderNodeExpression.d.ts" />
789
- /// <reference path="VisualShaderNodeFaceForward.d.ts" />
790
- /// <reference path="VisualShaderNodeFloatConstant.d.ts" />
791
- /// <reference path="VisualShaderNodeFloatFunc.d.ts" />
792
- /// <reference path="VisualShaderNodeFloatOp.d.ts" />
793
- /// <reference path="VisualShaderNodeFloatParameter.d.ts" />
794
- /// <reference path="VisualShaderNodeFrame.d.ts" />
795
- /// <reference path="VisualShaderNodeFresnel.d.ts" />
796
- /// <reference path="VisualShaderNodeGlobalExpression.d.ts" />
797
- /// <reference path="VisualShaderNodeGroupBase.d.ts" />
798
- /// <reference path="VisualShaderNodeIf.d.ts" />
799
- /// <reference path="VisualShaderNodeInput.d.ts" />
800
- /// <reference path="VisualShaderNodeIntConstant.d.ts" />
801
- /// <reference path="VisualShaderNodeIntFunc.d.ts" />
802
- /// <reference path="VisualShaderNodeIntOp.d.ts" />
803
- /// <reference path="VisualShaderNodeIntParameter.d.ts" />
804
- /// <reference path="VisualShaderNodeIs.d.ts" />
805
- /// <reference path="VisualShaderNodeLinearSceneDepth.d.ts" />
806
- /// <reference path="VisualShaderNodeMix.d.ts" />
807
- /// <reference path="VisualShaderNodeMultiplyAdd.d.ts" />
808
- /// <reference path="VisualShaderNodeOuterProduct.d.ts" />
809
- /// <reference path="VisualShaderNodeOutput.d.ts" />
810
- /// <reference path="VisualShaderNodeParameter.d.ts" />
811
- /// <reference path="VisualShaderNodeParameterRef.d.ts" />
812
- /// <reference path="VisualShaderNodeParticleAccelerator.d.ts" />
813
- /// <reference path="VisualShaderNodeParticleBoxEmitter.d.ts" />
814
- /// <reference path="VisualShaderNodeParticleConeVelocity.d.ts" />
815
- /// <reference path="VisualShaderNodeParticleEmit.d.ts" />
816
- /// <reference path="VisualShaderNodeParticleEmitter.d.ts" />
817
- /// <reference path="VisualShaderNodeParticleMeshEmitter.d.ts" />
818
- /// <reference path="VisualShaderNodeParticleMultiplyByAxisAngle.d.ts" />
819
- /// <reference path="VisualShaderNodeParticleOutput.d.ts" />
820
- /// <reference path="VisualShaderNodeParticleRandomness.d.ts" />
821
- /// <reference path="VisualShaderNodeParticleRingEmitter.d.ts" />
822
- /// <reference path="VisualShaderNodeParticleSphereEmitter.d.ts" />
823
- /// <reference path="VisualShaderNodeProximityFade.d.ts" />
824
- /// <reference path="VisualShaderNodeRandomRange.d.ts" />
825
- /// <reference path="VisualShaderNodeRemap.d.ts" />
826
- /// <reference path="VisualShaderNodeReroute.d.ts" />
827
- /// <reference path="VisualShaderNodeResizableBase.d.ts" />
828
- /// <reference path="VisualShaderNodeRotationByAxis.d.ts" />
829
- /// <reference path="VisualShaderNodeSDFRaymarch.d.ts" />
830
- /// <reference path="VisualShaderNodeSDFToScreenUV.d.ts" />
831
- /// <reference path="VisualShaderNodeSample3D.d.ts" />
832
- /// <reference path="VisualShaderNodeScreenNormalWorldSpace.d.ts" />
833
- /// <reference path="VisualShaderNodeScreenUVToSDF.d.ts" />
834
- /// <reference path="VisualShaderNodeSmoothStep.d.ts" />
835
- /// <reference path="VisualShaderNodeStep.d.ts" />
836
- /// <reference path="VisualShaderNodeSwitch.d.ts" />
837
- /// <reference path="VisualShaderNodeTexture.d.ts" />
838
- /// <reference path="VisualShaderNodeTexture2DArray.d.ts" />
839
- /// <reference path="VisualShaderNodeTexture2DArrayParameter.d.ts" />
840
- /// <reference path="VisualShaderNodeTexture2DParameter.d.ts" />
841
- /// <reference path="VisualShaderNodeTexture3D.d.ts" />
842
- /// <reference path="VisualShaderNodeTexture3DParameter.d.ts" />
843
- /// <reference path="VisualShaderNodeTextureParameter.d.ts" />
844
- /// <reference path="VisualShaderNodeTextureParameterTriplanar.d.ts" />
845
- /// <reference path="VisualShaderNodeTextureSDF.d.ts" />
846
- /// <reference path="VisualShaderNodeTextureSDFNormal.d.ts" />
847
- /// <reference path="VisualShaderNodeTransformCompose.d.ts" />
848
- /// <reference path="VisualShaderNodeTransformConstant.d.ts" />
849
- /// <reference path="VisualShaderNodeTransformDecompose.d.ts" />
850
- /// <reference path="VisualShaderNodeTransformFunc.d.ts" />
851
- /// <reference path="VisualShaderNodeTransformOp.d.ts" />
852
- /// <reference path="VisualShaderNodeTransformParameter.d.ts" />
853
- /// <reference path="VisualShaderNodeTransformVecMult.d.ts" />
854
- /// <reference path="VisualShaderNodeUIntConstant.d.ts" />
855
- /// <reference path="VisualShaderNodeUIntFunc.d.ts" />
856
- /// <reference path="VisualShaderNodeUIntOp.d.ts" />
857
- /// <reference path="VisualShaderNodeUIntParameter.d.ts" />
858
- /// <reference path="VisualShaderNodeUVFunc.d.ts" />
859
- /// <reference path="VisualShaderNodeUVPolarCoord.d.ts" />
860
- /// <reference path="VisualShaderNodeVarying.d.ts" />
861
- /// <reference path="VisualShaderNodeVaryingGetter.d.ts" />
862
- /// <reference path="VisualShaderNodeVaryingSetter.d.ts" />
863
- /// <reference path="VisualShaderNodeVec2Constant.d.ts" />
864
- /// <reference path="VisualShaderNodeVec2Parameter.d.ts" />
865
- /// <reference path="VisualShaderNodeVec3Constant.d.ts" />
866
- /// <reference path="VisualShaderNodeVec3Parameter.d.ts" />
867
- /// <reference path="VisualShaderNodeVec4Constant.d.ts" />
868
- /// <reference path="VisualShaderNodeVec4Parameter.d.ts" />
869
- /// <reference path="VisualShaderNodeVectorBase.d.ts" />
870
- /// <reference path="VisualShaderNodeVectorCompose.d.ts" />
871
- /// <reference path="VisualShaderNodeVectorDecompose.d.ts" />
872
- /// <reference path="VisualShaderNodeVectorDistance.d.ts" />
873
- /// <reference path="VisualShaderNodeVectorFunc.d.ts" />
874
- /// <reference path="VisualShaderNodeVectorLen.d.ts" />
875
- /// <reference path="VisualShaderNodeVectorOp.d.ts" />
876
- /// <reference path="VisualShaderNodeVectorRefract.d.ts" />
877
- /// <reference path="VisualShaderNodeWorldPositionFromDepth.d.ts" />
878
781
  /// <reference path="VoxelGI.d.ts" />
879
782
  /// <reference path="VoxelGIData.d.ts" />
880
783
  /// <reference path="WeakRef.d.ts" />
@@ -58,6 +58,26 @@ type ConstructorParameters<T extends abstract new (...args: any) => any> =
58
58
  T extends abstract new (...args: infer P) => any ? P : never;
59
59
  type InstanceType<T extends abstract new (...args: any) => any> =
60
60
  T extends abstract new (...args: any) => infer R ? R : any;
61
+ type ThisParameterType<T> = T extends (this: infer U, ...args: never) => any
62
+ ? U
63
+ : unknown;
64
+ type OmitThisParameter<T> = unknown extends ThisParameterType<T>
65
+ ? T
66
+ : T extends (...args: infer A) => infer R
67
+ ? (...args: A) => R
68
+ : T;
69
+ interface ThisType<T> {}
70
+ type Awaited<T> = T extends null | undefined
71
+ ? T
72
+ : T extends object & { then(onfulfilled: infer F, ...args: infer _): any }
73
+ ? F extends (value: infer V, ...args: infer _) => any
74
+ ? Awaited<V>
75
+ : never
76
+ : T;
77
+ type Uppercase<S extends string> = intrinsic;
78
+ type Lowercase<S extends string> = intrinsic;
79
+ type Capitalize<S extends string> = intrinsic;
80
+ type Uncapitalize<S extends string> = intrinsic;
61
81
  type NoInfer<T> = intrinsic;
62
82
  type IsAny<T> = boolean extends (T extends never ? true : false) ? true : false;
63
83