typescript-to-gdscript 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/README.md +4 -2
  2. package/dist/cli/convert.d.ts.map +1 -1
  3. package/dist/cli/convert.js +15 -5
  4. package/dist/cli/convert.js.map +1 -1
  5. package/dist/converter/ts-to-gd/access-rewrite.d.ts +40 -0
  6. package/dist/converter/ts-to-gd/access-rewrite.d.ts.map +1 -0
  7. package/dist/converter/ts-to-gd/access-rewrite.js +124 -0
  8. package/dist/converter/ts-to-gd/access-rewrite.js.map +1 -0
  9. package/dist/converter/ts-to-gd/expressions.d.ts.map +1 -1
  10. package/dist/converter/ts-to-gd/expressions.js +31 -7
  11. package/dist/converter/ts-to-gd/expressions.js.map +1 -1
  12. package/dist/watcher/check.d.ts +87 -0
  13. package/dist/watcher/check.d.ts.map +1 -0
  14. package/dist/watcher/check.js +209 -0
  15. package/dist/watcher/check.js.map +1 -0
  16. package/dist/watcher/heal.d.ts +66 -0
  17. package/dist/watcher/heal.d.ts.map +1 -0
  18. package/dist/watcher/heal.js +132 -0
  19. package/dist/watcher/heal.js.map +1 -0
  20. package/dist/watcher/index.d.ts +1 -0
  21. package/dist/watcher/index.d.ts.map +1 -1
  22. package/dist/watcher/index.js +48 -52
  23. package/dist/watcher/index.js.map +1 -1
  24. package/package.json +1 -1
  25. package/typings/classes/AccessibilityServer.d.ts +405 -0
  26. package/typings/classes/AnimationLibrary.d.ts +4 -4
  27. package/typings/classes/AnimationNodeBlendSpace1D.d.ts +45 -4
  28. package/typings/classes/AnimationNodeBlendSpace2D.d.ts +45 -4
  29. package/typings/classes/Area3D.d.ts +14 -7
  30. package/typings/classes/AreaLight3D.d.ts +37 -0
  31. package/typings/classes/ArrayMesh.d.ts +15 -0
  32. package/typings/classes/AudioEffectAmplify.d.ts +2 -2
  33. package/typings/classes/AudioEffectBandLimitFilter.d.ts +1 -1
  34. package/typings/classes/AudioEffectBandPassFilter.d.ts +1 -1
  35. package/typings/classes/AudioEffectCapture.d.ts +10 -9
  36. package/typings/classes/AudioEffectChorus.d.ts +57 -28
  37. package/typings/classes/AudioEffectCompressor.d.ts +11 -9
  38. package/typings/classes/AudioEffectDelay.d.ts +21 -15
  39. package/typings/classes/AudioEffectDistortion.d.ts +19 -10
  40. package/typings/classes/AudioEffectEQ.d.ts +2 -2
  41. package/typings/classes/AudioEffectEQ10.d.ts +2 -2
  42. package/typings/classes/AudioEffectEQ21.d.ts +2 -2
  43. package/typings/classes/AudioEffectEQ6.d.ts +2 -2
  44. package/typings/classes/AudioEffectFilter.d.ts +25 -9
  45. package/typings/classes/AudioEffectHardLimiter.d.ts +8 -5
  46. package/typings/classes/AudioEffectHighPassFilter.d.ts +1 -1
  47. package/typings/classes/AudioEffectHighShelfFilter.d.ts +1 -1
  48. package/typings/classes/AudioEffectInstance.d.ts +1 -1
  49. package/typings/classes/AudioEffectLimiter.d.ts +9 -4
  50. package/typings/classes/AudioEffectLowPassFilter.d.ts +1 -1
  51. package/typings/classes/AudioEffectLowShelfFilter.d.ts +1 -1
  52. package/typings/classes/AudioEffectNotchFilter.d.ts +1 -1
  53. package/typings/classes/AudioEffectPanner.d.ts +7 -2
  54. package/typings/classes/AudioEffectPhaser.d.ts +9 -7
  55. package/typings/classes/AudioEffectPitchShift.d.ts +3 -3
  56. package/typings/classes/AudioEffectReverb.d.ts +17 -8
  57. package/typings/classes/AudioEffectSpectrumAnalyzer.d.ts +4 -5
  58. package/typings/classes/AudioEffectStereoEnhance.d.ts +7 -4
  59. package/typings/classes/AudioServer.d.ts +2 -2
  60. package/typings/classes/AudioStreamPlaybackResampled.d.ts +8 -0
  61. package/typings/classes/AudioStreamRandomizer.d.ts +10 -0
  62. package/typings/classes/AwaitTweener.d.ts +10 -0
  63. package/typings/classes/BaseButton.d.ts +1 -1
  64. package/typings/classes/Basis.d.ts +6 -2
  65. package/typings/classes/BlitMaterial.d.ts +22 -0
  66. package/typings/classes/CPUParticles2D.d.ts +2 -2
  67. package/typings/classes/CPUParticles3D.d.ts +2 -2
  68. package/typings/classes/Camera3D.d.ts +1 -1
  69. package/typings/classes/CameraAttributes.d.ts +1 -0
  70. package/typings/classes/CameraFeed.d.ts +4 -0
  71. package/typings/classes/CanvasItem.d.ts +16 -1
  72. package/typings/classes/CodeEdit.d.ts +6 -0
  73. package/typings/classes/CollisionObject2D.d.ts +6 -0
  74. package/typings/classes/CollisionPolygon2D.d.ts +5 -0
  75. package/typings/classes/CollisionShape2D.d.ts +5 -0
  76. package/typings/classes/Container.d.ts +7 -0
  77. package/typings/classes/Control.d.ts +127 -9
  78. package/typings/classes/Curve.d.ts +26 -1
  79. package/typings/classes/Curve2D.d.ts +15 -0
  80. package/typings/classes/Curve3D.d.ts +20 -0
  81. package/typings/classes/DPITexture.d.ts +14 -0
  82. package/typings/classes/Decal.d.ts +1 -0
  83. package/typings/classes/Dictionary.d.ts +1 -0
  84. package/typings/classes/DirAccess.d.ts +6 -1
  85. package/typings/classes/DisplayServer.d.ts +161 -9
  86. package/typings/classes/DrawableTexture2D.d.ts +43 -0
  87. package/typings/classes/EditorCommandPalette.d.ts +0 -2
  88. package/typings/classes/EditorContextMenuPlugin.d.ts +4 -0
  89. package/typings/classes/EditorDock.d.ts +10 -5
  90. package/typings/classes/EditorExportPlatform.d.ts +4 -2
  91. package/typings/classes/EditorExportPlugin.d.ts +7 -0
  92. package/typings/classes/EditorFeatureProfile.d.ts +1 -1
  93. package/typings/classes/EditorFileSystem.d.ts +2 -0
  94. package/typings/classes/EditorInspector.d.ts +10 -0
  95. package/typings/classes/EditorInterface.d.ts +6 -4
  96. package/typings/classes/EditorNode3DGizmoPlugin.d.ts +4 -0
  97. package/typings/classes/EditorPlugin.d.ts +4 -4
  98. package/typings/classes/EditorResourcePicker.d.ts +2 -1
  99. package/typings/classes/EditorSceneFormatImporter.d.ts +23 -0
  100. package/typings/classes/EditorSettings.d.ts +241 -140
  101. package/typings/classes/EditorSpinSlider.d.ts +6 -0
  102. package/typings/classes/EditorTranslationParserPlugin.d.ts +4 -0
  103. package/typings/classes/EditorVCSInterface.d.ts +6 -2
  104. package/typings/classes/Environment.d.ts +7 -2
  105. package/typings/classes/FileAccess.d.ts +1 -1
  106. package/typings/classes/FileDialog.d.ts +16 -1
  107. package/typings/classes/FoldableContainer.d.ts +1 -1
  108. package/typings/classes/Font.d.ts +15 -3
  109. package/typings/classes/FontVariation.d.ts +10 -0
  110. package/typings/classes/GDScript.d.ts +8 -0
  111. package/typings/classes/GDScriptLanguageProtocol.d.ts +25 -0
  112. package/typings/classes/GDScriptSyntaxHighlighter.d.ts +6 -0
  113. package/typings/classes/GDScriptTextDocument.d.ts +27 -0
  114. package/typings/classes/GDScriptWorkspace.d.ts +17 -0
  115. package/typings/classes/GPUParticles2D.d.ts +2 -2
  116. package/typings/classes/GPUParticles3D.d.ts +19 -2
  117. package/typings/classes/Geometry2D.d.ts +2 -2
  118. package/typings/classes/GeometryInstance3D.d.ts +1 -1
  119. package/typings/classes/GradientTexture2D.d.ts +2 -0
  120. package/typings/classes/Image.d.ts +7 -4
  121. package/typings/classes/ImageFormatLoader.d.ts +5 -0
  122. package/typings/classes/ImageTexture.d.ts +0 -2
  123. package/typings/classes/ImporterMesh.d.ts +6 -0
  124. package/typings/classes/Input.d.ts +159 -15
  125. package/typings/classes/InputEvent.d.ts +8 -0
  126. package/typings/classes/InputEventGesture.d.ts +2 -3
  127. package/typings/classes/InputEventMouse.d.ts +2 -3
  128. package/typings/classes/InputEventMouseMotion.d.ts +2 -2
  129. package/typings/classes/InputEventWithModifiers.d.ts +2 -3
  130. package/typings/classes/InputMap.d.ts +3 -0
  131. package/typings/classes/ItemList.d.ts +29 -2
  132. package/typings/classes/IterateIK3D.d.ts +6 -3
  133. package/typings/classes/JavaClassWrapper.d.ts +13 -0
  134. package/typings/classes/JavaScriptBridge.d.ts +1 -1
  135. package/typings/classes/Joint3D.d.ts +1 -0
  136. package/typings/classes/Label.d.ts +1 -0
  137. package/typings/classes/LabelSettings.d.ts +25 -0
  138. package/typings/classes/Light3D.d.ts +1 -1
  139. package/typings/classes/Logger.d.ts +1 -1
  140. package/typings/classes/LookAtModifier3D.d.ts +2 -1
  141. package/typings/classes/MainLoop.d.ts +4 -0
  142. package/typings/classes/MenuButton.d.ts +35 -0
  143. package/typings/classes/MeshLibrary.d.ts +2 -0
  144. package/typings/classes/MovieWriter.d.ts +2 -0
  145. package/typings/classes/MultiplayerPeerExtension.d.ts +9 -9
  146. package/typings/classes/NativeMenu.d.ts +10 -3
  147. package/typings/classes/Node.d.ts +15 -5
  148. package/typings/classes/Node3D.d.ts +6 -4
  149. package/typings/classes/OS.d.ts +3 -3
  150. package/typings/classes/Object.d.ts +9 -3
  151. package/typings/classes/OptimizedTranslation.d.ts +2 -2
  152. package/typings/classes/OptionButton.d.ts +51 -1
  153. package/typings/classes/PCKPacker.d.ts +4 -0
  154. package/typings/classes/PacketPeerExtension.d.ts +1 -1
  155. package/typings/classes/ParticleProcessMaterial.d.ts +63 -0
  156. package/typings/classes/PhysicsDirectBodyState2D.d.ts +2 -1
  157. package/typings/classes/PhysicsDirectBodyState3D.d.ts +2 -1
  158. package/typings/classes/PhysicsDirectSpaceState2DExtension.d.ts +6 -6
  159. package/typings/classes/PhysicsDirectSpaceState3DExtension.d.ts +6 -6
  160. package/typings/classes/PhysicsServer2D.d.ts +2 -2
  161. package/typings/classes/PhysicsServer2DExtension.d.ts +6 -6
  162. package/typings/classes/PhysicsServer3D.d.ts +145 -42
  163. package/typings/classes/PhysicsServer3DExtension.d.ts +1 -1
  164. package/typings/classes/PopupMenu.d.ts +74 -8
  165. package/typings/classes/PopupPanel.d.ts +2 -0
  166. package/typings/classes/PortableCompressedTexture2D.d.ts +0 -2
  167. package/typings/classes/ProjectSettings.d.ts +62 -10
  168. package/typings/classes/Quaternion.d.ts +2 -2
  169. package/typings/classes/RDAccelerationStructureGeometry.d.ts +42 -0
  170. package/typings/classes/RDAccelerationStructureInstance.d.ts +34 -0
  171. package/typings/classes/RDHitGroup.d.ts +20 -0
  172. package/typings/classes/RDPipelineShader.d.ts +14 -0
  173. package/typings/classes/RDShaderSPIRV.d.ts +30 -0
  174. package/typings/classes/RDShaderSource.d.ts +10 -0
  175. package/typings/classes/RandomNumberGenerator.d.ts +4 -2
  176. package/typings/classes/RenderSceneBuffersConfiguration.d.ts +4 -1
  177. package/typings/classes/RenderingDevice.d.ts +175 -1
  178. package/typings/classes/RenderingServer.d.ts +264 -14
  179. package/typings/classes/Resource.d.ts +4 -2
  180. package/typings/classes/ResourceImporterDynamicFont.d.ts +3 -1
  181. package/typings/classes/ResourceImporterOBJ.d.ts +1 -1
  182. package/typings/classes/ResourceImporterSVG.d.ts +10 -0
  183. package/typings/classes/ResourceImporterScene.d.ts +11 -3
  184. package/typings/classes/ResourceImporterTexture.d.ts +2 -2
  185. package/typings/classes/RichTextLabel.d.ts +14 -6
  186. package/typings/classes/Script.d.ts +2 -0
  187. package/typings/classes/ScriptEditor.d.ts +13 -0
  188. package/typings/classes/ScriptLanguageExtension.d.ts +7 -0
  189. package/typings/classes/ScrollContainer.d.ts +17 -5
  190. package/typings/classes/Shader.d.ts +2 -0
  191. package/typings/classes/Shape3D.d.ts +1 -0
  192. package/typings/classes/SkeletonModification2DJiggle.d.ts +4 -0
  193. package/typings/classes/SplitContainer.d.ts +6 -0
  194. package/typings/classes/SpringBoneSimulator3D.d.ts +4 -2
  195. package/typings/classes/SpriteFrames.d.ts +20 -4
  196. package/typings/classes/StreamPeerExtension.d.ts +2 -2
  197. package/typings/classes/String.d.ts +1 -1
  198. package/typings/classes/SubViewport.d.ts +4 -0
  199. package/typings/classes/TabBar.d.ts +20 -0
  200. package/typings/classes/TabContainer.d.ts +21 -3
  201. package/typings/classes/TextEdit.d.ts +5 -2
  202. package/typings/classes/TextServer.d.ts +25 -1
  203. package/typings/classes/TextServerExtension.d.ts +25 -1
  204. package/typings/classes/Texture2D.d.ts +14 -0
  205. package/typings/classes/TextureRect.d.ts +4 -1
  206. package/typings/classes/TileSet.d.ts +3 -1
  207. package/typings/classes/Tree.d.ts +25 -9
  208. package/typings/classes/TreeItem.d.ts +17 -2
  209. package/typings/classes/Tween.d.ts +13 -0
  210. package/typings/classes/UndoRedo.d.ts +2 -2
  211. package/typings/classes/Vector2.d.ts +4 -2
  212. package/typings/classes/Vector2i.d.ts +4 -2
  213. package/typings/classes/Vector3.d.ts +4 -2
  214. package/typings/classes/Vector3i.d.ts +4 -2
  215. package/typings/classes/Vector4.d.ts +4 -2
  216. package/typings/classes/Vector4i.d.ts +4 -2
  217. package/typings/classes/Viewport.d.ts +27 -1
  218. package/typings/classes/VirtualJoystick.d.ts +94 -0
  219. package/typings/classes/VoxelGIData.d.ts +10 -0
  220. package/typings/classes/Window.d.ts +41 -4
  221. package/typings/classes/XRCamera3D.d.ts +1 -1
  222. package/typings/classes/XRServer.d.ts +2 -0
  223. package/typings/classes/_globals.d.ts +55 -18
  224. package/typings/classes/index.d.ts +15 -112
  225. package/typings/godot-class-registry.json +2120 -3693
  226. package/typings/classes/VisualShader.d.ts +0 -110
  227. package/typings/classes/VisualShaderNode.d.ts +0 -63
  228. package/typings/classes/VisualShaderNodeBillboard.d.ts +0 -28
  229. package/typings/classes/VisualShaderNodeBooleanConstant.d.ts +0 -10
  230. package/typings/classes/VisualShaderNodeBooleanParameter.d.ts +0 -14
  231. package/typings/classes/VisualShaderNodeClamp.d.ts +0 -26
  232. package/typings/classes/VisualShaderNodeColorConstant.d.ts +0 -10
  233. package/typings/classes/VisualShaderNodeColorFunc.d.ts +0 -32
  234. package/typings/classes/VisualShaderNodeColorOp.d.ts +0 -32
  235. package/typings/classes/VisualShaderNodeColorParameter.d.ts +0 -14
  236. package/typings/classes/VisualShaderNodeComment.d.ts +0 -12
  237. package/typings/classes/VisualShaderNodeCompare.d.ts +0 -68
  238. package/typings/classes/VisualShaderNodeConstant.d.ts +0 -6
  239. package/typings/classes/VisualShaderNodeCubemap.d.ts +0 -43
  240. package/typings/classes/VisualShaderNodeCubemapParameter.d.ts +0 -6
  241. package/typings/classes/VisualShaderNodeCurveTexture.d.ts +0 -10
  242. package/typings/classes/VisualShaderNodeCurveXYZTexture.d.ts +0 -10
  243. package/typings/classes/VisualShaderNodeCustom.d.ts +0 -122
  244. package/typings/classes/VisualShaderNodeDerivativeFunc.d.ts +0 -56
  245. package/typings/classes/VisualShaderNodeDeterminant.d.ts +0 -6
  246. package/typings/classes/VisualShaderNodeDistanceFade.d.ts +0 -6
  247. package/typings/classes/VisualShaderNodeDotProduct.d.ts +0 -6
  248. package/typings/classes/VisualShaderNodeExpression.d.ts +0 -12
  249. package/typings/classes/VisualShaderNodeFaceForward.d.ts +0 -8
  250. package/typings/classes/VisualShaderNodeFloatConstant.d.ts +0 -10
  251. package/typings/classes/VisualShaderNodeFloatFunc.d.ts +0 -108
  252. package/typings/classes/VisualShaderNodeFloatOp.d.ts +0 -36
  253. package/typings/classes/VisualShaderNodeFloatParameter.d.ts +0 -52
  254. package/typings/classes/VisualShaderNodeFrame.d.ts +0 -35
  255. package/typings/classes/VisualShaderNodeFresnel.d.ts +0 -6
  256. package/typings/classes/VisualShaderNodeGlobalExpression.d.ts +0 -6
  257. package/typings/classes/VisualShaderNodeGroupBase.d.ts +0 -60
  258. package/typings/classes/VisualShaderNodeIf.d.ts +0 -8
  259. package/typings/classes/VisualShaderNodeInput.d.ts +0 -20
  260. package/typings/classes/VisualShaderNodeIntConstant.d.ts +0 -10
  261. package/typings/classes/VisualShaderNodeIntFunc.d.ts +0 -24
  262. package/typings/classes/VisualShaderNodeIntOp.d.ts +0 -48
  263. package/typings/classes/VisualShaderNodeIntParameter.d.ts +0 -58
  264. package/typings/classes/VisualShaderNodeIs.d.ts +0 -18
  265. package/typings/classes/VisualShaderNodeLinearSceneDepth.d.ts +0 -6
  266. package/typings/classes/VisualShaderNodeMix.d.ts +0 -28
  267. package/typings/classes/VisualShaderNodeMultiplyAdd.d.ts +0 -22
  268. package/typings/classes/VisualShaderNodeOuterProduct.d.ts +0 -6
  269. package/typings/classes/VisualShaderNodeOutput.d.ts +0 -6
  270. package/typings/classes/VisualShaderNodeParameter.d.ts +0 -32
  271. package/typings/classes/VisualShaderNodeParameterRef.d.ts +0 -10
  272. package/typings/classes/VisualShaderNodeParticleAccelerator.d.ts +0 -20
  273. package/typings/classes/VisualShaderNodeParticleBoxEmitter.d.ts +0 -6
  274. package/typings/classes/VisualShaderNodeParticleConeVelocity.d.ts +0 -6
  275. package/typings/classes/VisualShaderNodeParticleEmit.d.ts +0 -22
  276. package/typings/classes/VisualShaderNodeParticleEmitter.d.ts +0 -12
  277. package/typings/classes/VisualShaderNodeParticleMeshEmitter.d.ts +0 -20
  278. package/typings/classes/VisualShaderNodeParticleMultiplyByAxisAngle.d.ts +0 -10
  279. package/typings/classes/VisualShaderNodeParticleOutput.d.ts +0 -6
  280. package/typings/classes/VisualShaderNodeParticleRandomness.d.ts +0 -22
  281. package/typings/classes/VisualShaderNodeParticleRingEmitter.d.ts +0 -6
  282. package/typings/classes/VisualShaderNodeParticleSphereEmitter.d.ts +0 -6
  283. package/typings/classes/VisualShaderNodeProximityFade.d.ts +0 -6
  284. package/typings/classes/VisualShaderNodeRandomRange.d.ts +0 -6
  285. package/typings/classes/VisualShaderNodeRemap.d.ts +0 -33
  286. package/typings/classes/VisualShaderNodeReroute.d.ts +0 -8
  287. package/typings/classes/VisualShaderNodeResizableBase.d.ts +0 -10
  288. package/typings/classes/VisualShaderNodeRotationByAxis.d.ts +0 -6
  289. package/typings/classes/VisualShaderNodeSDFRaymarch.d.ts +0 -6
  290. package/typings/classes/VisualShaderNodeSDFToScreenUV.d.ts +0 -8
  291. package/typings/classes/VisualShaderNodeSample3D.d.ts +0 -18
  292. package/typings/classes/VisualShaderNodeScreenNormalWorldSpace.d.ts +0 -6
  293. package/typings/classes/VisualShaderNodeScreenUVToSDF.d.ts +0 -8
  294. package/typings/classes/VisualShaderNodeSmoothStep.d.ts +0 -28
  295. package/typings/classes/VisualShaderNodeStep.d.ts +0 -28
  296. package/typings/classes/VisualShaderNodeSwitch.d.ts +0 -30
  297. package/typings/classes/VisualShaderNodeTexture.d.ts +0 -57
  298. package/typings/classes/VisualShaderNodeTexture2DArray.d.ts +0 -12
  299. package/typings/classes/VisualShaderNodeTexture2DArrayParameter.d.ts +0 -6
  300. package/typings/classes/VisualShaderNodeTexture2DParameter.d.ts +0 -6
  301. package/typings/classes/VisualShaderNodeTexture3D.d.ts +0 -12
  302. package/typings/classes/VisualShaderNodeTexture3DParameter.d.ts +0 -6
  303. package/typings/classes/VisualShaderNodeTextureParameter.d.ts +0 -104
  304. package/typings/classes/VisualShaderNodeTextureParameterTriplanar.d.ts +0 -6
  305. package/typings/classes/VisualShaderNodeTextureSDF.d.ts +0 -6
  306. package/typings/classes/VisualShaderNodeTextureSDFNormal.d.ts +0 -6
  307. package/typings/classes/VisualShaderNodeTransformCompose.d.ts +0 -6
  308. package/typings/classes/VisualShaderNodeTransformConstant.d.ts +0 -10
  309. package/typings/classes/VisualShaderNodeTransformDecompose.d.ts +0 -6
  310. package/typings/classes/VisualShaderNodeTransformFunc.d.ts +0 -18
  311. package/typings/classes/VisualShaderNodeTransformOp.d.ts +0 -32
  312. package/typings/classes/VisualShaderNodeTransformParameter.d.ts +0 -14
  313. package/typings/classes/VisualShaderNodeTransformVecMult.d.ts +0 -22
  314. package/typings/classes/VisualShaderNodeUIntConstant.d.ts +0 -10
  315. package/typings/classes/VisualShaderNodeUIntFunc.d.ts +0 -20
  316. package/typings/classes/VisualShaderNodeUIntOp.d.ts +0 -48
  317. package/typings/classes/VisualShaderNodeUIntParameter.d.ts +0 -16
  318. package/typings/classes/VisualShaderNodeUVFunc.d.ts +0 -22
  319. package/typings/classes/VisualShaderNodeUVPolarCoord.d.ts +0 -6
  320. package/typings/classes/VisualShaderNodeVarying.d.ts +0 -14
  321. package/typings/classes/VisualShaderNodeVaryingGetter.d.ts +0 -6
  322. package/typings/classes/VisualShaderNodeVaryingSetter.d.ts +0 -6
  323. package/typings/classes/VisualShaderNodeVec2Constant.d.ts +0 -10
  324. package/typings/classes/VisualShaderNodeVec2Parameter.d.ts +0 -14
  325. package/typings/classes/VisualShaderNodeVec3Constant.d.ts +0 -10
  326. package/typings/classes/VisualShaderNodeVec3Parameter.d.ts +0 -14
  327. package/typings/classes/VisualShaderNodeVec4Constant.d.ts +0 -10
  328. package/typings/classes/VisualShaderNodeVec4Parameter.d.ts +0 -14
  329. package/typings/classes/VisualShaderNodeVectorBase.d.ts +0 -20
  330. package/typings/classes/VisualShaderNodeVectorCompose.d.ts +0 -8
  331. package/typings/classes/VisualShaderNodeVectorDecompose.d.ts +0 -8
  332. package/typings/classes/VisualShaderNodeVectorDistance.d.ts +0 -6
  333. package/typings/classes/VisualShaderNodeVectorFunc.d.ts +0 -84
  334. package/typings/classes/VisualShaderNodeVectorLen.d.ts +0 -6
  335. package/typings/classes/VisualShaderNodeVectorOp.d.ts +0 -42
  336. package/typings/classes/VisualShaderNodeVectorRefract.d.ts +0 -8
  337. package/typings/classes/VisualShaderNodeWorldPositionFromDepth.d.ts +0 -8
@@ -1,104 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Performs a uniform texture lookup within the visual shader graph. */
5
- declare class VisualShaderNodeTextureParameter extends VisualShaderNodeParameter {
6
- /** Sets the default color if no texture is assigned to the uniform. */
7
- color_default: int;
8
- /** Sets the texture filtering mode. */
9
- texture_filter: int;
10
- /** Sets the texture repeating mode. */
11
- texture_repeat: int;
12
- /** Sets the texture source mode. Used for reading from the screen, depth, or normal_roughness texture. */
13
- texture_source: int;
14
- /** Defines the type of data provided by the source texture. */
15
- texture_type: int;
16
- set_color_default(value: int): void;
17
- get_color_default(): int;
18
- set_texture_filter(value: int): void;
19
- get_texture_filter(): int;
20
- set_texture_repeat(value: int): void;
21
- get_texture_repeat(): int;
22
- set_texture_source(value: int): void;
23
- get_texture_source(): int;
24
- set_texture_type(value: int): void;
25
- get_texture_type(): int;
26
-
27
- // enum TextureType
28
- /** No hints are added to the uniform declaration. */
29
- static readonly TYPE_DATA: int;
30
- /**
31
- * Adds `source_color` as hint to the uniform declaration for proper conversion from nonlinear sRGB encoding to linear encoding.
32
- */
33
- static readonly TYPE_COLOR: int;
34
- /**
35
- * Adds `hint_normal` as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.
36
- */
37
- static readonly TYPE_NORMAL_MAP: int;
38
- /** Adds `hint_anisotropy` as hint to the uniform declaration to use for a flowmap. */
39
- static readonly TYPE_ANISOTROPY: int;
40
- /** Represents the size of the {@link TextureType} enum. */
41
- static readonly TYPE_MAX: int;
42
- // enum ColorDefault
43
- /** Defaults to fully opaque white color. */
44
- static readonly COLOR_DEFAULT_WHITE: int;
45
- /** Defaults to fully opaque black color. */
46
- static readonly COLOR_DEFAULT_BLACK: int;
47
- /** Defaults to fully transparent black color. */
48
- static readonly COLOR_DEFAULT_TRANSPARENT: int;
49
- /** Represents the size of the {@link ColorDefault} enum. */
50
- static readonly COLOR_DEFAULT_MAX: int;
51
- // enum TextureFilter
52
- /** Sample the texture using the filter determined by the node this shader is attached to. */
53
- static readonly FILTER_DEFAULT: int;
54
- /**
55
- * The texture filter reads from the nearest pixel only. This makes the texture look pixelated from up close, and grainy from a distance (due to mipmaps not being sampled).
56
- */
57
- static readonly FILTER_NEAREST: int;
58
- /**
59
- * The texture filter blends between the nearest 4 pixels. This makes the texture look smooth from up close, and grainy from a distance (due to mipmaps not being sampled).
60
- */
61
- static readonly FILTER_LINEAR: int;
62
- /**
63
- * The texture filter reads from the nearest pixel and blends between the nearest 2 mipmaps (or uses the nearest mipmap if {@link ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter} is `true`). This makes the texture look pixelated from up close, and smooth from a distance.
64
- * Use this for non-pixel art textures that may be viewed at a low scale (e.g. due to {@link Camera2D} zoom or sprite scaling), as mipmaps are important to smooth out pixels that are smaller than on-screen pixels.
65
- */
66
- static readonly FILTER_NEAREST_MIPMAP: int;
67
- /**
68
- * The texture filter blends between the nearest 4 pixels and between the nearest 2 mipmaps (or uses the nearest mipmap if {@link ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter} is `true`). This makes the texture look smooth from up close, and smooth from a distance.
69
- * Use this for non-pixel art textures that may be viewed at a low scale (e.g. due to {@link Camera2D} zoom or sprite scaling), as mipmaps are important to smooth out pixels that are smaller than on-screen pixels.
70
- */
71
- static readonly FILTER_LINEAR_MIPMAP: int;
72
- /**
73
- * The texture filter reads from the nearest pixel and blends between 2 mipmaps (or uses the nearest mipmap if {@link ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter} is `true`) based on the angle between the surface and the camera view. This makes the texture look pixelated from up close, and smooth from a distance. Anisotropic filtering improves texture quality on surfaces that are almost in line with the camera, but is slightly slower. The anisotropic filtering level can be changed by adjusting {@link ProjectSettings.rendering/textures/default_filters/anisotropic_filtering_level}.
74
- * **Note:** This texture filter is rarely useful in 2D projects. {@link FILTER_NEAREST_MIPMAP} is usually more appropriate in this case.
75
- */
76
- static readonly FILTER_NEAREST_MIPMAP_ANISOTROPIC: int;
77
- /**
78
- * The texture filter blends between the nearest 4 pixels and blends between 2 mipmaps (or uses the nearest mipmap if {@link ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter} is `true`) based on the angle between the surface and the camera view. This makes the texture look smooth from up close, and smooth from a distance. Anisotropic filtering improves texture quality on surfaces that are almost in line with the camera, but is slightly slower. The anisotropic filtering level can be changed by adjusting {@link ProjectSettings.rendering/textures/default_filters/anisotropic_filtering_level}.
79
- * **Note:** This texture filter is rarely useful in 2D projects. {@link FILTER_LINEAR_MIPMAP} is usually more appropriate in this case.
80
- */
81
- static readonly FILTER_LINEAR_MIPMAP_ANISOTROPIC: int;
82
- /** Represents the size of the {@link TextureFilter} enum. */
83
- static readonly FILTER_MAX: int;
84
- // enum TextureRepeat
85
- /** Sample the texture using the repeat mode determined by the node this shader is attached to. */
86
- static readonly REPEAT_DEFAULT: int;
87
- /** Texture will repeat normally. */
88
- static readonly REPEAT_ENABLED: int;
89
- /** Texture will not repeat. */
90
- static readonly REPEAT_DISABLED: int;
91
- /** Represents the size of the {@link TextureRepeat} enum. */
92
- static readonly REPEAT_MAX: int;
93
- // enum TextureSource
94
- /** The texture source is not specified in the shader. */
95
- static readonly SOURCE_NONE: int;
96
- /** The texture source is the screen texture which captures all opaque objects drawn this frame. */
97
- static readonly SOURCE_SCREEN: int;
98
- /** The texture source is the depth texture from the depth prepass. */
99
- static readonly SOURCE_DEPTH: int;
100
- /** The texture source is the normal-roughness buffer from the depth prepass. */
101
- static readonly SOURCE_NORMAL_ROUGHNESS: int;
102
- /** Represents the size of the {@link TextureSource} enum. */
103
- static readonly SOURCE_MAX: int;
104
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Performs a uniform texture lookup with triplanar within the visual shader graph. */
5
- declare class VisualShaderNodeTextureParameterTriplanar 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
- /** Performs an SDF (signed-distance field) texture lookup within the visual shader graph. */
5
- declare class VisualShaderNodeTextureSDF 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
- /** Performs an SDF (signed-distance field) normal texture lookup within the visual shader graph. */
5
- declare class VisualShaderNodeTextureSDFNormal 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
- /** Composes a {@link Transform3D} from four {@link Vector3}s within the visual shader graph. */
5
- declare class VisualShaderNodeTransformCompose extends VisualShaderNode {
6
- }
@@ -1,10 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A {@link Transform3D} constant for use within the visual shader graph. */
5
- declare class VisualShaderNodeTransformConstant extends VisualShaderNodeConstant {
6
- /** A {@link Transform3D} constant which represents the state of this node. */
7
- constant: Transform3D;
8
- set_constant(value: Transform3D | Projection): void;
9
- get_constant(): Transform3D;
10
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Decomposes a {@link Transform3D} into four {@link Vector3}s within the visual shader graph. */
5
- declare class VisualShaderNodeTransformDecompose extends VisualShaderNode {
6
- }
@@ -1,18 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Computes a {@link Transform3D} function within the visual shader graph. */
5
- declare class VisualShaderNodeTransformFunc extends VisualShaderNode {
6
- /** The function to be computed. */
7
- function: int;
8
- set_function(value: int): void;
9
- get_function(): int;
10
-
11
- // enum Function
12
- /** Perform the inverse operation on the {@link Transform3D} matrix. */
13
- static readonly FUNC_INVERSE: int;
14
- /** Perform the transpose operation on the {@link Transform3D} matrix. */
15
- static readonly FUNC_TRANSPOSE: int;
16
- /** Represents the size of the {@link Function} enum. */
17
- static readonly FUNC_MAX: int;
18
- }
@@ -1,32 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A {@link Transform3D} operator to be used within the visual shader graph. */
5
- declare class VisualShaderNodeTransformOp extends VisualShaderNode {
6
- /** The type of the operation to be performed on the transforms. */
7
- operator: int;
8
- set_operator(value: int): void;
9
- get_operator(): int;
10
-
11
- // enum Operator
12
- /** Multiplies transform `a` by the transform `b`. */
13
- static readonly OP_AxB: int;
14
- /** Multiplies transform `b` by the transform `a`. */
15
- static readonly OP_BxA: int;
16
- /** Performs a component-wise multiplication of transform `a` by the transform `b`. */
17
- static readonly OP_AxB_COMP: int;
18
- /** Performs a component-wise multiplication of transform `b` by the transform `a`. */
19
- static readonly OP_BxA_COMP: int;
20
- /** Adds two transforms. */
21
- static readonly OP_ADD: int;
22
- /** Subtracts the transform `a` from the transform `b`. */
23
- static readonly OP_A_MINUS_B: int;
24
- /** Subtracts the transform `b` from the transform `a`. */
25
- static readonly OP_B_MINUS_A: int;
26
- /** Divides the transform `a` by the transform `b`. */
27
- static readonly OP_A_DIV_B: int;
28
- /** Divides the transform `b` by the transform `a`. */
29
- static readonly OP_B_DIV_A: int;
30
- /** Represents the size of the {@link Operator} enum. */
31
- static readonly OP_MAX: int;
32
- }
@@ -1,14 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A {@link Transform3D} parameter for use within the visual shader graph. */
5
- declare class VisualShaderNodeTransformParameter extends VisualShaderNodeParameter {
6
- /** A default value to be assigned within the shader. */
7
- default_value: Transform3D;
8
- /** Enables usage of the {@link default_value}. */
9
- default_value_enabled: boolean;
10
- set_default_value(value: Transform3D | Projection): void;
11
- get_default_value(): Transform3D;
12
- set_default_value_enabled(value: boolean): void;
13
- is_default_value_enabled(): boolean;
14
- }
@@ -1,22 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Multiplies a {@link Transform3D} and a {@link Vector3} within the visual shader graph. */
5
- declare class VisualShaderNodeTransformVecMult extends VisualShaderNode {
6
- /** The multiplication type to be performed. */
7
- operator: int;
8
- set_operator(value: int): void;
9
- get_operator(): int;
10
-
11
- // enum Operator
12
- /** Multiplies transform `a` by the vector `b`. */
13
- static readonly OP_AxB: int;
14
- /** Multiplies vector `b` by the transform `a`. */
15
- static readonly OP_BxA: int;
16
- /** Multiplies transform `a` by the vector `b`, skipping the last row and column of the transform. */
17
- static readonly OP_3x3_AxB: int;
18
- /** Multiplies vector `b` by the transform `a`, skipping the last row and column of the transform. */
19
- static readonly OP_3x3_BxA: int;
20
- /** Represents the size of the {@link Operator} enum. */
21
- static readonly OP_MAX: int;
22
- }
@@ -1,10 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** An unsigned scalar integer constant to be used within the visual shader graph. */
5
- declare class VisualShaderNodeUIntConstant extends VisualShaderNodeConstant {
6
- /** An unsigned integer constant which represents a state of this node. */
7
- constant: int;
8
- set_constant(value: int): void;
9
- get_constant(): int;
10
- }
@@ -1,20 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** An unsigned scalar integer function to be used within the visual shader graph. */
5
- declare class VisualShaderNodeUIntFunc extends VisualShaderNode {
6
- /** A function to be applied to the scalar. */
7
- function: int;
8
- set_function(value: int): void;
9
- get_function(): int;
10
-
11
- // enum Function
12
- /** Negates the `x` using `-(x)`. */
13
- static readonly FUNC_NEGATE: int;
14
- /**
15
- * Returns the result of bitwise `NOT` operation on the integer. Translates to `~a` in the Godot Shader Language.
16
- */
17
- static readonly FUNC_BITWISE_NOT: int;
18
- /** Represents the size of the {@link Function} enum. */
19
- static readonly FUNC_MAX: int;
20
- }
@@ -1,48 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** An unsigned integer scalar operator to be used within the visual shader graph. */
5
- declare class VisualShaderNodeUIntOp extends VisualShaderNode {
6
- /** An operator to be applied to the inputs. */
7
- operator: int;
8
- set_operator(value: int): void;
9
- get_operator(): int;
10
-
11
- // enum Operator
12
- /** Sums two numbers using `a + b`. */
13
- static readonly OP_ADD: int;
14
- /** Subtracts two numbers using `a - b`. */
15
- static readonly OP_SUB: int;
16
- /** Multiplies two numbers using `a * b`. */
17
- static readonly OP_MUL: int;
18
- /** Divides two numbers using `a / b`. */
19
- static readonly OP_DIV: int;
20
- /** Calculates the remainder of two numbers using `a % b`. */
21
- static readonly OP_MOD: int;
22
- /** Returns the greater of two numbers. Translates to `max(a, b)` in the Godot Shader Language. */
23
- static readonly OP_MAX: int;
24
- /** Returns the lesser of two numbers. Translates to `max(a, b)` in the Godot Shader Language. */
25
- static readonly OP_MIN: int;
26
- /**
27
- * Returns the result of bitwise `AND` operation on the integer. Translates to `a & b` in the Godot Shader Language.
28
- */
29
- static readonly OP_BITWISE_AND: int;
30
- /**
31
- * Returns the result of bitwise `OR` operation for two integers. Translates to `a | b` in the Godot Shader Language.
32
- */
33
- static readonly OP_BITWISE_OR: int;
34
- /**
35
- * Returns the result of bitwise `XOR` operation for two integers. Translates to `a ^ b` in the Godot Shader Language.
36
- */
37
- static readonly OP_BITWISE_XOR: int;
38
- /**
39
- * Returns the result of bitwise left shift operation on the integer. Translates to `a << b` in the Godot Shader Language.
40
- */
41
- static readonly OP_BITWISE_LEFT_SHIFT: int;
42
- /**
43
- * Returns the result of bitwise right shift operation on the integer. Translates to `a >> b` in the Godot Shader Language.
44
- */
45
- static readonly OP_BITWISE_RIGHT_SHIFT: int;
46
- /** Represents the size of the {@link Operator} enum. */
47
- static readonly OP_ENUM_SIZE: int;
48
- }
@@ -1,16 +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 unsigned [int]. */
5
- declare class VisualShaderNodeUIntParameter extends VisualShaderNodeParameter {
6
- /**
7
- * Default value of this parameter, which will be used if not set externally. {@link default_value_enabled} must be enabled; defaults to `0` otherwise.
8
- */
9
- default_value: int;
10
- /** If `true`, the node will have a custom default value. */
11
- default_value_enabled: boolean;
12
- set_default_value(value: int): void;
13
- get_default_value(): int;
14
- set_default_value_enabled(value: boolean): void;
15
- is_default_value_enabled(): boolean;
16
- }
@@ -1,22 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Contains functions to modify texture coordinates (`uv`) to be used within the visual shader graph. */
5
- declare class VisualShaderNodeUVFunc extends VisualShaderNode {
6
- /** A function to be applied to the texture coordinates. */
7
- function: int;
8
- set_function(value: int): void;
9
- get_function(): int;
10
-
11
- // enum Function
12
- /**
13
- * Translates `uv` by using `scale` and `offset` values using the following formula: `uv = uv + offset * scale`. `uv` port is connected to `UV` built-in by default.
14
- */
15
- static readonly FUNC_PANNING: int;
16
- /**
17
- * Scales `uv` by using `scale` and `pivot` values using the following formula: `uv = (uv - pivot) * scale + pivot`. `uv` port is connected to `UV` built-in by default.
18
- */
19
- static readonly FUNC_SCALING: int;
20
- /** Represents the size of the {@link Function} enum. */
21
- static readonly FUNC_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 modifies the texture UV using polar coordinates. */
5
- declare class VisualShaderNodeUVPolarCoord extends VisualShaderNode {
6
- }
@@ -1,14 +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 represents a "varying" shader value. */
5
- declare class VisualShaderNodeVarying extends VisualShaderNode {
6
- /** Name of the variable. Must be unique. */
7
- varying_name: string;
8
- /** Type of the variable. Determines where the variable can be accessed. */
9
- varying_type: int;
10
- set_varying_name(value: string | NodePath): void;
11
- get_varying_name(): string;
12
- set_varying_type(value: int): void;
13
- get_varying_type(): int;
14
- }
@@ -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 gets a value of a varying. */
5
- declare class VisualShaderNodeVaryingGetter extends VisualShaderNodeVarying {
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 sets a value of a varying. */
5
- declare class VisualShaderNodeVaryingSetter extends VisualShaderNodeVarying {
6
- }
@@ -1,10 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A {@link Vector2} constant to be used within the visual shader graph. */
5
- declare class VisualShaderNodeVec2Constant extends VisualShaderNodeConstant {
6
- /** A {@link Vector2} constant which represents the state of this node. */
7
- constant: Vector2;
8
- set_constant(value: Vector2 | Vector2i): void;
9
- get_constant(): Vector2;
10
- }
@@ -1,14 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A {@link Vector2} parameter to be used within the visual shader graph. */
5
- declare class VisualShaderNodeVec2Parameter extends VisualShaderNodeParameter {
6
- /** A default value to be assigned within the shader. */
7
- default_value: Vector2;
8
- /** Enables usage of the {@link default_value}. */
9
- default_value_enabled: boolean;
10
- set_default_value(value: Vector2 | Vector2i): void;
11
- get_default_value(): Vector2;
12
- set_default_value_enabled(value: boolean): void;
13
- is_default_value_enabled(): boolean;
14
- }
@@ -1,10 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A {@link Vector3} constant to be used within the visual shader graph. */
5
- declare class VisualShaderNodeVec3Constant extends VisualShaderNodeConstant {
6
- /** A {@link Vector3} constant which represents the state of this node. */
7
- constant: Vector3;
8
- set_constant(value: Vector3 | Vector3i): void;
9
- get_constant(): Vector3;
10
- }
@@ -1,14 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A {@link Vector3} parameter to be used within the visual shader graph. */
5
- declare class VisualShaderNodeVec3Parameter extends VisualShaderNodeParameter {
6
- /** A default value to be assigned within the shader. */
7
- default_value: Vector3;
8
- /** Enables usage of the {@link default_value}. */
9
- default_value_enabled: boolean;
10
- set_default_value(value: Vector3 | Vector3i): void;
11
- get_default_value(): Vector3;
12
- set_default_value_enabled(value: boolean): void;
13
- is_default_value_enabled(): boolean;
14
- }
@@ -1,10 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A 4D vector constant to be used within the visual shader graph. */
5
- declare class VisualShaderNodeVec4Constant extends VisualShaderNodeConstant {
6
- /** A 4D vector (represented as a {@link Quaternion}) constant which represents the state of this node. */
7
- constant: Quaternion;
8
- set_constant(value: Quaternion | Basis): void;
9
- get_constant(): Quaternion;
10
- }
@@ -1,14 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A 4D vector parameter to be used within the visual shader graph. */
5
- declare class VisualShaderNodeVec4Parameter extends VisualShaderNodeParameter {
6
- /** A default value to be assigned within the shader. */
7
- default_value: Vector4;
8
- /** Enables usage of the {@link default_value}. */
9
- default_value_enabled: boolean;
10
- set_default_value(value: Vector4 | Vector4i): void;
11
- get_default_value(): Vector4;
12
- set_default_value_enabled(value: boolean): void;
13
- is_default_value_enabled(): boolean;
14
- }
@@ -1,20 +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 nodes that perform vector operations within the visual shader graph. */
5
- declare class VisualShaderNodeVectorBase extends VisualShaderNode {
6
- /** A vector type that this operation is performed on. */
7
- op_type: int;
8
- set_op_type(value: int): void;
9
- get_op_type(): int;
10
-
11
- // enum OpType
12
- /** A 2D vector type. */
13
- static readonly OP_TYPE_VECTOR_2D: int;
14
- /** A 3D vector type. */
15
- static readonly OP_TYPE_VECTOR_3D: int;
16
- /** A 4D vector type. */
17
- static readonly OP_TYPE_VECTOR_4D: int;
18
- /** Represents the size of the {@link OpType} enum. */
19
- static readonly OP_TYPE_MAX: int;
20
- }
@@ -1,8 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /**
5
- * Composes a {@link Vector2}, {@link Vector3} or 4D vector (represented as a {@link Quaternion}) from scalars within the visual shader graph.
6
- */
7
- declare class VisualShaderNodeVectorCompose extends VisualShaderNodeVectorBase {
8
- }
@@ -1,8 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /**
5
- * Decomposes a {@link Vector2}, {@link Vector3} or 4D vector (represented as a {@link Quaternion}) into scalars within the visual shader graph.
6
- */
7
- declare class VisualShaderNodeVectorDecompose extends VisualShaderNodeVectorBase {
8
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Returns the distance between two points. To be used within the visual shader graph. */
5
- declare class VisualShaderNodeVectorDistance extends VisualShaderNodeVectorBase {
6
- }
@@ -1,84 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** A vector function to be used within the visual shader graph. */
5
- declare class VisualShaderNodeVectorFunc extends VisualShaderNodeVectorBase {
6
- /** The function to be performed. */
7
- function: int;
8
- set_function(value: int): void;
9
- get_function(): int;
10
-
11
- // enum Function
12
- /** Normalizes the vector so that it has a length of `1` but points in the same direction. */
13
- static readonly FUNC_NORMALIZE: int;
14
- /** Clamps the value between `0.0` and `1.0`. */
15
- static readonly FUNC_SATURATE: int;
16
- /** Returns the opposite value of the parameter. */
17
- static readonly FUNC_NEGATE: int;
18
- /** Returns `1/vector`. */
19
- static readonly FUNC_RECIPROCAL: int;
20
- /** Returns the absolute value of the parameter. */
21
- static readonly FUNC_ABS: int;
22
- /** Returns the arc-cosine of the parameter. */
23
- static readonly FUNC_ACOS: int;
24
- /** Returns the inverse hyperbolic cosine of the parameter. */
25
- static readonly FUNC_ACOSH: int;
26
- /** Returns the arc-sine of the parameter. */
27
- static readonly FUNC_ASIN: int;
28
- /** Returns the inverse hyperbolic sine of the parameter. */
29
- static readonly FUNC_ASINH: int;
30
- /** Returns the arc-tangent of the parameter. */
31
- static readonly FUNC_ATAN: int;
32
- /** Returns the inverse hyperbolic tangent of the parameter. */
33
- static readonly FUNC_ATANH: int;
34
- /** Finds the nearest integer that is greater than or equal to the parameter. */
35
- static readonly FUNC_CEIL: int;
36
- /** Returns the cosine of the parameter. */
37
- static readonly FUNC_COS: int;
38
- /** Returns the hyperbolic cosine of the parameter. */
39
- static readonly FUNC_COSH: int;
40
- /** Converts a quantity in radians to degrees. */
41
- static readonly FUNC_DEGREES: int;
42
- /** Base-e Exponential. */
43
- static readonly FUNC_EXP: int;
44
- /** Base-2 Exponential. */
45
- static readonly FUNC_EXP2: int;
46
- /** Finds the nearest integer less than or equal to the parameter. */
47
- static readonly FUNC_FLOOR: int;
48
- /** Computes the fractional part of the argument. */
49
- static readonly FUNC_FRACT: int;
50
- /** Returns the inverse of the square root of the parameter. */
51
- static readonly FUNC_INVERSE_SQRT: int;
52
- /** Natural logarithm. */
53
- static readonly FUNC_LOG: int;
54
- /** Base-2 logarithm. */
55
- static readonly FUNC_LOG2: int;
56
- /** Converts a quantity in degrees to radians. */
57
- static readonly FUNC_RADIANS: int;
58
- /** Finds the nearest integer to the parameter. */
59
- static readonly FUNC_ROUND: int;
60
- /** Finds the nearest even integer to the parameter. */
61
- static readonly FUNC_ROUNDEVEN: int;
62
- /**
63
- * Extracts the sign of the parameter, i.e. returns `-1` if the parameter is negative, `1` if it's positive and `0` otherwise.
64
- */
65
- static readonly FUNC_SIGN: int;
66
- /** Returns the sine of the parameter. */
67
- static readonly FUNC_SIN: int;
68
- /** Returns the hyperbolic sine of the parameter. */
69
- static readonly FUNC_SINH: int;
70
- /** Returns the square root of the parameter. */
71
- static readonly FUNC_SQRT: int;
72
- /** Returns the tangent of the parameter. */
73
- static readonly FUNC_TAN: int;
74
- /** Returns the hyperbolic tangent of the parameter. */
75
- static readonly FUNC_TANH: int;
76
- /**
77
- * Returns a value equal to the nearest integer to the parameter whose absolute value is not larger than the absolute value of the parameter.
78
- */
79
- static readonly FUNC_TRUNC: int;
80
- /** Returns `1.0 - vector`. */
81
- static readonly FUNC_ONEMINUS: int;
82
- /** Represents the size of the {@link Function} enum. */
83
- static readonly FUNC_MAX: int;
84
- }
@@ -1,6 +0,0 @@
1
- // AUTO-GENERATED from Godot class documentation.
2
- // Manual overrides applied from typings-overrides/*.d.ts
3
-
4
- /** Returns the length of a {@link Vector3} within the visual shader graph. */
5
- declare class VisualShaderNodeVectorLen extends VisualShaderNodeVectorBase {
6
- }