typescript-to-gdscript 0.1.1 → 0.1.2

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 (337) 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/ts-to-gd/access-rewrite.d.ts +40 -0
  6. package/dist/converter/ts-to-gd/access-rewrite.d.ts.map +1 -0
  7. package/dist/converter/ts-to-gd/access-rewrite.js +124 -0
  8. package/dist/converter/ts-to-gd/access-rewrite.js.map +1 -0
  9. package/dist/converter/ts-to-gd/expressions.d.ts.map +1 -1
  10. package/dist/converter/ts-to-gd/expressions.js +31 -7
  11. package/dist/converter/ts-to-gd/expressions.js.map +1 -1
  12. package/dist/watcher/check.d.ts +87 -0
  13. package/dist/watcher/check.d.ts.map +1 -0
  14. package/dist/watcher/check.js +209 -0
  15. package/dist/watcher/check.js.map +1 -0
  16. package/dist/watcher/heal.d.ts +66 -0
  17. package/dist/watcher/heal.d.ts.map +1 -0
  18. package/dist/watcher/heal.js +132 -0
  19. package/dist/watcher/heal.js.map +1 -0
  20. package/dist/watcher/index.d.ts +1 -0
  21. package/dist/watcher/index.d.ts.map +1 -1
  22. package/dist/watcher/index.js +48 -52
  23. package/dist/watcher/index.js.map +1 -1
  24. package/package.json +1 -1
  25. package/typings/classes/AccessibilityServer.d.ts +405 -0
  26. package/typings/classes/AnimationLibrary.d.ts +4 -4
  27. package/typings/classes/AnimationNodeBlendSpace1D.d.ts +45 -4
  28. package/typings/classes/AnimationNodeBlendSpace2D.d.ts +45 -4
  29. package/typings/classes/Area3D.d.ts +14 -7
  30. package/typings/classes/AreaLight3D.d.ts +37 -0
  31. package/typings/classes/ArrayMesh.d.ts +15 -0
  32. package/typings/classes/AudioEffectAmplify.d.ts +2 -2
  33. package/typings/classes/AudioEffectBandLimitFilter.d.ts +1 -1
  34. package/typings/classes/AudioEffectBandPassFilter.d.ts +1 -1
  35. package/typings/classes/AudioEffectCapture.d.ts +10 -9
  36. package/typings/classes/AudioEffectChorus.d.ts +57 -28
  37. package/typings/classes/AudioEffectCompressor.d.ts +11 -9
  38. package/typings/classes/AudioEffectDelay.d.ts +21 -15
  39. package/typings/classes/AudioEffectDistortion.d.ts +19 -10
  40. package/typings/classes/AudioEffectEQ.d.ts +2 -2
  41. package/typings/classes/AudioEffectEQ10.d.ts +2 -2
  42. package/typings/classes/AudioEffectEQ21.d.ts +2 -2
  43. package/typings/classes/AudioEffectEQ6.d.ts +2 -2
  44. package/typings/classes/AudioEffectFilter.d.ts +25 -9
  45. package/typings/classes/AudioEffectHardLimiter.d.ts +8 -5
  46. package/typings/classes/AudioEffectHighPassFilter.d.ts +1 -1
  47. package/typings/classes/AudioEffectHighShelfFilter.d.ts +1 -1
  48. package/typings/classes/AudioEffectInstance.d.ts +1 -1
  49. package/typings/classes/AudioEffectLimiter.d.ts +9 -4
  50. package/typings/classes/AudioEffectLowPassFilter.d.ts +1 -1
  51. package/typings/classes/AudioEffectLowShelfFilter.d.ts +1 -1
  52. package/typings/classes/AudioEffectNotchFilter.d.ts +1 -1
  53. package/typings/classes/AudioEffectPanner.d.ts +7 -2
  54. package/typings/classes/AudioEffectPhaser.d.ts +9 -7
  55. package/typings/classes/AudioEffectPitchShift.d.ts +3 -3
  56. package/typings/classes/AudioEffectReverb.d.ts +17 -8
  57. package/typings/classes/AudioEffectSpectrumAnalyzer.d.ts +4 -5
  58. package/typings/classes/AudioEffectStereoEnhance.d.ts +7 -4
  59. package/typings/classes/AudioServer.d.ts +2 -2
  60. package/typings/classes/AudioStreamPlaybackResampled.d.ts +8 -0
  61. package/typings/classes/AudioStreamRandomizer.d.ts +10 -0
  62. package/typings/classes/AwaitTweener.d.ts +10 -0
  63. package/typings/classes/BaseButton.d.ts +1 -1
  64. package/typings/classes/Basis.d.ts +6 -2
  65. package/typings/classes/BlitMaterial.d.ts +22 -0
  66. package/typings/classes/CPUParticles2D.d.ts +2 -2
  67. package/typings/classes/CPUParticles3D.d.ts +2 -2
  68. package/typings/classes/Camera3D.d.ts +1 -1
  69. package/typings/classes/CameraAttributes.d.ts +1 -0
  70. package/typings/classes/CameraFeed.d.ts +4 -0
  71. package/typings/classes/CanvasItem.d.ts +16 -1
  72. package/typings/classes/CodeEdit.d.ts +6 -0
  73. package/typings/classes/CollisionObject2D.d.ts +6 -0
  74. package/typings/classes/CollisionPolygon2D.d.ts +5 -0
  75. package/typings/classes/CollisionShape2D.d.ts +5 -0
  76. package/typings/classes/Container.d.ts +7 -0
  77. package/typings/classes/Control.d.ts +127 -9
  78. package/typings/classes/Curve.d.ts +26 -1
  79. package/typings/classes/Curve2D.d.ts +15 -0
  80. package/typings/classes/Curve3D.d.ts +20 -0
  81. package/typings/classes/DPITexture.d.ts +14 -0
  82. package/typings/classes/Decal.d.ts +1 -0
  83. package/typings/classes/Dictionary.d.ts +1 -0
  84. package/typings/classes/DirAccess.d.ts +6 -1
  85. package/typings/classes/DisplayServer.d.ts +161 -9
  86. package/typings/classes/DrawableTexture2D.d.ts +43 -0
  87. package/typings/classes/EditorCommandPalette.d.ts +0 -2
  88. package/typings/classes/EditorContextMenuPlugin.d.ts +4 -0
  89. package/typings/classes/EditorDock.d.ts +10 -5
  90. package/typings/classes/EditorExportPlatform.d.ts +4 -2
  91. package/typings/classes/EditorExportPlugin.d.ts +7 -0
  92. package/typings/classes/EditorFeatureProfile.d.ts +1 -1
  93. package/typings/classes/EditorFileSystem.d.ts +2 -0
  94. package/typings/classes/EditorInspector.d.ts +10 -0
  95. package/typings/classes/EditorInterface.d.ts +6 -4
  96. package/typings/classes/EditorNode3DGizmoPlugin.d.ts +4 -0
  97. package/typings/classes/EditorPlugin.d.ts +4 -4
  98. package/typings/classes/EditorResourcePicker.d.ts +2 -1
  99. package/typings/classes/EditorSceneFormatImporter.d.ts +23 -0
  100. package/typings/classes/EditorSettings.d.ts +241 -140
  101. package/typings/classes/EditorSpinSlider.d.ts +6 -0
  102. package/typings/classes/EditorTranslationParserPlugin.d.ts +4 -0
  103. package/typings/classes/EditorVCSInterface.d.ts +6 -2
  104. package/typings/classes/Environment.d.ts +7 -2
  105. package/typings/classes/FileAccess.d.ts +1 -1
  106. package/typings/classes/FileDialog.d.ts +16 -1
  107. package/typings/classes/FoldableContainer.d.ts +1 -1
  108. package/typings/classes/Font.d.ts +15 -3
  109. package/typings/classes/FontVariation.d.ts +10 -0
  110. package/typings/classes/GDScript.d.ts +8 -0
  111. package/typings/classes/GDScriptLanguageProtocol.d.ts +25 -0
  112. package/typings/classes/GDScriptSyntaxHighlighter.d.ts +6 -0
  113. package/typings/classes/GDScriptTextDocument.d.ts +27 -0
  114. package/typings/classes/GDScriptWorkspace.d.ts +17 -0
  115. package/typings/classes/GPUParticles2D.d.ts +2 -2
  116. package/typings/classes/GPUParticles3D.d.ts +19 -2
  117. package/typings/classes/Geometry2D.d.ts +2 -2
  118. package/typings/classes/GeometryInstance3D.d.ts +1 -1
  119. package/typings/classes/GradientTexture2D.d.ts +2 -0
  120. package/typings/classes/Image.d.ts +7 -4
  121. package/typings/classes/ImageFormatLoader.d.ts +5 -0
  122. package/typings/classes/ImageTexture.d.ts +0 -2
  123. package/typings/classes/ImporterMesh.d.ts +6 -0
  124. package/typings/classes/Input.d.ts +159 -15
  125. package/typings/classes/InputEvent.d.ts +8 -0
  126. package/typings/classes/InputEventGesture.d.ts +2 -3
  127. package/typings/classes/InputEventMouse.d.ts +2 -3
  128. package/typings/classes/InputEventMouseMotion.d.ts +2 -2
  129. package/typings/classes/InputEventWithModifiers.d.ts +2 -3
  130. package/typings/classes/InputMap.d.ts +3 -0
  131. package/typings/classes/ItemList.d.ts +29 -2
  132. package/typings/classes/IterateIK3D.d.ts +6 -3
  133. package/typings/classes/JavaClassWrapper.d.ts +13 -0
  134. package/typings/classes/JavaScriptBridge.d.ts +1 -1
  135. package/typings/classes/Joint3D.d.ts +1 -0
  136. package/typings/classes/Label.d.ts +1 -0
  137. package/typings/classes/LabelSettings.d.ts +25 -0
  138. package/typings/classes/Light3D.d.ts +1 -1
  139. package/typings/classes/Logger.d.ts +1 -1
  140. package/typings/classes/LookAtModifier3D.d.ts +2 -1
  141. package/typings/classes/MainLoop.d.ts +4 -0
  142. package/typings/classes/MenuButton.d.ts +35 -0
  143. package/typings/classes/MeshLibrary.d.ts +2 -0
  144. package/typings/classes/MovieWriter.d.ts +2 -0
  145. package/typings/classes/MultiplayerPeerExtension.d.ts +9 -9
  146. package/typings/classes/NativeMenu.d.ts +10 -3
  147. package/typings/classes/Node.d.ts +15 -5
  148. package/typings/classes/Node3D.d.ts +6 -4
  149. package/typings/classes/OS.d.ts +3 -3
  150. package/typings/classes/Object.d.ts +9 -3
  151. package/typings/classes/OptimizedTranslation.d.ts +2 -2
  152. package/typings/classes/OptionButton.d.ts +51 -1
  153. package/typings/classes/PCKPacker.d.ts +4 -0
  154. package/typings/classes/PacketPeerExtension.d.ts +1 -1
  155. package/typings/classes/ParticleProcessMaterial.d.ts +63 -0
  156. package/typings/classes/PhysicsDirectBodyState2D.d.ts +2 -1
  157. package/typings/classes/PhysicsDirectBodyState3D.d.ts +2 -1
  158. package/typings/classes/PhysicsDirectSpaceState2DExtension.d.ts +6 -6
  159. package/typings/classes/PhysicsDirectSpaceState3DExtension.d.ts +6 -6
  160. package/typings/classes/PhysicsServer2D.d.ts +2 -2
  161. package/typings/classes/PhysicsServer2DExtension.d.ts +6 -6
  162. package/typings/classes/PhysicsServer3D.d.ts +145 -42
  163. package/typings/classes/PhysicsServer3DExtension.d.ts +1 -1
  164. package/typings/classes/PopupMenu.d.ts +74 -8
  165. package/typings/classes/PopupPanel.d.ts +2 -0
  166. package/typings/classes/PortableCompressedTexture2D.d.ts +0 -2
  167. package/typings/classes/ProjectSettings.d.ts +62 -10
  168. package/typings/classes/Quaternion.d.ts +2 -2
  169. package/typings/classes/RDAccelerationStructureGeometry.d.ts +42 -0
  170. package/typings/classes/RDAccelerationStructureInstance.d.ts +34 -0
  171. package/typings/classes/RDHitGroup.d.ts +20 -0
  172. package/typings/classes/RDPipelineShader.d.ts +14 -0
  173. package/typings/classes/RDShaderSPIRV.d.ts +30 -0
  174. package/typings/classes/RDShaderSource.d.ts +10 -0
  175. package/typings/classes/RandomNumberGenerator.d.ts +4 -2
  176. package/typings/classes/RenderSceneBuffersConfiguration.d.ts +4 -1
  177. package/typings/classes/RenderingDevice.d.ts +175 -1
  178. package/typings/classes/RenderingServer.d.ts +264 -14
  179. package/typings/classes/Resource.d.ts +4 -2
  180. package/typings/classes/ResourceImporterDynamicFont.d.ts +3 -1
  181. package/typings/classes/ResourceImporterOBJ.d.ts +1 -1
  182. package/typings/classes/ResourceImporterSVG.d.ts +10 -0
  183. package/typings/classes/ResourceImporterScene.d.ts +11 -3
  184. package/typings/classes/ResourceImporterTexture.d.ts +2 -2
  185. package/typings/classes/RichTextLabel.d.ts +14 -6
  186. package/typings/classes/Script.d.ts +2 -0
  187. package/typings/classes/ScriptEditor.d.ts +13 -0
  188. package/typings/classes/ScriptLanguageExtension.d.ts +7 -0
  189. package/typings/classes/ScrollContainer.d.ts +17 -5
  190. package/typings/classes/Shader.d.ts +2 -0
  191. package/typings/classes/Shape3D.d.ts +1 -0
  192. package/typings/classes/SkeletonModification2DJiggle.d.ts +4 -0
  193. package/typings/classes/SplitContainer.d.ts +6 -0
  194. package/typings/classes/SpringBoneSimulator3D.d.ts +4 -2
  195. package/typings/classes/SpriteFrames.d.ts +20 -4
  196. package/typings/classes/StreamPeerExtension.d.ts +2 -2
  197. package/typings/classes/String.d.ts +1 -1
  198. package/typings/classes/SubViewport.d.ts +4 -0
  199. package/typings/classes/TabBar.d.ts +20 -0
  200. package/typings/classes/TabContainer.d.ts +21 -3
  201. package/typings/classes/TextEdit.d.ts +5 -2
  202. package/typings/classes/TextServer.d.ts +25 -1
  203. package/typings/classes/TextServerExtension.d.ts +25 -1
  204. package/typings/classes/Texture2D.d.ts +14 -0
  205. package/typings/classes/TextureRect.d.ts +4 -1
  206. package/typings/classes/TileSet.d.ts +3 -1
  207. package/typings/classes/Tree.d.ts +25 -9
  208. package/typings/classes/TreeItem.d.ts +17 -2
  209. package/typings/classes/Tween.d.ts +13 -0
  210. package/typings/classes/UndoRedo.d.ts +2 -2
  211. package/typings/classes/Vector2.d.ts +4 -2
  212. package/typings/classes/Vector2i.d.ts +4 -2
  213. package/typings/classes/Vector3.d.ts +4 -2
  214. package/typings/classes/Vector3i.d.ts +4 -2
  215. package/typings/classes/Vector4.d.ts +4 -2
  216. package/typings/classes/Vector4i.d.ts +4 -2
  217. package/typings/classes/Viewport.d.ts +27 -1
  218. package/typings/classes/VirtualJoystick.d.ts +94 -0
  219. package/typings/classes/VoxelGIData.d.ts +10 -0
  220. package/typings/classes/Window.d.ts +41 -4
  221. package/typings/classes/XRCamera3D.d.ts +1 -1
  222. package/typings/classes/XRServer.d.ts +2 -0
  223. package/typings/classes/_globals.d.ts +55 -18
  224. package/typings/classes/index.d.ts +15 -112
  225. package/typings/godot-class-registry.json +2120 -3693
  226. package/typings/classes/VisualShader.d.ts +0 -110
  227. package/typings/classes/VisualShaderNode.d.ts +0 -63
  228. package/typings/classes/VisualShaderNodeBillboard.d.ts +0 -28
  229. package/typings/classes/VisualShaderNodeBooleanConstant.d.ts +0 -10
  230. package/typings/classes/VisualShaderNodeBooleanParameter.d.ts +0 -14
  231. package/typings/classes/VisualShaderNodeClamp.d.ts +0 -26
  232. package/typings/classes/VisualShaderNodeColorConstant.d.ts +0 -10
  233. package/typings/classes/VisualShaderNodeColorFunc.d.ts +0 -32
  234. package/typings/classes/VisualShaderNodeColorOp.d.ts +0 -32
  235. package/typings/classes/VisualShaderNodeColorParameter.d.ts +0 -14
  236. package/typings/classes/VisualShaderNodeComment.d.ts +0 -12
  237. package/typings/classes/VisualShaderNodeCompare.d.ts +0 -68
  238. package/typings/classes/VisualShaderNodeConstant.d.ts +0 -6
  239. package/typings/classes/VisualShaderNodeCubemap.d.ts +0 -43
  240. package/typings/classes/VisualShaderNodeCubemapParameter.d.ts +0 -6
  241. package/typings/classes/VisualShaderNodeCurveTexture.d.ts +0 -10
  242. package/typings/classes/VisualShaderNodeCurveXYZTexture.d.ts +0 -10
  243. package/typings/classes/VisualShaderNodeCustom.d.ts +0 -122
  244. package/typings/classes/VisualShaderNodeDerivativeFunc.d.ts +0 -56
  245. package/typings/classes/VisualShaderNodeDeterminant.d.ts +0 -6
  246. package/typings/classes/VisualShaderNodeDistanceFade.d.ts +0 -6
  247. package/typings/classes/VisualShaderNodeDotProduct.d.ts +0 -6
  248. package/typings/classes/VisualShaderNodeExpression.d.ts +0 -12
  249. package/typings/classes/VisualShaderNodeFaceForward.d.ts +0 -8
  250. package/typings/classes/VisualShaderNodeFloatConstant.d.ts +0 -10
  251. package/typings/classes/VisualShaderNodeFloatFunc.d.ts +0 -108
  252. package/typings/classes/VisualShaderNodeFloatOp.d.ts +0 -36
  253. package/typings/classes/VisualShaderNodeFloatParameter.d.ts +0 -52
  254. package/typings/classes/VisualShaderNodeFrame.d.ts +0 -35
  255. package/typings/classes/VisualShaderNodeFresnel.d.ts +0 -6
  256. package/typings/classes/VisualShaderNodeGlobalExpression.d.ts +0 -6
  257. package/typings/classes/VisualShaderNodeGroupBase.d.ts +0 -60
  258. package/typings/classes/VisualShaderNodeIf.d.ts +0 -8
  259. package/typings/classes/VisualShaderNodeInput.d.ts +0 -20
  260. package/typings/classes/VisualShaderNodeIntConstant.d.ts +0 -10
  261. package/typings/classes/VisualShaderNodeIntFunc.d.ts +0 -24
  262. package/typings/classes/VisualShaderNodeIntOp.d.ts +0 -48
  263. package/typings/classes/VisualShaderNodeIntParameter.d.ts +0 -58
  264. package/typings/classes/VisualShaderNodeIs.d.ts +0 -18
  265. package/typings/classes/VisualShaderNodeLinearSceneDepth.d.ts +0 -6
  266. package/typings/classes/VisualShaderNodeMix.d.ts +0 -28
  267. package/typings/classes/VisualShaderNodeMultiplyAdd.d.ts +0 -22
  268. package/typings/classes/VisualShaderNodeOuterProduct.d.ts +0 -6
  269. package/typings/classes/VisualShaderNodeOutput.d.ts +0 -6
  270. package/typings/classes/VisualShaderNodeParameter.d.ts +0 -32
  271. package/typings/classes/VisualShaderNodeParameterRef.d.ts +0 -10
  272. package/typings/classes/VisualShaderNodeParticleAccelerator.d.ts +0 -20
  273. package/typings/classes/VisualShaderNodeParticleBoxEmitter.d.ts +0 -6
  274. package/typings/classes/VisualShaderNodeParticleConeVelocity.d.ts +0 -6
  275. package/typings/classes/VisualShaderNodeParticleEmit.d.ts +0 -22
  276. package/typings/classes/VisualShaderNodeParticleEmitter.d.ts +0 -12
  277. package/typings/classes/VisualShaderNodeParticleMeshEmitter.d.ts +0 -20
  278. package/typings/classes/VisualShaderNodeParticleMultiplyByAxisAngle.d.ts +0 -10
  279. package/typings/classes/VisualShaderNodeParticleOutput.d.ts +0 -6
  280. package/typings/classes/VisualShaderNodeParticleRandomness.d.ts +0 -22
  281. package/typings/classes/VisualShaderNodeParticleRingEmitter.d.ts +0 -6
  282. package/typings/classes/VisualShaderNodeParticleSphereEmitter.d.ts +0 -6
  283. package/typings/classes/VisualShaderNodeProximityFade.d.ts +0 -6
  284. package/typings/classes/VisualShaderNodeRandomRange.d.ts +0 -6
  285. package/typings/classes/VisualShaderNodeRemap.d.ts +0 -33
  286. package/typings/classes/VisualShaderNodeReroute.d.ts +0 -8
  287. package/typings/classes/VisualShaderNodeResizableBase.d.ts +0 -10
  288. package/typings/classes/VisualShaderNodeRotationByAxis.d.ts +0 -6
  289. package/typings/classes/VisualShaderNodeSDFRaymarch.d.ts +0 -6
  290. package/typings/classes/VisualShaderNodeSDFToScreenUV.d.ts +0 -8
  291. package/typings/classes/VisualShaderNodeSample3D.d.ts +0 -18
  292. package/typings/classes/VisualShaderNodeScreenNormalWorldSpace.d.ts +0 -6
  293. package/typings/classes/VisualShaderNodeScreenUVToSDF.d.ts +0 -8
  294. package/typings/classes/VisualShaderNodeSmoothStep.d.ts +0 -28
  295. package/typings/classes/VisualShaderNodeStep.d.ts +0 -28
  296. package/typings/classes/VisualShaderNodeSwitch.d.ts +0 -30
  297. package/typings/classes/VisualShaderNodeTexture.d.ts +0 -57
  298. package/typings/classes/VisualShaderNodeTexture2DArray.d.ts +0 -12
  299. package/typings/classes/VisualShaderNodeTexture2DArrayParameter.d.ts +0 -6
  300. package/typings/classes/VisualShaderNodeTexture2DParameter.d.ts +0 -6
  301. package/typings/classes/VisualShaderNodeTexture3D.d.ts +0 -12
  302. package/typings/classes/VisualShaderNodeTexture3DParameter.d.ts +0 -6
  303. package/typings/classes/VisualShaderNodeTextureParameter.d.ts +0 -104
  304. package/typings/classes/VisualShaderNodeTextureParameterTriplanar.d.ts +0 -6
  305. package/typings/classes/VisualShaderNodeTextureSDF.d.ts +0 -6
  306. package/typings/classes/VisualShaderNodeTextureSDFNormal.d.ts +0 -6
  307. package/typings/classes/VisualShaderNodeTransformCompose.d.ts +0 -6
  308. package/typings/classes/VisualShaderNodeTransformConstant.d.ts +0 -10
  309. package/typings/classes/VisualShaderNodeTransformDecompose.d.ts +0 -6
  310. package/typings/classes/VisualShaderNodeTransformFunc.d.ts +0 -18
  311. package/typings/classes/VisualShaderNodeTransformOp.d.ts +0 -32
  312. package/typings/classes/VisualShaderNodeTransformParameter.d.ts +0 -14
  313. package/typings/classes/VisualShaderNodeTransformVecMult.d.ts +0 -22
  314. package/typings/classes/VisualShaderNodeUIntConstant.d.ts +0 -10
  315. package/typings/classes/VisualShaderNodeUIntFunc.d.ts +0 -20
  316. package/typings/classes/VisualShaderNodeUIntOp.d.ts +0 -48
  317. package/typings/classes/VisualShaderNodeUIntParameter.d.ts +0 -16
  318. package/typings/classes/VisualShaderNodeUVFunc.d.ts +0 -22
  319. package/typings/classes/VisualShaderNodeUVPolarCoord.d.ts +0 -6
  320. package/typings/classes/VisualShaderNodeVarying.d.ts +0 -14
  321. package/typings/classes/VisualShaderNodeVaryingGetter.d.ts +0 -6
  322. package/typings/classes/VisualShaderNodeVaryingSetter.d.ts +0 -6
  323. package/typings/classes/VisualShaderNodeVec2Constant.d.ts +0 -10
  324. package/typings/classes/VisualShaderNodeVec2Parameter.d.ts +0 -14
  325. package/typings/classes/VisualShaderNodeVec3Constant.d.ts +0 -10
  326. package/typings/classes/VisualShaderNodeVec3Parameter.d.ts +0 -14
  327. package/typings/classes/VisualShaderNodeVec4Constant.d.ts +0 -10
  328. package/typings/classes/VisualShaderNodeVec4Parameter.d.ts +0 -14
  329. package/typings/classes/VisualShaderNodeVectorBase.d.ts +0 -20
  330. package/typings/classes/VisualShaderNodeVectorCompose.d.ts +0 -8
  331. package/typings/classes/VisualShaderNodeVectorDecompose.d.ts +0 -8
  332. package/typings/classes/VisualShaderNodeVectorDistance.d.ts +0 -6
  333. package/typings/classes/VisualShaderNodeVectorFunc.d.ts +0 -84
  334. package/typings/classes/VisualShaderNodeVectorLen.d.ts +0 -6
  335. package/typings/classes/VisualShaderNodeVectorOp.d.ts +0 -42
  336. package/typings/classes/VisualShaderNodeVectorRefract.d.ts +0 -8
  337. package/typings/classes/VisualShaderNodeWorldPositionFromDepth.d.ts +0 -8
@@ -95,7 +95,7 @@ declare interface DisplayServer extends GodotObject {
95
95
  /** Sets element background color. */
96
96
  accessibility_update_set_background_color(id: RID, color: Color): void;
97
97
  /** Sets element bounding box, relative to the node position. */
98
- accessibility_update_set_bounds(id: RID, p_rect: Rect2 | Rect2i): void;
98
+ accessibility_update_set_bounds(id: RID, rect: Rect2 | Rect2i): void;
99
99
  /** Sets element checked state. */
100
100
  accessibility_update_set_checked(id: RID, checekd: boolean): void;
101
101
  /** Sets element class name. */
@@ -271,7 +271,7 @@ declare interface DisplayServer extends GodotObject {
271
271
  * Displays OS native dialog for selecting files or directories in the file system.
272
272
  * Each filter string in the `filters` array should be formatted like this: `*.png,*.jpg,*.jpeg;Image Files;image/png,image/jpeg`. The description text of the filter is optional and can be omitted. It is recommended to set both file extension and MIME type. See also {@link FileDialog.filters}.
273
273
  * Callbacks have the following arguments: `status: bool, selected_paths: PackedStringArray, selected_filter_index: int`. **On Android,** the third callback argument (`selected_filter_index`) is always `0`.
274
- * **Note:** This method is implemented if the display server has the {@link FEATURE_NATIVE_DIALOG_FILE} feature. Supported platforms include Linux (X11/Wayland), Windows, macOS, and Android (API level 29+).
274
+ * **Note:** This method is implemented if the display server has the {@link FEATURE_NATIVE_DIALOG_FILE} feature. Supported platforms include Linux (X11/Wayland), Windows, macOS, and Android.
275
275
  * **Note:** `current_directory` might be ignored.
276
276
  * **Note:** Embedded file dialogs and Windows file dialogs support only file extensions, while Android, Linux, and macOS file dialogs also support MIME types.
277
277
  * **Note:** On Android and Linux, `show_hidden` is ignored.
@@ -771,6 +771,11 @@ declare interface DisplayServer extends GodotObject {
771
771
  * **Note:** This method is implemented on Android, iOS, macOS, Windows, and Linux (X11/Wayland).
772
772
  */
773
773
  is_dark_mode_supported(): boolean;
774
+ /**
775
+ * Returns `true` if the application is in picture-in-picture mode.
776
+ * **Note:** This method is implemented on Android.
777
+ */
778
+ is_in_pip_mode(window_id?: int): boolean;
774
779
  /**
775
780
  * Returns `true` if touch events are available (Android or iOS), the capability is detected on the Web platform or if {@link ProjectSettings.input_devices/pointing/emulate_touch_from_mouse} is `true`.
776
781
  */
@@ -824,6 +829,21 @@ declare interface DisplayServer extends GodotObject {
824
829
  mouse_get_position(): Vector2i;
825
830
  /** Sets the current mouse mode. See also {@link mouse_get_mode}. */
826
831
  mouse_set_mode(mouse_mode: int): void;
832
+ /**
833
+ * Enters picture-in-picture mode.
834
+ * **Note:** This method is implemented on Android.
835
+ */
836
+ pip_mode_enter(window_id?: int): void;
837
+ /**
838
+ * Specifies the aspect ratio for picture-in-picture mode.
839
+ * **Note:** This method is implemented on Android.
840
+ */
841
+ pip_mode_set_aspect_ratio(numerator: int, denominator: int, window_id?: int): void;
842
+ /**
843
+ * Specifies whether picture-in-picture mode should be entered automatically when the application goes in the background.
844
+ * **Note:** This method is implemented on Android.
845
+ */
846
+ pip_mode_set_auto_enter_on_background(auto_enter_on_background: boolean, window_id?: int): void;
827
847
  /**
828
848
  * Perform window manager processing, including input flushing. See also {@link force_process_and_drop_events}, {@link Input.flush_buffered_events} and {@link Input.use_accumulated_input}.
829
849
  */
@@ -941,7 +961,7 @@ declare interface DisplayServer extends GodotObject {
941
961
  */
942
962
  set_hardware_keyboard_connection_change_callback(callable: Callable): void;
943
963
  /**
944
- * Sets the window icon (usually displayed in the top-left corner) with an {@link Image}. To use icons in the operating system's native format, use {@link set_native_icon} instead.
964
+ * 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 set_native_icon} instead.
945
965
  * **Note:** Requires support for {@link FEATURE_ICON}.
946
966
  */
947
967
  set_icon(image: Image): void;
@@ -1113,6 +1133,24 @@ declare interface DisplayServer extends GodotObject {
1113
1133
  window_get_current_screen(window_id?: int): int;
1114
1134
  /** Returns the current value of the given window's `flag`. */
1115
1135
  window_get_flag(flag: int, window_id?: int): boolean;
1136
+ /**
1137
+ * When {@link window_is_hdr_output_enabled} returns `true`, this returns the current maximum luminance in nits (cd/m²) for HDR output by the window specified by `window_id`. If the maximum luminance is being automatically adjusted based on the screen's capabilities, this method will return that value. Otherwise, it will return the value set by {@link window_set_hdr_output_max_luminance}. This maximum luminance value is used when calculating {@link window_get_output_max_linear_value}.
1138
+ * **Note:** This maximum luminance may not match the physical behavior of the screen, but will always be proportionally correct relative to {@link window_get_hdr_output_current_reference_luminance}.
1139
+ */
1140
+ window_get_hdr_output_current_max_luminance(window_id?: int): float;
1141
+ /**
1142
+ * When {@link window_is_hdr_output_enabled} returns `true`, this returns the current reference white luminance in nits (cd/m²) for HDR output by the window specified by `window_id`. If the reference luminance is being automatically adjusted to match the operating system brightness, this will return that value. Otherwise, it will return the value set by {@link window_set_hdr_output_reference_luminance}. This reference luminance value is used when calculating {@link window_get_output_max_linear_value}.
1143
+ * **Note:** This reference white luminance may not match the physical behavior of the screen, but will always be proportionally correct relative to {@link window_get_hdr_output_current_max_luminance}.
1144
+ */
1145
+ window_get_hdr_output_current_reference_luminance(window_id?: int): float;
1146
+ /**
1147
+ * Returns the maximum luminance in nits (cd/m²) set for HDR output by the window specified by `window_id`. Negative values indicate that the value is being automatically adjusted based on the screen's capabilities. See also {@link window_get_hdr_output_current_max_luminance}.
1148
+ */
1149
+ window_get_hdr_output_max_luminance(window_id?: int): float;
1150
+ /**
1151
+ * Returns the reference white luminance in nits (cd/m²) set for HDR output by the window specified by `window_id`. Negative values indicate that the value is being automatically adjusted to match the operating system brightness. See also {@link window_get_hdr_output_current_reference_luminance}.
1152
+ */
1153
+ window_get_hdr_output_reference_luminance(window_id?: int): float;
1116
1154
  /** Returns the window's maximum size (in pixels). See also {@link window_set_max_size}. */
1117
1155
  window_get_max_size(window_id?: int): Vector2i;
1118
1156
  /** Returns the window's minimum size (in pixels). See also {@link window_set_min_size}. */
@@ -1124,6 +1162,10 @@ declare interface DisplayServer extends GodotObject {
1124
1162
  * **Note:** This method is implemented on Android, Linux (X11/Wayland), macOS, and Windows.
1125
1163
  */
1126
1164
  window_get_native_handle(handle_type: int, window_id?: int): int;
1165
+ /**
1166
+ * Returns the maximum value for linear color components that can be displayed for the window specified by `window_id`, regardless of SDR or HDR output. Returns `1.0` if HDR is not enabled or not supported. When HDR output is enabled, this is calculated based on {@link window_get_hdr_output_current_reference_luminance} and {@link window_get_hdr_output_current_max_luminance}. 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.get_output_max_linear_value}.
1167
+ */
1168
+ window_get_output_max_linear_value(window_id?: int): float;
1127
1169
  /**
1128
1170
  * Returns the bounding box of control, or menu item that was used to open the popup window, in the screen coordinate system.
1129
1171
  */
@@ -1155,6 +1197,18 @@ declare interface DisplayServer extends GodotObject {
1155
1197
  window_get_vsync_mode(window_id?: int): int;
1156
1198
  /** Returns `true` if the window specified by `window_id` is focused. */
1157
1199
  window_is_focused(window_id?: int): boolean;
1200
+ /**
1201
+ * Returns `true` if HDR output is currently enabled for the window specified by `window_id`. The returned value may change dynamically based on system settings, screen capabilities, and which screen the window is currently on.
1202
+ */
1203
+ window_is_hdr_output_enabled(window_id?: int): boolean;
1204
+ /**
1205
+ * Returns `true` if HDR output is requested for the window specified by `window_id`. Corresponds to {@link Window.hdr_output_requested}.
1206
+ */
1207
+ window_is_hdr_output_requested(window_id?: int): boolean;
1208
+ /**
1209
+ * Returns `true` if the window specified by `window_id` supports HDR output. This depends on the platform, screen capabilities, system settings, and the screen the window is currently on.
1210
+ */
1211
+ window_is_hdr_output_supported(window_id?: int): boolean;
1158
1212
  /** Returns `true` if the given window can be maximized (the maximize button is enabled). */
1159
1213
  window_is_maximize_allowed(window_id?: int): boolean;
1160
1214
  /**
@@ -1175,6 +1229,10 @@ declare interface DisplayServer extends GodotObject {
1175
1229
  * Makes the window specified by `window_id` request attention, which is materialized by the window title and taskbar entry blinking until the window is focused. This usually has no visible effect if the window is currently focused. The exact behavior varies depending on the operating system.
1176
1230
  */
1177
1231
  window_request_attention(window_id?: int): void;
1232
+ /**
1233
+ * If `enable` is `true`, HDR output is requested for the window specified by `window_id`. The window will automatically switch between HDR and SDR if it is moved between screens, screen capabilities change, or system settings are modified. This will internally force {@link Viewport.use_hdr_2d} to be enabled on the main {@link Viewport}. All other {@link SubViewport} of the {@link Window} must have their {@link Viewport.use_hdr_2d} property enabled to produce HDR output. Corresponds to {@link Window.hdr_output_requested}.
1234
+ */
1235
+ window_request_hdr_output(enable: boolean, window_id?: int): void;
1178
1236
  /**
1179
1237
  * Sets the background color of the root window.
1180
1238
  * **Note:** This method is implemented only on Android.
@@ -1200,6 +1258,21 @@ declare interface DisplayServer extends GodotObject {
1200
1258
  window_set_exclusive(window_id: int, exclusive: boolean): void;
1201
1259
  /** Enables or disables the given window's given `flag`. */
1202
1260
  window_set_flag(flag: int, enabled: boolean, window_id?: int): void;
1261
+ /**
1262
+ * Sets the maximum luminance in nits (cd/m²) for HDR output by the window specified by `window_id`. If `max_luminance` is negative, the window uses the screen's maximum luminance that is reported by the operating system. By default, this luminance is set to `-1.0` for every window. Typically this property should be left at this default value, but may optionally be exposed through in-game settings to allow the player to correct an inaccurate maximum luminance reported by the operating system. See also {@link window_get_hdr_output_current_max_luminance} and {@link window_get_hdr_output_max_luminance}.
1263
+ * **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.
1264
+ */
1265
+ window_set_hdr_output_max_luminance(max_luminance: float, window_id?: int): void;
1266
+ /**
1267
+ * Sets the reference white luminance in nits (cd/m²) for HDR output by the window specified by `window_id`. If `reference_luminance` is negative, the window automatically adjusts to the brightness set by the operating system. By default, this luminance is set to `-1.0` for every window. Typically this property should be left at this default value, but may optionally be exposed as an "HDR Brightness" in-game setting to allow the player to adjust the brightness of their game, independently of their device settings. See also {@link window_get_hdr_output_current_reference_luminance} and {@link window_get_hdr_output_reference_luminance}.
1268
+ * **Note:** This method is only implemented on Windows. Other platforms will always use the reference luminance that is reported by the operating system.
1269
+ */
1270
+ window_set_hdr_output_reference_luminance(reference_luminance: float, window_id?: int): void;
1271
+ /**
1272
+ * Sets the window icon (usually displayed in the top-left corner) for the window specified by `window_id`.
1273
+ * **Note:** This method is implemented on Linux and Windows.
1274
+ */
1275
+ window_set_icon(icon: Image, window_id?: int): void;
1203
1276
  /**
1204
1277
  * Sets whether Input Method Editor (https://en.wikipedia.org/wiki/Input_method) should be enabled for the window specified by `window_id`. See also {@link window_set_ime_position}.
1205
1278
  */
@@ -1273,6 +1346,19 @@ declare interface DisplayServer extends GodotObject {
1273
1346
  * **Note:** It's recommended to change this value using {@link Window.size} instead.
1274
1347
  */
1275
1348
  window_set_size(size: Vector2i | Vector2, window_id?: int): void;
1349
+ /**
1350
+ * Sets the type and state of the progress bar on the taskbar/dock icon of the window specified by `window_id`. See {@link ProgressState} for possible values and how each mode behaves.
1351
+ * **Note:** This method is implemented only on Windows and macOS.
1352
+ * **Note:** On macOS, the progress bar is displayed only for the main window.
1353
+ */
1354
+ window_set_taskbar_progress_state(state: int, window_id?: int): void;
1355
+ /**
1356
+ * Creates a progress bar on the taskbar/dock icon of the window specified by `window_id` if it does not exist, sets the progress of the icon.
1357
+ * `value` acts as a relative percentage value, ranges from `0.0` (lowest) to `1.0` (highest).
1358
+ * **Note:** This method is implemented only on Windows and macOS.
1359
+ * **Note:** On macOS, the progress bar is displayed only for the main window.
1360
+ */
1361
+ window_set_taskbar_progress_value(value: float, window_id?: int): void;
1276
1362
  /**
1277
1363
  * Sets the title of the given window to `title`.
1278
1364
  * **Note:** It's recommended to change this value using {@link Window.title} instead.
@@ -1312,6 +1398,13 @@ declare interface DisplayServer extends GodotObject {
1312
1398
  */
1313
1399
  window_start_resize(edge: int, window_id?: int): void;
1314
1400
 
1401
+ /**
1402
+ * Emitted when the device orientation changes. `orientation` is the new orientation.
1403
+ * Returns `1` for portrait, `2` for landscape, and `0` if the orientation is undefined.
1404
+ * **Note:** This method is implemented on Android and iOS.
1405
+ */
1406
+ orientation_changed: Signal<[int]>;
1407
+
1315
1408
  // enum Feature
1316
1409
  /**
1317
1410
  * Display server supports global menu. This allows the application to display its menu items in the operating system's top bar. **macOS**
@@ -1321,7 +1414,7 @@ declare interface DisplayServer extends GodotObject {
1321
1414
  * Display server supports multiple windows that can be moved outside of the main window. **Windows, macOS, Linux (X11)**
1322
1415
  */
1323
1416
  readonly FEATURE_SUBWINDOWS: int;
1324
- /** Display server supports touchscreen input. **Windows, Linux (X11), Android, iOS, Web** */
1417
+ /** Display server supports touchscreen input. **Windows, Linux (X11/Wayland), Android, iOS, Web** */
1325
1418
  readonly FEATURE_TOUCHSCREEN: int;
1326
1419
  /** Display server supports mouse input. **Windows, macOS, Linux (X11/Wayland), Android, Web** */
1327
1420
  readonly FEATURE_MOUSE: int;
@@ -1428,6 +1521,10 @@ declare interface DisplayServer extends GodotObject {
1428
1521
  * Display server supports interaction with screen reader or Braille display. **Linux (X11/Wayland), macOS, Windows**
1429
1522
  */
1430
1523
  readonly FEATURE_ACCESSIBILITY_SCREEN_READER: int;
1524
+ /** Display server supports HDR output. **Linux (Wayland), macOS, iOS, visionOS, Windows** */
1525
+ readonly FEATURE_HDR_OUTPUT: int;
1526
+ /** Display server supports putting the application in picture-in-picture mode. **Android** */
1527
+ readonly FEATURE_PIP_MODE: int;
1431
1528
  // enum AccessibilityRole
1432
1529
  /** Unknown or custom role. */
1433
1530
  readonly ROLE_UNKNOWN: int;
@@ -1523,6 +1620,13 @@ declare interface DisplayServer extends GodotObject {
1523
1620
  readonly ROLE_DIALOG: int;
1524
1621
  /** Tooltip element. */
1525
1622
  readonly ROLE_TOOLTIP: int;
1623
+ /** Region/landmark element. Screen readers can navigate between regions using landmark navigation. */
1624
+ readonly ROLE_REGION: int;
1625
+ /**
1626
+ * Unifor text run.
1627
+ * Note: This role is used for internal text elements, and should not be assigned to nodes.
1628
+ */
1629
+ readonly ROLE_TEXT_RUN: int;
1526
1630
  // enum AccessibilityPopupType
1527
1631
  /** Popup menu. */
1528
1632
  readonly POPUP_MENU: int;
@@ -1803,16 +1907,41 @@ declare interface DisplayServer extends GodotObject {
1803
1907
  * **Note:** Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports multiple resolutions ($DOCS_URL/tutorials/rendering/multiple_resolutions.html) when enabling full screen mode.
1804
1908
  */
1805
1909
  readonly WINDOW_MODE_EXCLUSIVE_FULLSCREEN: int;
1910
+ // enum ProgressState
1911
+ /** Stops displaying progress and returns the button to its normal state. */
1912
+ readonly PROGRESS_STATE_NOPROGRESS: int;
1913
+ /**
1914
+ * The progress indicator shows an indeterminate progress.
1915
+ * On Windows, the progress indicator does not grow in size, but cycles repeatedly along the length of the taskbar button by default.
1916
+ */
1917
+ readonly PROGRESS_STATE_INDETERMINATE: int;
1918
+ /** The progress indicator shows progress normally. */
1919
+ readonly PROGRESS_STATE_NORMAL: int;
1920
+ /**
1921
+ * The progress indicator shows that an error has occurred.
1922
+ * On Windows, the progress indicator turns red by default to show that an error has occurred in one of the windows that is broadcasting progress.
1923
+ */
1924
+ readonly PROGRESS_STATE_ERROR: int;
1925
+ /**
1926
+ * The progress indicator shows it was paused.
1927
+ * On Windows, the progress indicator turns yellow by default to show that progress is currently stopped in one of the windows but can be resumed by the user.
1928
+ */
1929
+ readonly PROGRESS_STATE_PAUSED: int;
1806
1930
  // enum WindowFlags
1807
1931
  /**
1808
1932
  * The window can't be resized by dragging its resize grip. It's still possible to resize the window using {@link window_set_size}. This flag is ignored for full screen windows.
1933
+ * **Note:** This flag is implemented on Linux (X11), macOS, and Windows.
1809
1934
  */
1810
1935
  readonly WINDOW_FLAG_RESIZE_DISABLED: int;
1811
1936
  /**
1812
1937
  * The window do not have native title bar and other decorations. This flag is ignored for full-screen windows.
1938
+ * **Note:** This flag is implemented on Linux (X11/Wayland), macOS, and Windows.
1813
1939
  */
1814
1940
  readonly WINDOW_FLAG_BORDERLESS: int;
1815
- /** The window is floating on top of all other windows. This flag is ignored for full-screen windows. */
1941
+ /**
1942
+ * The window is floating on top of all other windows. This flag is ignored for full-screen windows.
1943
+ * **Note:** This flag is implemented on Linux (X11), macOS, and Windows.
1944
+ */
1816
1945
  readonly WINDOW_FLAG_ALWAYS_ON_TOP: int;
1817
1946
  /**
1818
1947
  * The window background can be transparent.
@@ -1821,10 +1950,14 @@ declare interface DisplayServer extends GodotObject {
1821
1950
  * **Note:** Transparency support is implemented on Android, but can only be enabled via {@link ProjectSettings.display/window/per_pixel_transparency/allowed}. This flag has no effect on Android.
1822
1951
  */
1823
1952
  readonly WINDOW_FLAG_TRANSPARENT: int;
1824
- /** The window can't be focused. No-focus window will ignore all input, except mouse clicks. */
1953
+ /**
1954
+ * The window can't be focused. No-focus window will ignore all input, except mouse clicks.
1955
+ * **Note:** This flag is implemented on Linux (X11), macOS, and Windows.
1956
+ */
1825
1957
  readonly WINDOW_FLAG_NO_FOCUS: int;
1826
1958
  /**
1827
1959
  * Window is part of menu or {@link OptionButton} dropdown. This flag can't be changed when the window is visible. An active popup window will exclusively receive all input, without stealing focus from its parent. Popup windows are automatically closed when uses click outside it, or when an application is switched. Popup window must have transient parent set (see {@link window_set_transient}).
1960
+ * **Note:** This flag is implemented on Linux (X11/Wayland), macOS, and Windows.
1828
1961
  */
1829
1962
  readonly WINDOW_FLAG_POPUP: int;
1830
1963
  /**
@@ -1834,7 +1967,10 @@ declare interface DisplayServer extends GodotObject {
1834
1967
  * **Note:** This flag is implemented only on macOS.
1835
1968
  */
1836
1969
  readonly WINDOW_FLAG_EXTEND_TO_TITLE: int;
1837
- /** All mouse events are passed to the underlying window of the same application. */
1970
+ /**
1971
+ * All mouse events are passed to the underlying window of the same application.
1972
+ * **Note:** This flag is implemented on Linux (X11), macOS, and Windows.
1973
+ */
1838
1974
  readonly WINDOW_FLAG_MOUSE_PASSTHROUGH: int;
1839
1975
  /**
1840
1976
  * Window style is overridden, forcing sharp corners.
@@ -1849,16 +1985,17 @@ declare interface DisplayServer extends GodotObject {
1849
1985
  readonly WINDOW_FLAG_EXCLUDE_FROM_CAPTURE: int;
1850
1986
  /**
1851
1987
  * Signals the window manager that this window is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window).
1988
+ * **Note:** This flag is implemented on Linux (Wayland).
1852
1989
  */
1853
1990
  readonly WINDOW_FLAG_POPUP_WM_HINT: int;
1854
1991
  /**
1855
1992
  * Window minimize button is disabled.
1856
- * **Note:** This flag is implemented on macOS and Windows.
1993
+ * **Note:** This flag is implemented on Linux (X11), macOS, and Windows.
1857
1994
  */
1858
1995
  readonly WINDOW_FLAG_MINIMIZE_DISABLED: int;
1859
1996
  /**
1860
1997
  * Window maximize button is disabled.
1861
- * **Note:** This flag is implemented on macOS and Windows.
1998
+ * **Note:** This flag is implemented on Linux (X11), macOS, and Windows.
1862
1999
  */
1863
2000
  readonly WINDOW_FLAG_MAXIMIZE_DISABLED: int;
1864
2001
  /** Represents the size of the {@link WindowFlags} enum. */
@@ -1894,6 +2031,11 @@ declare interface DisplayServer extends GodotObject {
1894
2031
  * **Note:** This flag is implemented only on Linux (Wayland).
1895
2032
  */
1896
2033
  readonly WINDOW_EVENT_FORCE_CLOSE: int;
2034
+ /**
2035
+ * Sent when the output max linear value returned by {@link Window.get_output_max_linear_value} has changed.
2036
+ * 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.
2037
+ */
2038
+ readonly WINDOW_EVENT_OUTPUT_MAX_LINEAR_VALUE_CHANGED: int;
1897
2039
  // enum WindowResizeEdge
1898
2040
  /** Top-left edge of a window. */
1899
2041
  readonly WINDOW_EDGE_TOP_LEFT: int;
@@ -1977,6 +2119,16 @@ declare interface DisplayServer extends GodotObject {
1977
2119
  * - Linux (Wayland): `EGLConfig` for the window.
1978
2120
  */
1979
2121
  readonly EGL_CONFIG: int;
2122
+ /**
2123
+ * The GLX `VisualID` for the window.
2124
+ * **Note:** Only available on Linux when using X11.
2125
+ */
2126
+ readonly GLX_VISUALID: int;
2127
+ /**
2128
+ * The `GLXFBConfig` for the window.
2129
+ * **Note:** Only available on Linux when using X11.
2130
+ */
2131
+ readonly GLX_FBCONFIG: int;
1980
2132
  // enum TTSUtteranceEvent
1981
2133
  /** Utterance has begun to be spoken. */
1982
2134
  readonly TTS_UTTERANCE_STARTED: int;
@@ -0,0 +1,43 @@
1
+ // AUTO-GENERATED from Godot class documentation.
2
+ // Manual overrides applied from typings-overrides/*.d.ts
3
+
4
+ /** A 2D texture that supports drawing to itself via Blit calls. */
5
+ declare class DrawableTexture2D extends Texture2D {
6
+ resource_local_to_scene: boolean;
7
+
8
+ /**
9
+ * Draws to given `rect` on this texture by copying from the given `source`. A `modulate` color can be passed in for the shader to use, but defaults to White. The `mipmap` value can specify a draw to a lower mipmap level. The `material` parameter can take a ShaderMaterial with a TextureBlit Shader for custom drawing behavior.
10
+ */
11
+ blit_rect(rect: Rect2i | Rect2, source: Texture2D, modulate?: Color, mipmap?: int, material?: Material): void;
12
+ /**
13
+ * Draws to the given `rect` on this texture, as well as on up to 3 DrawableTexture `extra_targets`. All `extra_targets` must be the same size and DrawableFormat as the original target, otherwise the Shader may fail. Expects up to 4 Texture `sources`, but will replace missing `sources` with default Black Textures.
14
+ */
15
+ blit_rect_multi(rect: Rect2i | Rect2, sources: Array<Texture2D>, extra_targets: Array<DrawableTexture2D>, modulate?: Color, mipmap?: int, material?: Material): void;
16
+ /** Re-calculates the mipmaps for this texture on demand. */
17
+ generate_mipmaps(): void;
18
+ /** Returns `true` if mipmaps are set to be used on this DrawableTexture. */
19
+ get_use_mipmaps(): boolean;
20
+ /** Sets the format of this DrawableTexture. */
21
+ set_format(format: int): void;
22
+ /** Sets if mipmaps should be used on this DrawableTexture. */
23
+ set_use_mipmaps(mipmaps: boolean): void;
24
+ /** Initializes the DrawableTexture to a White texture of the given `width`, `height`, and `format`. */
25
+ setup(width: int, height: int, format: int, color?: Color, use_mipmaps?: boolean): void;
26
+
27
+ // enum DrawableFormat
28
+ /** OpenGL texture format RGBA with four components, each with a bitdepth of 8. */
29
+ static readonly DRAWABLE_FORMAT_RGBA8: int;
30
+ /**
31
+ * OpenGL texture format RGBA with four components, each with a bitdepth of 8.
32
+ * When drawn to, an sRGB to linear color space conversion is performed.
33
+ */
34
+ static readonly DRAWABLE_FORMAT_RGBA8_SRGB: int;
35
+ /**
36
+ * OpenGL texture format GL_RGBA16F where there are four components, each a 16-bit "half-precision" floating-point value.
37
+ */
38
+ static readonly DRAWABLE_FORMAT_RGBAH: int;
39
+ /**
40
+ * OpenGL texture format GL_RGBA32F where there are four components, each a 32-bit floating-point value.
41
+ */
42
+ static readonly DRAWABLE_FORMAT_RGBAF: int;
43
+ }
@@ -3,8 +3,6 @@
3
3
 
4
4
  /** Godot editor's command palette. */
5
5
  declare class EditorCommandPalette extends ConfirmationDialog {
6
- dialog_hide_on_ok: boolean;
7
-
8
6
  /**
9
7
  * Adds a custom command to EditorCommandPalette.
10
8
  * - `command_name`: {@link String} (Name of the **Command**. This is displayed to the user.)
@@ -56,4 +56,8 @@ declare class EditorContextMenuPlugin extends RefCounted {
56
56
  * The paths array is empty if there weren't any nodes under cursor. The option callback will receive a typed array of {@link CanvasItem} nodes.
57
57
  */
58
58
  static readonly CONTEXT_SLOT_2D_EDITOR: int;
59
+ /**
60
+ * Context menu of the inspectors right-click menu. {@link _popup_menu} will be called with an array of two items: The first will be the object's ID, the second will be the property name. An object can be retrieved from it's ID via {@link @GlobalScope.instance_from_id} after converting it to an int. The option callback will receive the EditorProperty directly.
61
+ */
62
+ static readonly CONTEXT_SLOT_INSPECTOR_PROPERTY: int;
59
63
  }
@@ -4,9 +4,10 @@
4
4
  /** Dockable container for the editor. */
5
5
  declare class EditorDock extends MarginContainer {
6
6
  /**
7
+ * <member name="available_layouts" type="int" setter="set_available_layouts" getter="get_available_layouts" enum="EditorDock.DockLayout" is_bitfield="true" default="5">
7
8
  * The available layouts for this dock, as a bitmask. By default, the dock allows vertical and floating layouts.
8
9
  */
9
- available_layouts: int;
10
+ accessibility_region: boolean;
10
11
  /**
11
12
  * If `true`, the dock can be closed with the Close button in the context popup. Docks with {@link global} enabled are always closable.
12
13
  */
@@ -21,7 +22,7 @@ declare class EditorDock extends MarginContainer {
21
22
  /** The shortcut used to open the dock. */
22
23
  dock_shortcut: Shortcut | null;
23
24
  /**
24
- * If `true`, the dock will always display an icon, regardless of {@link EditorSettings.interface/editor/dock_tab_style} or {@link EditorSettings.interface/editor/bottom_dock_tab_style}.
25
+ * If `true`, the dock will always display an icon, regardless of {@link EditorSettings.interface/editor/docks/dock_tab_style} or {@link EditorSettings.interface/editor/docks/bottom_dock_tab_style}.
25
26
  */
26
27
  force_show_icon: boolean;
27
28
  /**
@@ -46,8 +47,6 @@ declare class EditorDock extends MarginContainer {
46
47
  * If `true`, the dock is not automatically opened or closed when loading an editor layout, only moved. It also can't be opened using a shortcut. This is meant for docks that are opened and closed in specific cases, such as when selecting a {@link TileMap} or {@link AnimationTree} node.
47
48
  */
48
49
  transient: boolean;
49
- set_available_layouts(value: int): void;
50
- get_available_layouts(): int;
51
50
  set_closable(value: boolean): void;
52
51
  is_closable(): boolean;
53
52
  set_default_slot(value: int): void;
@@ -99,11 +98,13 @@ declare class EditorDock extends MarginContainer {
99
98
  * Emitted when the dock is closed with the Close button in the context popup, before it's removed from its parent. See {@link closable}.
100
99
  */
101
100
  closed: Signal<[]>;
101
+ /** Emitted when the dock is opened via the Editor > Editor Docks menu, before it's made visible. */
102
+ opened: Signal<[]>;
102
103
 
103
104
  // enum DockLayout
104
105
  /** Allows placing the dock in the vertical dock slots on either side of the editor. */
105
106
  static readonly DOCK_LAYOUT_VERTICAL: int;
106
- /** Allows placing the dock in the editor's bottom panel. */
107
+ /** Allows placing the dock in the horizontal dock slots at the bottom. */
107
108
  static readonly DOCK_LAYOUT_HORIZONTAL: int;
108
109
  /** Allows making the dock floating (opened as a separate window). */
109
110
  static readonly DOCK_LAYOUT_FLOATING: int;
@@ -130,6 +131,10 @@ declare class EditorDock extends MarginContainer {
130
131
  static readonly DOCK_SLOT_RIGHT_BR: int;
131
132
  /** Bottom panel. */
132
133
  static readonly DOCK_SLOT_BOTTOM: int;
134
+ /** Dock slot at the bottom, below bottom panel, on the left side. */
135
+ static readonly DOCK_SLOT_BOTTOM_L: int;
136
+ /** Dock slot at the bottom, below bottom panel, on the right side. */
137
+ static readonly DOCK_SLOT_BOTTOM_R: int;
133
138
  /** Represents the size of the {@link DockSlot} enum. */
134
139
  static readonly DOCK_SLOT_MAX: int;
135
140
  }
@@ -18,8 +18,10 @@ declare class EditorExportPlatform extends RefCounted {
18
18
  * **Note:** `patches` is an optional override of the set of patches defined in the export preset. When empty the patches defined in the export preset will be used instead.
19
19
  */
20
20
  export_pack_patch(preset: EditorExportPreset, debug: boolean, path: string | NodePath, patches?: PackedStringArray | Array<unknown>, flags?: int): int;
21
- /** Creates a full project at `path` for the specified `preset`. */
22
- export_project(preset: EditorExportPreset, debug: boolean, path: string | NodePath, flags: int): int;
21
+ /**
22
+ * Creates a full project at `path` for the specified `preset`. If `notify` is `true`, plugins using {@link EditorExportPlugin._export_begin} will be called during the process.
23
+ */
24
+ export_project(preset: EditorExportPreset, debug: boolean, path: string | NodePath, flags: int, notify?: boolean): int;
23
25
  /**
24
26
  * Exports project files for the specified preset. This method can be used to implement custom export format, other than PCK and ZIP. One of the callbacks is called for each exported file.
25
27
  * `save_cb` is called for all exported files and have the following arguments: `file_path: String`, `file_data: PackedByteArray`, `file_index: int`, `file_count: int`, `encryption_include_filters: PackedStringArray`, `encryption_exclude_filters: PackedStringArray`, `encryption_key: PackedByteArray`.
@@ -30,12 +30,18 @@ declare class EditorExportPlugin extends RefCounted {
30
30
  /**
31
31
  * Customize a scene. If changes are made to it, return the same or a new scene. Otherwise, return `null`. If a new scene is returned, it is up to you to dispose of the old one.
32
32
  * Implementing this method is required if {@link _begin_customize_scenes} returns `true`.
33
+ * **Note:** To change a variable in your scene, use the `@export` annotation when declaring it.
33
34
  */
34
35
  _customize_scene(scene: Node, path: string | NodePath): Node | null;
35
36
  /** This is called when the customization process for resources ends. */
36
37
  _end_customize_resources(): void;
37
38
  /** This is called when the customization process for scenes ends. */
38
39
  _end_customize_scenes(): void;
40
+ /**
41
+ * This is called after Xcode project generation, but before it is built.
42
+ * **Note:** Only supported on iOS and visionOS.
43
+ */
44
+ _end_generate_apple_embedded_project(path: string | NodePath, will_build_archive: boolean): void;
39
45
  /**
40
46
  * Virtual method to be overridden by the user. It is called when the export starts and provides all information about the export. `features` is the list of features for the export, `is_debug` is `true` for debug builds, `path` is the target path for the exported project. `flags` is only used when running a runnable profile, e.g. when using native run on Android.
41
47
  */
@@ -84,6 +90,7 @@ declare class EditorExportPlugin extends RefCounted {
84
90
  /**
85
91
  * Return a hash based on the configuration passed (for both scenes and resources). This helps keep separate caches for separate export configurations.
86
92
  * Implementing this method is required if {@link _begin_customize_resources} returns `true`.
93
+ * **Note:** {@link _customize_resource} and {@link _customize_scene} will not be called when the {@link EditorExportPlugin} script is modified unless this hash changes too.
87
94
  */
88
95
  _get_customization_configuration_hash(): int;
89
96
  /**
@@ -57,7 +57,7 @@ declare class EditorFeatureProfile extends RefCounted {
57
57
  * The Script tab, which contains the script editor and class reference browser. If this feature is disabled, the Script tab won't display.
58
58
  */
59
59
  static readonly FEATURE_SCRIPT: int;
60
- /** The AssetLib tab. If this feature is disabled, the AssetLib tab won't display. */
60
+ /** The Asset Store tab. If this feature is disabled, the Asset Store tab won't display. */
61
61
  static readonly FEATURE_ASSET_LIB: int;
62
62
  /**
63
63
  * Scene tree editing. If this feature is disabled, the Scene tree dock will still be visible but will be read-only.
@@ -13,6 +13,8 @@ declare class EditorFileSystem extends Node {
13
13
  get_filesystem_path(path: string | NodePath): EditorFileSystemDirectory | null;
14
14
  /** Returns the scan progress for 0 to 1 if the FS is being scanned. */
15
15
  get_scanning_progress(): float;
16
+ /** Returns `true` if resources are currently being imported. */
17
+ is_importing(): boolean;
16
18
  /** Returns `true` if the filesystem is being scanned. */
17
19
  is_scanning(): boolean;
18
20
  /**
@@ -10,11 +10,21 @@ declare class EditorInspector extends ScrollContainer {
10
10
  set_draw_focus_border(value: boolean): void;
11
11
  get_draw_focus_border(): boolean;
12
12
 
13
+ /** Collapses all foldable sections. */
14
+ collapse_all_folding(): void;
15
+ /**
16
+ * Creates an inspector with the same configuration as the one used in the editor's Inspector dock. When passing a {@link LineEdit} into `filter_line_edit`, the inspector will filter its properties based on {@link LineEdit.text} whenever {@link LineEdit.text_changed} is emitted.
17
+ */
18
+ static create_default_inspector(filter_line_edit?: LineEdit): EditorInspector | null;
13
19
  /**
14
20
  * Shows the properties of the given `object` in this inspector for editing. To clear the inspector, call this method with `null`.
15
21
  * **Note:** If you want to edit an object in the editor's main inspector, use the `edit_*` methods in {@link EditorInterface} instead.
16
22
  */
17
23
  edit(object: GodotObject): void;
24
+ /** Expands all foldable sections. */
25
+ expand_all_folding(): void;
26
+ /** Expands only the foldable sections that contain a revertable (i.e. non-default) property. */
27
+ expand_revertable(): void;
18
28
  /** Returns the object currently selected in this inspector. */
19
29
  get_edited_object(): GodotObject | null;
20
30
  /** Gets the path of the currently selected property. */
@@ -70,7 +70,7 @@ declare interface EditorInterface extends GodotObject {
70
70
  get_editor_paths(): EditorPaths;
71
71
  /**
72
72
  * Returns the actual scale of the editor UI (`1.0` being 100% scale). This can be used to adjust position and dimensions of the UI added by plugins.
73
- * **Note:** This value is set via the {@link EditorSettings.interface/editor/display_scale} and {@link EditorSettings.interface/editor/custom_display_scale} settings. The editor must be restarted for changes to be properly applied.
73
+ * **Note:** This value is set via the {@link EditorSettings.interface/editor/appearance/display_scale} and {@link EditorSettings.interface/editor/appearance/custom_display_scale} settings. The editor must be restarted for changes to be properly applied.
74
74
  */
75
75
  get_editor_scale(): float;
76
76
  /** Returns the editor's {@link EditorSettings} instance. */
@@ -131,6 +131,8 @@ declare interface EditorInterface extends GodotObject {
131
131
  get_selected_paths(): PackedStringArray;
132
132
  /** Returns the editor's {@link EditorSelection} instance. */
133
133
  get_selection(): EditorSelection;
134
+ /** Returns an array of file paths of currently unsaved scenes. */
135
+ get_unsaved_scenes(): PackedStringArray;
134
136
  /**
135
137
  * Shows the given property on the given `object` in the editor's Inspector dock. If `inspector_only` is `true`, plugins will not attempt to edit `object`.
136
138
  */
@@ -138,7 +140,7 @@ declare interface EditorInterface extends GodotObject {
138
140
  /**
139
141
  * Returns `true` if multiple window support is enabled in the editor. Multiple window support is enabled if *all* of these statements are true:
140
142
  * - {@link EditorSettings.interface/multi_window/enable} is `true`.
141
- * - {@link EditorSettings.interface/editor/single_window_mode} is `false`.
143
+ * - {@link EditorSettings.interface/editor/display/single_window_mode} is `false`.
142
144
  * - {@link Viewport.gui_embed_subwindows} is `false`. This is forced to `true` on platforms that don't support multiple windows such as Web, or when the `--single-window` command line argument ($DOCS_URL/tutorials/editor/command_line_tutorial.html) is used.
143
145
  */
144
146
  is_multi_window_enabled(): boolean;
@@ -213,7 +215,7 @@ declare interface EditorInterface extends GodotObject {
213
215
  * Pops up an editor dialog for quick selecting a resource file. The `callback` must take a single argument of type {@link String} which will contain the path of the selected resource or be empty if the dialog is canceled. If `base_types` is provided, the dialog will only show resources that match these types. Only types deriving from {@link Resource} are supported.
214
216
  */
215
217
  popup_quick_open(callback: Callable, base_types?: Array<string>): void;
216
- /** Reloads the scene at the given path. */
218
+ /** Reloads the scene at the given path. Fails if the scene is not open. */
217
219
  reload_scene_from_path(scene_filepath: string | NodePath): void;
218
220
  /**
219
221
  * Restarts the editor. This closes the editor and then opens the same project. If `save` is `true`, the project will be saved before restarting.
@@ -234,7 +236,7 @@ declare interface EditorInterface extends GodotObject {
234
236
  */
235
237
  set_current_feature_profile(profile_name: string | NodePath): void;
236
238
  /**
237
- * Sets the editor's current main screen to the one specified in `name`. `name` must match the title of the tab in question exactly (e.g. `2D`, `3D`, [code skip-lint]Script[/code], `Game`, or `AssetLib` for default tabs).
239
+ * Sets the editor's current main screen to the one specified in `name`. `name` must match the title of the tab in question exactly (e.g. `2D`, `3D`, [code skip-lint]Script[/code], `Game`, or `Asset Store` for default tabs).
238
240
  */
239
241
  set_main_screen_editor(name: string | NodePath): void;
240
242
  /**
@@ -8,6 +8,10 @@ declare class EditorNode3DGizmoPlugin extends Resource {
8
8
  * Override this method to define whether the gizmos handled by this plugin can be hidden or not. Returns `true` if not overridden.
9
9
  */
10
10
  _can_be_hidden(): boolean;
11
+ /**
12
+ * Override this method to define whether the gizmos should commit when the final handle position is the same as the initial one. Returns `false` if not overridden.
13
+ */
14
+ _can_commit_handle_on_click(): boolean;
11
15
  /**
12
16
  * Override this method to commit a handle being edited (handles must have been previously added by {@link EditorNode3DGizmo.add_handles} during {@link _redraw}). This usually means creating an {@link UndoRedo} action for the change, using the current handle value as "do" and the `restore` argument as "undo".
13
17
  * If the `cancel` argument is `true`, the `restore` value should be directly set, without any {@link UndoRedo} action.
@@ -64,13 +64,13 @@ declare class EditorPlugin extends Node {
64
64
  _get_breakpoints(): PackedStringArray;
65
65
  /**
66
66
  * Override this method in your plugin to return a {@link Texture2D} in order to give it an icon.
67
- * For main screen plugins, this appears at the top of the screen, to the right of the "2D", "3D", "Script", "Game", and "AssetLib" buttons.
67
+ * For main screen plugins, this appears at the top of the screen, to the right of the "2D", "3D", "Script", "Game", and "Asset Store" buttons.
68
68
  * Ideally, the plugin icon should be white with a transparent background and 16×16 pixels in size.
69
69
  */
70
70
  _get_plugin_icon(): Texture2D | null;
71
71
  /**
72
72
  * Override this method in your plugin to provide the name of the plugin when displayed in the Godot editor.
73
- * For main screen plugins, this appears at the top of the screen, to the right of the "2D", "3D", "Script", "Game", and "AssetLib" buttons.
73
+ * For main screen plugins, this appears at the top of the screen, to the right of the "2D", "3D", "Script", "Game", and "Asset Store" buttons.
74
74
  */
75
75
  _get_plugin_name(): string;
76
76
  /**
@@ -98,7 +98,7 @@ declare class EditorPlugin extends Node {
98
98
  */
99
99
  _handles(object: GodotObject): boolean;
100
100
  /**
101
- * Returns `true` if this is a main screen editor plugin (it goes in the workspace selector together with **2D**, **3D**, **Script**, **Game**, and **AssetLib**).
101
+ * Returns `true` if this is a main screen editor plugin (it goes in the workspace selector together with **2D**, **3D**, **Script**, **Game**, and **Asset Store**).
102
102
  * When the plugin's workspace is selected, other main screen plugins will be hidden, but your plugin will not appear automatically. It needs to be added as a child of {@link EditorInterface.get_editor_main_screen} and made visible inside {@link _make_visible}.
103
103
  * Use {@link _get_plugin_name} and {@link _get_plugin_icon} to customize the plugin button's appearance.
104
104
  */
@@ -308,7 +308,7 @@ declare class EditorPlugin extends Node {
308
308
  update_overlays(): int;
309
309
 
310
310
  /**
311
- * Emitted when user changes the workspace (**2D**, **3D**, **Script**, **Game**, **AssetLib**). Also works with custom screens defined by plugins.
311
+ * Emitted when user changes the workspace (**2D**, **3D**, **Script**, **Game**, **Asset Store**). Also works with custom screens defined by plugins.
312
312
  */
313
313
  main_screen_changed: Signal<[string]>;
314
314
  /** Emitted when the given `resource` was saved on disc. See also {@link scene_saved}. */