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.
- 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/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/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 +1 -0
- 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/godot-class-registry.json +2120 -3693
- 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
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Adds a 10-band equalizer audio effect to an
|
|
6
|
-
* Each frequency can be modulated between -60/+24 dB.
|
|
5
|
+
* Adds a 10-band equalizer audio effect to an audio bus.
|
|
6
|
+
* Gives you control over frequencies from 31 Hz to 16000 Hz. Each frequency can be modulated between -60/+24 dB.
|
|
7
7
|
*/
|
|
8
8
|
declare class AudioEffectEQ10 extends AudioEffectEQ {
|
|
9
9
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Adds a 21-band equalizer audio effect to an
|
|
6
|
-
* Each frequency can be modulated between -60/+24 dB.
|
|
5
|
+
* Adds a 21-band equalizer audio effect to an audio bus.
|
|
6
|
+
* Gives you control over frequencies from 22 Hz to 22000 Hz. Each frequency can be modulated between -60/+24 dB.
|
|
7
7
|
*/
|
|
8
8
|
declare class AudioEffectEQ21 extends AudioEffectEQ {
|
|
9
9
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Adds a 6-band equalizer audio effect to an audio bus.
|
|
6
|
-
* Each frequency can be modulated between -60/+24 dB.
|
|
5
|
+
* Adds a 6-band equalizer audio effect to an audio bus.
|
|
6
|
+
* Gives you control over frequencies from 32 Hz to 10000 Hz. Each frequency can be modulated between -60/+24 dB.
|
|
7
7
|
*/
|
|
8
8
|
declare class AudioEffectEQ6 extends AudioEffectEQ {
|
|
9
9
|
}
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/** Base class for filters. Use effects that inherit this class instead of using it directly. */
|
|
5
5
|
declare class AudioEffectFilter extends AudioEffect {
|
|
6
|
-
/**
|
|
6
|
+
/** Frequency threshold for the filter, in Hz. Value can range from 1 to 20500. */
|
|
7
7
|
cutoff_hz: float;
|
|
8
8
|
/**
|
|
9
|
-
* Steepness of the cutoff curve in dB per octave, also known as the order of the filter. Higher orders have a more aggressive cutoff.
|
|
9
|
+
* Steepness of the cutoff curve in dB per octave (twice the frequency above {@link cutoff_hz}, or half the frequency below {@link cutoff_hz}), also known as the "order" of the filter. Higher orders have a more aggressive cutoff.
|
|
10
10
|
*/
|
|
11
11
|
db: int;
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Gain of the frequencies affected by the filter. This property is only available for {@link AudioEffectLowShelfFilter} and {@link AudioEffectHighShelfFilter}. Value can range from 0 to 4.
|
|
14
|
+
*/
|
|
13
15
|
gain: float;
|
|
14
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Gain at or directly next to the {@link cutoff_hz} frequency threshold. Value can range from 0 to 1.
|
|
18
|
+
* Its exact behavior depends on the selected filter type:
|
|
19
|
+
* - For shelf filters, it accentuates or masks the order by increasing frequencies right next to the {@link cutoff_hz} frequency and decreasing frequencies on the opposite side.
|
|
20
|
+
* - For the band-pass and notch filters, it widens or narrows the filter at the {@link cutoff_hz} frequency threshold.
|
|
21
|
+
* - For low/high-pass filters, it increases or decreases frequencies at the {@link cutoff_hz} frequency threshold.
|
|
22
|
+
*/
|
|
15
23
|
resonance: float;
|
|
16
24
|
set_cutoff(value: float): void;
|
|
17
25
|
get_cutoff(): float;
|
|
@@ -23,12 +31,20 @@ declare class AudioEffectFilter extends AudioEffect {
|
|
|
23
31
|
get_resonance(): float;
|
|
24
32
|
|
|
25
33
|
// enum FilterDB
|
|
26
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Cutting off at 6 dB per octave. One octave is twice the frequency above {@link cutoff_hz}, or half the frequency below {@link cutoff_hz}.
|
|
36
|
+
*/
|
|
27
37
|
static readonly FILTER_6DB: int;
|
|
28
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* Cutting off at 12 dB per octave. One octave is twice the frequency above {@link cutoff_hz}, or half the frequency below {@link cutoff_hz}.
|
|
40
|
+
*/
|
|
29
41
|
static readonly FILTER_12DB: int;
|
|
30
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Cutting off at 18 dB per octave. One octave is twice the frequency above {@link cutoff_hz}, or half the frequency below {@link cutoff_hz}.
|
|
44
|
+
*/
|
|
31
45
|
static readonly FILTER_18DB: int;
|
|
32
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Cutting off at 24 dB per octave. One octave is twice the frequency above {@link cutoff_hz}, or half the frequency below {@link cutoff_hz}.
|
|
48
|
+
*/
|
|
33
49
|
static readonly FILTER_24DB: int;
|
|
34
50
|
}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Adds a limiter audio effect to an audio bus.
|
|
6
|
+
* Prevents audio signals from exceeding a specified volume level.
|
|
7
|
+
*/
|
|
5
8
|
declare class AudioEffectHardLimiter extends AudioEffect {
|
|
6
9
|
/**
|
|
7
|
-
* The waveform's maximum allowed value, in
|
|
8
|
-
* The default value of
|
|
10
|
+
* The waveform's maximum allowed value, in dB. This value can range from -24 to 0.
|
|
11
|
+
* The default value of -0.3 prevents potential inter-sample peaks (ISP) from crossing over 0 dB, which can cause slight distortion on some older hardware.
|
|
9
12
|
*/
|
|
10
13
|
ceiling_db: float;
|
|
11
|
-
/** Gain
|
|
14
|
+
/** Gain before limiting, in dB. Value can range from -24 to 24. */
|
|
12
15
|
pre_gain_db: float;
|
|
13
|
-
/** Time it takes in seconds for the gain reduction to fully release. */
|
|
16
|
+
/** Time it takes in seconds for the gain reduction to fully release. Value can range from 0.01 to 3. */
|
|
14
17
|
release: float;
|
|
15
18
|
set_ceiling_db(value: float): void;
|
|
16
19
|
get_ceiling_db(): float;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/** Adds a high-pass filter to
|
|
4
|
+
/** Adds a high-pass filter to an audio bus. */
|
|
5
5
|
declare class AudioEffectHighPassFilter extends AudioEffectFilter {
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/** Adds a high-shelf filter to
|
|
4
|
+
/** Adds a high-shelf filter to an audio bus. */
|
|
5
5
|
declare class AudioEffectHighShelfFilter extends AudioEffectFilter {
|
|
6
6
|
}
|
|
@@ -7,7 +7,7 @@ declare class AudioEffectInstance extends RefCounted {
|
|
|
7
7
|
* Called by the {@link AudioServer} to process this effect. When {@link _process_silence} is not overridden or it returns `false`, this method is called only when the bus is active.
|
|
8
8
|
* **Note:** It is not useful to override this method in GDScript or C#. Only GDExtension can take advantage of it.
|
|
9
9
|
*/
|
|
10
|
-
_process(src_buffer: void,
|
|
10
|
+
_process(src_buffer: void, r_dst_buffer: unknown, frame_count: int): void;
|
|
11
11
|
/**
|
|
12
12
|
* Override this method to customize the processing behavior of this effect instance.
|
|
13
13
|
* Should return `true` to force the {@link AudioServer} to always call {@link _process}, even if the bus has been muted or cannot otherwise be heard.
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/** Adds a soft-clip limiter audio effect to an
|
|
4
|
+
/** Adds a soft-clip limiter audio effect to an audio bus. */
|
|
5
5
|
declare class AudioEffectLimiter extends AudioEffect {
|
|
6
|
-
/** The waveform's maximum allowed value, in
|
|
6
|
+
/** The waveform's maximum allowed value, in dB. Value can range from -20 to -0.1. */
|
|
7
7
|
ceiling_db: float;
|
|
8
|
-
/**
|
|
8
|
+
/** Modifies the volume of the limited waves, in dB. Value can range from 0 to 6. */
|
|
9
9
|
soft_clip_db: float;
|
|
10
|
+
/**
|
|
11
|
+
* This property has no effect on the audio. Use {@link AudioEffectHardLimiter} instead, as this Limiter effect is deprecated.
|
|
12
|
+
*/
|
|
10
13
|
soft_clip_ratio: float;
|
|
11
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* The volume threshold level from which the limiter begins to be active, in dB. Value can range from -30 to 0.
|
|
16
|
+
*/
|
|
12
17
|
threshold_db: float;
|
|
13
18
|
set_ceiling_db(value: float): void;
|
|
14
19
|
get_ceiling_db(): float;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/** Adds a low-pass filter to
|
|
4
|
+
/** Adds a low-pass filter to an audio bus. */
|
|
5
5
|
declare class AudioEffectLowPassFilter extends AudioEffectFilter {
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/** Adds a low-shelf filter to
|
|
4
|
+
/** Adds a low-shelf filter to an audio bus. */
|
|
5
5
|
declare class AudioEffectLowShelfFilter extends AudioEffectFilter {
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/** Adds a notch filter to
|
|
4
|
+
/** Adds a notch filter to an audio bus. */
|
|
5
5
|
declare class AudioEffectNotchFilter extends AudioEffectFilter {
|
|
6
6
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Adds a panner audio effect to an audio bus.
|
|
6
|
+
* Pans the sound left or right.
|
|
7
|
+
*/
|
|
5
8
|
declare class AudioEffectPanner extends AudioEffect {
|
|
6
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Pan position. Negative values pan the sound to the left, positive pan to the right. Value can range from -1 to 1.
|
|
11
|
+
*/
|
|
7
12
|
pan: float;
|
|
8
13
|
set_pan(value: float): void;
|
|
9
14
|
get_pan(): float;
|
|
@@ -3,24 +3,26 @@
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Adds a phaser audio effect to an audio bus.
|
|
6
|
-
*
|
|
6
|
+
* Creates several notch and peak filters that sweep across the spectrum.
|
|
7
7
|
*/
|
|
8
8
|
declare class AudioEffectPhaser extends AudioEffect {
|
|
9
|
+
/** Intensity of the effect. Value can range from 0.1 to 4.0. */
|
|
10
|
+
depth: float;
|
|
9
11
|
/**
|
|
10
|
-
*
|
|
12
|
+
* The volume ratio of the filtered audio that is fed back to the all-pass filters. The higher the value, the sharper and louder the peak filters created by the effect. Value can range from 0.1 to 0.9.
|
|
11
13
|
*/
|
|
12
|
-
depth: float;
|
|
13
|
-
/** Output percent of modified sound. Value can range from 0.1 to 0.9. */
|
|
14
14
|
feedback: float;
|
|
15
15
|
/**
|
|
16
|
-
* Determines the maximum frequency affected by the
|
|
16
|
+
* Determines the maximum frequency affected by the low-frequency oscillator modulations, in Hz. Value can range from 10 to 10000.
|
|
17
17
|
*/
|
|
18
18
|
range_max_hz: float;
|
|
19
19
|
/**
|
|
20
|
-
* Determines the minimum frequency affected by the
|
|
20
|
+
* Determines the minimum frequency affected by the low-frequency oscillator modulations, in Hz. Value can range from 10 to 10000.
|
|
21
21
|
*/
|
|
22
22
|
range_min_hz: float;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Adjusts the rate in Hz at which the effect sweeps up and down across the frequency range. Value can range from 0.01 to 20.
|
|
25
|
+
*/
|
|
24
26
|
rate_hz: float;
|
|
25
27
|
set_depth(value: float): void;
|
|
26
28
|
get_depth(): float;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Adds a pitch-shifting audio effect to an audio bus.
|
|
6
|
-
* Raises or lowers the pitch of
|
|
6
|
+
* Raises or lowers the pitch of the input audio.
|
|
7
7
|
*/
|
|
8
8
|
declare class AudioEffectPitchShift extends AudioEffect {
|
|
9
9
|
/**
|
|
10
|
-
* The size of the Fast Fourier transform (https://en.wikipedia.org/wiki/Fast_Fourier_transform) buffer. Higher values smooth out the effect over time, but have greater latency. The effects of this higher latency are especially noticeable on
|
|
10
|
+
* The size of the Fast Fourier transform (https://en.wikipedia.org/wiki/Fast_Fourier_transform) buffer. Higher values smooth out the effect over time, but have greater latency. The effects of this higher latency are especially noticeable on audio signals that have sudden amplitude changes.
|
|
11
11
|
*/
|
|
12
12
|
fft_size: int;
|
|
13
13
|
/**
|
|
@@ -15,7 +15,7 @@ declare class AudioEffectPitchShift extends AudioEffect {
|
|
|
15
15
|
*/
|
|
16
16
|
oversampling: int;
|
|
17
17
|
/**
|
|
18
|
-
* The pitch scale to use. `1.0` is the default pitch and plays sounds unaffected. {@link pitch_scale} can range from
|
|
18
|
+
* The pitch scale to use. `1.0` is the default pitch and plays sounds unaffected. {@link pitch_scale} can range from 0 (infinitely low pitch, inaudible) to 16 (16 times higher than the initial pitch).
|
|
19
19
|
*/
|
|
20
20
|
pitch_scale: float;
|
|
21
21
|
set_fft_size(value: int): void;
|
|
@@ -1,30 +1,39 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Adds a reverberation audio effect to an audio bus.
|
|
6
|
+
* Emulates an echo by playing a blurred version of the input audio.
|
|
7
|
+
*/
|
|
5
8
|
declare class AudioEffectReverb extends AudioEffect {
|
|
6
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Defines how reflective the imaginary room's walls are. The more reflective, the more high frequency content the reverb has. Value can range from 0 to 1.
|
|
11
|
+
*/
|
|
7
12
|
damping: float;
|
|
8
13
|
/**
|
|
9
|
-
*
|
|
14
|
+
* The volume ratio of the original audio. At 0, only the modified audio is outputted. Value can range from 0 to 1.
|
|
10
15
|
*/
|
|
11
16
|
dry: float;
|
|
12
17
|
/**
|
|
13
|
-
* High-pass filter
|
|
18
|
+
* High-pass filter allows frequencies higher than a certain cutoff threshold and attenuates frequencies lower than the cutoff threshold. Value can range from 0 to 1.
|
|
14
19
|
*/
|
|
15
20
|
hipass: float;
|
|
16
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Gain of early reflection copies. At higher values, early reflection copies are louder and ring out for longer. Value can range from 0 to 1.
|
|
23
|
+
*/
|
|
17
24
|
predelay_feedback: float;
|
|
18
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Time between the original audio and the early reflections of the reverb signal, in milliseconds. Value can range from 20 to 500.
|
|
27
|
+
*/
|
|
19
28
|
predelay_msec: float;
|
|
20
29
|
/** Dimensions of simulated room. Bigger means more echoes. Value can range from 0 to 1. */
|
|
21
30
|
room_size: float;
|
|
22
31
|
/**
|
|
23
|
-
* Widens or narrows the stereo image of the reverb tail. 1
|
|
32
|
+
* Widens or narrows the stereo image of the reverb tail. At 1, it fully widens. Value can range from 0 to 1.
|
|
24
33
|
*/
|
|
25
34
|
spread: float;
|
|
26
35
|
/**
|
|
27
|
-
*
|
|
36
|
+
* The volume ratio of the modified audio. At 0, only the original audio is outputted. Value can range from 0 to 1.
|
|
28
37
|
*/
|
|
29
38
|
wet: float;
|
|
30
39
|
set_damping(value: float): void;
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Creates an {@link AudioEffectInstance} which performs frequency analysis and exposes results to be accessed in real-time.
|
|
6
|
+
*/
|
|
5
7
|
declare class AudioEffectSpectrumAnalyzer extends AudioEffect {
|
|
6
8
|
/**
|
|
7
|
-
* The length of the buffer to keep
|
|
9
|
+
* The length of the buffer to keep, in seconds. Higher values keep data around for longer, but require more memory. Value can range from 0.1 to 4.
|
|
8
10
|
*/
|
|
9
11
|
buffer_length: float;
|
|
10
12
|
/**
|
|
11
13
|
* The size of the Fast Fourier transform (https://en.wikipedia.org/wiki/Fast_Fourier_transform) buffer. Higher values smooth out the spectrum analysis over time, but have greater latency. The effects of this higher latency are especially noticeable with sudden amplitude changes.
|
|
12
14
|
*/
|
|
13
15
|
fft_size: int;
|
|
14
|
-
tap_back_pos: float;
|
|
15
16
|
set_buffer_length(value: float): void;
|
|
16
17
|
get_buffer_length(): float;
|
|
17
18
|
set_fft_size(value: int): void;
|
|
18
19
|
get_fft_size(): int;
|
|
19
|
-
set_tap_back_pos(value: float): void;
|
|
20
|
-
get_tap_back_pos(): float;
|
|
21
20
|
|
|
22
21
|
// enum FFTSize
|
|
23
22
|
/**
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Adds a stereo manipulation audio effect to an audio bus.
|
|
6
|
+
* Controls gain of the side channels, and widens the stereo image.
|
|
7
|
+
*/
|
|
5
8
|
declare class AudioEffectStereoEnhance extends AudioEffect {
|
|
6
9
|
/**
|
|
7
|
-
*
|
|
10
|
+
* Gain of the side channels, if they exist. A value of 0 will downmix stereo to mono. Value can range from 0 to 4.
|
|
8
11
|
*/
|
|
9
12
|
pan_pullout: float;
|
|
10
13
|
/**
|
|
11
|
-
* Widens
|
|
14
|
+
* Widens the stereo image through phase shifting in conjunction with {@link time_pullout_ms}. Just pans sound to the left channel if {@link time_pullout_ms} is 0. Value can range from 0 to 1.
|
|
12
15
|
*/
|
|
13
16
|
surround: float;
|
|
14
17
|
/**
|
|
15
|
-
* Widens
|
|
18
|
+
* Widens the stereo image through phase shifting in conjunction with {@link surround}. Just delays the right channel if {@link surround} is 0. Value is in milliseconds, and can range from 0 to 50.
|
|
16
19
|
*/
|
|
17
20
|
time_pullout_ms: float;
|
|
18
21
|
set_pan_pullout(value: float): void;
|
|
@@ -96,9 +96,9 @@ declare interface AudioServer extends GodotObject {
|
|
|
96
96
|
get_output_latency(): float;
|
|
97
97
|
/** Returns the speaker configuration. */
|
|
98
98
|
get_speaker_mode(): int;
|
|
99
|
-
/** Returns the relative time since the last mix occurred. */
|
|
99
|
+
/** Returns the relative time since the last mix occurred, in seconds. */
|
|
100
100
|
get_time_since_last_mix(): float;
|
|
101
|
-
/** Returns the relative time until the next mix occurs. */
|
|
101
|
+
/** Returns the relative time until the next mix occurs, in seconds. */
|
|
102
102
|
get_time_to_next_mix(): float;
|
|
103
103
|
/** If `true`, the bus at index `bus_idx` is bypassing effects. */
|
|
104
104
|
is_bus_bypassing_effects(bus_idx: int): boolean;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
// AUTO-GENERATED from Godot class documentation.
|
|
2
2
|
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
3
|
|
|
4
|
+
/** Playback class used for resampled {@link AudioStream}s. */
|
|
4
5
|
declare class AudioStreamPlaybackResampled extends AudioStreamPlayback {
|
|
6
|
+
/** Returns an {@link AudioStream}'s sample rate, in Hz. Used to perform resampling. */
|
|
5
7
|
_get_stream_sampling_rate(): float;
|
|
8
|
+
/**
|
|
9
|
+
* Called by {@link begin_resample} to mix an {@link AudioStream} to {@link AudioServer.get_mix_rate}. Uses {@link _get_stream_sampling_rate} as the source sample rate. Returns the number of mixed frames.
|
|
10
|
+
*/
|
|
6
11
|
_mix_resampled(dst_buffer: unknown, frame_count: int): int;
|
|
12
|
+
/**
|
|
13
|
+
* Called when an {@link AudioStream} is played. Clears the cubic interpolation history and starts mixing by calling {@link _mix_resampled}.
|
|
14
|
+
*/
|
|
7
15
|
begin_resample(): void;
|
|
8
16
|
}
|
|
@@ -19,6 +19,16 @@ declare class AudioStreamRandomizer extends AudioStream {
|
|
|
19
19
|
* The intensity of random volume variation. Volume will be increased or decreased by a random value up to [code skip-lint]random_volume_offset_db[/code]. A value of `0.0` means no variation. A value of `3.0` means volume will be randomized between `-3.0 dB` and `+3.0 dB`.
|
|
20
20
|
*/
|
|
21
21
|
random_volume_offset_db: float;
|
|
22
|
+
/**
|
|
23
|
+
* The {@link AudioStream} at `index`.
|
|
24
|
+
* **Note:** `index` is a value in the `0 .. streams_count - 1` range.
|
|
25
|
+
*/
|
|
26
|
+
'stream_{index}/stream': AudioStream | null;
|
|
27
|
+
/**
|
|
28
|
+
* The probability weight of the {@link AudioStream} at `index`.
|
|
29
|
+
* **Note:** `index` is a value in the `0 .. streams_count - 1` range.
|
|
30
|
+
*/
|
|
31
|
+
'stream_{index}/weight': float;
|
|
22
32
|
/** The number of streams in the stream pool. */
|
|
23
33
|
streams_count: int;
|
|
24
34
|
set_playback_mode(value: int): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
+
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
+
|
|
4
|
+
/** Awaits a specified signal. */
|
|
5
|
+
declare class AwaitTweener extends Tweener {
|
|
6
|
+
/**
|
|
7
|
+
* Sets the maximum time an {@link AwaitTweener} can wait for the signal. Can be used as a safeguard for signals that may never be emitted. If not specified, the tweener will wait indefinitely.
|
|
8
|
+
*/
|
|
9
|
+
set_timeout(timeout: float): AwaitTweener;
|
|
10
|
+
}
|
|
@@ -38,7 +38,7 @@ declare class BaseButton extends Control {
|
|
|
38
38
|
*/
|
|
39
39
|
shortcut_feedback: boolean;
|
|
40
40
|
/**
|
|
41
|
-
* If `true`, the button will add information about its shortcut in the tooltip.
|
|
41
|
+
* If `true`, the button will add information about its shortcut in the tooltip. This includes the shortcut's events and its {@link Resource.resource_name}. If both events and name are empty, the shortcut will not be included.
|
|
42
42
|
* **Note:** This property does nothing when the tooltip control is customized using {@link Control._make_custom_tooltip}.
|
|
43
43
|
*/
|
|
44
44
|
shortcut_in_tooltip: boolean;
|
|
@@ -31,7 +31,7 @@ declare interface Basis {
|
|
|
31
31
|
* - The {@link Vector3.x} contains the angle around the {@link x} axis (pitch);
|
|
32
32
|
* - The {@link Vector3.y} contains the angle around the {@link y} axis (yaw);
|
|
33
33
|
* - The {@link Vector3.z} contains the angle around the {@link z} axis (roll).
|
|
34
|
-
* The order of each consecutive rotation can be changed with `order` (see {@link EulerOrder} constants). By default, the YXZ convention is used ({@link EULER_ORDER_YXZ}): Z (roll) is calculated first, then X (pitch), and lastly Y (yaw). When using the opposite method {@link from_euler}, this order is reversed.
|
|
34
|
+
* The order of each consecutive rotation can be changed with `order` (see {@link EulerOrder} constants). In Godot, Euler angles always use intrinsic order. By default, the intrinsic YXZ convention is used ({@link EULER_ORDER_YXZ}): since we are decomposing, local Z (roll) is calculated first, then local X (pitch), and lastly local Y (yaw). When using the opposite method {@link from_euler} to compose a rotation, this order is reversed.
|
|
35
35
|
* **Note:** For this method to return correctly, the basis needs to be *orthonormal* (see {@link orthonormalized}).
|
|
36
36
|
* **Note:** Euler angles are much more intuitive but are not suitable for 3D math. Because of this, consider using the {@link get_rotation_quaternion} method instead, which returns a {@link Quaternion}.
|
|
37
37
|
* **Note:** In the Inspector dock, a basis's rotation is often displayed in Euler angles (in degrees), as is the case with the {@link Node3D.rotation} property.
|
|
@@ -61,6 +61,10 @@ declare interface Basis {
|
|
|
61
61
|
* Returns `true` if this basis is finite, by calling {@link @GlobalScope.is_finite} on all vector components.
|
|
62
62
|
*/
|
|
63
63
|
is_finite(): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Returns `true` if this basis is orthonormal. An orthonormal basis is both *orthogonal* (the axes are perpendicular to each other) and *normalized* (the length of every axis is `1.0`). This method can be especially useful during physics calculations.
|
|
66
|
+
*/
|
|
67
|
+
is_orthonormal(): boolean;
|
|
64
68
|
/**
|
|
65
69
|
* Returns the orthonormalized version of this basis. An orthonormal basis is both *orthogonal* (the axes are perpendicular to each other) and *normalized* (the axes have a length of `1.0`), which also means it can only represent a rotation.
|
|
66
70
|
* It is often useful to call this method to avoid rounding errors on a rotating basis:
|
|
@@ -177,7 +181,7 @@ declare interface BasisConstructor {
|
|
|
177
181
|
* - The {@link Vector3.x} should contain the angle around the {@link x} axis (pitch);
|
|
178
182
|
* - The {@link Vector3.y} should contain the angle around the {@link y} axis (yaw);
|
|
179
183
|
* - The {@link Vector3.z} should contain the angle around the {@link z} axis (roll).
|
|
180
|
-
* The order of each consecutive rotation can be changed with `order` (see {@link EulerOrder} constants). By default, the YXZ convention is used ({@link EULER_ORDER_YXZ}): the basis rotates first around the Y axis (yaw), then X (pitch), and lastly Z (roll). When using the opposite method {@link get_euler}, this order is reversed.
|
|
184
|
+
* The order of each consecutive rotation can be changed with `order` (see {@link EulerOrder} constants). In Godot, Euler angles always use intrinsic order. By default, the intrinsic YXZ convention is used ({@link EULER_ORDER_YXZ}): the basis rotates first around the local Y axis (yaw), then local X (pitch), and lastly local Z (roll). When using the opposite method {@link get_euler} to decompose a rotation, this order is reversed.
|
|
181
185
|
*/
|
|
182
186
|
from_euler(euler: Vector3 | Vector3i, order?: int): Basis;
|
|
183
187
|
/**
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
+
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
+
|
|
4
|
+
/** A material that processes blit calls to a DrawableTexture. */
|
|
5
|
+
declare class BlitMaterial extends Material {
|
|
6
|
+
/** The manner in which the newly blitted texture is blended with the original DrawableTexture. */
|
|
7
|
+
blend_mode: int;
|
|
8
|
+
set_blend_mode(value: int): void;
|
|
9
|
+
get_blend_mode(): int;
|
|
10
|
+
|
|
11
|
+
// enum BlendMode
|
|
12
|
+
/** Mix blending mode. Colors are assumed to be independent of the alpha (opacity) value. */
|
|
13
|
+
static readonly BLEND_MODE_MIX: int;
|
|
14
|
+
/** Additive blending mode. */
|
|
15
|
+
static readonly BLEND_MODE_ADD: int;
|
|
16
|
+
/** Subtractive blending mode. */
|
|
17
|
+
static readonly BLEND_MODE_SUB: int;
|
|
18
|
+
/** Multiplicative blending mode. */
|
|
19
|
+
static readonly BLEND_MODE_MUL: int;
|
|
20
|
+
/** No blending mode, direct color copy. */
|
|
21
|
+
static readonly BLEND_MODE_DISABLED: int;
|
|
22
|
+
}
|
|
@@ -282,9 +282,9 @@ declare class CPUParticles2D extends Node2D {
|
|
|
282
282
|
get_particle_flag(particle_flag: int): boolean;
|
|
283
283
|
/**
|
|
284
284
|
* Requests the particles to process for extra process time during a single frame.
|
|
285
|
-
*
|
|
285
|
+
* `process_time` defines the time that the particles will process while emitting is on. `process_time_residual` defines the time that particles will process with emitting turned off for the simulation. When combined with {@link speed_scale} set to `0.0`, this is useful to be able to seek a particle system timeline.
|
|
286
286
|
*/
|
|
287
|
-
request_particles_process(process_time: float): void;
|
|
287
|
+
request_particles_process(process_time: float, process_time_residual?: float): void;
|
|
288
288
|
/**
|
|
289
289
|
* Restarts the particle emitter.
|
|
290
290
|
* If `keep_seed` is `true`, the current random seed will be preserved. Useful for seeking and playback.
|
|
@@ -304,9 +304,9 @@ declare class CPUParticles3D extends GeometryInstance3D {
|
|
|
304
304
|
get_particle_flag(particle_flag: int): boolean;
|
|
305
305
|
/**
|
|
306
306
|
* Requests the particles to process for extra process time during a single frame.
|
|
307
|
-
*
|
|
307
|
+
* `process_time` defines the time that the particles will process while emitting is on. `process_time_residual` defines the time that particles will process with emitting turned off for the simulation. When combined with {@link speed_scale} set to `0.0`, this is useful to be able to seek a particle system timeline.
|
|
308
308
|
*/
|
|
309
|
-
request_particles_process(process_time: float): void;
|
|
309
|
+
request_particles_process(process_time: float, process_time_residual?: float): void;
|
|
310
310
|
/**
|
|
311
311
|
* Restarts the particle emitter.
|
|
312
312
|
* If `keep_seed` is `true`, the current random seed will be preserved. Useful for seeking and playback.
|
|
@@ -155,7 +155,7 @@ declare class Camera3D extends Node3D {
|
|
|
155
155
|
*/
|
|
156
156
|
set_cull_mask_value(layer_number: int, value: boolean): void;
|
|
157
157
|
/**
|
|
158
|
-
* Sets the camera projection to frustum mode (see {@link PROJECTION_FRUSTUM}), by specifying a `size`, an `offset`, and the `z_near` and `z_far` clip planes in world space units. See also {@link frustum_offset}.
|
|
158
|
+
* Sets the camera projection to frustum mode (see {@link PROJECTION_FRUSTUM}), by specifying a `size`, an `offset`, and the `z_near` and `z_far` clip planes in world space units. The `size` parameter represents the size of the near plane, either its width or height depending on the value of {@link keep_aspect}. See also {@link frustum_offset}.
|
|
159
159
|
*/
|
|
160
160
|
set_frustum(size: float, offset: Vector2 | Vector2i, z_near: float, z_far: float): void;
|
|
161
161
|
/**
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
declare class CameraAttributes extends Resource {
|
|
6
6
|
/**
|
|
7
7
|
* If `true`, enables the tonemapping auto exposure mode of the scene renderer. If `true`, the renderer will automatically determine the exposure setting to adapt to the scene's illumination and the observed light.
|
|
8
|
+
* **Note:** Auto-exposure is only supported in the Forward+ rendering method, not Mobile or Compatibility.
|
|
8
9
|
*/
|
|
9
10
|
auto_exposure_enabled: boolean;
|
|
10
11
|
/** The scale of the auto exposure effect. Affects the intensity of auto exposure. */
|
|
@@ -19,6 +19,10 @@ declare class CameraFeed extends RefCounted {
|
|
|
19
19
|
_activate_feed(): boolean;
|
|
20
20
|
/** Called when the camera feed is deactivated. */
|
|
21
21
|
_deactivate_feed(): void;
|
|
22
|
+
/** Override this method to define supported formats of the camera feed. */
|
|
23
|
+
_get_formats(): Array<unknown>;
|
|
24
|
+
/** Override this method to set the format of the camera feed. */
|
|
25
|
+
_set_format(index: int, parameters: Dictionary): boolean;
|
|
22
26
|
/** Returns feed image data type. */
|
|
23
27
|
get_datatype(): int;
|
|
24
28
|
/** Returns the unique ID for this feed. */
|
|
@@ -16,6 +16,8 @@ declare class CanvasItem extends Node {
|
|
|
16
16
|
* The color applied to this {@link CanvasItem}. This property does affect child {@link CanvasItem}s, unlike {@link self_modulate} which only affects the node itself.
|
|
17
17
|
*/
|
|
18
18
|
modulate: Color;
|
|
19
|
+
/** If enabled, oversampling for this {@link CanvasItem} is automatically adjusted with scale. */
|
|
20
|
+
oversampling_with_scale: int;
|
|
19
21
|
/**
|
|
20
22
|
* The color applied to this {@link CanvasItem}. This property does **not** affect child {@link CanvasItem}s, unlike {@link modulate} which affects both the node itself and its children.
|
|
21
23
|
* **Note:** Internal children are also not affected by this property (see the `include_internal` parameter in {@link Node.add_child}). For built-in nodes this includes sliders in {@link ColorPicker}, and the tab bar in {@link TabContainer}.
|
|
@@ -70,6 +72,8 @@ declare class CanvasItem extends Node {
|
|
|
70
72
|
get_material(): Material | null;
|
|
71
73
|
set_modulate(value: Color): void;
|
|
72
74
|
get_modulate(): Color;
|
|
75
|
+
set_oversampling_with_scale(value: int): void;
|
|
76
|
+
get_oversampling_with_scale(): int;
|
|
73
77
|
set_self_modulate(value: Color): void;
|
|
74
78
|
get_self_modulate(): Color;
|
|
75
79
|
set_draw_behind_parent(value: boolean): void;
|
|
@@ -444,7 +448,7 @@ declare class CanvasItem extends Node {
|
|
|
444
448
|
/** Represents the size of the {@link TextureFilter} enum. */
|
|
445
449
|
static readonly TEXTURE_FILTER_MAX: int;
|
|
446
450
|
// enum TextureRepeat
|
|
447
|
-
/** The {@link CanvasItem} will inherit the
|
|
451
|
+
/** The {@link CanvasItem} will inherit the repeat mode from its parent. */
|
|
448
452
|
static readonly TEXTURE_REPEAT_PARENT_NODE: int;
|
|
449
453
|
/**
|
|
450
454
|
* The texture does not repeat. Sampling the texture outside its extents will result in "stretching" of the edge pixels. You can avoid this by ensuring a 1-pixel fully transparent border on each side of the texture.
|
|
@@ -471,6 +475,17 @@ declare class CanvasItem extends Node {
|
|
|
471
475
|
static readonly CLIP_CHILDREN_AND_DRAW: int;
|
|
472
476
|
/** Represents the size of the {@link ClipChildrenMode} enum. */
|
|
473
477
|
static readonly CLIP_CHILDREN_MAX: int;
|
|
478
|
+
// enum OversamplingWithScale
|
|
479
|
+
/** The {@link CanvasItem} will inherit the oversampling mode from its parent. */
|
|
480
|
+
static readonly OVERSAMPLING_WITH_SCALE_PARENT_NODE: int;
|
|
481
|
+
/**
|
|
482
|
+
* The oversampling is not affected by {@link CanvasItem} scale, and is equal to the {@link Viewport} oversampling.
|
|
483
|
+
*/
|
|
484
|
+
static readonly OVERSAMPLING_WITH_SCALE_DISABLED: int;
|
|
485
|
+
/** The oversampling is a product of {@link CanvasItem} scale and {@link Viewport} oversampling. */
|
|
486
|
+
static readonly OVERSAMPLING_WITH_SCALE_ENABLED: int;
|
|
487
|
+
/** Represents the size of the {@link OversamplingWithScale} enum. */
|
|
488
|
+
static readonly OVERSAMPLING_WITH_SCALE_MAX: int;
|
|
474
489
|
|
|
475
490
|
/**
|
|
476
491
|
* Notification received when this node's global transform changes, if {@link is_transform_notification_enabled} is `true`. See also {@link set_notify_transform} and {@link get_transform}.
|