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
@@ -11,6 +11,10 @@ declare class AnimationNodeBlendSpace2D extends AnimationRootNode {
11
11
  auto_triangles: boolean;
12
12
  /** Controls the interpolation between animations. */
13
13
  blend_mode: int;
14
+ /**
15
+ * The cycle length in seconds used by {@link SYNC_MODE_CYCLIC_CONSTANT}. All animations are time-scaled so they complete one full cycle in this duration. Must be greater than `0` for cyclic sync to take effect.
16
+ */
17
+ cyclic_length: float;
14
18
  /** The blend space's X and Y axes' upper limit for the points' position. See {@link add_blend_point}. */
15
19
  max_space: Vector2;
16
20
  /** The blend space's X and Y axes' lower limit for the points' position. See {@link add_blend_point}. */
@@ -18,10 +22,11 @@ declare class AnimationNodeBlendSpace2D extends AnimationRootNode {
18
22
  /** Position increment to snap to when moving a point. */
19
23
  snap: Vector2;
20
24
  /**
21
- * If `false`, the blended animations' frame are stopped when the blend value is `0`.
22
- * If `true`, forcing the blended animations to advance frame.
25
+ * If `true`, sync mode is enabled (equivalent to {@link SYNC_MODE_INDEPENDENT}). This property is kept for backward compatibility.
23
26
  */
24
27
  sync: boolean;
28
+ /** Controls how animations are synced when blended. See {@link SyncMode} for available options. */
29
+ sync_mode: int;
25
30
  /** Name of the blend space's X axis. */
26
31
  x_label: string;
27
32
  /** Name of the blend space's Y axis. */
@@ -30,6 +35,8 @@ declare class AnimationNodeBlendSpace2D extends AnimationRootNode {
30
35
  get_auto_triangles(): boolean;
31
36
  set_blend_mode(value: int): void;
32
37
  get_blend_mode(): int;
38
+ set_cyclic_length(value: float): void;
39
+ get_cyclic_length(): float;
33
40
  set_max_space(value: Vector2 | Vector2i): void;
34
41
  get_max_space(): Vector2;
35
42
  set_min_space(value: Vector2 | Vector2i): void;
@@ -38,21 +45,30 @@ declare class AnimationNodeBlendSpace2D extends AnimationRootNode {
38
45
  get_snap(): Vector2;
39
46
  set_use_sync(value: boolean): void;
40
47
  is_using_sync(): boolean;
48
+ set_sync_mode(value: int): void;
49
+ get_sync_mode(): int;
41
50
  set_x_label(value: string | NodePath): void;
42
51
  get_x_label(): string;
43
52
  set_y_label(value: string | NodePath): void;
44
53
  get_y_label(): string;
45
54
 
46
55
  /**
47
- * Adds a new point that represents a `node` at the position set by `pos`. You can insert it at a specific index using the `at_index` argument. If you use the default value for `at_index`, the point is inserted at the end of the blend points array.
56
+ * Adds a new point with `name` that represents a `node` at the position set by `pos`. You can insert it at a specific index using the `at_index` argument. If you use the default value for `at_index`, the point is inserted at the end of the blend points array.
57
+ * **Note:** If no name is provided, safe index is used as reference. In the future, empty names will be deprecated, so explicitly passing a name is recommended.
48
58
  */
49
- add_blend_point(node: AnimationRootNode, pos: Vector2 | Vector2i, at_index?: int): void;
59
+ add_blend_point(node: AnimationRootNode, pos: Vector2 | Vector2i, at_index?: int, name?: string): void;
50
60
  /**
51
61
  * Creates a new triangle using three points `x`, `y`, and `z`. Triangles can overlap. You can insert the triangle at a specific index using the `at_index` argument. If you use the default value for `at_index`, the point is inserted at the end of the blend points array.
52
62
  */
53
63
  add_triangle(x: int, y: int, z: int, at_index?: int): void;
64
+ /**
65
+ * Returns the index of the blend point with the given `name`. Returns `-1` if no blend point with that name is found.
66
+ */
67
+ find_blend_point_by_name(name: string): int;
54
68
  /** Returns the number of points in the blend space. */
55
69
  get_blend_point_count(): int;
70
+ /** Returns the name of the blend point at index `point`. */
71
+ get_blend_point_name(point: int): string;
56
72
  /** Returns the {@link AnimationRootNode} referenced by the point at index `point`. */
57
73
  get_blend_point_node(point: int): AnimationRootNode | null;
58
74
  /** Returns the position of the point at index `point`. */
@@ -65,6 +81,14 @@ declare class AnimationNodeBlendSpace2D extends AnimationRootNode {
65
81
  remove_blend_point(point: int): void;
66
82
  /** Removes the triangle at index `triangle` from the blend space. */
67
83
  remove_triangle(triangle: int): void;
84
+ /**
85
+ * Swaps the blend points at indices `from_index` and `to_index`, exchanging their positions and properties.
86
+ */
87
+ reorder_blend_point(from_index: int, to_index: int): void;
88
+ /**
89
+ * Sets the name of the blend point at index `point`. If the name conflicts with an existing point, a unique name will be generated automatically.
90
+ */
91
+ set_blend_point_name(point: int, name: string): void;
68
92
  /** Changes the {@link AnimationNode} referenced by the point at index `point`. */
69
93
  set_blend_point_node(point: int, node: AnimationRootNode): void;
70
94
  /** Updates the position of the point at index `point` in the blend space. */
@@ -86,4 +110,21 @@ declare class AnimationNodeBlendSpace2D extends AnimationRootNode {
86
110
  * Similar to {@link BLEND_MODE_DISCRETE}, but starts the new animation at the last animation's playback position.
87
111
  */
88
112
  static readonly BLEND_MODE_DISCRETE_CARRY: int;
113
+ // enum SyncMode
114
+ /** Inactive animations are frozen and do not advance. */
115
+ static readonly SYNC_MODE_NONE: int;
116
+ /**
117
+ * Inactive animations advance with a weight of `0`. This is equivalent to the previous `sync = true` behavior.
118
+ */
119
+ static readonly SYNC_MODE_INDEPENDENT: int;
120
+ /**
121
+ * All animations are time-scaled so they stay in sync, with the cycle length dynamically computed from active blend weights. This is self-normalizing: a solo animation plays at normal speed.
122
+ * **Note:** If you apply {@link AnimationNodeTimeSeek} to the result when handling animations of different lengths, synchronization will be broken. In such cases, it is recommended to use {@link AnimationNodeAnimation.use_custom_timeline} to align the animation lengths.
123
+ */
124
+ static readonly SYNC_MODE_CYCLIC_MUTABLE: int;
125
+ /**
126
+ * All animations are time-scaled so they complete one cycle in {@link cyclic_length} seconds, keeping them in sync regardless of their individual lengths.
127
+ * **Note:** If you apply {@link AnimationNodeTimeSeek} to the result when handling animations of different lengths, synchronization will be broken. In such cases, it is recommended to use {@link AnimationNodeAnimation.use_custom_timeline} to align the animation lengths.
128
+ */
129
+ static readonly SYNC_MODE_CYCLIC_CONSTANT: int;
89
130
  }
@@ -126,8 +126,9 @@ declare class Area3D extends CollisionObject3D {
126
126
  */
127
127
  get_overlapping_areas(): Array<Area3D>;
128
128
  /**
129
- * Returns a list of intersecting {@link PhysicsBody3D}s and {@link GridMap}s. The overlapping body's {@link CollisionObject3D.collision_layer} must be part of this area's {@link CollisionObject3D.collision_mask} in order to be detected.
129
+ * Returns a list of intersecting {@link PhysicsBody3D}s, {@link SoftBody3D}s, and {@link GridMap}s. The overlapping body's {@link CollisionObject3D.collision_layer} must be part of this area's {@link CollisionObject3D.collision_mask} in order to be detected.
130
130
  * For performance reasons (collisions are all processed at the same time) this list is modified once during the physics step, not immediately after objects are moved. Consider using signals instead.
131
+ * **Note:** Godot Physics does not support reporting overlaps with {@link SoftBody3D}, so will not return any such bodies.
131
132
  */
132
133
  get_overlapping_bodies(): Array<Node3D>;
133
134
  /**
@@ -136,8 +137,9 @@ declare class Area3D extends CollisionObject3D {
136
137
  */
137
138
  has_overlapping_areas(): boolean;
138
139
  /**
139
- * Returns `true` if intersecting any {@link PhysicsBody3D}s or {@link GridMap}s, otherwise returns `false`. The overlapping body's {@link CollisionObject3D.collision_layer} must be part of this area's {@link CollisionObject3D.collision_mask} in order to be detected.
140
+ * Returns `true` if intersecting any {@link PhysicsBody3D}s, {@link SoftBody3D}s, or {@link GridMap}s, otherwise returns `false`. The overlapping body's {@link CollisionObject3D.collision_layer} must be part of this area's {@link CollisionObject3D.collision_mask} in order to be detected.
140
141
  * For performance reasons (collisions are all processed at the same time) the list of overlapping bodies is modified once during the physics step, not immediately after objects are moved. Consider using signals instead.
142
+ * **Note:** Godot Physics does not support reporting overlaps with {@link SoftBody3D}, so will not consider such bodies.
141
143
  */
142
144
  has_overlapping_bodies(): boolean;
143
145
  /**
@@ -147,8 +149,9 @@ declare class Area3D extends CollisionObject3D {
147
149
  overlaps_area(area: Node): boolean;
148
150
  /**
149
151
  * Returns `true` if the given physics body intersects or overlaps this {@link Area3D}, `false` otherwise.
152
+ * `body` argument can either be a {@link PhysicsBody3D}, {@link SoftBody3D}, or a {@link GridMap} instance. While GridMaps are not physics body themselves, they register their tiles with collision shapes as a virtual physics body.
150
153
  * **Note:** The result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead.
151
- * The `body` argument can either be a {@link PhysicsBody3D} or a {@link GridMap} instance. While GridMaps are not physics body themselves, they register their tiles with collision shapes as a virtual physics body.
154
+ * **Note:** Godot Physics does not support reporting overlaps with {@link SoftBody3D}, so will return `false` in such cases.
152
155
  */
153
156
  overlaps_body(body: Node): boolean;
154
157
 
@@ -168,22 +171,26 @@ declare class Area3D extends CollisionObject3D {
168
171
  */
169
172
  area_shape_exited: Signal<[RID, Area3D, int, int]>;
170
173
  /**
171
- * Emitted when the received `body` enters this area. `body` can be a {@link PhysicsBody3D} or a {@link GridMap}. {@link GridMap}s are detected if their {@link MeshLibrary} has collision shapes configured. Requires {@link monitoring} to be set to `true`.
174
+ * Emitted when the received `body` enters this area. `body` can be a {@link PhysicsBody3D}, {@link SoftBody3D} or {@link GridMap}. {@link GridMap}s are detected if their {@link MeshLibrary} has collision shapes configured. Requires {@link monitoring} to be set to `true`.
175
+ * **Note:** Godot Physics does not support reporting overlaps with {@link SoftBody3D}, so will not emit this signal in such cases.
172
176
  */
173
177
  body_entered: Signal<[Node3D]>;
174
178
  /**
175
- * Emitted when the received `body` exits this area. `body` can be a {@link PhysicsBody3D} or a {@link GridMap}. {@link GridMap}s are detected if their {@link MeshLibrary} has collision shapes configured. Requires {@link monitoring} to be set to `true`.
179
+ * Emitted when the received `body` exits this area. `body` can be a {@link PhysicsBody3D}, {@link SoftBody3D} or {@link GridMap}. {@link GridMap}s are detected if their {@link MeshLibrary} has collision shapes configured. Requires {@link monitoring} to be set to `true`.
180
+ * **Note:** Godot Physics does not support reporting overlaps with {@link SoftBody3D}, so will not emit this signal in such cases.
176
181
  */
177
182
  body_exited: Signal<[Node3D]>;
178
183
  /**
179
- * Emitted when a {@link Shape3D} of the received `body` enters a shape of this area. `body` can be a {@link PhysicsBody3D} or a {@link GridMap}. {@link GridMap}s are detected if their {@link MeshLibrary} has collision shapes configured. Requires {@link monitoring} to be set to `true`.
184
+ * Emitted when a {@link Shape3D} of the received `body` enters a shape of this area. `body` can be a {@link PhysicsBody3D}, {@link SoftBody3D} or {@link GridMap}. {@link GridMap}s are detected if their {@link MeshLibrary} has collision shapes configured. Requires {@link monitoring} to be set to `true`.
180
185
  * `local_shape_index` and `body_shape_index` contain indices of the interacting shapes from this area and the interacting body, respectively. `body_rid` contains the {@link RID} of the body. These values can be used with the {@link PhysicsServer3D}.
186
+ * **Note:** Godot Physics does not support reporting overlaps with {@link SoftBody3D}, so will not emit this signal in such cases.
181
187
  * **Example:** Get the {@link CollisionShape3D} node from the shape index:
182
188
  */
183
189
  body_shape_entered: Signal<[RID, Node3D, int, int]>;
184
190
  /**
185
- * Emitted when a {@link Shape3D} of the received `body` exits a shape of this area. `body` can be a {@link PhysicsBody3D} or a {@link GridMap}. {@link GridMap}s are detected if their {@link MeshLibrary} has collision shapes configured. Requires {@link monitoring} to be set to `true`.
191
+ * Emitted when a {@link Shape3D} of the received `body` exits a shape of this area. `body` can be a {@link PhysicsBody3D}, {@link SoftBody3D} or {@link GridMap}. {@link GridMap}s are detected if their {@link MeshLibrary} has collision shapes configured. Requires {@link monitoring} to be set to `true`.
186
192
  * See also {@link body_shape_entered}.
193
+ * **Note:** Godot Physics does not support reporting overlaps with {@link SoftBody3D}, so will not emit this signal in such cases.
187
194
  */
188
195
  body_shape_exited: Signal<[RID, Node3D, int, int]>;
189
196
 
@@ -0,0 +1,37 @@
1
+ // AUTO-GENERATED from Godot class documentation.
2
+ // Manual overrides applied from typings-overrides/*.d.ts
3
+
4
+ /** An area light, such as a neon light tube or a screen. */
5
+ declare class AreaLight3D extends Light3D {
6
+ /**
7
+ * Controls the distance attenuation function for this area light.
8
+ * A value of `0.0` will maintain a constant brightness through most of the range, but will smoothly attenuate the light at the edge of the range. Use a value of `2.0` for physically accurate lights as it results in the proper inverse square attenuation.
9
+ * **Note:** Setting attenuation to `2.0` or higher may result in distant objects receiving minimal light, even when within range. For example, with a range of `4096`, an object at `100` units is attenuated by a factor of `0.0001`. With a default brightness of `1`, the light would not be visible at that distance.
10
+ * **Note:** Using negative values or values higher than `10.0` may lead to unexpected results.
11
+ */
12
+ area_attenuation: float;
13
+ /**
14
+ * Defines whether the energy is normalized (divided) by the surface area of the light. If set to `true`, changing the size does not affect the total energy output, and does not dramatically alter the brightness of the scene.
15
+ */
16
+ area_normalize_energy: boolean;
17
+ /**
18
+ * The range of the area in meters. This determines the maximum distance from any point on the area at which the area can still emit light.
19
+ */
20
+ area_range: float;
21
+ /** The extents (width and height) of the area in meters. */
22
+ area_size: Vector2;
23
+ /**
24
+ * An optional texture to use as a light source. Changing the texture at runtime might impact performance, as it needs to be drawn to the area light atlas with filtered mipmaps.
25
+ * If no texture is assigned, the area light emits uniform light across its surface.
26
+ * **Note:** Area light textures are only supported in the Forward+ and Mobile rendering methods, not Compatibility. To reduce the performance impact of switching textures at runtime, make sure each dimension of an area texture is either a multiple of 128 pixels, or a power of two. This removes the need for a scaling pass, which slows down texture changes. The textures don't necessarily have to be square to be optimal. Examples of optimal texture sizes include 32x64, 128x128, and 256x384.
27
+ */
28
+ area_texture: Texture2D | null;
29
+ light_size: float;
30
+ shadow_normal_bias: float;
31
+ set_area_normalize_energy(value: boolean): void;
32
+ is_area_normalizing_energy(): boolean;
33
+ set_area_size(value: Vector2 | Vector2i): void;
34
+ get_area_size(): Vector2;
35
+ set_area_texture(value: Texture2D | null): void;
36
+ get_area_texture(): Texture2D | null;
37
+ }
@@ -73,7 +73,22 @@ declare class ArrayMesh extends Mesh {
73
73
  surface_remove(surf_idx: int): void;
74
74
  /** Sets a name for a given surface. */
75
75
  surface_set_name(surf_idx: int, name: string | NodePath): void;
76
+ /**
77
+ * Updates the attribute buffer of this mesh's surface with the given `data`. The expected data per attribute is 12 or 8 bytes (4 bytes per float, 2 floats per {@link Vector2}, and 3 floats per {@link Vector3}) depending on if the mesh is using {@link Vector3} or {@link Vector2} vertices. This value can be determined with {@link RenderingServer.mesh_surface_get_format_attribute_stride}.
78
+ * The starting point of the updates can be changed with `offset`. The value of `offset` should be a multiple of 12 bytes in most cases to align to each attribute.
79
+ * A {@link PackedVector3Array} of attribute locations can be converted into a {@link PackedByteArray} using {@link PackedVector3Array.to_byte_array} for use in `data`.
80
+ */
76
81
  surface_update_attribute_region(surf_idx: int, offset: int, data: PackedByteArray | Array<unknown>): void;
82
+ /**
83
+ * Updates the skin buffer of this mesh's surface with the given `data`. The expected data per skin is 12 or 8 bytes (4 bytes per float, 2 floats per {@link Vector2}, and 3 floats per {@link Vector3}) depending on if the mesh is using {@link Vector3} or {@link Vector2} vertices. This value can be determined with {@link RenderingServer.mesh_surface_get_format_skin_stride}.
84
+ * The starting point of the updates can be changed with `offset`. The value of `offset` should be a multiple of 12 bytes in most cases to align to each skin.
85
+ * A {@link PackedVector3Array} of skin locations can be converted into a {@link PackedByteArray} using {@link PackedVector3Array.to_byte_array} for use in `data`.
86
+ */
77
87
  surface_update_skin_region(surf_idx: int, offset: int, data: PackedByteArray | Array<unknown>): void;
88
+ /**
89
+ * Updates the vertex buffer of this mesh's surface with the given `data`. The expected data per vertex is 12 or 8 bytes (4 bytes per float, 2 floats per {@link Vector2}, and 3 floats per {@link Vector3}) depending on if the mesh is using {@link Vector3} or {@link Vector2} vertices. This value can be determined with {@link RenderingServer.mesh_surface_get_format_vertex_stride}.
90
+ * The starting point of the updates can be changed with `offset`. The value of `offset` should be a multiple of 12 bytes in most cases to align to each vertex.
91
+ * A {@link PackedVector3Array} of vertex locations can be converted into a {@link PackedByteArray} using {@link PackedVector3Array.to_byte_array} for use in `data`.
92
+ */
78
93
  surface_update_vertex_region(surf_idx: int, offset: int, data: PackedByteArray | Array<unknown>): void;
79
94
  }
@@ -1,10 +1,10 @@
1
1
  // AUTO-GENERATED from Godot class documentation.
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
- /** Adds an amplifying audio effect to an audio bus. */
4
+ /** Adds a volume manipulation audio effect to an audio bus. */
5
5
  declare class AudioEffectAmplify extends AudioEffect {
6
6
  /**
7
- * Amount of amplification in decibels. Positive values make the sound louder, negative values make it quieter. Value can range from -80 to 24.
7
+ * Amount of amplification in dB. Positive values make the sound louder, negative values make it quieter. Value can range from -80 to 24.
8
8
  */
9
9
  volume_db: float;
10
10
  /**
@@ -1,6 +1,6 @@
1
1
  // AUTO-GENERATED from Godot class documentation.
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
- /** Adds a band limit filter to the audio bus. */
4
+ /** Adds a band-limit filter to an audio bus. */
5
5
  declare class AudioEffectBandLimitFilter extends AudioEffectFilter {
6
6
  }
@@ -1,6 +1,6 @@
1
1
  // AUTO-GENERATED from Godot class documentation.
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
- /** Adds a band pass filter to the audio bus. */
4
+ /** Adds a band-pass filter to an audio bus. */
5
5
  declare class AudioEffectBandPassFilter extends AudioEffectFilter {
6
6
  }
@@ -1,16 +1,17 @@
1
1
  // AUTO-GENERATED from Godot class documentation.
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
- /** Captures audio from an audio bus in real-time. */
4
+ /** Exposes audio samples from an audio bus in real-time, such that it can be accessed as data. */
5
5
  declare class AudioEffectCapture extends AudioEffect {
6
6
  /**
7
- * Length of the internal ring buffer, in seconds. Setting the buffer length will have no effect if already initialized.
7
+ * Length of the internal ring buffer, in seconds. Higher values keep data around for longer, but require more memory. Value can range from 0.01 to 10.
8
+ * **Note:** Setting the buffer length will have no effect if already initialized.
8
9
  */
9
10
  buffer_length: float;
10
11
  set_buffer_length(value: float): void;
11
12
  get_buffer_length(): float;
12
13
 
13
- /** Returns `true` if at least `frames` audio frames are available to read in the internal ring buffer. */
14
+ /** Returns `true` if at least `frames` samples are available to read in the internal ring buffer. */
14
15
  can_get_buffer(frames: int): boolean;
15
16
  /**
16
17
  * Clears the internal ring buffer.
@@ -18,17 +19,17 @@ declare class AudioEffectCapture extends AudioEffect {
18
19
  */
19
20
  clear_buffer(): void;
20
21
  /**
21
- * Gets the next `frames` audio samples from the internal ring buffer.
22
- * Returns a {@link PackedVector2Array} containing exactly `frames` audio samples if available, or an empty {@link PackedVector2Array} if insufficient data was available.
22
+ * Gets the next `frames` samples from the internal ring buffer.
23
+ * Returns a {@link PackedVector2Array} containing exactly `frames` samples if available, or an empty {@link PackedVector2Array} if insufficient data was available.
23
24
  * The samples are signed floating-point PCM between `-1` and `1`. You will have to scale them if you want to use them as 8 or 16-bit integer samples. (`v = 0x7fff * samples[0].x`)
24
25
  */
25
26
  get_buffer(frames: int): PackedVector2Array;
26
- /** Returns the total size of the internal ring buffer in frames. */
27
+ /** Returns the total size of the internal ring buffer in number of samples. */
27
28
  get_buffer_length_frames(): int;
28
- /** Returns the number of audio frames discarded from the audio bus due to full buffer. */
29
+ /** Returns the number of samples discarded from the audio bus due to full buffer. */
29
30
  get_discarded_frames(): int;
30
- /** Returns the number of frames available to read using {@link get_buffer}. */
31
+ /** Returns the number of samples available to read using {@link get_buffer}. */
31
32
  get_frames_available(): int;
32
- /** Returns the number of audio frames inserted from the audio bus. */
33
+ /** Returns the number of samples inserted from the audio bus. */
33
34
  get_pushed_frames(): int;
34
35
  }
@@ -1,61 +1,64 @@
1
1
  // AUTO-GENERATED from Godot class documentation.
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
- /** Adds a chorus audio effect. */
4
+ /**
5
+ * Adds a chorus audio effect to an audio bus.
6
+ * Gives the impression of multiple audio sources.
7
+ */
5
8
  declare class AudioEffectChorus extends AudioEffect {
6
- /** The effect's raw signal. */
9
+ /** The volume ratio of the original audio. Value can range from 0 to 1. */
7
10
  dry: float;
8
- /** The voice's cutoff frequency. */
11
+ /** The frequency threshold of the voice's low-pass filter in Hz. */
9
12
  'voice/1/cutoff_hz': float;
10
- /** The voice's signal delay. */
13
+ /** The delay of the voice in milliseconds, compared to the original audio. */
11
14
  'voice/1/delay_ms': float;
12
- /** The voice filter's depth. */
15
+ /** The depth of the voice's low-frequency oscillator in milliseconds. */
13
16
  'voice/1/depth_ms': float;
14
- /** The voice's volume. */
17
+ /** The gain of the voice in dB. */
15
18
  'voice/1/level_db': float;
16
- /** The voice's pan level. */
19
+ /** The pan position of the voice. */
17
20
  'voice/1/pan': float;
18
- /** The voice's filter rate. */
21
+ /** The rate of the voice's low-frequency oscillator in Hz. */
19
22
  'voice/1/rate_hz': float;
20
- /** The voice's cutoff frequency. */
23
+ /** The frequency threshold of the voice's low-pass filter in Hz. */
21
24
  'voice/2/cutoff_hz': float;
22
- /** The voice's signal delay. */
25
+ /** The delay of the voice in milliseconds, compared to the original audio. */
23
26
  'voice/2/delay_ms': float;
24
- /** The voice filter's depth. */
27
+ /** The depth of the voice's low-frequency oscillator in milliseconds. */
25
28
  'voice/2/depth_ms': float;
26
- /** The voice's volume. */
29
+ /** The gain of the voice in dB. */
27
30
  'voice/2/level_db': float;
28
- /** The voice's pan level. */
31
+ /** The pan position of the voice. */
29
32
  'voice/2/pan': float;
30
- /** The voice's filter rate. */
33
+ /** The rate of the voice's low-frequency oscillator in Hz. */
31
34
  'voice/2/rate_hz': float;
32
- /** The voice's cutoff frequency. */
35
+ /** The frequency threshold of the voice's low-pass filter in Hz. */
33
36
  'voice/3/cutoff_hz': float;
34
- /** The voice's signal delay. */
37
+ /** The delay of the voice in milliseconds, compared to the original audio. */
35
38
  'voice/3/delay_ms': float;
36
- /** The voice filter's depth. */
39
+ /** The depth of the voice's low-frequency oscillator in milliseconds. */
37
40
  'voice/3/depth_ms': float;
38
- /** The voice's volume. */
41
+ /** The gain of the voice in dB. */
39
42
  'voice/3/level_db': float;
40
- /** The voice's pan level. */
43
+ /** The pan position of the voice. */
41
44
  'voice/3/pan': float;
42
- /** The voice's filter rate. */
45
+ /** The rate of the voice's low-frequency oscillator in Hz. */
43
46
  'voice/3/rate_hz': float;
44
- /** The voice's cutoff frequency. */
47
+ /** The frequency threshold of the voice's low-pass filter in Hz. */
45
48
  'voice/4/cutoff_hz': float;
46
- /** The voice's signal delay. */
49
+ /** The delay of the voice in milliseconds, compared to the original audio. */
47
50
  'voice/4/delay_ms': float;
48
- /** The voice filter's depth. */
51
+ /** The depth of the voice's low-frequency oscillator in milliseconds. */
49
52
  'voice/4/depth_ms': float;
50
- /** The voice's volume. */
53
+ /** The gain of the voice in dB. */
51
54
  'voice/4/level_db': float;
52
- /** The voice's pan level. */
55
+ /** The pan position of the voice. */
53
56
  'voice/4/pan': float;
54
- /** The voice's filter rate. */
57
+ /** The rate of the voice's low-frequency oscillator in Hz. */
55
58
  'voice/4/rate_hz': float;
56
- /** The number of voices in the effect. */
59
+ /** The number of voices in the effect. Value can range from 1 to 4. */
57
60
  voice_count: int;
58
- /** The effect's processed signal. */
61
+ /** The volume ratio of all voices. Value can range from 0 to 1. */
59
62
  wet: float;
60
63
  set_dry(value: float): void;
61
64
  get_dry(): float;
@@ -64,16 +67,42 @@ declare class AudioEffectChorus extends AudioEffect {
64
67
  set_wet(value: float): void;
65
68
  get_wet(): float;
66
69
 
70
+ /**
71
+ * Returns the frequency threshold of a given `voice_idx`'s low-pass filter in Hz. Frequencies above this value are removed from the voice.
72
+ */
67
73
  get_voice_cutoff_hz(voice_idx: int): float;
74
+ /** Returns the delay of a given `voice_idx` in milliseconds, compared to the original audio. */
68
75
  get_voice_delay_ms(voice_idx: int): float;
76
+ /** Returns the depth of a given `voice_idx`'s low-frequency oscillator in milliseconds. */
69
77
  get_voice_depth_ms(voice_idx: int): float;
78
+ /** Returns the gain of a given `voice_idx` in dB. */
70
79
  get_voice_level_db(voice_idx: int): float;
80
+ /**
81
+ * Returns the pan position of a given `voice_idx`. Negative values mean the left channel, positive mean the right.
82
+ */
71
83
  get_voice_pan(voice_idx: int): float;
84
+ /** Returns the rate of a given `voice_idx`'s low-frequency oscillator in Hz. */
72
85
  get_voice_rate_hz(voice_idx: int): float;
86
+ /**
87
+ * Sets the frequency threshold of a given `voice_idx`'s low-pass filter in Hz. Frequencies above `cutoff_hz` are removed from `voice_idx`. Value can range from 1 to 20500.
88
+ */
73
89
  set_voice_cutoff_hz(voice_idx: int, cutoff_hz: float): void;
90
+ /**
91
+ * Sets the delay of a given `voice_idx` in milliseconds, compared to the original audio. Value can range from 0 to 50.
92
+ */
74
93
  set_voice_delay_ms(voice_idx: int, delay_ms: float): void;
94
+ /**
95
+ * Sets the depth of a given `voice_idx`'s low-frequency oscillator in milliseconds. Value can range from 0 to 20.
96
+ */
75
97
  set_voice_depth_ms(voice_idx: int, depth_ms: float): void;
98
+ /** Sets the gain of a given `voice_idx` in dB. Value can range from -60 to 24. */
76
99
  set_voice_level_db(voice_idx: int, level_db: float): void;
100
+ /**
101
+ * Sets the pan position of a given `voice_idx`. Negative values pan the sound to the left, positive pan to the right. Value can range from -1 to 1.
102
+ */
77
103
  set_voice_pan(voice_idx: int, pan: float): void;
104
+ /**
105
+ * Sets the rate of a given `voice_idx`'s low-frequency oscillator in Hz. Value can range from 0.1 to 20.
106
+ */
78
107
  set_voice_rate_hz(voice_idx: int, rate_hz: float): void;
79
108
  }
@@ -2,31 +2,33 @@
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
4
  /**
5
- * Adds a compressor audio effect to an audio bus.
6
- * Reduces sounds that exceed a certain threshold level, smooths out the dynamics and increases the overall volume.
5
+ * Adds a downward compressor audio effect to an audio bus.
6
+ * Allows control of the dynamic range via a volume threshold and timing controls.
7
7
  */
8
8
  declare class AudioEffectCompressor extends AudioEffect {
9
9
  /**
10
- * Compressor's reaction time when the signal exceeds the threshold, in microseconds. Value can range from 20 to 2000.
10
+ * Compressor's reaction time when the audio exceeds the volume threshold level, in microseconds. Value can range from 20 to 2000.
11
11
  */
12
12
  attack_us: float;
13
- /** Gain applied to the output signal. */
13
+ /** Gain of the audio signal, in dB. Value can range from -20 to 20. */
14
14
  gain: float;
15
15
  /**
16
- * Balance between original signal and effect signal. Value can range from 0 (totally dry) to 1 (totally wet).
16
+ * Balance between the original audio and the compressed audio. Value can range from 0 (totally dry) to 1 (totally wet).
17
17
  */
18
18
  mix: float;
19
19
  /**
20
- * Amount of compression applied to the audio once it passes the threshold level. The higher the ratio, the more the loud parts of the audio will be compressed. Value can range from 1 to 48.
20
+ * Amount of compression applied to the audio once it passes the volume threshold level. The higher the ratio, the stronger the compression applied to audio signals that pass the volume threshold level. Value can range from 1 to 48.
21
21
  */
22
22
  ratio: float;
23
23
  /**
24
- * Compressor's delay time to stop reducing the signal after the signal level falls below the threshold, in milliseconds. Value can range from 20 to 2000.
24
+ * Compressor's delay time to stop decreasing the volume after the it falls below the volume threshold level, in milliseconds. Value can range from 20 to 2000.
25
25
  */
26
26
  release_ms: float;
27
- /** Reduce the sound level using another audio bus for threshold detection. */
27
+ /** Audio bus to use for the volume threshold detection. */
28
28
  sidechain: string;
29
- /** The level above which compression is applied to the audio. Value can range from -60 to 0. */
29
+ /**
30
+ * The volume level above which compression is applied to the audio, in dB. Value can range from -60 to 0.
31
+ */
30
32
  threshold: float;
31
33
  set_attack_us(value: float): void;
32
34
  get_attack_us(): float;
@@ -2,39 +2,45 @@
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
4
  /**
5
- * Adds a delay audio effect to an audio bus. Plays input signal back after a period of time.
6
- * Two tap delay and feedback options.
5
+ * Adds a delay audio effect to an audio bus.
6
+ * Emulates an echo by playing the input audio back after a period of time.
7
7
  */
8
8
  declare class AudioEffectDelay extends AudioEffect {
9
- /**
10
- * Output percent of original sound. At 0, only delayed sounds are output. Value can range from 0 to 1.
11
- */
9
+ /** The volume ratio of the original audio. Value can range from 0 to 1. */
12
10
  dry: float;
13
- /** If `true`, feedback is enabled. */
11
+ /** If `true`, feedback is enabled, repeating taps after they are played. */
14
12
  feedback_active: boolean;
15
- /** Feedback delay time in milliseconds. */
13
+ /** Feedback delay time in milliseconds. Value can range from 0 to 1500. */
16
14
  feedback_delay_ms: float;
17
- /** Sound level for feedback. */
15
+ /** Gain for feedback, in dB. Value can range from -60 to 0. */
18
16
  feedback_level_db: float;
19
17
  /**
20
- * Low-pass filter for feedback, in Hz. Frequencies below this value are filtered out of the source signal.
18
+ * Low-pass filter for feedback, in Hz. Frequencies above this value are filtered out. Value can range from 1 to 16000.
21
19
  */
22
20
  feedback_lowpass: float;
23
21
  /** If `true`, the first tap will be enabled. */
24
22
  tap1_active: boolean;
25
- /** First tap delay time in milliseconds. */
23
+ /**
24
+ * First tap delay time in milliseconds, compared to the original audio. Value can range from 0 to 1500.
25
+ */
26
26
  tap1_delay_ms: float;
27
- /** Sound level for the first tap. */
27
+ /** Gain for the first tap, in dB. Value can range from -60 to 0. */
28
28
  tap1_level_db: float;
29
- /** Pan position for the first tap. Value can range from -1 (fully left) to 1 (fully right). */
29
+ /**
30
+ * Pan position for the first tap. Negative values pan the sound to the left, positive pan to the right. Value can range from -1 to 1.
31
+ */
30
32
  tap1_pan: float;
31
33
  /** If `true`, the second tap will be enabled. */
32
34
  tap2_active: boolean;
33
- /** Second tap delay time in milliseconds. */
35
+ /**
36
+ * Second tap delay time in milliseconds, compared to the original audio. Value can range from 0 to 1500.
37
+ */
34
38
  tap2_delay_ms: float;
35
- /** Sound level for the second tap. */
39
+ /** Gain for the second tap, in dB. Value can range from -60 to 0. */
36
40
  tap2_level_db: float;
37
- /** Pan position for the second tap. Value can range from -1 (fully left) to 1 (fully right). */
41
+ /**
42
+ * Pan position for the second tap. Negative values pan the sound to the left, positive pan to the right. Value can range from -1 to 1.
43
+ */
38
44
  tap2_pan: float;
39
45
  set_dry(value: float): void;
40
46
  get_dry(): float;
@@ -2,21 +2,23 @@
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
4
  /**
5
- * Adds a distortion audio effect to an Audio bus.
6
- * Modifies the sound to make it distorted.
5
+ * Adds a distortion audio effect to an audio bus.
6
+ * Remaps audio samples using a nonlinear function to achieve a distorted sound.
7
7
  */
8
8
  declare class AudioEffectDistortion extends AudioEffect {
9
- /** Distortion power. Value can range from 0 to 1. */
9
+ /**
10
+ * Distortion intensity. Controls how much of the input audio is affected by the distortion curve by moving from a linear function to a nonlinear one. Value can range from 0 to 1.
11
+ */
10
12
  drive: float;
11
13
  /**
12
14
  * High-pass filter, in Hz. Frequencies higher than this value will not be affected by the distortion. Value can range from 1 to 20000.
13
15
  */
14
16
  keep_hf_hz: float;
15
- /** Distortion type. */
17
+ /** Distortion type. Changes the nonlinear function used to distort the waveform. See {@link Mode}. */
16
18
  mode: int;
17
- /** Increases or decreases the volume after the effect, in decibels. Value can range from -80 to 24. */
19
+ /** Gain after the effect, in dB. Value can range from -80 to 24. */
18
20
  post_gain: float;
19
- /** Increases or decreases the volume before the effect, in decibels. Value can range from -60 to 60. */
21
+ /** Gain before the effect, in dB. Value can range from -60 to 60. */
20
22
  pre_gain: float;
21
23
  set_drive(value: float): void;
22
24
  get_drive(): float;
@@ -30,17 +32,24 @@ declare class AudioEffectDistortion extends AudioEffect {
30
32
  get_pre_gain(): float;
31
33
 
32
34
  // enum Mode
33
- /** Digital distortion effect which cuts off peaks at the top and bottom of the waveform. */
35
+ /**
36
+ * Flattens the waveform at 0 dB in a sharp manner. {@link drive} increases amplitude of samples exponentially. This mode functions as a hard clipper if {@link drive} is set to 0, and is the only mode that clips audio signals at 0 dB.
37
+ */
34
38
  static readonly MODE_CLIP: int;
39
+ /**
40
+ * Flattens the waveform in a smooth manner, following an arctangent curve. The audio decreases in volume, before flattening peaks to `PI * 4.0` (linear value), if it was normalized beforehand.
41
+ */
35
42
  static readonly MODE_ATAN: int;
36
43
  /**
37
- * Low-resolution digital distortion effect (bit depth reduction). You can use it to emulate the sound of early digital audio devices.
44
+ * Decreases audio bit depth to achieve a low-resolution audio signal, going from 16-bit to 2-bit. Can be used to emulate the sound of early digital audio devices.
38
45
  */
39
46
  static readonly MODE_LOFI: int;
40
47
  /**
41
- * Emulates the warm distortion produced by a field effect transistor, which is commonly used in solid-state musical instrument amplifiers. The {@link drive} property has no effect in this mode.
48
+ * Emulates the warm distortion produced by a field effect transistor, which is commonly used in solid-state musical instrument amplifiers. {@link drive} has no effect in this mode.
42
49
  */
43
50
  static readonly MODE_OVERDRIVE: int;
44
- /** Waveshaper distortions are used mainly by electronic musicians to achieve an extra-abrasive sound. */
51
+ /**
52
+ * Flattens the waveform in a smooth manner, until it reaches a sharp peak at `drive = 1`, following a generic absolute sigmoid function.
53
+ */
45
54
  static readonly MODE_WAVESHAPE: int;
46
55
  }
@@ -2,8 +2,8 @@
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
4
  /**
5
- * Base class for audio equalizers. Gives you control over frequencies.
6
- * Use it to create a custom equalizer if {@link AudioEffectEQ6}, {@link AudioEffectEQ10} or {@link AudioEffectEQ21} don't fit your needs.
5
+ * Base class for audio equalizers (EQ). Gives you control over frequencies.
6
+ * Use it to create a custom equalizer if {@link AudioEffectEQ6}, {@link AudioEffectEQ10}, or {@link AudioEffectEQ21} don't fit your needs.
7
7
  */
8
8
  declare class AudioEffectEQ extends AudioEffect {
9
9
  /** Returns the number of bands of the equalizer. */