typescript-to-gdscript 0.1.0 → 0.1.1

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 (158) hide show
  1. package/README.md +229 -103
  2. package/dist/converter/common/index.d.ts +17 -1
  3. package/dist/converter/common/index.d.ts.map +1 -1
  4. package/dist/converter/common/index.js +69 -19
  5. package/dist/converter/common/index.js.map +1 -1
  6. package/dist/converter/ts-to-gd/class-members.d.ts.map +1 -1
  7. package/dist/converter/ts-to-gd/class-members.js +5 -5
  8. package/dist/converter/ts-to-gd/class-members.js.map +1 -1
  9. package/dist/converter/ts-to-gd/expressions.d.ts.map +1 -1
  10. package/dist/converter/ts-to-gd/expressions.js +1 -1
  11. package/dist/converter/ts-to-gd/expressions.js.map +1 -1
  12. package/dist/converter/ts-to-gd/file-scope.d.ts.map +1 -1
  13. package/dist/converter/ts-to-gd/file-scope.js +1 -1
  14. package/dist/converter/ts-to-gd/file-scope.js.map +1 -1
  15. package/dist/converter/ts-to-gd/gd-getset.js +2 -2
  16. package/dist/converter/ts-to-gd/gd-getset.js.map +1 -1
  17. package/dist/converter/ts-to-gd/index.d.ts.map +1 -1
  18. package/dist/converter/ts-to-gd/index.js +1 -0
  19. package/dist/converter/ts-to-gd/index.js.map +1 -1
  20. package/dist/converter/ts-to-gd/parameters.d.ts.map +1 -1
  21. package/dist/converter/ts-to-gd/parameters.js +2 -2
  22. package/dist/converter/ts-to-gd/parameters.js.map +1 -1
  23. package/dist/converter/ts-to-gd/statements.d.ts.map +1 -1
  24. package/dist/converter/ts-to-gd/statements.js +1 -1
  25. package/dist/converter/ts-to-gd/statements.js.map +1 -1
  26. package/dist/typings/override-system.d.ts.map +1 -1
  27. package/dist/typings/override-system.js +6 -0
  28. package/dist/typings/override-system.js.map +1 -1
  29. package/package.json +6 -1
  30. package/typings/classes/AnimationNodeBlendSpace1D.d.ts +2 -17
  31. package/typings/classes/AnimationNodeBlendSpace2D.d.ts +2 -17
  32. package/typings/classes/Area3D.d.ts +7 -14
  33. package/typings/classes/ArrayMesh.d.ts +0 -15
  34. package/typings/classes/AudioEffectAmplify.d.ts +2 -2
  35. package/typings/classes/AudioEffectBandLimitFilter.d.ts +1 -1
  36. package/typings/classes/AudioEffectBandPassFilter.d.ts +1 -1
  37. package/typings/classes/AudioEffectCapture.d.ts +9 -10
  38. package/typings/classes/AudioEffectChorus.d.ts +28 -57
  39. package/typings/classes/AudioEffectCompressor.d.ts +9 -11
  40. package/typings/classes/AudioEffectDelay.d.ts +15 -21
  41. package/typings/classes/AudioEffectDistortion.d.ts +10 -19
  42. package/typings/classes/AudioEffectEQ.d.ts +2 -2
  43. package/typings/classes/AudioEffectEQ10.d.ts +2 -2
  44. package/typings/classes/AudioEffectEQ21.d.ts +2 -2
  45. package/typings/classes/AudioEffectEQ6.d.ts +2 -2
  46. package/typings/classes/AudioEffectFilter.d.ts +9 -25
  47. package/typings/classes/AudioEffectHardLimiter.d.ts +5 -8
  48. package/typings/classes/AudioEffectHighPassFilter.d.ts +1 -1
  49. package/typings/classes/AudioEffectHighShelfFilter.d.ts +1 -1
  50. package/typings/classes/AudioEffectLimiter.d.ts +4 -9
  51. package/typings/classes/AudioEffectLowPassFilter.d.ts +1 -1
  52. package/typings/classes/AudioEffectLowShelfFilter.d.ts +1 -1
  53. package/typings/classes/AudioEffectNotchFilter.d.ts +1 -1
  54. package/typings/classes/AudioEffectPanner.d.ts +2 -7
  55. package/typings/classes/AudioEffectPhaser.d.ts +7 -9
  56. package/typings/classes/AudioEffectPitchShift.d.ts +3 -3
  57. package/typings/classes/AudioEffectReverb.d.ts +8 -17
  58. package/typings/classes/AudioEffectSpectrumAnalyzer.d.ts +5 -4
  59. package/typings/classes/AudioEffectStereoEnhance.d.ts +4 -7
  60. package/typings/classes/AudioServer.d.ts +2 -2
  61. package/typings/classes/AudioStreamPlaybackResampled.d.ts +0 -8
  62. package/typings/classes/BaseButton.d.ts +1 -1
  63. package/typings/classes/Basis.d.ts +0 -4
  64. package/typings/classes/Camera3D.d.ts +1 -1
  65. package/typings/classes/CameraAttributes.d.ts +0 -1
  66. package/typings/classes/CameraFeed.d.ts +0 -4
  67. package/typings/classes/CanvasItem.d.ts +1 -1
  68. package/typings/classes/CodeEdit.d.ts +0 -4
  69. package/typings/classes/CollisionObject2D.d.ts +0 -6
  70. package/typings/classes/CollisionPolygon2D.d.ts +0 -5
  71. package/typings/classes/CollisionShape2D.d.ts +0 -5
  72. package/typings/classes/Container.d.ts +0 -6
  73. package/typings/classes/Control.d.ts +0 -59
  74. package/typings/classes/DPITexture.d.ts +0 -14
  75. package/typings/classes/Decal.d.ts +0 -1
  76. package/typings/classes/Dictionary.d.ts +0 -1
  77. package/typings/classes/DisplayServer.d.ts +1 -128
  78. package/typings/classes/EditorDock.d.ts +2 -8
  79. package/typings/classes/EditorExportPlugin.d.ts +0 -5
  80. package/typings/classes/EditorFileSystem.d.ts +0 -2
  81. package/typings/classes/EditorInterface.d.ts +2 -4
  82. package/typings/classes/EditorSettings.d.ts +133 -197
  83. package/typings/classes/EditorSpinSlider.d.ts +0 -6
  84. package/typings/classes/Environment.d.ts +2 -7
  85. package/typings/classes/FileAccess.d.ts +1 -1
  86. package/typings/classes/FileDialog.d.ts +1 -1
  87. package/typings/classes/FoldableContainer.d.ts +1 -1
  88. package/typings/classes/Font.d.ts +2 -2
  89. package/typings/classes/GPUParticles3D.d.ts +0 -4
  90. package/typings/classes/GeometryInstance3D.d.ts +1 -1
  91. package/typings/classes/GradientTexture2D.d.ts +0 -2
  92. package/typings/classes/Image.d.ts +0 -1
  93. package/typings/classes/ImageTexture.d.ts +2 -0
  94. package/typings/classes/ImporterMesh.d.ts +0 -6
  95. package/typings/classes/Input.d.ts +13 -148
  96. package/typings/classes/InputEvent.d.ts +0 -8
  97. package/typings/classes/InputEventGesture.d.ts +3 -2
  98. package/typings/classes/InputEventMouse.d.ts +3 -2
  99. package/typings/classes/InputEventWithModifiers.d.ts +3 -2
  100. package/typings/classes/InputMap.d.ts +0 -3
  101. package/typings/classes/ItemList.d.ts +2 -9
  102. package/typings/classes/Joint3D.d.ts +0 -1
  103. package/typings/classes/LookAtModifier3D.d.ts +1 -2
  104. package/typings/classes/MainLoop.d.ts +0 -4
  105. package/typings/classes/NativeMenu.d.ts +3 -10
  106. package/typings/classes/Node.d.ts +5 -9
  107. package/typings/classes/OS.d.ts +2 -2
  108. package/typings/classes/Object.d.ts +2 -5
  109. package/typings/classes/OptionButton.d.ts +0 -6
  110. package/typings/classes/PCKPacker.d.ts +0 -4
  111. package/typings/classes/ParticleProcessMaterial.d.ts +0 -5
  112. package/typings/classes/PhysicsDirectBodyState2D.d.ts +1 -2
  113. package/typings/classes/PhysicsDirectBodyState3D.d.ts +1 -2
  114. package/typings/classes/PhysicsServer2D.d.ts +2 -2
  115. package/typings/classes/PhysicsServer2DExtension.d.ts +1 -1
  116. package/typings/classes/PhysicsServer3D.d.ts +42 -145
  117. package/typings/classes/PopupMenu.d.ts +8 -22
  118. package/typings/classes/PopupPanel.d.ts +0 -2
  119. package/typings/classes/PortableCompressedTexture2D.d.ts +2 -0
  120. package/typings/classes/ProjectSettings.d.ts +60 -44
  121. package/typings/classes/RDShaderSPIRV.d.ts +0 -30
  122. package/typings/classes/RDShaderSource.d.ts +0 -10
  123. package/typings/classes/RenderingDevice.d.ts +0 -104
  124. package/typings/classes/RenderingServer.d.ts +11 -213
  125. package/typings/classes/Resource.d.ts +2 -2
  126. package/typings/classes/ResourceImporterDynamicFont.d.ts +1 -3
  127. package/typings/classes/ResourceImporterSVG.d.ts +0 -10
  128. package/typings/classes/ResourceImporterTexture.d.ts +2 -2
  129. package/typings/classes/SceneTree.d.ts +29 -5
  130. package/typings/classes/ScriptEditor.d.ts +0 -6
  131. package/typings/classes/Shader.d.ts +0 -2
  132. package/typings/classes/Shape3D.d.ts +0 -1
  133. package/typings/classes/SplitContainer.d.ts +0 -6
  134. package/typings/classes/String.d.ts +1 -1
  135. package/typings/classes/SubViewport.d.ts +0 -4
  136. package/typings/classes/TextEdit.d.ts +0 -3
  137. package/typings/classes/TextServer.d.ts +0 -2
  138. package/typings/classes/TextServerExtension.d.ts +0 -2
  139. package/typings/classes/Texture2D.d.ts +0 -14
  140. package/typings/classes/TextureRect.d.ts +1 -4
  141. package/typings/classes/Tree.d.ts +2 -9
  142. package/typings/classes/TreeItem.d.ts +0 -8
  143. package/typings/classes/Tween.d.ts +0 -13
  144. package/typings/classes/Viewport.d.ts +0 -10
  145. package/typings/classes/VisualShader.d.ts +0 -2
  146. package/typings/classes/VisualShaderNodeColorFunc.d.ts +2 -2
  147. package/typings/classes/VoxelGIData.d.ts +0 -10
  148. package/typings/classes/Window.d.ts +0 -23
  149. package/typings/classes/XRCamera3D.d.ts +1 -1
  150. package/typings/classes/XRServer.d.ts +0 -2
  151. package/typings/classes/_globals.d.ts +86 -45
  152. package/typings/classes/index.d.ts +0 -5
  153. package/typings/godot-class-registry.json +108 -1254
  154. package/typings/classes/AccessibilityServer.d.ts +0 -405
  155. package/typings/classes/AwaitTweener.d.ts +0 -10
  156. package/typings/classes/BlitMaterial.d.ts +0 -22
  157. package/typings/classes/DrawableTexture2D.d.ts +0 -47
  158. package/typings/classes/VirtualJoystick.d.ts +0 -94
@@ -183,6 +183,12 @@ function loadGlobalOverridesFromDir(overrideDir) {
183
183
  pendingJsDoc = [];
184
184
  continue;
185
185
  }
186
+ // Continuation of a multi-line declaration (e.g. a prettier-wrapped
187
+ // generic signature spanning several lines). Append it to the current
188
+ // declaration so the whole signature is preserved.
189
+ if (currentName) {
190
+ currentLines.push(line);
191
+ }
186
192
  }
187
193
  flush();
188
194
  return result;
@@ -1 +1 @@
1
- {"version":3,"file":"override-system.js","sourceRoot":"","sources":["../../src/typings/override-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAA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AAC,CAAC;IACrB,CAAC;IAED,gBAAgB;IAChB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEjB,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC3B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typescript-to-gdscript",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Convert TypeScript to GDScript for Godot game engine",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -34,6 +34,8 @@
34
34
  "lint": "tsc --noEmit",
35
35
  "format": "prettier . --write",
36
36
  "format:check": "prettier . --check",
37
+ "changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s",
38
+ "version": "yarn changelog && git add CHANGELOG.md",
37
39
  "prepublishOnly": "yarn build",
38
40
  "release": "npm publish && git push --follow-tags",
39
41
  "release:patch": "npm version patch && npm run release",
@@ -102,8 +104,11 @@
102
104
  },
103
105
  "devDependencies": {
104
106
  "@asgerf/dts-tree-sitter": "^0.21.0",
107
+ "@commitlint/cli": "^21.0.2",
108
+ "@commitlint/config-conventional": "^21.0.2",
105
109
  "@types/glob": "^9.0.0",
106
110
  "@types/node": "^22.0.0",
111
+ "conventional-changelog-cli": "^5.0.0",
107
112
  "husky": "^9.1.7",
108
113
  "jiti": "^2.6.1",
109
114
  "lint-staged": "^17.0.7",
@@ -34,32 +34,17 @@ declare class AnimationNodeBlendSpace1D extends AnimationRootNode {
34
34
  get_value_label(): string;
35
35
 
36
36
  /**
37
- * Adds a new point with `name` that represents a `node` on the virtual axis at a given 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.
38
- * **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.
37
+ * Adds a new point that represents a `node` on the virtual axis at a given 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.
39
38
  */
40
- add_blend_point(node: AnimationRootNode, pos: float, at_index?: int, name?: string): void;
41
- /**
42
- * Returns the index of the blend point with the given `name`. Returns `-1` if no blend point with that name is found.
43
- */
44
- find_blend_point_by_name(name: string): int;
39
+ add_blend_point(node: AnimationRootNode, pos: float, at_index?: int): void;
45
40
  /** Returns the number of points on the blend axis. */
46
41
  get_blend_point_count(): int;
47
- /** Returns the name of the blend point at index `point`. */
48
- get_blend_point_name(point: int): string;
49
42
  /** Returns the {@link AnimationNode} referenced by the point at index `point`. */
50
43
  get_blend_point_node(point: int): AnimationRootNode | null;
51
44
  /** Returns the position of the point at index `point`. */
52
45
  get_blend_point_position(point: int): float;
53
46
  /** Removes the point at index `point` from the blend axis. */
54
47
  remove_blend_point(point: int): void;
55
- /**
56
- * Swaps the blend points at indices `from_index` and `to_index`, exchanging their positions and properties.
57
- */
58
- reorder_blend_point(from_index: int, to_index: int): void;
59
- /**
60
- * 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.
61
- */
62
- set_blend_point_name(point: int, name: string): void;
63
48
  /** Changes the {@link AnimationNode} referenced by the point at index `point`. */
64
49
  set_blend_point_node(point: int, node: AnimationRootNode): void;
65
50
  /** Updates the position of the point at index `point` on the blend axis. */
@@ -44,22 +44,15 @@ declare class AnimationNodeBlendSpace2D extends AnimationRootNode {
44
44
  get_y_label(): string;
45
45
 
46
46
  /**
47
- * 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.
48
- * **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.
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.
49
48
  */
50
- add_blend_point(node: AnimationRootNode, pos: Vector2 | Vector2i, at_index?: int, name?: string): void;
49
+ add_blend_point(node: AnimationRootNode, pos: Vector2 | Vector2i, at_index?: int): void;
51
50
  /**
52
51
  * 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.
53
52
  */
54
53
  add_triangle(x: int, y: int, z: int, at_index?: int): void;
55
- /**
56
- * Returns the index of the blend point with the given `name`. Returns `-1` if no blend point with that name is found.
57
- */
58
- find_blend_point_by_name(name: string): int;
59
54
  /** Returns the number of points in the blend space. */
60
55
  get_blend_point_count(): int;
61
- /** Returns the name of the blend point at index `point`. */
62
- get_blend_point_name(point: int): string;
63
56
  /** Returns the {@link AnimationRootNode} referenced by the point at index `point`. */
64
57
  get_blend_point_node(point: int): AnimationRootNode | null;
65
58
  /** Returns the position of the point at index `point`. */
@@ -72,14 +65,6 @@ declare class AnimationNodeBlendSpace2D extends AnimationRootNode {
72
65
  remove_blend_point(point: int): void;
73
66
  /** Removes the triangle at index `triangle` from the blend space. */
74
67
  remove_triangle(triangle: int): void;
75
- /**
76
- * Swaps the blend points at indices `from_index` and `to_index`, exchanging their positions and properties.
77
- */
78
- reorder_blend_point(from_index: int, to_index: int): void;
79
- /**
80
- * 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.
81
- */
82
- set_blend_point_name(point: int, name: string): void;
83
68
  /** Changes the {@link AnimationNode} referenced by the point at index `point`. */
84
69
  set_blend_point_node(point: int, node: AnimationRootNode): void;
85
70
  /** Updates the position of the point at index `point` in the blend space. */
@@ -126,9 +126,8 @@ 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, {@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.
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.
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.
132
131
  */
133
132
  get_overlapping_bodies(): Array<Node3D>;
134
133
  /**
@@ -137,9 +136,8 @@ declare class Area3D extends CollisionObject3D {
137
136
  */
138
137
  has_overlapping_areas(): boolean;
139
138
  /**
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.
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.
141
140
  * 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.
143
141
  */
144
142
  has_overlapping_bodies(): boolean;
145
143
  /**
@@ -149,9 +147,8 @@ declare class Area3D extends CollisionObject3D {
149
147
  overlaps_area(area: Node): boolean;
150
148
  /**
151
149
  * 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.
153
150
  * **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.
154
- * **Note:** Godot Physics does not support reporting overlaps with {@link SoftBody3D}, so will return `false` in such cases.
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.
155
152
  */
156
153
  overlaps_body(body: Node): boolean;
157
154
 
@@ -171,26 +168,22 @@ declare class Area3D extends CollisionObject3D {
171
168
  */
172
169
  area_shape_exited: Signal<[RID, Area3D, int, int]>;
173
170
  /**
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.
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`.
176
172
  */
177
173
  body_entered: Signal<[Node3D]>;
178
174
  /**
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.
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`.
181
176
  */
182
177
  body_exited: Signal<[Node3D]>;
183
178
  /**
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`.
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`.
185
180
  * `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.
187
181
  * **Example:** Get the {@link CollisionShape3D} node from the shape index:
188
182
  */
189
183
  body_shape_entered: Signal<[RID, Node3D, int, int]>;
190
184
  /**
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`.
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`.
192
186
  * 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.
194
187
  */
195
188
  body_shape_exited: Signal<[RID, Node3D, int, int]>;
196
189
 
@@ -73,22 +73,7 @@ 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
- */
81
76
  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
- */
87
77
  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
- */
93
78
  surface_update_vertex_region(surf_idx: int, offset: int, data: PackedByteArray | Array<unknown>): void;
94
79
  }
@@ -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 a volume manipulation audio effect to an audio bus. */
4
+ /** Adds an amplifying audio effect to an audio bus. */
5
5
  declare class AudioEffectAmplify extends AudioEffect {
6
6
  /**
7
- * Amount of amplification in dB. Positive values make the sound louder, negative values make it quieter. Value can range from -80 to 24.
7
+ * Amount of amplification in decibels. 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 an audio bus. */
4
+ /** Adds a band limit filter to the 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 an audio bus. */
4
+ /** Adds a band pass filter to the audio bus. */
5
5
  declare class AudioEffectBandPassFilter extends AudioEffectFilter {
6
6
  }
@@ -1,17 +1,16 @@
1
1
  // AUTO-GENERATED from Godot class documentation.
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
- /** Exposes audio samples from an audio bus in real-time, such that it can be accessed as data. */
4
+ /** Captures audio from an audio bus in real-time. */
5
5
  declare class AudioEffectCapture extends AudioEffect {
6
6
  /**
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.
7
+ * Length of the internal ring buffer, in seconds. Setting the buffer length will have no effect if already initialized.
9
8
  */
10
9
  buffer_length: float;
11
10
  set_buffer_length(value: float): void;
12
11
  get_buffer_length(): float;
13
12
 
14
- /** Returns `true` if at least `frames` samples are available to read in the internal ring buffer. */
13
+ /** Returns `true` if at least `frames` audio frames are available to read in the internal ring buffer. */
15
14
  can_get_buffer(frames: int): boolean;
16
15
  /**
17
16
  * Clears the internal ring buffer.
@@ -19,17 +18,17 @@ declare class AudioEffectCapture extends AudioEffect {
19
18
  */
20
19
  clear_buffer(): void;
21
20
  /**
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.
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.
24
23
  * 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`)
25
24
  */
26
25
  get_buffer(frames: int): PackedVector2Array;
27
- /** Returns the total size of the internal ring buffer in number of samples. */
26
+ /** Returns the total size of the internal ring buffer in frames. */
28
27
  get_buffer_length_frames(): int;
29
- /** Returns the number of samples discarded from the audio bus due to full buffer. */
28
+ /** Returns the number of audio frames discarded from the audio bus due to full buffer. */
30
29
  get_discarded_frames(): int;
31
- /** Returns the number of samples available to read using {@link get_buffer}. */
30
+ /** Returns the number of frames available to read using {@link get_buffer}. */
32
31
  get_frames_available(): int;
33
- /** Returns the number of samples inserted from the audio bus. */
32
+ /** Returns the number of audio frames inserted from the audio bus. */
34
33
  get_pushed_frames(): int;
35
34
  }
@@ -1,64 +1,61 @@
1
1
  // AUTO-GENERATED from Godot class documentation.
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
- /**
5
- * Adds a chorus audio effect to an audio bus.
6
- * Gives the impression of multiple audio sources.
7
- */
4
+ /** Adds a chorus audio effect. */
8
5
  declare class AudioEffectChorus extends AudioEffect {
9
- /** The volume ratio of the original audio. Value can range from 0 to 1. */
6
+ /** The effect's raw signal. */
10
7
  dry: float;
11
- /** The frequency threshold of the voice's low-pass filter in Hz. */
8
+ /** The voice's cutoff frequency. */
12
9
  'voice/1/cutoff_hz': float;
13
- /** The delay of the voice in milliseconds, compared to the original audio. */
10
+ /** The voice's signal delay. */
14
11
  'voice/1/delay_ms': float;
15
- /** The depth of the voice's low-frequency oscillator in milliseconds. */
12
+ /** The voice filter's depth. */
16
13
  'voice/1/depth_ms': float;
17
- /** The gain of the voice in dB. */
14
+ /** The voice's volume. */
18
15
  'voice/1/level_db': float;
19
- /** The pan position of the voice. */
16
+ /** The voice's pan level. */
20
17
  'voice/1/pan': float;
21
- /** The rate of the voice's low-frequency oscillator in Hz. */
18
+ /** The voice's filter rate. */
22
19
  'voice/1/rate_hz': float;
23
- /** The frequency threshold of the voice's low-pass filter in Hz. */
20
+ /** The voice's cutoff frequency. */
24
21
  'voice/2/cutoff_hz': float;
25
- /** The delay of the voice in milliseconds, compared to the original audio. */
22
+ /** The voice's signal delay. */
26
23
  'voice/2/delay_ms': float;
27
- /** The depth of the voice's low-frequency oscillator in milliseconds. */
24
+ /** The voice filter's depth. */
28
25
  'voice/2/depth_ms': float;
29
- /** The gain of the voice in dB. */
26
+ /** The voice's volume. */
30
27
  'voice/2/level_db': float;
31
- /** The pan position of the voice. */
28
+ /** The voice's pan level. */
32
29
  'voice/2/pan': float;
33
- /** The rate of the voice's low-frequency oscillator in Hz. */
30
+ /** The voice's filter rate. */
34
31
  'voice/2/rate_hz': float;
35
- /** The frequency threshold of the voice's low-pass filter in Hz. */
32
+ /** The voice's cutoff frequency. */
36
33
  'voice/3/cutoff_hz': float;
37
- /** The delay of the voice in milliseconds, compared to the original audio. */
34
+ /** The voice's signal delay. */
38
35
  'voice/3/delay_ms': float;
39
- /** The depth of the voice's low-frequency oscillator in milliseconds. */
36
+ /** The voice filter's depth. */
40
37
  'voice/3/depth_ms': float;
41
- /** The gain of the voice in dB. */
38
+ /** The voice's volume. */
42
39
  'voice/3/level_db': float;
43
- /** The pan position of the voice. */
40
+ /** The voice's pan level. */
44
41
  'voice/3/pan': float;
45
- /** The rate of the voice's low-frequency oscillator in Hz. */
42
+ /** The voice's filter rate. */
46
43
  'voice/3/rate_hz': float;
47
- /** The frequency threshold of the voice's low-pass filter in Hz. */
44
+ /** The voice's cutoff frequency. */
48
45
  'voice/4/cutoff_hz': float;
49
- /** The delay of the voice in milliseconds, compared to the original audio. */
46
+ /** The voice's signal delay. */
50
47
  'voice/4/delay_ms': float;
51
- /** The depth of the voice's low-frequency oscillator in milliseconds. */
48
+ /** The voice filter's depth. */
52
49
  'voice/4/depth_ms': float;
53
- /** The gain of the voice in dB. */
50
+ /** The voice's volume. */
54
51
  'voice/4/level_db': float;
55
- /** The pan position of the voice. */
52
+ /** The voice's pan level. */
56
53
  'voice/4/pan': float;
57
- /** The rate of the voice's low-frequency oscillator in Hz. */
54
+ /** The voice's filter rate. */
58
55
  'voice/4/rate_hz': float;
59
- /** The number of voices in the effect. Value can range from 1 to 4. */
56
+ /** The number of voices in the effect. */
60
57
  voice_count: int;
61
- /** The volume ratio of all voices. Value can range from 0 to 1. */
58
+ /** The effect's processed signal. */
62
59
  wet: float;
63
60
  set_dry(value: float): void;
64
61
  get_dry(): float;
@@ -67,42 +64,16 @@ declare class AudioEffectChorus extends AudioEffect {
67
64
  set_wet(value: float): void;
68
65
  get_wet(): float;
69
66
 
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
- */
73
67
  get_voice_cutoff_hz(voice_idx: int): float;
74
- /** Returns the delay of a given `voice_idx` in milliseconds, compared to the original audio. */
75
68
  get_voice_delay_ms(voice_idx: int): float;
76
- /** Returns the depth of a given `voice_idx`'s low-frequency oscillator in milliseconds. */
77
69
  get_voice_depth_ms(voice_idx: int): float;
78
- /** Returns the gain of a given `voice_idx` in dB. */
79
70
  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
- */
83
71
  get_voice_pan(voice_idx: int): float;
84
- /** Returns the rate of a given `voice_idx`'s low-frequency oscillator in Hz. */
85
72
  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
- */
89
73
  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
- */
93
74
  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
- */
97
75
  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. */
99
76
  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
- */
103
77
  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
- */
107
78
  set_voice_rate_hz(voice_idx: int, rate_hz: float): void;
108
79
  }
@@ -2,33 +2,31 @@
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
4
  /**
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.
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.
7
7
  */
8
8
  declare class AudioEffectCompressor extends AudioEffect {
9
9
  /**
10
- * Compressor's reaction time when the audio exceeds the volume threshold level, in microseconds. Value can range from 20 to 2000.
10
+ * Compressor's reaction time when the signal exceeds the threshold, in microseconds. Value can range from 20 to 2000.
11
11
  */
12
12
  attack_us: float;
13
- /** Gain of the audio signal, in dB. Value can range from -20 to 20. */
13
+ /** Gain applied to the output signal. */
14
14
  gain: float;
15
15
  /**
16
- * Balance between the original audio and the compressed audio. Value can range from 0 (totally dry) to 1 (totally wet).
16
+ * Balance between original signal and effect signal. 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 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.
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.
21
21
  */
22
22
  ratio: float;
23
23
  /**
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.
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.
25
25
  */
26
26
  release_ms: float;
27
- /** Audio bus to use for the volume threshold detection. */
27
+ /** Reduce the sound level using another audio bus for threshold detection. */
28
28
  sidechain: string;
29
- /**
30
- * The volume level above which compression is applied to the audio, in dB. Value can range from -60 to 0.
31
- */
29
+ /** The level above which compression is applied to the audio. Value can range from -60 to 0. */
32
30
  threshold: float;
33
31
  set_attack_us(value: float): void;
34
32
  get_attack_us(): float;
@@ -2,45 +2,39 @@
2
2
  // Manual overrides applied from typings-overrides/*.d.ts
3
3
 
4
4
  /**
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.
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.
7
7
  */
8
8
  declare class AudioEffectDelay extends AudioEffect {
9
- /** The volume ratio of the original audio. Value can range from 0 to 1. */
9
+ /**
10
+ * Output percent of original sound. At 0, only delayed sounds are output. Value can range from 0 to 1.
11
+ */
10
12
  dry: float;
11
- /** If `true`, feedback is enabled, repeating taps after they are played. */
13
+ /** If `true`, feedback is enabled. */
12
14
  feedback_active: boolean;
13
- /** Feedback delay time in milliseconds. Value can range from 0 to 1500. */
15
+ /** Feedback delay time in milliseconds. */
14
16
  feedback_delay_ms: float;
15
- /** Gain for feedback, in dB. Value can range from -60 to 0. */
17
+ /** Sound level for feedback. */
16
18
  feedback_level_db: float;
17
19
  /**
18
- * Low-pass filter for feedback, in Hz. Frequencies above this value are filtered out. Value can range from 1 to 16000.
20
+ * Low-pass filter for feedback, in Hz. Frequencies below this value are filtered out of the source signal.
19
21
  */
20
22
  feedback_lowpass: float;
21
23
  /** If `true`, the first tap will be enabled. */
22
24
  tap1_active: boolean;
23
- /**
24
- * First tap delay time in milliseconds, compared to the original audio. Value can range from 0 to 1500.
25
- */
25
+ /** First tap delay time in milliseconds. */
26
26
  tap1_delay_ms: float;
27
- /** Gain for the first tap, in dB. Value can range from -60 to 0. */
27
+ /** Sound level for the first tap. */
28
28
  tap1_level_db: float;
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
- */
29
+ /** Pan position for the first tap. Value can range from -1 (fully left) to 1 (fully right). */
32
30
  tap1_pan: float;
33
31
  /** If `true`, the second tap will be enabled. */
34
32
  tap2_active: boolean;
35
- /**
36
- * Second tap delay time in milliseconds, compared to the original audio. Value can range from 0 to 1500.
37
- */
33
+ /** Second tap delay time in milliseconds. */
38
34
  tap2_delay_ms: float;
39
- /** Gain for the second tap, in dB. Value can range from -60 to 0. */
35
+ /** Sound level for the second tap. */
40
36
  tap2_level_db: float;
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
- */
37
+ /** Pan position for the second tap. Value can range from -1 (fully left) to 1 (fully right). */
44
38
  tap2_pan: float;
45
39
  set_dry(value: float): void;
46
40
  get_dry(): float;