typescript-to-gdscript 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/README.md +232 -104
  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/common/index.d.ts +17 -1
  6. package/dist/converter/common/index.d.ts.map +1 -1
  7. package/dist/converter/common/index.js +69 -19
  8. package/dist/converter/common/index.js.map +1 -1
  9. package/dist/converter/ts-to-gd/access-rewrite.d.ts +40 -0
  10. package/dist/converter/ts-to-gd/access-rewrite.d.ts.map +1 -0
  11. package/dist/converter/ts-to-gd/access-rewrite.js +124 -0
  12. package/dist/converter/ts-to-gd/access-rewrite.js.map +1 -0
  13. package/dist/converter/ts-to-gd/class-members.d.ts.map +1 -1
  14. package/dist/converter/ts-to-gd/class-members.js +5 -5
  15. package/dist/converter/ts-to-gd/class-members.js.map +1 -1
  16. package/dist/converter/ts-to-gd/expressions.d.ts.map +1 -1
  17. package/dist/converter/ts-to-gd/expressions.js +32 -8
  18. package/dist/converter/ts-to-gd/expressions.js.map +1 -1
  19. package/dist/converter/ts-to-gd/file-scope.d.ts.map +1 -1
  20. package/dist/converter/ts-to-gd/file-scope.js +1 -1
  21. package/dist/converter/ts-to-gd/file-scope.js.map +1 -1
  22. package/dist/converter/ts-to-gd/gd-getset.js +2 -2
  23. package/dist/converter/ts-to-gd/gd-getset.js.map +1 -1
  24. package/dist/converter/ts-to-gd/index.d.ts.map +1 -1
  25. package/dist/converter/ts-to-gd/index.js +1 -0
  26. package/dist/converter/ts-to-gd/index.js.map +1 -1
  27. package/dist/converter/ts-to-gd/parameters.d.ts.map +1 -1
  28. package/dist/converter/ts-to-gd/parameters.js +2 -2
  29. package/dist/converter/ts-to-gd/parameters.js.map +1 -1
  30. package/dist/converter/ts-to-gd/statements.d.ts.map +1 -1
  31. package/dist/converter/ts-to-gd/statements.js +1 -1
  32. package/dist/converter/ts-to-gd/statements.js.map +1 -1
  33. package/dist/typings/override-system.d.ts.map +1 -1
  34. package/dist/typings/override-system.js +6 -0
  35. package/dist/typings/override-system.js.map +1 -1
  36. package/dist/watcher/check.d.ts +87 -0
  37. package/dist/watcher/check.d.ts.map +1 -0
  38. package/dist/watcher/check.js +209 -0
  39. package/dist/watcher/check.js.map +1 -0
  40. package/dist/watcher/heal.d.ts +66 -0
  41. package/dist/watcher/heal.d.ts.map +1 -0
  42. package/dist/watcher/heal.js +132 -0
  43. package/dist/watcher/heal.js.map +1 -0
  44. package/dist/watcher/index.d.ts +1 -0
  45. package/dist/watcher/index.d.ts.map +1 -1
  46. package/dist/watcher/index.js +48 -52
  47. package/dist/watcher/index.js.map +1 -1
  48. package/package.json +6 -1
  49. package/typings/classes/AccessibilityServer.d.ts +1 -1
  50. package/typings/classes/AnimationLibrary.d.ts +4 -4
  51. package/typings/classes/AnimationNodeBlendSpace1D.d.ts +28 -2
  52. package/typings/classes/AnimationNodeBlendSpace2D.d.ts +28 -2
  53. package/typings/classes/AreaLight3D.d.ts +37 -0
  54. package/typings/classes/AudioEffectInstance.d.ts +1 -1
  55. package/typings/classes/AudioStreamRandomizer.d.ts +10 -0
  56. package/typings/classes/Basis.d.ts +2 -2
  57. package/typings/classes/CPUParticles2D.d.ts +2 -2
  58. package/typings/classes/CPUParticles3D.d.ts +2 -2
  59. package/typings/classes/CanvasItem.d.ts +15 -0
  60. package/typings/classes/CodeEdit.d.ts +2 -0
  61. package/typings/classes/CollisionObject2D.d.ts +2 -2
  62. package/typings/classes/Container.d.ts +1 -0
  63. package/typings/classes/Control.d.ts +68 -9
  64. package/typings/classes/Curve.d.ts +26 -1
  65. package/typings/classes/Curve2D.d.ts +15 -0
  66. package/typings/classes/Curve3D.d.ts +20 -0
  67. package/typings/classes/DirAccess.d.ts +6 -1
  68. package/typings/classes/DisplayServer.d.ts +35 -10
  69. package/typings/classes/DrawableTexture2D.d.ts +0 -4
  70. package/typings/classes/EditorCommandPalette.d.ts +0 -2
  71. package/typings/classes/EditorContextMenuPlugin.d.ts +4 -0
  72. package/typings/classes/EditorDock.d.ts +2 -3
  73. package/typings/classes/EditorExportPlatform.d.ts +4 -2
  74. package/typings/classes/EditorExportPlugin.d.ts +2 -0
  75. package/typings/classes/EditorFeatureProfile.d.ts +1 -1
  76. package/typings/classes/EditorInspector.d.ts +10 -0
  77. package/typings/classes/EditorInterface.d.ts +2 -2
  78. package/typings/classes/EditorNode3DGizmoPlugin.d.ts +4 -0
  79. package/typings/classes/EditorPlugin.d.ts +4 -4
  80. package/typings/classes/EditorResourcePicker.d.ts +2 -1
  81. package/typings/classes/EditorSceneFormatImporter.d.ts +23 -0
  82. package/typings/classes/EditorSettings.d.ts +44 -7
  83. package/typings/classes/EditorTranslationParserPlugin.d.ts +4 -0
  84. package/typings/classes/EditorVCSInterface.d.ts +6 -2
  85. package/typings/classes/FileDialog.d.ts +15 -0
  86. package/typings/classes/Font.d.ts +13 -1
  87. package/typings/classes/FontVariation.d.ts +10 -0
  88. package/typings/classes/GDScript.d.ts +8 -0
  89. package/typings/classes/GDScriptLanguageProtocol.d.ts +25 -0
  90. package/typings/classes/GDScriptSyntaxHighlighter.d.ts +6 -0
  91. package/typings/classes/GDScriptTextDocument.d.ts +27 -0
  92. package/typings/classes/GDScriptWorkspace.d.ts +17 -0
  93. package/typings/classes/GPUParticles2D.d.ts +2 -2
  94. package/typings/classes/GPUParticles3D.d.ts +15 -2
  95. package/typings/classes/Geometry2D.d.ts +2 -2
  96. package/typings/classes/Image.d.ts +6 -4
  97. package/typings/classes/ImageFormatLoader.d.ts +5 -0
  98. package/typings/classes/Input.d.ts +11 -2
  99. package/typings/classes/InputEventMouseMotion.d.ts +2 -2
  100. package/typings/classes/ItemList.d.ts +20 -0
  101. package/typings/classes/IterateIK3D.d.ts +6 -3
  102. package/typings/classes/JavaClassWrapper.d.ts +13 -0
  103. package/typings/classes/JavaScriptBridge.d.ts +1 -1
  104. package/typings/classes/Label.d.ts +1 -0
  105. package/typings/classes/LabelSettings.d.ts +25 -0
  106. package/typings/classes/Light3D.d.ts +1 -1
  107. package/typings/classes/Logger.d.ts +1 -1
  108. package/typings/classes/LookAtModifier3D.d.ts +1 -1
  109. package/typings/classes/MenuButton.d.ts +35 -0
  110. package/typings/classes/MeshLibrary.d.ts +2 -0
  111. package/typings/classes/MovieWriter.d.ts +2 -0
  112. package/typings/classes/MultiplayerPeerExtension.d.ts +9 -9
  113. package/typings/classes/Node.d.ts +6 -0
  114. package/typings/classes/Node3D.d.ts +6 -4
  115. package/typings/classes/OS.d.ts +1 -1
  116. package/typings/classes/Object.d.ts +11 -8
  117. package/typings/classes/OptimizedTranslation.d.ts +2 -2
  118. package/typings/classes/OptionButton.d.ts +51 -7
  119. package/typings/classes/PacketPeerExtension.d.ts +1 -1
  120. package/typings/classes/ParticleProcessMaterial.d.ts +58 -0
  121. package/typings/classes/PhysicsDirectSpaceState2DExtension.d.ts +6 -6
  122. package/typings/classes/PhysicsDirectSpaceState3DExtension.d.ts +6 -6
  123. package/typings/classes/PhysicsServer2DExtension.d.ts +5 -5
  124. package/typings/classes/PhysicsServer3DExtension.d.ts +1 -1
  125. package/typings/classes/PopupMenu.d.ts +58 -6
  126. package/typings/classes/ProjectSettings.d.ts +89 -21
  127. package/typings/classes/Quaternion.d.ts +2 -2
  128. package/typings/classes/RDAccelerationStructureGeometry.d.ts +42 -0
  129. package/typings/classes/RDAccelerationStructureInstance.d.ts +34 -0
  130. package/typings/classes/RDHitGroup.d.ts +20 -0
  131. package/typings/classes/RDPipelineShader.d.ts +14 -0
  132. package/typings/classes/RandomNumberGenerator.d.ts +4 -2
  133. package/typings/classes/RenderSceneBuffersConfiguration.d.ts +4 -1
  134. package/typings/classes/RenderingDevice.d.ts +93 -23
  135. package/typings/classes/RenderingServer.d.ts +51 -3
  136. package/typings/classes/Resource.d.ts +2 -0
  137. package/typings/classes/ResourceImporterOBJ.d.ts +1 -1
  138. package/typings/classes/ResourceImporterScene.d.ts +11 -3
  139. package/typings/classes/RichTextLabel.d.ts +14 -6
  140. package/typings/classes/SceneTree.d.ts +29 -5
  141. package/typings/classes/Script.d.ts +2 -0
  142. package/typings/classes/ScriptEditor.d.ts +7 -0
  143. package/typings/classes/ScriptLanguageExtension.d.ts +7 -0
  144. package/typings/classes/ScrollContainer.d.ts +17 -5
  145. package/typings/classes/SkeletonModification2DJiggle.d.ts +4 -0
  146. package/typings/classes/SpringBoneSimulator3D.d.ts +4 -2
  147. package/typings/classes/SpriteFrames.d.ts +20 -4
  148. package/typings/classes/StreamPeerExtension.d.ts +2 -2
  149. package/typings/classes/TabBar.d.ts +20 -0
  150. package/typings/classes/TabContainer.d.ts +21 -3
  151. package/typings/classes/TextEdit.d.ts +2 -2
  152. package/typings/classes/TextServer.d.ts +23 -1
  153. package/typings/classes/TextServerExtension.d.ts +23 -1
  154. package/typings/classes/TileSet.d.ts +3 -1
  155. package/typings/classes/Tree.d.ts +16 -7
  156. package/typings/classes/TreeItem.d.ts +9 -2
  157. package/typings/classes/UndoRedo.d.ts +2 -2
  158. package/typings/classes/Vector2.d.ts +4 -2
  159. package/typings/classes/Vector2i.d.ts +4 -2
  160. package/typings/classes/Vector3.d.ts +4 -2
  161. package/typings/classes/Vector3i.d.ts +4 -2
  162. package/typings/classes/Vector4.d.ts +4 -2
  163. package/typings/classes/Vector4i.d.ts +4 -2
  164. package/typings/classes/Viewport.d.ts +17 -1
  165. package/typings/classes/Window.d.ts +20 -6
  166. package/typings/classes/_globals.d.ts +104 -26
  167. package/typings/classes/index.d.ts +10 -112
  168. package/typings/godot-class-registry.json +885 -3604
  169. package/typings/classes/VisualShader.d.ts +0 -112
  170. package/typings/classes/VisualShaderNode.d.ts +0 -63
  171. package/typings/classes/VisualShaderNodeBillboard.d.ts +0 -28
  172. package/typings/classes/VisualShaderNodeBooleanConstant.d.ts +0 -10
  173. package/typings/classes/VisualShaderNodeBooleanParameter.d.ts +0 -14
  174. package/typings/classes/VisualShaderNodeClamp.d.ts +0 -26
  175. package/typings/classes/VisualShaderNodeColorConstant.d.ts +0 -10
  176. package/typings/classes/VisualShaderNodeColorFunc.d.ts +0 -32
  177. package/typings/classes/VisualShaderNodeColorOp.d.ts +0 -32
  178. package/typings/classes/VisualShaderNodeColorParameter.d.ts +0 -14
  179. package/typings/classes/VisualShaderNodeComment.d.ts +0 -12
  180. package/typings/classes/VisualShaderNodeCompare.d.ts +0 -68
  181. package/typings/classes/VisualShaderNodeConstant.d.ts +0 -6
  182. package/typings/classes/VisualShaderNodeCubemap.d.ts +0 -43
  183. package/typings/classes/VisualShaderNodeCubemapParameter.d.ts +0 -6
  184. package/typings/classes/VisualShaderNodeCurveTexture.d.ts +0 -10
  185. package/typings/classes/VisualShaderNodeCurveXYZTexture.d.ts +0 -10
  186. package/typings/classes/VisualShaderNodeCustom.d.ts +0 -122
  187. package/typings/classes/VisualShaderNodeDerivativeFunc.d.ts +0 -56
  188. package/typings/classes/VisualShaderNodeDeterminant.d.ts +0 -6
  189. package/typings/classes/VisualShaderNodeDistanceFade.d.ts +0 -6
  190. package/typings/classes/VisualShaderNodeDotProduct.d.ts +0 -6
  191. package/typings/classes/VisualShaderNodeExpression.d.ts +0 -12
  192. package/typings/classes/VisualShaderNodeFaceForward.d.ts +0 -8
  193. package/typings/classes/VisualShaderNodeFloatConstant.d.ts +0 -10
  194. package/typings/classes/VisualShaderNodeFloatFunc.d.ts +0 -108
  195. package/typings/classes/VisualShaderNodeFloatOp.d.ts +0 -36
  196. package/typings/classes/VisualShaderNodeFloatParameter.d.ts +0 -52
  197. package/typings/classes/VisualShaderNodeFrame.d.ts +0 -35
  198. package/typings/classes/VisualShaderNodeFresnel.d.ts +0 -6
  199. package/typings/classes/VisualShaderNodeGlobalExpression.d.ts +0 -6
  200. package/typings/classes/VisualShaderNodeGroupBase.d.ts +0 -60
  201. package/typings/classes/VisualShaderNodeIf.d.ts +0 -8
  202. package/typings/classes/VisualShaderNodeInput.d.ts +0 -20
  203. package/typings/classes/VisualShaderNodeIntConstant.d.ts +0 -10
  204. package/typings/classes/VisualShaderNodeIntFunc.d.ts +0 -24
  205. package/typings/classes/VisualShaderNodeIntOp.d.ts +0 -48
  206. package/typings/classes/VisualShaderNodeIntParameter.d.ts +0 -58
  207. package/typings/classes/VisualShaderNodeIs.d.ts +0 -18
  208. package/typings/classes/VisualShaderNodeLinearSceneDepth.d.ts +0 -6
  209. package/typings/classes/VisualShaderNodeMix.d.ts +0 -28
  210. package/typings/classes/VisualShaderNodeMultiplyAdd.d.ts +0 -22
  211. package/typings/classes/VisualShaderNodeOuterProduct.d.ts +0 -6
  212. package/typings/classes/VisualShaderNodeOutput.d.ts +0 -6
  213. package/typings/classes/VisualShaderNodeParameter.d.ts +0 -32
  214. package/typings/classes/VisualShaderNodeParameterRef.d.ts +0 -10
  215. package/typings/classes/VisualShaderNodeParticleAccelerator.d.ts +0 -20
  216. package/typings/classes/VisualShaderNodeParticleBoxEmitter.d.ts +0 -6
  217. package/typings/classes/VisualShaderNodeParticleConeVelocity.d.ts +0 -6
  218. package/typings/classes/VisualShaderNodeParticleEmit.d.ts +0 -22
  219. package/typings/classes/VisualShaderNodeParticleEmitter.d.ts +0 -12
  220. package/typings/classes/VisualShaderNodeParticleMeshEmitter.d.ts +0 -20
  221. package/typings/classes/VisualShaderNodeParticleMultiplyByAxisAngle.d.ts +0 -10
  222. package/typings/classes/VisualShaderNodeParticleOutput.d.ts +0 -6
  223. package/typings/classes/VisualShaderNodeParticleRandomness.d.ts +0 -22
  224. package/typings/classes/VisualShaderNodeParticleRingEmitter.d.ts +0 -6
  225. package/typings/classes/VisualShaderNodeParticleSphereEmitter.d.ts +0 -6
  226. package/typings/classes/VisualShaderNodeProximityFade.d.ts +0 -6
  227. package/typings/classes/VisualShaderNodeRandomRange.d.ts +0 -6
  228. package/typings/classes/VisualShaderNodeRemap.d.ts +0 -33
  229. package/typings/classes/VisualShaderNodeReroute.d.ts +0 -8
  230. package/typings/classes/VisualShaderNodeResizableBase.d.ts +0 -10
  231. package/typings/classes/VisualShaderNodeRotationByAxis.d.ts +0 -6
  232. package/typings/classes/VisualShaderNodeSDFRaymarch.d.ts +0 -6
  233. package/typings/classes/VisualShaderNodeSDFToScreenUV.d.ts +0 -8
  234. package/typings/classes/VisualShaderNodeSample3D.d.ts +0 -18
  235. package/typings/classes/VisualShaderNodeScreenNormalWorldSpace.d.ts +0 -6
  236. package/typings/classes/VisualShaderNodeScreenUVToSDF.d.ts +0 -8
  237. package/typings/classes/VisualShaderNodeSmoothStep.d.ts +0 -28
  238. package/typings/classes/VisualShaderNodeStep.d.ts +0 -28
  239. package/typings/classes/VisualShaderNodeSwitch.d.ts +0 -30
  240. package/typings/classes/VisualShaderNodeTexture.d.ts +0 -57
  241. package/typings/classes/VisualShaderNodeTexture2DArray.d.ts +0 -12
  242. package/typings/classes/VisualShaderNodeTexture2DArrayParameter.d.ts +0 -6
  243. package/typings/classes/VisualShaderNodeTexture2DParameter.d.ts +0 -6
  244. package/typings/classes/VisualShaderNodeTexture3D.d.ts +0 -12
  245. package/typings/classes/VisualShaderNodeTexture3DParameter.d.ts +0 -6
  246. package/typings/classes/VisualShaderNodeTextureParameter.d.ts +0 -104
  247. package/typings/classes/VisualShaderNodeTextureParameterTriplanar.d.ts +0 -6
  248. package/typings/classes/VisualShaderNodeTextureSDF.d.ts +0 -6
  249. package/typings/classes/VisualShaderNodeTextureSDFNormal.d.ts +0 -6
  250. package/typings/classes/VisualShaderNodeTransformCompose.d.ts +0 -6
  251. package/typings/classes/VisualShaderNodeTransformConstant.d.ts +0 -10
  252. package/typings/classes/VisualShaderNodeTransformDecompose.d.ts +0 -6
  253. package/typings/classes/VisualShaderNodeTransformFunc.d.ts +0 -18
  254. package/typings/classes/VisualShaderNodeTransformOp.d.ts +0 -32
  255. package/typings/classes/VisualShaderNodeTransformParameter.d.ts +0 -14
  256. package/typings/classes/VisualShaderNodeTransformVecMult.d.ts +0 -22
  257. package/typings/classes/VisualShaderNodeUIntConstant.d.ts +0 -10
  258. package/typings/classes/VisualShaderNodeUIntFunc.d.ts +0 -20
  259. package/typings/classes/VisualShaderNodeUIntOp.d.ts +0 -48
  260. package/typings/classes/VisualShaderNodeUIntParameter.d.ts +0 -16
  261. package/typings/classes/VisualShaderNodeUVFunc.d.ts +0 -22
  262. package/typings/classes/VisualShaderNodeUVPolarCoord.d.ts +0 -6
  263. package/typings/classes/VisualShaderNodeVarying.d.ts +0 -14
  264. package/typings/classes/VisualShaderNodeVaryingGetter.d.ts +0 -6
  265. package/typings/classes/VisualShaderNodeVaryingSetter.d.ts +0 -6
  266. package/typings/classes/VisualShaderNodeVec2Constant.d.ts +0 -10
  267. package/typings/classes/VisualShaderNodeVec2Parameter.d.ts +0 -14
  268. package/typings/classes/VisualShaderNodeVec3Constant.d.ts +0 -10
  269. package/typings/classes/VisualShaderNodeVec3Parameter.d.ts +0 -14
  270. package/typings/classes/VisualShaderNodeVec4Constant.d.ts +0 -10
  271. package/typings/classes/VisualShaderNodeVec4Parameter.d.ts +0 -14
  272. package/typings/classes/VisualShaderNodeVectorBase.d.ts +0 -20
  273. package/typings/classes/VisualShaderNodeVectorCompose.d.ts +0 -8
  274. package/typings/classes/VisualShaderNodeVectorDecompose.d.ts +0 -8
  275. package/typings/classes/VisualShaderNodeVectorDistance.d.ts +0 -6
  276. package/typings/classes/VisualShaderNodeVectorFunc.d.ts +0 -84
  277. package/typings/classes/VisualShaderNodeVectorLen.d.ts +0 -6
  278. package/typings/classes/VisualShaderNodeVectorOp.d.ts +0 -42
  279. package/typings/classes/VisualShaderNodeVectorRefract.d.ts +0 -8
  280. package/typings/classes/VisualShaderNodeWorldPositionFromDepth.d.ts +0 -8
@@ -1,22 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Performs a fused multiply-add operation within the visual shader graph. */
5
- declare class VisualShaderNodeMultiplyAdd extends VisualShaderNode {
6
- /** A type of operands and returned value. */
7
- op_type: int;
8
- set_op_type(value: int): void;
9
- get_op_type(): int;
10
-
11
- // enum OpType
12
- /** A floating-point scalar type. */
13
- static readonly OP_TYPE_SCALAR: int;
14
- /** A 2D vector type. */
15
- static readonly OP_TYPE_VECTOR_2D: int;
16
- /** A 3D vector type. */
17
- static readonly OP_TYPE_VECTOR_3D: int;
18
- /** A 4D vector type. */
19
- static readonly OP_TYPE_VECTOR_4D: int;
20
- /** Represents the size of the {@link OpType} enum. */
21
- static readonly OP_TYPE_MAX: int;
22
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Calculates an outer product of two vectors within the visual shader graph. */
5
- declare class VisualShaderNodeOuterProduct extends VisualShaderNode {
6
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Represents the output shader parameters within the visual shader graph. */
5
- declare class VisualShaderNodeOutput extends VisualShaderNode {
6
- }
@@ -1,32 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A base type for the parameters within the visual shader graph. */
5
- declare class VisualShaderNodeParameter extends VisualShaderNode {
6
- /** The index within 0-15 range, which is used to avoid clashes when shader used on multiple materials. */
7
- instance_index: int;
8
- /** Name of the parameter, by which it can be accessed through the {@link ShaderMaterial} properties. */
9
- parameter_name: string;
10
- /** Defines the scope of the parameter. */
11
- qualifier: int;
12
- set_instance_index(value: int): void;
13
- get_instance_index(): int;
14
- set_parameter_name(value: string | NodePath): void;
15
- get_parameter_name(): string;
16
- set_qualifier(value: int): void;
17
- get_qualifier(): int;
18
-
19
- // enum Qualifier
20
- /** The parameter will be tied to the {@link ShaderMaterial} using this shader. */
21
- static readonly QUAL_NONE: int;
22
- /** The parameter will use a global value, defined in Project Settings. */
23
- static readonly QUAL_GLOBAL: int;
24
- /** The parameter will be tied to the node with attached {@link ShaderMaterial} using this shader. */
25
- static readonly QUAL_INSTANCE: int;
26
- /**
27
- * The parameter will be tied to the node with attached {@link ShaderMaterial} using this shader. Enables setting a {@link instance_index} property.
28
- */
29
- static readonly QUAL_INSTANCE_INDEX: int;
30
- /** Represents the size of the {@link Qualifier} enum. */
31
- static readonly QUAL_MAX: int;
32
- }
@@ -1,10 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A reference to an existing {@link VisualShaderNodeParameter}. */
5
- declare class VisualShaderNodeParameterRef extends VisualShaderNode {
6
- /** The name of the parameter which this reference points to. */
7
- parameter_name: string;
8
- set_parameter_name(value: string | NodePath): void;
9
- get_parameter_name(): string;
10
- }
@@ -1,20 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node that accelerates particles. */
5
- declare class VisualShaderNodeParticleAccelerator extends VisualShaderNode {
6
- /** Defines in what manner the particles will be accelerated. */
7
- mode: int;
8
- set_mode(value: int): void;
9
- get_mode(): int;
10
-
11
- // enum Mode
12
- /** The particles will be accelerated based on their velocity. */
13
- static readonly MODE_LINEAR: int;
14
- /** The particles will be accelerated towards or away from the center. */
15
- static readonly MODE_RADIAL: int;
16
- /** The particles will be accelerated tangentially to the radius vector from center to their position. */
17
- static readonly MODE_TANGENTIAL: int;
18
- /** Represents the size of the {@link Mode} enum. */
19
- static readonly MODE_MAX: int;
20
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node that makes particles emitted in a box shape. */
5
- declare class VisualShaderNodeParticleBoxEmitter extends VisualShaderNodeParticleEmitter {
6
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node that makes particles move in a cone shape. */
5
- declare class VisualShaderNodeParticleConeVelocity extends VisualShaderNode {
6
- }
@@ -1,22 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node that forces to emit a particle from a sub-emitter. */
5
- declare class VisualShaderNodeParticleEmit extends VisualShaderNode {
6
- /** Flags used to override the properties defined in the sub-emitter's process material. */
7
- flags: int;
8
- set_flags(value: int): void;
9
- get_flags(): int;
10
-
11
- // enum EmitFlags
12
- /** If enabled, the particle starts with the position defined by this node. */
13
- static readonly EMIT_FLAG_POSITION: int;
14
- /** If enabled, the particle starts with the rotation and scale defined by this node. */
15
- static readonly EMIT_FLAG_ROT_SCALE: int;
16
- /** If enabled,the particle starts with the velocity defined by this node. */
17
- static readonly EMIT_FLAG_VELOCITY: int;
18
- /** If enabled, the particle starts with the color defined by this node. */
19
- static readonly EMIT_FLAG_COLOR: int;
20
- /** If enabled, the particle starts with the `CUSTOM` data defined by this node. */
21
- static readonly EMIT_FLAG_CUSTOM: int;
22
- }
@@ -1,12 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A base class for particle emitters. */
5
- declare class VisualShaderNodeParticleEmitter extends VisualShaderNode {
6
- /**
7
- * If `true`, the result of this emitter is projected to 2D space. By default it is `false` and meant for use in 3D space.
8
- */
9
- mode_2d: boolean;
10
- set_mode_2d(value: boolean): void;
11
- is_mode_2d(): boolean;
12
- }
@@ -1,20 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node that makes particles emitted in a shape defined by a {@link Mesh}. */
5
- declare class VisualShaderNodeParticleMeshEmitter extends VisualShaderNodeParticleEmitter {
6
- /** The {@link Mesh} that defines emission shape. */
7
- mesh: Mesh | null;
8
- /**
9
- * Index of the surface that emits particles. {@link use_all_surfaces} must be `false` for this to take effect.
10
- */
11
- surface_index: int;
12
- /** If `true`, the particles will emit from all surfaces of the mesh. */
13
- use_all_surfaces: boolean;
14
- set_mesh(value: Mesh | null): void;
15
- get_mesh(): Mesh | null;
16
- set_surface_index(value: int): void;
17
- get_surface_index(): int;
18
- set_use_all_surfaces(value: boolean): void;
19
- is_use_all_surfaces(): boolean;
20
- }
@@ -1,10 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader helper node for multiplying position and rotation of particles. */
5
- declare class VisualShaderNodeParticleMultiplyByAxisAngle extends VisualShaderNode {
6
- /** If `true`, the angle will be interpreted in degrees instead of radians. */
7
- degrees_mode: boolean;
8
- set_degrees_mode(value: boolean): void;
9
- is_degrees_mode(): boolean;
10
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Visual shader node that defines output values for particle emitting. */
5
- declare class VisualShaderNodeParticleOutput extends VisualShaderNodeOutput {
6
- }
@@ -1,22 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Visual shader node for randomizing particle values. */
5
- declare class VisualShaderNodeParticleRandomness extends VisualShaderNode {
6
- /** A type of operands and returned value. */
7
- op_type: int;
8
- set_op_type(value: int): void;
9
- get_op_type(): int;
10
-
11
- // enum OpType
12
- /** A floating-point scalar. */
13
- static readonly OP_TYPE_SCALAR: int;
14
- /** A 2D vector type. */
15
- static readonly OP_TYPE_VECTOR_2D: int;
16
- /** A 3D vector type. */
17
- static readonly OP_TYPE_VECTOR_3D: int;
18
- /** A 4D vector type. */
19
- static readonly OP_TYPE_VECTOR_4D: int;
20
- /** Represents the size of the {@link OpType} enum. */
21
- static readonly OP_TYPE_MAX: int;
22
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node that makes particles emitted in a ring shape. */
5
- declare class VisualShaderNodeParticleRingEmitter extends VisualShaderNodeParticleEmitter {
6
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node that makes particles emitted in a sphere shape. */
5
- declare class VisualShaderNodeParticleSphereEmitter extends VisualShaderNodeParticleEmitter {
6
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node representing proximity fade effect. */
5
- declare class VisualShaderNodeProximityFade extends VisualShaderNode {
6
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node that generates a pseudo-random scalar. */
5
- declare class VisualShaderNodeRandomRange extends VisualShaderNode {
6
- }
@@ -1,33 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node for remap function. */
5
- declare class VisualShaderNodeRemap extends VisualShaderNode {
6
- op_type: int;
7
- set_op_type(value: int): void;
8
- get_op_type(): int;
9
-
10
- // enum OpType
11
- /** A floating-point scalar type. */
12
- static readonly OP_TYPE_SCALAR: int;
13
- /** A 2D vector type. */
14
- static readonly OP_TYPE_VECTOR_2D: int;
15
- /**
16
- * The `value` port uses a 2D vector type, while the `input min`, `input max`, `output min`, and `output max` ports use a floating-point scalar type.
17
- */
18
- static readonly OP_TYPE_VECTOR_2D_SCALAR: int;
19
- /** A 3D vector type. */
20
- static readonly OP_TYPE_VECTOR_3D: int;
21
- /**
22
- * The `value` port uses a 3D vector type, while the `input min`, `input max`, `output min`, and `output max` ports use a floating-point scalar type.
23
- */
24
- static readonly OP_TYPE_VECTOR_3D_SCALAR: int;
25
- /** A 4D vector type. */
26
- static readonly OP_TYPE_VECTOR_4D: int;
27
- /**
28
- * The `value` port uses a 4D vector type, while the `input min`, `input max`, `output min`, and `output max` ports use a floating-point scalar type.
29
- */
30
- static readonly OP_TYPE_VECTOR_4D_SCALAR: int;
31
- /** Represents the size of the {@link OpType} enum. */
32
- static readonly OP_TYPE_MAX: int;
33
- }
@@ -1,8 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A node that allows rerouting a connection within the visual shader graph. */
5
- declare class VisualShaderNodeReroute extends VisualShaderNode {
6
- /** Returns the port type of the reroute node. */
7
- get_port_type(): int;
8
- }
@@ -1,10 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Base class for resizable nodes in a visual shader graph. */
5
- declare class VisualShaderNodeResizableBase extends VisualShaderNode {
6
- /** The size of the node in the visual shader graph. */
7
- size: Vector2;
8
- set_size(value: Vector2 | Vector2i): void;
9
- get_size(): Vector2;
10
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node that modifies the rotation of the object using a rotation matrix. */
5
- declare class VisualShaderNodeRotationByAxis extends VisualShaderNode {
6
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** SDF raymarching algorithm to be used within the visual shader graph. */
5
- declare class VisualShaderNodeSDFRaymarch extends VisualShaderNode {
6
- }
@@ -1,8 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /**
5
- * A function to convert an SDF (signed-distance field) to screen UV, to be used within the visual shader graph.
6
- */
7
- declare class VisualShaderNodeSDFToScreenUV extends VisualShaderNode {
8
- }
@@ -1,18 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A base node for nodes which samples 3D textures in the visual shader graph. */
5
- declare class VisualShaderNodeSample3D extends VisualShaderNode {
6
- /** An input source type. */
7
- source: int;
8
- set_source(value: int): void;
9
- get_source(): int;
10
-
11
- // enum Source
12
- /** Creates internal uniform and provides a way to assign it within node. */
13
- static readonly SOURCE_TEXTURE: int;
14
- /** Use the uniform texture from sampler port. */
15
- static readonly SOURCE_PORT: int;
16
- /** Represents the size of the {@link Source} enum. */
17
- static readonly SOURCE_MAX: int;
18
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node that unpacks the screen normal texture in World Space. */
5
- declare class VisualShaderNodeScreenNormalWorldSpace extends VisualShaderNode {
6
- }
@@ -1,8 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /**
5
- * A function to convert screen UV to an SDF (signed-distance field), to be used within the visual shader graph.
6
- */
7
- declare class VisualShaderNodeScreenUVToSDF extends VisualShaderNode {
8
- }
@@ -1,28 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Calculates a SmoothStep function within the visual shader graph. */
5
- declare class VisualShaderNodeSmoothStep extends VisualShaderNode {
6
- /** A type of operands and returned value. */
7
- op_type: int;
8
- set_op_type(value: int): void;
9
- get_op_type(): int;
10
-
11
- // enum OpType
12
- /** A floating-point scalar type. */
13
- static readonly OP_TYPE_SCALAR: int;
14
- /** A 2D vector type. */
15
- static readonly OP_TYPE_VECTOR_2D: int;
16
- /** The `x` port uses a 2D vector type. The first two ports use a floating-point scalar type. */
17
- static readonly OP_TYPE_VECTOR_2D_SCALAR: int;
18
- /** A 3D vector type. */
19
- static readonly OP_TYPE_VECTOR_3D: int;
20
- /** The `x` port uses a 3D vector type. The first two ports use a floating-point scalar type. */
21
- static readonly OP_TYPE_VECTOR_3D_SCALAR: int;
22
- /** A 4D vector type. */
23
- static readonly OP_TYPE_VECTOR_4D: int;
24
- /** The `a` and `b` ports use a 4D vector type. The `weight` port uses a scalar type. */
25
- static readonly OP_TYPE_VECTOR_4D_SCALAR: int;
26
- /** Represents the size of the {@link OpType} enum. */
27
- static readonly OP_TYPE_MAX: int;
28
- }
@@ -1,28 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Calculates a Step function within the visual shader graph. */
5
- declare class VisualShaderNodeStep extends VisualShaderNode {
6
- /** A type of operands and returned value. */
7
- op_type: int;
8
- set_op_type(value: int): void;
9
- get_op_type(): int;
10
-
11
- // enum OpType
12
- /** A floating-point scalar type. */
13
- static readonly OP_TYPE_SCALAR: int;
14
- /** A 2D vector type. */
15
- static readonly OP_TYPE_VECTOR_2D: int;
16
- /** The `x` port uses a 2D vector type, while the `edge` port uses a floating-point scalar type. */
17
- static readonly OP_TYPE_VECTOR_2D_SCALAR: int;
18
- /** A 3D vector type. */
19
- static readonly OP_TYPE_VECTOR_3D: int;
20
- /** The `x` port uses a 3D vector type, while the `edge` port uses a floating-point scalar type. */
21
- static readonly OP_TYPE_VECTOR_3D_SCALAR: int;
22
- /** A 4D vector type. */
23
- static readonly OP_TYPE_VECTOR_4D: int;
24
- /** The `a` and `b` ports use a 4D vector type. The `weight` port uses a scalar type. */
25
- static readonly OP_TYPE_VECTOR_4D_SCALAR: int;
26
- /** Represents the size of the {@link OpType} enum. */
27
- static readonly OP_TYPE_MAX: int;
28
- }
@@ -1,30 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A selector function for use within the visual shader graph. */
5
- declare class VisualShaderNodeSwitch extends VisualShaderNode {
6
- /** A type of operands and returned value. */
7
- op_type: int;
8
- set_op_type(value: int): void;
9
- get_op_type(): int;
10
-
11
- // enum OpType
12
- /** A floating-point scalar. */
13
- static readonly OP_TYPE_FLOAT: int;
14
- /** An integer scalar. */
15
- static readonly OP_TYPE_INT: int;
16
- /** An unsigned integer scalar. */
17
- static readonly OP_TYPE_UINT: int;
18
- /** A 2D vector type. */
19
- static readonly OP_TYPE_VECTOR_2D: int;
20
- /** A 3D vector type. */
21
- static readonly OP_TYPE_VECTOR_3D: int;
22
- /** A 4D vector type. */
23
- static readonly OP_TYPE_VECTOR_4D: int;
24
- /** A boolean type. */
25
- static readonly OP_TYPE_BOOLEAN: int;
26
- /** A transform type. */
27
- static readonly OP_TYPE_TRANSFORM: int;
28
- /** Represents the size of the {@link OpType} enum. */
29
- static readonly OP_TYPE_MAX: int;
30
- }
@@ -1,57 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Performs a 2D texture lookup within the visual shader graph. */
5
- declare class VisualShaderNodeTexture extends VisualShaderNode {
6
- /** Determines the source for the lookup. */
7
- source: int;
8
- /** The source texture, if needed for the selected {@link source}. */
9
- texture: Texture2D | null;
10
- /** Specifies the type of the texture if {@link source} is set to {@link SOURCE_TEXTURE}. */
11
- texture_type: int;
12
- set_source(value: int): void;
13
- get_source(): int;
14
- set_texture(value: Texture2D | null): void;
15
- get_texture(): Texture2D | null;
16
- set_texture_type(value: int): void;
17
- get_texture_type(): int;
18
-
19
- // enum Source
20
- /** Use the texture given as an argument for this function. */
21
- static readonly SOURCE_TEXTURE: int;
22
- /** Use the current viewport's texture as the source. */
23
- static readonly SOURCE_SCREEN: int;
24
- /** Use the texture from this shader's texture built-in (e.g. a texture of a {@link Sprite2D}). */
25
- static readonly SOURCE_2D_TEXTURE: int;
26
- /** Use the texture from this shader's normal map built-in. */
27
- static readonly SOURCE_2D_NORMAL: int;
28
- /**
29
- * Use the depth texture captured during the depth prepass. Only available when the depth prepass is used (i.e. in spatial shaders and in the forward_plus or gl_compatibility renderers).
30
- */
31
- static readonly SOURCE_DEPTH: int;
32
- /** Use the texture provided in the input port for this function. */
33
- static readonly SOURCE_PORT: int;
34
- /**
35
- * Use the normal buffer captured during the depth prepass. Only available when the normal-roughness buffer is available (i.e. in spatial shaders and in the forward_plus renderer).
36
- */
37
- static readonly SOURCE_3D_NORMAL: int;
38
- /**
39
- * Use the roughness buffer captured during the depth prepass. Only available when the normal-roughness buffer is available (i.e. in spatial shaders and in the forward_plus renderer).
40
- */
41
- static readonly SOURCE_ROUGHNESS: int;
42
- /** Represents the size of the {@link Source} enum. */
43
- static readonly SOURCE_MAX: int;
44
- // enum TextureType
45
- /** No hints are added to the uniform declaration. */
46
- static readonly TYPE_DATA: int;
47
- /**
48
- * Adds `source_color` as hint to the uniform declaration for proper conversion from nonlinear sRGB encoding to linear encoding.
49
- */
50
- static readonly TYPE_COLOR: int;
51
- /**
52
- * Adds `hint_normal` as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.
53
- */
54
- static readonly TYPE_NORMAL_MAP: int;
55
- /** Represents the size of the {@link TextureType} enum. */
56
- static readonly TYPE_MAX: int;
57
- }
@@ -1,12 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A 2D texture uniform array to be used within the visual shader graph. */
5
- declare class VisualShaderNodeTexture2DArray extends VisualShaderNodeSample3D {
6
- /**
7
- * A source texture array. Used if {@link VisualShaderNodeSample3D.source} is set to {@link VisualShaderNodeSample3D.SOURCE_TEXTURE}.
8
- */
9
- texture_array: TextureLayered | null;
10
- set_texture_array(value: TextureLayered | null): void;
11
- get_texture_array(): TextureLayered | null;
12
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A visual shader node for shader parameter (uniform) of type {@link Texture2DArray}. */
5
- declare class VisualShaderNodeTexture2DArrayParameter extends VisualShaderNodeTextureParameter {
6
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Provides a 2D texture parameter within the visual shader graph. */
5
- declare class VisualShaderNodeTexture2DParameter extends VisualShaderNodeTextureParameter {
6
- }
@@ -1,12 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Performs a 3D texture lookup within the visual shader graph. */
5
- declare class VisualShaderNodeTexture3D extends VisualShaderNodeSample3D {
6
- /**
7
- * A source texture. Used if {@link VisualShaderNodeSample3D.source} is set to {@link VisualShaderNodeSample3D.SOURCE_TEXTURE}.
8
- */
9
- texture: Texture3D | null;
10
- set_texture(value: Texture3D | null): void;
11
- get_texture(): Texture3D | null;
12
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Provides a 3D texture parameter within the visual shader graph. */
5
- declare class VisualShaderNodeTexture3DParameter extends VisualShaderNodeTextureParameter {
6
- }