typescript-to-gdscript 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/cli/convert.d.ts.map +1 -1
- package/dist/cli/convert.js +15 -5
- package/dist/cli/convert.js.map +1 -1
- package/dist/converter/gd-to-ts/class-scope.d.ts.map +1 -1
- package/dist/converter/gd-to-ts/class-scope.js +4 -4
- package/dist/converter/gd-to-ts/class-scope.js.map +1 -1
- package/dist/converter/gd-to-ts/expressions.d.ts.map +1 -1
- package/dist/converter/gd-to-ts/expressions.js +59 -8
- package/dist/converter/gd-to-ts/expressions.js.map +1 -1
- package/dist/converter/gd-to-ts/functions.d.ts.map +1 -1
- package/dist/converter/gd-to-ts/functions.js +29 -24
- package/dist/converter/gd-to-ts/functions.js.map +1 -1
- package/dist/converter/gd-to-ts/identifiers.d.ts +27 -0
- package/dist/converter/gd-to-ts/identifiers.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/identifiers.js +76 -0
- package/dist/converter/gd-to-ts/identifiers.js.map +1 -0
- package/dist/converter/gd-to-ts/members.d.ts.map +1 -1
- package/dist/converter/gd-to-ts/members.js +15 -6
- package/dist/converter/gd-to-ts/members.js.map +1 -1
- package/dist/converter/gd-to-ts/statements.d.ts.map +1 -1
- package/dist/converter/gd-to-ts/statements.js +12 -1
- package/dist/converter/gd-to-ts/statements.js.map +1 -1
- package/dist/converter/gd-to-ts/type-inference.d.ts +33 -0
- package/dist/converter/gd-to-ts/type-inference.d.ts.map +1 -1
- package/dist/converter/gd-to-ts/type-inference.js +79 -0
- package/dist/converter/gd-to-ts/type-inference.js.map +1 -1
- package/dist/converter/ts-to-gd/access-rewrite.d.ts +40 -0
- package/dist/converter/ts-to-gd/access-rewrite.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/access-rewrite.js +124 -0
- package/dist/converter/ts-to-gd/access-rewrite.js.map +1 -0
- package/dist/converter/ts-to-gd/expressions.d.ts.map +1 -1
- package/dist/converter/ts-to-gd/expressions.js +31 -7
- package/dist/converter/ts-to-gd/expressions.js.map +1 -1
- package/dist/typings/content-generators.d.ts +2 -2
- package/dist/typings/content-generators.d.ts.map +1 -1
- package/dist/typings/content-generators.js +8 -2
- package/dist/typings/content-generators.js.map +1 -1
- package/dist/typings/godot-docs.d.ts.map +1 -1
- package/dist/typings/godot-docs.js +45 -16
- package/dist/typings/godot-docs.js.map +1 -1
- package/dist/typings/override-system.d.ts.map +1 -1
- package/dist/typings/override-system.js +8 -0
- package/dist/typings/override-system.js.map +1 -1
- package/dist/typings/scene-utils.d.ts +8 -0
- package/dist/typings/scene-utils.d.ts.map +1 -1
- package/dist/typings/scene-utils.js +49 -8
- package/dist/typings/scene-utils.js.map +1 -1
- package/dist/typings/scenes.d.ts.map +1 -1
- package/dist/typings/scenes.js +17 -10
- package/dist/typings/scenes.js.map +1 -1
- package/dist/watcher/check.d.ts +87 -0
- package/dist/watcher/check.d.ts.map +1 -0
- package/dist/watcher/check.js +209 -0
- package/dist/watcher/check.js.map +1 -0
- package/dist/watcher/heal.d.ts +66 -0
- package/dist/watcher/heal.d.ts.map +1 -0
- package/dist/watcher/heal.js +132 -0
- package/dist/watcher/heal.js.map +1 -0
- package/dist/watcher/index.d.ts +1 -0
- package/dist/watcher/index.d.ts.map +1 -1
- package/dist/watcher/index.js +48 -52
- package/dist/watcher/index.js.map +1 -1
- package/package.json +1 -1
- package/typings/classes/AccessibilityServer.d.ts +405 -0
- package/typings/classes/AnimationLibrary.d.ts +4 -4
- package/typings/classes/AnimationNodeBlendSpace1D.d.ts +45 -4
- package/typings/classes/AnimationNodeBlendSpace2D.d.ts +45 -4
- package/typings/classes/Area3D.d.ts +14 -7
- package/typings/classes/AreaLight3D.d.ts +37 -0
- package/typings/classes/ArrayMesh.d.ts +15 -0
- package/typings/classes/AudioEffectAmplify.d.ts +2 -2
- package/typings/classes/AudioEffectBandLimitFilter.d.ts +1 -1
- package/typings/classes/AudioEffectBandPassFilter.d.ts +1 -1
- package/typings/classes/AudioEffectCapture.d.ts +10 -9
- package/typings/classes/AudioEffectChorus.d.ts +57 -28
- package/typings/classes/AudioEffectCompressor.d.ts +11 -9
- package/typings/classes/AudioEffectDelay.d.ts +21 -15
- package/typings/classes/AudioEffectDistortion.d.ts +19 -10
- package/typings/classes/AudioEffectEQ.d.ts +2 -2
- package/typings/classes/AudioEffectEQ10.d.ts +2 -2
- package/typings/classes/AudioEffectEQ21.d.ts +2 -2
- package/typings/classes/AudioEffectEQ6.d.ts +2 -2
- package/typings/classes/AudioEffectFilter.d.ts +25 -9
- package/typings/classes/AudioEffectHardLimiter.d.ts +8 -5
- package/typings/classes/AudioEffectHighPassFilter.d.ts +1 -1
- package/typings/classes/AudioEffectHighShelfFilter.d.ts +1 -1
- package/typings/classes/AudioEffectInstance.d.ts +1 -1
- package/typings/classes/AudioEffectLimiter.d.ts +9 -4
- package/typings/classes/AudioEffectLowPassFilter.d.ts +1 -1
- package/typings/classes/AudioEffectLowShelfFilter.d.ts +1 -1
- package/typings/classes/AudioEffectNotchFilter.d.ts +1 -1
- package/typings/classes/AudioEffectPanner.d.ts +7 -2
- package/typings/classes/AudioEffectPhaser.d.ts +9 -7
- package/typings/classes/AudioEffectPitchShift.d.ts +3 -3
- package/typings/classes/AudioEffectReverb.d.ts +17 -8
- package/typings/classes/AudioEffectSpectrumAnalyzer.d.ts +4 -5
- package/typings/classes/AudioEffectStereoEnhance.d.ts +7 -4
- package/typings/classes/AudioServer.d.ts +2 -2
- package/typings/classes/AudioStreamPlaybackResampled.d.ts +8 -0
- package/typings/classes/AudioStreamRandomizer.d.ts +10 -0
- package/typings/classes/AwaitTweener.d.ts +10 -0
- package/typings/classes/BaseButton.d.ts +1 -1
- package/typings/classes/Basis.d.ts +6 -2
- package/typings/classes/BlitMaterial.d.ts +22 -0
- package/typings/classes/CPUParticles2D.d.ts +2 -2
- package/typings/classes/CPUParticles3D.d.ts +2 -2
- package/typings/classes/Camera3D.d.ts +1 -1
- package/typings/classes/CameraAttributes.d.ts +1 -0
- package/typings/classes/CameraFeed.d.ts +4 -0
- package/typings/classes/CanvasItem.d.ts +16 -1
- package/typings/classes/CodeEdit.d.ts +6 -0
- package/typings/classes/CollisionObject2D.d.ts +6 -0
- package/typings/classes/CollisionPolygon2D.d.ts +5 -0
- package/typings/classes/CollisionShape2D.d.ts +5 -0
- package/typings/classes/Container.d.ts +7 -0
- package/typings/classes/Control.d.ts +127 -9
- package/typings/classes/Curve.d.ts +26 -1
- package/typings/classes/Curve2D.d.ts +15 -0
- package/typings/classes/Curve3D.d.ts +20 -0
- package/typings/classes/DPITexture.d.ts +14 -0
- package/typings/classes/Decal.d.ts +1 -0
- package/typings/classes/Dictionary.d.ts +74 -28
- package/typings/classes/DirAccess.d.ts +6 -1
- package/typings/classes/DisplayServer.d.ts +161 -9
- package/typings/classes/DrawableTexture2D.d.ts +43 -0
- package/typings/classes/EditorCommandPalette.d.ts +0 -2
- package/typings/classes/EditorContextMenuPlugin.d.ts +4 -0
- package/typings/classes/EditorDock.d.ts +10 -5
- package/typings/classes/EditorExportPlatform.d.ts +4 -2
- package/typings/classes/EditorExportPlugin.d.ts +7 -0
- package/typings/classes/EditorFeatureProfile.d.ts +1 -1
- package/typings/classes/EditorFileSystem.d.ts +2 -0
- package/typings/classes/EditorInspector.d.ts +10 -0
- package/typings/classes/EditorInterface.d.ts +6 -4
- package/typings/classes/EditorNode3DGizmoPlugin.d.ts +4 -0
- package/typings/classes/EditorPlugin.d.ts +4 -4
- package/typings/classes/EditorResourcePicker.d.ts +2 -1
- package/typings/classes/EditorSceneFormatImporter.d.ts +23 -0
- package/typings/classes/EditorSettings.d.ts +241 -140
- package/typings/classes/EditorSpinSlider.d.ts +6 -0
- package/typings/classes/EditorTranslationParserPlugin.d.ts +4 -0
- package/typings/classes/EditorVCSInterface.d.ts +6 -2
- package/typings/classes/Environment.d.ts +7 -2
- package/typings/classes/FileAccess.d.ts +1 -1
- package/typings/classes/FileDialog.d.ts +16 -1
- package/typings/classes/FoldableContainer.d.ts +1 -1
- package/typings/classes/Font.d.ts +15 -3
- package/typings/classes/FontVariation.d.ts +10 -0
- package/typings/classes/GDScript.d.ts +8 -0
- package/typings/classes/GDScriptLanguageProtocol.d.ts +25 -0
- package/typings/classes/GDScriptSyntaxHighlighter.d.ts +6 -0
- package/typings/classes/GDScriptTextDocument.d.ts +27 -0
- package/typings/classes/GDScriptWorkspace.d.ts +17 -0
- package/typings/classes/GPUParticles2D.d.ts +2 -2
- package/typings/classes/GPUParticles3D.d.ts +19 -2
- package/typings/classes/Geometry2D.d.ts +2 -2
- package/typings/classes/GeometryInstance3D.d.ts +1 -1
- package/typings/classes/GradientTexture2D.d.ts +2 -0
- package/typings/classes/Image.d.ts +7 -4
- package/typings/classes/ImageFormatLoader.d.ts +5 -0
- package/typings/classes/ImageTexture.d.ts +0 -2
- package/typings/classes/ImporterMesh.d.ts +6 -0
- package/typings/classes/Input.d.ts +159 -15
- package/typings/classes/InputEvent.d.ts +8 -0
- package/typings/classes/InputEventGesture.d.ts +2 -3
- package/typings/classes/InputEventMouse.d.ts +2 -3
- package/typings/classes/InputEventMouseMotion.d.ts +2 -2
- package/typings/classes/InputEventWithModifiers.d.ts +2 -3
- package/typings/classes/InputMap.d.ts +3 -0
- package/typings/classes/ItemList.d.ts +29 -2
- package/typings/classes/IterateIK3D.d.ts +6 -3
- package/typings/classes/JavaClassWrapper.d.ts +13 -0
- package/typings/classes/JavaScriptBridge.d.ts +1 -1
- package/typings/classes/Joint3D.d.ts +1 -0
- package/typings/classes/Label.d.ts +1 -0
- package/typings/classes/LabelSettings.d.ts +25 -0
- package/typings/classes/Light3D.d.ts +1 -1
- package/typings/classes/Logger.d.ts +1 -1
- package/typings/classes/LookAtModifier3D.d.ts +2 -1
- package/typings/classes/MainLoop.d.ts +4 -0
- package/typings/classes/MenuButton.d.ts +35 -0
- package/typings/classes/MeshLibrary.d.ts +2 -0
- package/typings/classes/MovieWriter.d.ts +2 -0
- package/typings/classes/MultiplayerPeerExtension.d.ts +9 -9
- package/typings/classes/NativeMenu.d.ts +10 -3
- package/typings/classes/Node.d.ts +15 -5
- package/typings/classes/Node3D.d.ts +6 -4
- package/typings/classes/OS.d.ts +3 -3
- package/typings/classes/Object.d.ts +9 -3
- package/typings/classes/OptimizedTranslation.d.ts +2 -2
- package/typings/classes/OptionButton.d.ts +51 -1
- package/typings/classes/PCKPacker.d.ts +4 -0
- package/typings/classes/PacketPeerExtension.d.ts +1 -1
- package/typings/classes/ParticleProcessMaterial.d.ts +63 -0
- package/typings/classes/PhysicsDirectBodyState2D.d.ts +2 -1
- package/typings/classes/PhysicsDirectBodyState3D.d.ts +2 -1
- package/typings/classes/PhysicsDirectSpaceState2DExtension.d.ts +6 -6
- package/typings/classes/PhysicsDirectSpaceState3DExtension.d.ts +6 -6
- package/typings/classes/PhysicsServer2D.d.ts +2 -2
- package/typings/classes/PhysicsServer2DExtension.d.ts +6 -6
- package/typings/classes/PhysicsServer3D.d.ts +145 -42
- package/typings/classes/PhysicsServer3DExtension.d.ts +1 -1
- package/typings/classes/PopupMenu.d.ts +74 -8
- package/typings/classes/PopupPanel.d.ts +2 -0
- package/typings/classes/PortableCompressedTexture2D.d.ts +0 -2
- package/typings/classes/ProjectSettings.d.ts +62 -10
- package/typings/classes/Quaternion.d.ts +2 -2
- package/typings/classes/RDAccelerationStructureGeometry.d.ts +42 -0
- package/typings/classes/RDAccelerationStructureInstance.d.ts +34 -0
- package/typings/classes/RDHitGroup.d.ts +20 -0
- package/typings/classes/RDPipelineShader.d.ts +14 -0
- package/typings/classes/RDShaderSPIRV.d.ts +30 -0
- package/typings/classes/RDShaderSource.d.ts +10 -0
- package/typings/classes/RandomNumberGenerator.d.ts +4 -2
- package/typings/classes/RenderSceneBuffersConfiguration.d.ts +4 -1
- package/typings/classes/RenderingDevice.d.ts +175 -1
- package/typings/classes/RenderingServer.d.ts +264 -14
- package/typings/classes/Resource.d.ts +4 -2
- package/typings/classes/ResourceImporterDynamicFont.d.ts +3 -1
- package/typings/classes/ResourceImporterOBJ.d.ts +1 -1
- package/typings/classes/ResourceImporterSVG.d.ts +10 -0
- package/typings/classes/ResourceImporterScene.d.ts +11 -3
- package/typings/classes/ResourceImporterTexture.d.ts +2 -2
- package/typings/classes/RichTextLabel.d.ts +14 -6
- package/typings/classes/Script.d.ts +2 -0
- package/typings/classes/ScriptEditor.d.ts +13 -0
- package/typings/classes/ScriptLanguageExtension.d.ts +7 -0
- package/typings/classes/ScrollContainer.d.ts +17 -5
- package/typings/classes/Shader.d.ts +2 -0
- package/typings/classes/Shape3D.d.ts +1 -0
- package/typings/classes/SkeletonModification2DJiggle.d.ts +4 -0
- package/typings/classes/SplitContainer.d.ts +6 -0
- package/typings/classes/SpringBoneSimulator3D.d.ts +4 -2
- package/typings/classes/SpriteFrames.d.ts +20 -4
- package/typings/classes/StreamPeerExtension.d.ts +2 -2
- package/typings/classes/String.d.ts +1 -1
- package/typings/classes/SubViewport.d.ts +4 -0
- package/typings/classes/TabBar.d.ts +20 -0
- package/typings/classes/TabContainer.d.ts +21 -3
- package/typings/classes/TextEdit.d.ts +5 -2
- package/typings/classes/TextServer.d.ts +25 -1
- package/typings/classes/TextServerExtension.d.ts +25 -1
- package/typings/classes/Texture2D.d.ts +14 -0
- package/typings/classes/TextureRect.d.ts +4 -1
- package/typings/classes/TileSet.d.ts +3 -1
- package/typings/classes/Tree.d.ts +25 -9
- package/typings/classes/TreeItem.d.ts +17 -2
- package/typings/classes/Tween.d.ts +13 -0
- package/typings/classes/UndoRedo.d.ts +2 -2
- package/typings/classes/Vector2.d.ts +4 -2
- package/typings/classes/Vector2i.d.ts +4 -2
- package/typings/classes/Vector3.d.ts +4 -2
- package/typings/classes/Vector3i.d.ts +4 -2
- package/typings/classes/Vector4.d.ts +4 -2
- package/typings/classes/Vector4i.d.ts +4 -2
- package/typings/classes/Viewport.d.ts +27 -1
- package/typings/classes/VirtualJoystick.d.ts +94 -0
- package/typings/classes/VoxelGIData.d.ts +10 -0
- package/typings/classes/Window.d.ts +41 -4
- package/typings/classes/XRCamera3D.d.ts +1 -1
- package/typings/classes/XRServer.d.ts +2 -0
- package/typings/classes/_globals.d.ts +55 -18
- package/typings/classes/index.d.ts +15 -112
- package/typings/globals/globals.d.ts +20 -0
- package/typings/godot-class-registry.json +2120 -3693
- package/typings-overrides/dictionary.d.ts +35 -15
- package/typings-overrides/object-dict.d.ts +43 -0
- package/typings/classes/VisualShader.d.ts +0 -110
- package/typings/classes/VisualShaderNode.d.ts +0 -63
- package/typings/classes/VisualShaderNodeBillboard.d.ts +0 -28
- package/typings/classes/VisualShaderNodeBooleanConstant.d.ts +0 -10
- package/typings/classes/VisualShaderNodeBooleanParameter.d.ts +0 -14
- package/typings/classes/VisualShaderNodeClamp.d.ts +0 -26
- package/typings/classes/VisualShaderNodeColorConstant.d.ts +0 -10
- package/typings/classes/VisualShaderNodeColorFunc.d.ts +0 -32
- package/typings/classes/VisualShaderNodeColorOp.d.ts +0 -32
- package/typings/classes/VisualShaderNodeColorParameter.d.ts +0 -14
- package/typings/classes/VisualShaderNodeComment.d.ts +0 -12
- package/typings/classes/VisualShaderNodeCompare.d.ts +0 -68
- package/typings/classes/VisualShaderNodeConstant.d.ts +0 -6
- package/typings/classes/VisualShaderNodeCubemap.d.ts +0 -43
- package/typings/classes/VisualShaderNodeCubemapParameter.d.ts +0 -6
- package/typings/classes/VisualShaderNodeCurveTexture.d.ts +0 -10
- package/typings/classes/VisualShaderNodeCurveXYZTexture.d.ts +0 -10
- package/typings/classes/VisualShaderNodeCustom.d.ts +0 -122
- package/typings/classes/VisualShaderNodeDerivativeFunc.d.ts +0 -56
- package/typings/classes/VisualShaderNodeDeterminant.d.ts +0 -6
- package/typings/classes/VisualShaderNodeDistanceFade.d.ts +0 -6
- package/typings/classes/VisualShaderNodeDotProduct.d.ts +0 -6
- package/typings/classes/VisualShaderNodeExpression.d.ts +0 -12
- package/typings/classes/VisualShaderNodeFaceForward.d.ts +0 -8
- package/typings/classes/VisualShaderNodeFloatConstant.d.ts +0 -10
- package/typings/classes/VisualShaderNodeFloatFunc.d.ts +0 -108
- package/typings/classes/VisualShaderNodeFloatOp.d.ts +0 -36
- package/typings/classes/VisualShaderNodeFloatParameter.d.ts +0 -52
- package/typings/classes/VisualShaderNodeFrame.d.ts +0 -35
- package/typings/classes/VisualShaderNodeFresnel.d.ts +0 -6
- package/typings/classes/VisualShaderNodeGlobalExpression.d.ts +0 -6
- package/typings/classes/VisualShaderNodeGroupBase.d.ts +0 -60
- package/typings/classes/VisualShaderNodeIf.d.ts +0 -8
- package/typings/classes/VisualShaderNodeInput.d.ts +0 -20
- package/typings/classes/VisualShaderNodeIntConstant.d.ts +0 -10
- package/typings/classes/VisualShaderNodeIntFunc.d.ts +0 -24
- package/typings/classes/VisualShaderNodeIntOp.d.ts +0 -48
- package/typings/classes/VisualShaderNodeIntParameter.d.ts +0 -58
- package/typings/classes/VisualShaderNodeIs.d.ts +0 -18
- package/typings/classes/VisualShaderNodeLinearSceneDepth.d.ts +0 -6
- package/typings/classes/VisualShaderNodeMix.d.ts +0 -28
- package/typings/classes/VisualShaderNodeMultiplyAdd.d.ts +0 -22
- package/typings/classes/VisualShaderNodeOuterProduct.d.ts +0 -6
- package/typings/classes/VisualShaderNodeOutput.d.ts +0 -6
- package/typings/classes/VisualShaderNodeParameter.d.ts +0 -32
- package/typings/classes/VisualShaderNodeParameterRef.d.ts +0 -10
- package/typings/classes/VisualShaderNodeParticleAccelerator.d.ts +0 -20
- package/typings/classes/VisualShaderNodeParticleBoxEmitter.d.ts +0 -6
- package/typings/classes/VisualShaderNodeParticleConeVelocity.d.ts +0 -6
- package/typings/classes/VisualShaderNodeParticleEmit.d.ts +0 -22
- package/typings/classes/VisualShaderNodeParticleEmitter.d.ts +0 -12
- package/typings/classes/VisualShaderNodeParticleMeshEmitter.d.ts +0 -20
- package/typings/classes/VisualShaderNodeParticleMultiplyByAxisAngle.d.ts +0 -10
- package/typings/classes/VisualShaderNodeParticleOutput.d.ts +0 -6
- package/typings/classes/VisualShaderNodeParticleRandomness.d.ts +0 -22
- package/typings/classes/VisualShaderNodeParticleRingEmitter.d.ts +0 -6
- package/typings/classes/VisualShaderNodeParticleSphereEmitter.d.ts +0 -6
- package/typings/classes/VisualShaderNodeProximityFade.d.ts +0 -6
- package/typings/classes/VisualShaderNodeRandomRange.d.ts +0 -6
- package/typings/classes/VisualShaderNodeRemap.d.ts +0 -33
- package/typings/classes/VisualShaderNodeReroute.d.ts +0 -8
- package/typings/classes/VisualShaderNodeResizableBase.d.ts +0 -10
- package/typings/classes/VisualShaderNodeRotationByAxis.d.ts +0 -6
- package/typings/classes/VisualShaderNodeSDFRaymarch.d.ts +0 -6
- package/typings/classes/VisualShaderNodeSDFToScreenUV.d.ts +0 -8
- package/typings/classes/VisualShaderNodeSample3D.d.ts +0 -18
- package/typings/classes/VisualShaderNodeScreenNormalWorldSpace.d.ts +0 -6
- package/typings/classes/VisualShaderNodeScreenUVToSDF.d.ts +0 -8
- package/typings/classes/VisualShaderNodeSmoothStep.d.ts +0 -28
- package/typings/classes/VisualShaderNodeStep.d.ts +0 -28
- package/typings/classes/VisualShaderNodeSwitch.d.ts +0 -30
- package/typings/classes/VisualShaderNodeTexture.d.ts +0 -57
- package/typings/classes/VisualShaderNodeTexture2DArray.d.ts +0 -12
- package/typings/classes/VisualShaderNodeTexture2DArrayParameter.d.ts +0 -6
- package/typings/classes/VisualShaderNodeTexture2DParameter.d.ts +0 -6
- package/typings/classes/VisualShaderNodeTexture3D.d.ts +0 -12
- package/typings/classes/VisualShaderNodeTexture3DParameter.d.ts +0 -6
- package/typings/classes/VisualShaderNodeTextureParameter.d.ts +0 -104
- package/typings/classes/VisualShaderNodeTextureParameterTriplanar.d.ts +0 -6
- package/typings/classes/VisualShaderNodeTextureSDF.d.ts +0 -6
- package/typings/classes/VisualShaderNodeTextureSDFNormal.d.ts +0 -6
- package/typings/classes/VisualShaderNodeTransformCompose.d.ts +0 -6
- package/typings/classes/VisualShaderNodeTransformConstant.d.ts +0 -10
- package/typings/classes/VisualShaderNodeTransformDecompose.d.ts +0 -6
- package/typings/classes/VisualShaderNodeTransformFunc.d.ts +0 -18
- package/typings/classes/VisualShaderNodeTransformOp.d.ts +0 -32
- package/typings/classes/VisualShaderNodeTransformParameter.d.ts +0 -14
- package/typings/classes/VisualShaderNodeTransformVecMult.d.ts +0 -22
- package/typings/classes/VisualShaderNodeUIntConstant.d.ts +0 -10
- package/typings/classes/VisualShaderNodeUIntFunc.d.ts +0 -20
- package/typings/classes/VisualShaderNodeUIntOp.d.ts +0 -48
- package/typings/classes/VisualShaderNodeUIntParameter.d.ts +0 -16
- package/typings/classes/VisualShaderNodeUVFunc.d.ts +0 -22
- package/typings/classes/VisualShaderNodeUVPolarCoord.d.ts +0 -6
- package/typings/classes/VisualShaderNodeVarying.d.ts +0 -14
- package/typings/classes/VisualShaderNodeVaryingGetter.d.ts +0 -6
- package/typings/classes/VisualShaderNodeVaryingSetter.d.ts +0 -6
- package/typings/classes/VisualShaderNodeVec2Constant.d.ts +0 -10
- package/typings/classes/VisualShaderNodeVec2Parameter.d.ts +0 -14
- package/typings/classes/VisualShaderNodeVec3Constant.d.ts +0 -10
- package/typings/classes/VisualShaderNodeVec3Parameter.d.ts +0 -14
- package/typings/classes/VisualShaderNodeVec4Constant.d.ts +0 -10
- package/typings/classes/VisualShaderNodeVec4Parameter.d.ts +0 -14
- package/typings/classes/VisualShaderNodeVectorBase.d.ts +0 -20
- package/typings/classes/VisualShaderNodeVectorCompose.d.ts +0 -8
- package/typings/classes/VisualShaderNodeVectorDecompose.d.ts +0 -8
- package/typings/classes/VisualShaderNodeVectorDistance.d.ts +0 -6
- package/typings/classes/VisualShaderNodeVectorFunc.d.ts +0 -84
- package/typings/classes/VisualShaderNodeVectorLen.d.ts +0 -6
- package/typings/classes/VisualShaderNodeVectorOp.d.ts +0 -42
- package/typings/classes/VisualShaderNodeVectorRefract.d.ts +0 -8
- package/typings/classes/VisualShaderNodeWorldPositionFromDepth.d.ts +0 -8
|
@@ -1,26 +1,46 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Override: Dictionary
|
|
2
|
+
* Override: Dictionary typed surface.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
4
|
+
* `DictionaryTypedMethods<K, V>` is the single source of truth for the
|
|
5
|
+
* key/value-typed access methods. The generator derives `DictionaryKeyMethods`
|
|
6
|
+
* from it — `Omit<Object, keyof DictionaryTypedMethods> & DictionaryTypedMethods`
|
|
7
|
+
* — so the method-name list lives only here. Because the typed methods are
|
|
8
|
+
* all-`unknown` when K = V = unknown, a bare `Dictionary`
|
|
9
|
+
* (= DictionaryKeyMethods<unknown, unknown>) still accepts `{}` literals.
|
|
10
10
|
*/
|
|
11
|
-
interface
|
|
12
|
-
assign(dictionary: Dictionary<K, V>): void;
|
|
13
|
-
duplicate(deep?: boolean): Dictionary<K, V>;
|
|
14
|
-
duplicate_deep(deep_subresources_mode?: int): Dictionary<K, V>;
|
|
15
|
-
erase(key: K): boolean;
|
|
16
|
-
find_key(value: V): K | null;
|
|
11
|
+
interface DictionaryTypedMethods<K = unknown, V = unknown> {
|
|
17
12
|
get(key: K, default_?: V): V;
|
|
18
13
|
get_or_add(key: K, default_?: V): V;
|
|
14
|
+
set(key: K, value: V): boolean;
|
|
19
15
|
has(key: K): boolean;
|
|
20
16
|
has_all(keys: Array<K>): boolean;
|
|
17
|
+
erase(key: K): boolean;
|
|
18
|
+
find_key(value: V): K | null;
|
|
21
19
|
keys(): Array<K>;
|
|
20
|
+
values(): Array<V>;
|
|
21
|
+
assign(dictionary: Dictionary<K, V>): void;
|
|
22
22
|
merge(dictionary: Dictionary<K, V>, overwrite?: boolean): void;
|
|
23
23
|
merged(dictionary: Dictionary<K, V>, overwrite?: boolean): Dictionary<K, V>;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
duplicate(deep?: boolean): Dictionary<K, V>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Override: DictionaryConstructor — generic call signatures so
|
|
29
|
+
* `Dictionary<K, V>()` yields a typed dictionary. (Inference from a contextual
|
|
30
|
+
* type or a copy argument can't flow through the conditional `Dictionary` alias,
|
|
31
|
+
* so use explicit type arguments for a typed result.)
|
|
32
|
+
*/
|
|
33
|
+
declare interface DictionaryConstructor {
|
|
34
|
+
readonly prototype: Dictionary;
|
|
35
|
+
<K = unknown, V = unknown>(): Dictionary<K, V>;
|
|
36
|
+
<K = unknown, V = unknown>(from_: Dictionary<K, V>): Dictionary<K, V>;
|
|
37
|
+
<K = unknown, V = unknown>(
|
|
38
|
+
base: Dictionary<K, V>,
|
|
39
|
+
key_type: int,
|
|
40
|
+
key_class_name: string,
|
|
41
|
+
key_script: unknown,
|
|
42
|
+
value_type: int,
|
|
43
|
+
value_class_name: string,
|
|
44
|
+
value_script: unknown,
|
|
45
|
+
): Dictionary<K, V>;
|
|
26
46
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Override: Object (the structural base every value/dictionary inherits) —
|
|
3
|
+
* `this: T` generic methods so plain object literals and typed Dictionaries
|
|
4
|
+
* get key/value-aware typing for the Dictionary access methods.
|
|
5
|
+
*
|
|
6
|
+
* The `this: T` parameter (à la CallableFunction.apply/bind) infers the actual
|
|
7
|
+
* receiver type at the call site, so `keyof this` resolves to the real keys
|
|
8
|
+
* instead of collapsing to `keyof Object`. Each method pairs a typed overload
|
|
9
|
+
* (literal/known keys → precise type) with a permissive fallback (`unknown`
|
|
10
|
+
* key/value) so dynamic runtime keys, `{}` literals, and untyped Dictionaries
|
|
11
|
+
* keep compiling — matching GDScript's Variant semantics where these methods
|
|
12
|
+
* accept/return Variant. The typed overload comes first so it wins for known
|
|
13
|
+
* literal keys.
|
|
14
|
+
*
|
|
15
|
+
* Value/key TYPE ENFORCEMENT for typed dictionaries comes from the index
|
|
16
|
+
* signature on `Dictionary<K, V>` via the `[]` operator (`d[k] = v`), not from
|
|
17
|
+
* these methods — the permissive fallback intentionally allows `.set()` etc.
|
|
18
|
+
* with any value.
|
|
19
|
+
*
|
|
20
|
+
* const d: Dictionary<string, int> = { x: 1 };
|
|
21
|
+
* d.get("x"); // int (typed overload)
|
|
22
|
+
* d.get(someStr); // unknown (fallback)
|
|
23
|
+
* d.keys(); // Array<string>
|
|
24
|
+
* d["x"] = "no"; // ERROR (index signature enforces value type)
|
|
25
|
+
*/
|
|
26
|
+
interface Object {
|
|
27
|
+
get<T, K extends keyof T>(this: T, key: K, default_?: T[K]): T[K];
|
|
28
|
+
get(key: unknown, default_?: unknown): unknown;
|
|
29
|
+
get_or_add<T, K extends keyof T>(this: T, key: K, default_?: T[K]): T[K];
|
|
30
|
+
get_or_add(key: unknown, default_?: unknown): unknown;
|
|
31
|
+
has<T, K extends keyof T>(this: T, key: K): boolean;
|
|
32
|
+
has(key: unknown): boolean;
|
|
33
|
+
erase<T, K extends keyof T>(this: T, key: K): boolean;
|
|
34
|
+
erase(key: unknown): boolean;
|
|
35
|
+
set<T, K extends keyof T>(this: T, key: K, value: T[K]): boolean;
|
|
36
|
+
set(key: unknown, value: unknown): boolean;
|
|
37
|
+
find_key<T>(this: T, value: T[keyof T]): keyof T | null;
|
|
38
|
+
find_key(value: unknown): unknown;
|
|
39
|
+
keys<T>(this: T): Array<keyof T>;
|
|
40
|
+
values<T>(this: T): Array<T[keyof T]>;
|
|
41
|
+
duplicate<T>(this: T, deep?: boolean): T;
|
|
42
|
+
merged<T>(this: T, dictionary: T, overwrite?: boolean): T;
|
|
43
|
+
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** A custom shader program with a visual editor. */
|
|
5
|
-
declare class VisualShader extends Shader {
|
|
6
|
-
/** Deprecated. */
|
|
7
|
-
graph_offset: Vector2;
|
|
8
|
-
set_graph_offset(value: Vector2 | Vector2i): void;
|
|
9
|
-
get_graph_offset(): Vector2;
|
|
10
|
-
|
|
11
|
-
/** Adds the specified `node` to the shader. */
|
|
12
|
-
add_node(type_: int, node: VisualShaderNode, position: Vector2 | Vector2i, id: int): void;
|
|
13
|
-
/** Adds a new varying value node to the shader. */
|
|
14
|
-
add_varying(name: string | NodePath, mode: int, type_: int): void;
|
|
15
|
-
/** Attaches the given node to the given frame. */
|
|
16
|
-
attach_node_to_frame(type_: int, id: int, frame: int): void;
|
|
17
|
-
/** Returns `true` if the specified nodes and ports can be connected together. */
|
|
18
|
-
can_connect_nodes(type_: int, from_node: int, from_port: int, to_node: int, to_port: int): boolean;
|
|
19
|
-
/** Connects the specified nodes and ports. */
|
|
20
|
-
connect_nodes(type_: int, from_node: int, from_port: int, to_node: int, to_port: int): int;
|
|
21
|
-
/**
|
|
22
|
-
* Connects the specified nodes and ports, even if they can't be connected. Such connection is invalid and will not function properly.
|
|
23
|
-
*/
|
|
24
|
-
connect_nodes_forced(type_: int, from_node: int, from_port: int, to_node: int, to_port: int): void;
|
|
25
|
-
/** Detaches the given node from the frame it is attached to. */
|
|
26
|
-
detach_node_from_frame(type_: int, id: int): void;
|
|
27
|
-
/** Connects the specified nodes and ports. */
|
|
28
|
-
disconnect_nodes(type_: int, from_node: int, from_port: int, to_node: int, to_port: int): void;
|
|
29
|
-
/** Returns the shader node instance with specified `type` and `id`. */
|
|
30
|
-
get_node(type_: int, id: int): VisualShaderNode | null;
|
|
31
|
-
/** Returns the list of connected nodes with the specified type. */
|
|
32
|
-
get_node_connections(type_: int): Array<Dictionary>;
|
|
33
|
-
/** Returns the list of all nodes in the shader with the specified type. */
|
|
34
|
-
get_node_list(type_: int): PackedInt32Array;
|
|
35
|
-
/** Returns the position of the specified node within the shader graph. */
|
|
36
|
-
get_node_position(type_: int, id: int): Vector2;
|
|
37
|
-
/** Returns next valid node ID that can be added to the shader graph. */
|
|
38
|
-
get_valid_node_id(type_: int): int;
|
|
39
|
-
/** Returns `true` if the shader has a varying with the given `name`. */
|
|
40
|
-
has_varying(name: string | NodePath): boolean;
|
|
41
|
-
/** Returns `true` if the specified node and port connection exist. */
|
|
42
|
-
is_node_connection(type_: int, from_node: int, from_port: int, to_node: int, to_port: int): boolean;
|
|
43
|
-
/** Removes the specified node from the shader. */
|
|
44
|
-
remove_node(type_: int, id: int): void;
|
|
45
|
-
/**
|
|
46
|
-
* Removes a varying value node with the given `name`. Prints an error if a node with this name is not found.
|
|
47
|
-
*/
|
|
48
|
-
remove_varying(name: string | NodePath): void;
|
|
49
|
-
/** Replaces the specified node with a node of new class type. */
|
|
50
|
-
replace_node(type_: int, id: int, new_class: string): void;
|
|
51
|
-
/** Sets the mode of this shader. */
|
|
52
|
-
set_mode(mode: int): void;
|
|
53
|
-
/** Sets the position of the specified node. */
|
|
54
|
-
set_node_position(type_: int, id: int, position: Vector2 | Vector2i): void;
|
|
55
|
-
|
|
56
|
-
// enum Type
|
|
57
|
-
/** A vertex shader, operating on vertices. */
|
|
58
|
-
static readonly TYPE_VERTEX: int;
|
|
59
|
-
/** A fragment shader, operating on fragments (pixels). */
|
|
60
|
-
static readonly TYPE_FRAGMENT: int;
|
|
61
|
-
/** A shader for light calculations. */
|
|
62
|
-
static readonly TYPE_LIGHT: int;
|
|
63
|
-
/** A function for the "start" stage of particle shader. */
|
|
64
|
-
static readonly TYPE_START: int;
|
|
65
|
-
/** A function for the "process" stage of particle shader. */
|
|
66
|
-
static readonly TYPE_PROCESS: int;
|
|
67
|
-
/** A function for the "collide" stage (particle collision handler) of particle shader. */
|
|
68
|
-
static readonly TYPE_COLLIDE: int;
|
|
69
|
-
/** A function for the "start" stage of particle shader, with customized output. */
|
|
70
|
-
static readonly TYPE_START_CUSTOM: int;
|
|
71
|
-
/** A function for the "process" stage of particle shader, with customized output. */
|
|
72
|
-
static readonly TYPE_PROCESS_CUSTOM: int;
|
|
73
|
-
/** A shader for 3D environment's sky. */
|
|
74
|
-
static readonly TYPE_SKY: int;
|
|
75
|
-
/** A compute shader that runs for each froxel of the volumetric fog map. */
|
|
76
|
-
static readonly TYPE_FOG: int;
|
|
77
|
-
/** Represents the size of the {@link Type} enum. */
|
|
78
|
-
static readonly TYPE_MAX: int;
|
|
79
|
-
// enum VaryingMode
|
|
80
|
-
/** Varying is passed from `Vertex` function to `Fragment` and `Light` functions. */
|
|
81
|
-
static readonly VARYING_MODE_VERTEX_TO_FRAG_LIGHT: int;
|
|
82
|
-
/** Varying is passed from `Fragment` function to `Light` function. */
|
|
83
|
-
static readonly VARYING_MODE_FRAG_TO_LIGHT: int;
|
|
84
|
-
/** Represents the size of the {@link VaryingMode} enum. */
|
|
85
|
-
static readonly VARYING_MODE_MAX: int;
|
|
86
|
-
// enum VaryingType
|
|
87
|
-
/** Varying is of type [float]. */
|
|
88
|
-
static readonly VARYING_TYPE_FLOAT: int;
|
|
89
|
-
/** Varying is of type [int]. */
|
|
90
|
-
static readonly VARYING_TYPE_INT: int;
|
|
91
|
-
/** Varying is of type unsigned [int]. */
|
|
92
|
-
static readonly VARYING_TYPE_UINT: int;
|
|
93
|
-
/** Varying is of type {@link Vector2}. */
|
|
94
|
-
static readonly VARYING_TYPE_VECTOR_2D: int;
|
|
95
|
-
/** Varying is of type {@link Vector3}. */
|
|
96
|
-
static readonly VARYING_TYPE_VECTOR_3D: int;
|
|
97
|
-
/** Varying is of type {@link Vector4}. */
|
|
98
|
-
static readonly VARYING_TYPE_VECTOR_4D: int;
|
|
99
|
-
/** Varying is of type [bool]. */
|
|
100
|
-
static readonly VARYING_TYPE_BOOLEAN: int;
|
|
101
|
-
/** Varying is of type {@link Transform3D}. */
|
|
102
|
-
static readonly VARYING_TYPE_TRANSFORM: int;
|
|
103
|
-
/** Represents the size of the {@link VaryingType} enum. */
|
|
104
|
-
static readonly VARYING_TYPE_MAX: int;
|
|
105
|
-
|
|
106
|
-
/** Indicates an invalid {@link VisualShader} node. */
|
|
107
|
-
static readonly NODE_ID_INVALID: int;
|
|
108
|
-
/** Indicates an output node of {@link VisualShader}. */
|
|
109
|
-
static readonly NODE_ID_OUTPUT: int;
|
|
110
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** Base class for {@link VisualShader} nodes. Not related to scene nodes. */
|
|
5
|
-
declare class VisualShaderNode extends Resource {
|
|
6
|
-
/**
|
|
7
|
-
* Represents the index of the frame this node is linked to. If set to `-1` the node is not linked to any frame.
|
|
8
|
-
*/
|
|
9
|
-
linked_parent_graph_frame: int;
|
|
10
|
-
/**
|
|
11
|
-
* Sets the output port index which will be showed for preview. If set to `-1` no port will be open for preview.
|
|
12
|
-
*/
|
|
13
|
-
output_port_for_preview: int;
|
|
14
|
-
set_frame(value: int): void;
|
|
15
|
-
get_frame(): int;
|
|
16
|
-
set_output_port_for_preview(value: int): void;
|
|
17
|
-
get_output_port_for_preview(): int;
|
|
18
|
-
|
|
19
|
-
/** Clears the default input ports value. */
|
|
20
|
-
clear_default_input_values(): void;
|
|
21
|
-
/**
|
|
22
|
-
* Returns the input port which should be connected by default when this node is created as a result of dragging a connection from an existing node to the empty space on the graph.
|
|
23
|
-
*/
|
|
24
|
-
get_default_input_port(type_: int): int;
|
|
25
|
-
/**
|
|
26
|
-
* Returns an {@link Array} containing default values for all of the input ports of the node in the form `[index0, value0, index1, value1, ...]`.
|
|
27
|
-
*/
|
|
28
|
-
get_default_input_values(): Array<unknown>;
|
|
29
|
-
/** Returns the default value of the input `port`. */
|
|
30
|
-
get_input_port_default_value(port: int): unknown;
|
|
31
|
-
/** Removes the default value of the input `port`. */
|
|
32
|
-
remove_input_port_default_value(port: int): void;
|
|
33
|
-
/**
|
|
34
|
-
* Sets the default input ports values using an {@link Array} of the form `[index0, value0, index1, value1, ...]`. For example: `[0, Vector3(0, 0, 0), 1, Vector3(0, 0, 0)]`.
|
|
35
|
-
*/
|
|
36
|
-
set_default_input_values(values: Array<unknown> | PackedByteArray | PackedColorArray | PackedFloat32Array | PackedFloat64Array | PackedInt32Array | PackedInt64Array | PackedStringArray | PackedVector2Array | PackedVector3Array | PackedVector4Array): void;
|
|
37
|
-
/** Sets the default `value` for the selected input `port`. */
|
|
38
|
-
set_input_port_default_value(port: int, value: unknown, prev_value?: unknown): void;
|
|
39
|
-
|
|
40
|
-
// enum PortType
|
|
41
|
-
/** Floating-point scalar. Translated to [code skip-lint]float[/code] type in shader code. */
|
|
42
|
-
static readonly PORT_TYPE_SCALAR: int;
|
|
43
|
-
/** Integer scalar. Translated to [code skip-lint]int[/code] type in shader code. */
|
|
44
|
-
static readonly PORT_TYPE_SCALAR_INT: int;
|
|
45
|
-
/** Unsigned integer scalar. Translated to [code skip-lint]uint[/code] type in shader code. */
|
|
46
|
-
static readonly PORT_TYPE_SCALAR_UINT: int;
|
|
47
|
-
/** 2D vector of floating-point values. Translated to [code skip-lint]vec2[/code] type in shader code. */
|
|
48
|
-
static readonly PORT_TYPE_VECTOR_2D: int;
|
|
49
|
-
/** 3D vector of floating-point values. Translated to [code skip-lint]vec3[/code] type in shader code. */
|
|
50
|
-
static readonly PORT_TYPE_VECTOR_3D: int;
|
|
51
|
-
/** 4D vector of floating-point values. Translated to [code skip-lint]vec4[/code] type in shader code. */
|
|
52
|
-
static readonly PORT_TYPE_VECTOR_4D: int;
|
|
53
|
-
/** Boolean type. Translated to [code skip-lint]bool[/code] type in shader code. */
|
|
54
|
-
static readonly PORT_TYPE_BOOLEAN: int;
|
|
55
|
-
/** Transform type. Translated to [code skip-lint]mat4[/code] type in shader code. */
|
|
56
|
-
static readonly PORT_TYPE_TRANSFORM: int;
|
|
57
|
-
/**
|
|
58
|
-
* Sampler type. Translated to reference of sampler uniform in shader code. Can only be used for input ports in non-uniform nodes.
|
|
59
|
-
*/
|
|
60
|
-
static readonly PORT_TYPE_SAMPLER: int;
|
|
61
|
-
/** Represents the size of the {@link PortType} enum. */
|
|
62
|
-
static readonly PORT_TYPE_MAX: int;
|
|
63
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** A node that controls how the object faces the camera to be used within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeBillboard extends VisualShaderNode {
|
|
6
|
-
/** Controls how the object faces the camera. */
|
|
7
|
-
billboard_type: int;
|
|
8
|
-
/**
|
|
9
|
-
* If `true`, the shader will keep the scale set for the mesh. Otherwise, the scale is lost when billboarding.
|
|
10
|
-
*/
|
|
11
|
-
keep_scale: boolean;
|
|
12
|
-
set_billboard_type(value: int): void;
|
|
13
|
-
get_billboard_type(): int;
|
|
14
|
-
set_keep_scale_enabled(value: boolean): void;
|
|
15
|
-
is_keep_scale_enabled(): boolean;
|
|
16
|
-
|
|
17
|
-
// enum BillboardType
|
|
18
|
-
/** Billboarding is disabled and the node does nothing. */
|
|
19
|
-
static readonly BILLBOARD_TYPE_DISABLED: int;
|
|
20
|
-
/** A standard billboarding algorithm is enabled. */
|
|
21
|
-
static readonly BILLBOARD_TYPE_ENABLED: int;
|
|
22
|
-
/** A billboarding algorithm to rotate around Y-axis is enabled. */
|
|
23
|
-
static readonly BILLBOARD_TYPE_FIXED_Y: int;
|
|
24
|
-
/** A billboarding algorithm designed to use on particles is enabled. */
|
|
25
|
-
static readonly BILLBOARD_TYPE_PARTICLES: int;
|
|
26
|
-
/** Represents the size of the {@link BillboardType} enum. */
|
|
27
|
-
static readonly BILLBOARD_TYPE_MAX: int;
|
|
28
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** A boolean constant to be used within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeBooleanConstant extends VisualShaderNodeConstant {
|
|
6
|
-
/** A boolean constant which represents a state of this node. */
|
|
7
|
-
constant: boolean;
|
|
8
|
-
set_constant(value: boolean): void;
|
|
9
|
-
get_constant(): boolean;
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** A boolean parameter to be used within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeBooleanParameter extends VisualShaderNodeParameter {
|
|
6
|
-
/** A default value to be assigned within the shader. */
|
|
7
|
-
default_value: boolean;
|
|
8
|
-
/** Enables usage of the {@link default_value}. */
|
|
9
|
-
default_value_enabled: boolean;
|
|
10
|
-
set_default_value(value: boolean): void;
|
|
11
|
-
get_default_value(): boolean;
|
|
12
|
-
set_default_value_enabled(value: boolean): void;
|
|
13
|
-
is_default_value_enabled(): boolean;
|
|
14
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** Clamps a value within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeClamp 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
|
-
/** Represents the size of the {@link OpType} enum. */
|
|
25
|
-
static readonly OP_TYPE_MAX: int;
|
|
26
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** A {@link Color} constant to be used within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeColorConstant extends VisualShaderNodeConstant {
|
|
6
|
-
/** A {@link Color} constant which represents a state of this node. */
|
|
7
|
-
constant: Color;
|
|
8
|
-
set_constant(value: Color): void;
|
|
9
|
-
get_constant(): Color;
|
|
10
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** A {@link Color} function to be used within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeColorFunc extends VisualShaderNode {
|
|
6
|
-
/** A function to be applied to the input color. */
|
|
7
|
-
function: int;
|
|
8
|
-
set_function(value: int): void;
|
|
9
|
-
get_function(): int;
|
|
10
|
-
|
|
11
|
-
// enum Function
|
|
12
|
-
/** Converts the color to grayscale using the following formula: */
|
|
13
|
-
static readonly FUNC_GRAYSCALE: int;
|
|
14
|
-
/** Converts HSV vector to RGB equivalent. */
|
|
15
|
-
static readonly FUNC_HSV2RGB: int;
|
|
16
|
-
/** Converts RGB vector to HSV equivalent. */
|
|
17
|
-
static readonly FUNC_RGB2HSV: int;
|
|
18
|
-
/** Applies sepia tone effect using the following formula: */
|
|
19
|
-
static readonly FUNC_SEPIA: int;
|
|
20
|
-
/**
|
|
21
|
-
* Converts color from linear encoding to nonlinear sRGB encoding using the following formula:
|
|
22
|
-
* The Compatibility renderer uses a simpler formula:
|
|
23
|
-
*/
|
|
24
|
-
static readonly FUNC_LINEAR_TO_SRGB: int;
|
|
25
|
-
/**
|
|
26
|
-
* Converts color from nonlinear sRGB encoding to linear encoding using the following formula:
|
|
27
|
-
* The Compatibility renderer uses a simpler formula:
|
|
28
|
-
*/
|
|
29
|
-
static readonly FUNC_SRGB_TO_LINEAR: int;
|
|
30
|
-
/** Represents the size of the {@link Function} enum. */
|
|
31
|
-
static readonly FUNC_MAX: int;
|
|
32
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** A {@link Color} operator to be used within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeColorOp 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
|
-
/** Produce a screen effect with the following formula: */
|
|
13
|
-
static readonly OP_SCREEN: int;
|
|
14
|
-
/** Produce a difference effect with the following formula: */
|
|
15
|
-
static readonly OP_DIFFERENCE: int;
|
|
16
|
-
/** Produce a darken effect with the following formula: */
|
|
17
|
-
static readonly OP_DARKEN: int;
|
|
18
|
-
/** Produce a lighten effect with the following formula: */
|
|
19
|
-
static readonly OP_LIGHTEN: int;
|
|
20
|
-
/** Produce an overlay effect with the following formula: */
|
|
21
|
-
static readonly OP_OVERLAY: int;
|
|
22
|
-
/** Produce a dodge effect with the following formula: */
|
|
23
|
-
static readonly OP_DODGE: int;
|
|
24
|
-
/** Produce a burn effect with the following formula: */
|
|
25
|
-
static readonly OP_BURN: int;
|
|
26
|
-
/** Produce a soft light effect with the following formula: */
|
|
27
|
-
static readonly OP_SOFT_LIGHT: int;
|
|
28
|
-
/** Produce a hard light effect with the following formula: */
|
|
29
|
-
static readonly OP_HARD_LIGHT: 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 Color} parameter to be used within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeColorParameter extends VisualShaderNodeParameter {
|
|
6
|
-
/** A default value to be assigned within the shader. */
|
|
7
|
-
default_value: Color;
|
|
8
|
-
/** Enables usage of the {@link default_value}. */
|
|
9
|
-
default_value_enabled: boolean;
|
|
10
|
-
set_default_value(value: Color): void;
|
|
11
|
-
get_default_value(): Color;
|
|
12
|
-
set_default_value_enabled(value: boolean): void;
|
|
13
|
-
is_default_value_enabled(): boolean;
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** Only exists for compatibility. Use {@link VisualShaderNodeFrame} as a replacement. */
|
|
5
|
-
declare class VisualShaderNodeComment extends VisualShaderNodeFrame {
|
|
6
|
-
/**
|
|
7
|
-
* This property only exists to preserve data authored in earlier versions of Godot. It has currently no function.
|
|
8
|
-
*/
|
|
9
|
-
description: string;
|
|
10
|
-
set_description(value: string | NodePath): void;
|
|
11
|
-
get_description(): string;
|
|
12
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** A comparison function for common types within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeCompare extends VisualShaderNode {
|
|
6
|
-
/** Extra condition which is applied if {@link type} is set to {@link CTYPE_VECTOR_3D}. */
|
|
7
|
-
condition: int;
|
|
8
|
-
/** A comparison function. */
|
|
9
|
-
function: int;
|
|
10
|
-
/** The type to be used in the comparison. */
|
|
11
|
-
type: int;
|
|
12
|
-
set_condition(value: int): void;
|
|
13
|
-
get_condition(): int;
|
|
14
|
-
set_function(value: int): void;
|
|
15
|
-
get_function(): int;
|
|
16
|
-
set_comparison_type(value: int): void;
|
|
17
|
-
get_comparison_type(): int;
|
|
18
|
-
|
|
19
|
-
// enum ComparisonType
|
|
20
|
-
/** A floating-point scalar. */
|
|
21
|
-
static readonly CTYPE_SCALAR: int;
|
|
22
|
-
/** An integer scalar. */
|
|
23
|
-
static readonly CTYPE_SCALAR_INT: int;
|
|
24
|
-
/** An unsigned integer scalar. */
|
|
25
|
-
static readonly CTYPE_SCALAR_UINT: int;
|
|
26
|
-
/** A 2D vector type. */
|
|
27
|
-
static readonly CTYPE_VECTOR_2D: int;
|
|
28
|
-
/** A 3D vector type. */
|
|
29
|
-
static readonly CTYPE_VECTOR_3D: int;
|
|
30
|
-
/** A 4D vector type. */
|
|
31
|
-
static readonly CTYPE_VECTOR_4D: int;
|
|
32
|
-
/** A boolean type. */
|
|
33
|
-
static readonly CTYPE_BOOLEAN: int;
|
|
34
|
-
/** A transform (`mat4`) type. */
|
|
35
|
-
static readonly CTYPE_TRANSFORM: int;
|
|
36
|
-
/** Represents the size of the {@link ComparisonType} enum. */
|
|
37
|
-
static readonly CTYPE_MAX: int;
|
|
38
|
-
// enum Function
|
|
39
|
-
/** Comparison for equality (`a == b`). */
|
|
40
|
-
static readonly FUNC_EQUAL: int;
|
|
41
|
-
/** Comparison for inequality (`a != b`). */
|
|
42
|
-
static readonly FUNC_NOT_EQUAL: int;
|
|
43
|
-
/**
|
|
44
|
-
* Comparison for greater than (`a > b`). Cannot be used if {@link type} set to {@link CTYPE_BOOLEAN} or {@link CTYPE_TRANSFORM}.
|
|
45
|
-
*/
|
|
46
|
-
static readonly FUNC_GREATER_THAN: int;
|
|
47
|
-
/**
|
|
48
|
-
* Comparison for greater than or equal (`a >= b`). Cannot be used if {@link type} set to {@link CTYPE_BOOLEAN} or {@link CTYPE_TRANSFORM}.
|
|
49
|
-
*/
|
|
50
|
-
static readonly FUNC_GREATER_THAN_EQUAL: int;
|
|
51
|
-
/**
|
|
52
|
-
* Comparison for less than (`a < b`). Cannot be used if {@link type} set to {@link CTYPE_BOOLEAN} or {@link CTYPE_TRANSFORM}.
|
|
53
|
-
*/
|
|
54
|
-
static readonly FUNC_LESS_THAN: int;
|
|
55
|
-
/**
|
|
56
|
-
* Comparison for less than or equal (`a <= b`). Cannot be used if {@link type} set to {@link CTYPE_BOOLEAN} or {@link CTYPE_TRANSFORM}.
|
|
57
|
-
*/
|
|
58
|
-
static readonly FUNC_LESS_THAN_EQUAL: int;
|
|
59
|
-
/** Represents the size of the {@link Function} enum. */
|
|
60
|
-
static readonly FUNC_MAX: int;
|
|
61
|
-
// enum Condition
|
|
62
|
-
/** The result will be `true` if all components in the vector satisfy the comparison condition. */
|
|
63
|
-
static readonly COND_ALL: int;
|
|
64
|
-
/** The result will be `true` if any component in the vector satisfies the comparison condition. */
|
|
65
|
-
static readonly COND_ANY: int;
|
|
66
|
-
/** Represents the size of the {@link Condition} enum. */
|
|
67
|
-
static readonly COND_MAX: int;
|
|
68
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** A {@link Cubemap} sampling node to be used within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeCubemap extends VisualShaderNode {
|
|
6
|
-
/** The {@link Cubemap} texture to sample when using {@link SOURCE_TEXTURE} as {@link source}. */
|
|
7
|
-
cube_map: TextureLayered | null;
|
|
8
|
-
/** Defines which source should be used for the sampling. */
|
|
9
|
-
source: int;
|
|
10
|
-
/** Defines the type of data provided by the source texture. */
|
|
11
|
-
texture_type: int;
|
|
12
|
-
set_cube_map(value: TextureLayered | null): void;
|
|
13
|
-
get_cube_map(): TextureLayered | null;
|
|
14
|
-
set_source(value: int): void;
|
|
15
|
-
get_source(): int;
|
|
16
|
-
set_texture_type(value: int): void;
|
|
17
|
-
get_texture_type(): int;
|
|
18
|
-
|
|
19
|
-
// enum Source
|
|
20
|
-
/**
|
|
21
|
-
* Use the {@link Cubemap} set via {@link cube_map}. If this is set to {@link source}, the `samplerCube` port is ignored.
|
|
22
|
-
*/
|
|
23
|
-
static readonly SOURCE_TEXTURE: int;
|
|
24
|
-
/**
|
|
25
|
-
* Use the {@link Cubemap} sampler reference passed via the `samplerCube` port. If this is set to {@link source}, the {@link cube_map} texture is ignored.
|
|
26
|
-
*/
|
|
27
|
-
static readonly SOURCE_PORT: int;
|
|
28
|
-
/** Represents the size of the {@link Source} enum. */
|
|
29
|
-
static readonly SOURCE_MAX: int;
|
|
30
|
-
// enum TextureType
|
|
31
|
-
/** No hints are added to the uniform declaration. */
|
|
32
|
-
static readonly TYPE_DATA: int;
|
|
33
|
-
/**
|
|
34
|
-
* Adds `source_color` as hint to the uniform declaration for proper conversion from nonlinear sRGB encoding to linear encoding.
|
|
35
|
-
*/
|
|
36
|
-
static readonly TYPE_COLOR: int;
|
|
37
|
-
/**
|
|
38
|
-
* Adds `hint_normal` as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.
|
|
39
|
-
*/
|
|
40
|
-
static readonly TYPE_NORMAL_MAP: int;
|
|
41
|
-
/** Represents the size of the {@link TextureType} enum. */
|
|
42
|
-
static readonly TYPE_MAX: int;
|
|
43
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** A {@link Cubemap} parameter node to be used within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeCubemapParameter extends VisualShaderNodeTextureParameter {
|
|
6
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** Performs a {@link CurveTexture} lookup within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeCurveTexture extends VisualShaderNodeResizableBase {
|
|
6
|
-
/** The source texture. */
|
|
7
|
-
texture: CurveTexture | null;
|
|
8
|
-
set_texture(value: CurveTexture | null): void;
|
|
9
|
-
get_texture(): CurveTexture | null;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
-
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
-
|
|
4
|
-
/** Performs a {@link CurveXYZTexture} lookup within the visual shader graph. */
|
|
5
|
-
declare class VisualShaderNodeCurveXYZTexture extends VisualShaderNodeResizableBase {
|
|
6
|
-
/** The source texture. */
|
|
7
|
-
texture: CurveXYZTexture | null;
|
|
8
|
-
set_texture(value: CurveXYZTexture | null): void;
|
|
9
|
-
get_texture(): CurveXYZTexture | null;
|
|
10
|
-
}
|