@ringozz/godot 4.7.2-685 → 4.7.2-686
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 +185 -185
- package/gen/classes/AESContext.ts +6 -6
- package/gen/classes/AStar2D.ts +25 -25
- package/gen/classes/AStar3D.ts +25 -25
- package/gen/classes/AStarGrid2D.ts +33 -33
- package/gen/classes/AcceptDialog.ts +23 -22
- package/gen/classes/AccessibilityServer.ts +79 -75
- package/gen/classes/AimModifier3D.ts +12 -12
- package/gen/classes/AnimatableBody2D.ts +2 -2
- package/gen/classes/AnimatableBody3D.ts +2 -2
- package/gen/classes/AnimatedSprite2D.ts +37 -37
- package/gen/classes/AnimatedSprite3D.ts +29 -29
- package/gen/classes/AnimatedTexture.ts +14 -14
- package/gen/classes/Animation.ts +102 -86
- package/gen/classes/AnimationLibrary.ts +15 -15
- package/gen/classes/AnimationMixer.ts +54 -54
- package/gen/classes/AnimationNode.ts +27 -27
- package/gen/classes/AnimationNodeAnimation.ts +16 -16
- package/gen/classes/AnimationNodeBlendSpace1D.ts +37 -27
- package/gen/classes/AnimationNodeBlendSpace2D.ts +48 -41
- package/gen/classes/AnimationNodeBlendTree.ts +14 -14
- package/gen/classes/AnimationNodeExtension.ts +2 -2
- package/gen/classes/AnimationNodeObserver.ts +10 -0
- package/gen/classes/AnimationNodeObserverBlendSpace.ts +18 -0
- package/gen/classes/AnimationNodeObserverOneShot.ts +36 -0
- package/gen/classes/AnimationNodeObserverTransition.ts +24 -0
- package/gen/classes/AnimationNodeOneShot.ts +34 -22
- package/gen/classes/AnimationNodeOutput.ts +2 -2
- package/gen/classes/AnimationNodeStateMachine.ts +28 -28
- package/gen/classes/AnimationNodeStateMachinePlayback.ts +20 -20
- package/gen/classes/AnimationNodeStateMachineTransition.ts +22 -22
- package/gen/classes/AnimationNodeSub2.ts +2 -2
- package/gen/classes/AnimationNodeSync.ts +4 -4
- package/gen/classes/AnimationNodeTimeScale.ts +2 -2
- package/gen/classes/AnimationNodeTimeSeek.ts +4 -4
- package/gen/classes/AnimationNodeTransition.ts +28 -16
- package/gen/classes/AnimationPlayer.ts +67 -60
- package/gen/classes/AnimationRootNode.ts +2 -2
- package/gen/classes/AnimationTree.ts +12 -12
- package/gen/classes/Area2D.ts +55 -55
- package/gen/classes/Area3D.ts +69 -69
- package/gen/classes/AreaLight3D.ts +13 -13
- package/gen/classes/ArrayMesh.ts +28 -28
- package/gen/classes/ArrayOccluder3D.ts +7 -7
- package/gen/classes/AspectRatioContainer.ts +10 -10
- package/gen/classes/AtlasTexture.ts +10 -10
- package/gen/classes/AudioBusLayout.ts +2 -2
- package/gen/classes/AudioEffect.ts +2 -2
- package/gen/classes/AudioEffectAmplify.ts +6 -6
- package/gen/classes/AudioEffectBandLimitFilter.ts +2 -2
- package/gen/classes/AudioEffectBandPassFilter.ts +2 -2
- package/gen/classes/AudioEffectCapture.ts +11 -11
- package/gen/classes/AudioEffectChorus.ts +20 -20
- package/gen/classes/AudioEffectCompressor.ts +16 -16
- package/gen/classes/AudioEffectDelay.ts +28 -28
- package/gen/classes/AudioEffectDistortion.ts +12 -12
- package/gen/classes/AudioEffectEQ.ts +5 -5
- package/gen/classes/AudioEffectEQ10.ts +2 -2
- package/gen/classes/AudioEffectEQ21.ts +2 -2
- package/gen/classes/AudioEffectEQ6.ts +2 -2
- package/gen/classes/AudioEffectFilter.ts +10 -10
- package/gen/classes/AudioEffectHardLimiter.ts +8 -8
- package/gen/classes/AudioEffectHighPassFilter.ts +2 -2
- package/gen/classes/AudioEffectHighShelfFilter.ts +2 -2
- package/gen/classes/AudioEffectInstance.ts +2 -2
- package/gen/classes/AudioEffectLimiter.ts +10 -10
- package/gen/classes/AudioEffectLowPassFilter.ts +2 -2
- package/gen/classes/AudioEffectLowShelfFilter.ts +2 -2
- package/gen/classes/AudioEffectNotchFilter.ts +2 -2
- package/gen/classes/AudioEffectPanner.ts +4 -4
- package/gen/classes/AudioEffectPhaser.ts +12 -12
- package/gen/classes/AudioEffectPitchShift.ts +8 -8
- package/gen/classes/AudioEffectRecord.ts +7 -7
- package/gen/classes/AudioEffectReverb.ts +18 -18
- package/gen/classes/AudioEffectSpectrumAnalyzer.ts +6 -6
- package/gen/classes/AudioEffectSpectrumAnalyzerInstance.ts +2 -2
- package/gen/classes/AudioEffectStereoEnhance.ts +8 -8
- package/gen/classes/AudioListener2D.ts +5 -5
- package/gen/classes/AudioListener3D.ts +8 -8
- package/gen/classes/AudioSample.ts +2 -2
- package/gen/classes/AudioSamplePlayback.ts +2 -2
- package/gen/classes/AudioServer.ts +63 -63
- package/gen/classes/AudioStream.ts +10 -10
- package/gen/classes/AudioStreamGenerator.ts +8 -8
- package/gen/classes/AudioStreamGeneratorPlayback.ts +7 -7
- package/gen/classes/AudioStreamInteractive.ts +25 -25
- package/gen/classes/AudioStreamMP3.ts +16 -16
- package/gen/classes/AudioStreamMicrophone.ts +2 -2
- package/gen/classes/AudioStreamOggVorbis.ts +18 -18
- package/gen/classes/AudioStreamPlayback.ts +11 -11
- package/gen/classes/AudioStreamPlaybackInteractive.ts +4 -4
- package/gen/classes/AudioStreamPlaybackOggVorbis.ts +2 -2
- package/gen/classes/AudioStreamPlaybackPlaylist.ts +1 -1
- package/gen/classes/AudioStreamPlaybackPolyphonic.ts +6 -6
- package/gen/classes/AudioStreamPlaybackResampled.ts +3 -3
- package/gen/classes/AudioStreamPlaybackSynchronized.ts +1 -1
- package/gen/classes/AudioStreamPlayer.ts +32 -32
- package/gen/classes/AudioStreamPlayer2D.ts +38 -38
- package/gen/classes/AudioStreamPlayer3D.ts +54 -54
- package/gen/classes/AudioStreamPlaylist.ts +139 -139
- package/gen/classes/AudioStreamPolyphonic.ts +4 -4
- package/gen/classes/AudioStreamRandomizer.ts +19 -19
- package/gen/classes/AudioStreamSynchronized.ts +8 -8
- package/gen/classes/AudioStreamWAV.ts +21 -21
- package/gen/classes/AwaitTweener.ts +3 -3
- package/gen/classes/BackBufferCopy.ts +6 -6
- package/gen/classes/BaseButton.ts +39 -33
- package/gen/classes/BaseMaterial3D.ts +283 -268
- package/gen/classes/BitMap.ts +17 -17
- package/gen/classes/BlitMaterial.ts +8 -4
- package/gen/classes/Bone2D.ts +13 -13
- package/gen/classes/BoneAttachment3D.ts +14 -14
- package/gen/classes/BoneConstraint3D.ts +26 -26
- package/gen/classes/BoneMap.ts +11 -11
- package/gen/classes/BoneSpaceAdjuster3D.ts +76 -0
- package/gen/classes/BoneTwistDisperser3D.ts +36 -36
- package/gen/classes/BoxContainer.ts +13 -7
- package/gen/classes/BoxMesh.ts +10 -10
- package/gen/classes/BoxOccluder3D.ts +4 -4
- package/gen/classes/BoxShape3D.ts +4 -4
- package/gen/classes/Button.ts +28 -28
- package/gen/classes/ButtonGroup.ts +8 -8
- package/gen/classes/CCDIK3D.ts +2 -2
- package/gen/classes/CPUParticles2D.ts +145 -145
- package/gen/classes/CPUParticles3D.ts +162 -162
- package/gen/classes/CSGBox3D.ts +6 -6
- package/gen/classes/CSGCombiner3D.ts +2 -2
- package/gen/classes/CSGCylinder3D.ts +14 -14
- package/gen/classes/CSGMesh3D.ts +6 -6
- package/gen/classes/CSGPolygon3D.ts +36 -36
- package/gen/classes/CSGPrimitive3D.ts +3 -3
- package/gen/classes/CSGShape3D.ts +27 -27
- package/gen/classes/CSGSphere3D.ts +12 -12
- package/gen/classes/CSGTorus3D.ts +14 -14
- package/gen/classes/CallbackTweener.ts +3 -3
- package/gen/classes/Camera2D.ts +66 -66
- package/gen/classes/Camera3D.ts +53 -53
- package/gen/classes/CameraAttributes.ts +12 -12
- package/gen/classes/CameraAttributesPhysical.ts +21 -21
- package/gen/classes/CameraAttributesPractical.ts +20 -20
- package/gen/classes/CameraFeed.ts +23 -23
- package/gen/classes/CameraServer.ts +15 -15
- package/gen/classes/CameraTexture.ts +8 -8
- package/gen/classes/CanvasGroup.ts +8 -8
- package/gen/classes/CanvasItem.ts +115 -113
- package/gen/classes/CanvasItemMaterial.ts +14 -14
- package/gen/classes/CanvasLayer.ts +27 -27
- package/gen/classes/CanvasModulate.ts +4 -4
- package/gen/classes/CanvasTexture.ts +16 -16
- package/gen/classes/CapsuleMesh.ts +10 -10
- package/gen/classes/CapsuleShape2D.ts +8 -8
- package/gen/classes/CapsuleShape3D.ts +8 -8
- package/gen/classes/CenterContainer.ts +4 -4
- package/gen/classes/ChainIK3D.ts +18 -18
- package/gen/classes/CharFXTransform.ts +28 -28
- package/gen/classes/CharacterBody2D.ts +50 -50
- package/gen/classes/CharacterBody3D.ts +51 -51
- package/gen/classes/CheckBox.ts +2 -2
- package/gen/classes/CheckButton.ts +2 -2
- package/gen/classes/CircleShape2D.ts +4 -4
- package/gen/classes/ClassDB.ts +38 -32
- package/gen/classes/CodeEdit.ts +126 -126
- package/gen/classes/CodeHighlighter.ts +30 -30
- package/gen/classes/CollisionObject2D.ts +52 -52
- package/gen/classes/CollisionObject3D.ts +44 -44
- package/gen/classes/CollisionPolygon2D.ts +14 -14
- package/gen/classes/CollisionPolygon3D.ts +14 -14
- package/gen/classes/CollisionShape2D.ts +14 -14
- package/gen/classes/CollisionShape3D.ts +12 -12
- package/gen/classes/ColorPalette.ts +4 -4
- package/gen/classes/ColorPicker.ts +38 -38
- package/gen/classes/ColorPickerButton.ts +16 -16
- package/gen/classes/ColorRect.ts +4 -4
- package/gen/classes/Compositor.ts +4 -4
- package/gen/classes/CompositorEffect.ts +16 -16
- package/gen/classes/CompressedCubemap.ts +2 -2
- package/gen/classes/CompressedCubemapArray.ts +2 -2
- package/gen/classes/CompressedTexture2D.ts +4 -4
- package/gen/classes/CompressedTexture2DArray.ts +2 -2
- package/gen/classes/CompressedTexture3D.ts +4 -4
- package/gen/classes/CompressedTextureLayered.ts +3 -3
- package/gen/classes/ConcavePolygonShape2D.ts +4 -4
- package/gen/classes/ConcavePolygonShape3D.ts +6 -6
- package/gen/classes/ConeTwistJoint3D.ts +12 -12
- package/gen/classes/ConfigFile.ts +19 -19
- package/gen/classes/ConfirmationDialog.ts +6 -5
- package/gen/classes/Container.ts +10 -10
- package/gen/classes/Control.ts +280 -240
- package/gen/classes/ConvertTransformModifier3D.ts +42 -29
- package/gen/classes/ConvexPolygonShape2D.ts +5 -5
- package/gen/classes/ConvexPolygonShape3D.ts +4 -4
- package/gen/classes/CopyTransformModifier3D.ts +59 -46
- package/gen/classes/Crypto.ts +11 -11
- package/gen/classes/CryptoKey.ts +7 -7
- package/gen/classes/Cubemap.ts +3 -3
- package/gen/classes/CubemapArray.ts +3 -3
- package/gen/classes/Curve.ts +38 -38
- package/gen/classes/Curve2D.ts +25 -25
- package/gen/classes/Curve3D.ts +34 -34
- package/gen/classes/CurveTexture.ts +8 -8
- package/gen/classes/CurveXYZTexture.ts +10 -10
- package/gen/classes/CylinderMesh.ts +16 -16
- package/gen/classes/CylinderShape3D.ts +6 -6
- package/gen/classes/DPITexture.ts +17 -17
- package/gen/classes/DTLSServer.ts +4 -4
- package/gen/classes/DampedSpringJoint2D.ts +10 -10
- package/gen/classes/Decal.ts +32 -32
- package/gen/classes/DirAccess.ts +43 -43
- package/gen/classes/DirectionalLight2D.ts +6 -6
- package/gen/classes/DirectionalLight3D.ts +24 -24
- package/gen/classes/DisplayServer.ts +392 -326
- package/gen/classes/DrawableTexture2D.ts +10 -10
- package/gen/classes/ENetConnection.ts +20 -20
- package/gen/classes/ENetMultiplayerPeer.ts +9 -9
- package/gen/classes/ENetPacketPeer.ts +18 -18
- package/gen/classes/EncodedObjectAsID.ts +4 -4
- package/gen/classes/Engine.ts +43 -43
- package/gen/classes/EngineDebugger.ts +25 -25
- package/gen/classes/EngineProfiler.ts +2 -2
- package/gen/classes/Environment.ts +190 -190
- package/gen/classes/Expression.ts +6 -6
- package/gen/classes/ExternalTexture.ts +6 -6
- package/gen/classes/FABRIK3D.ts +2 -2
- package/gen/classes/FBXDocument.ts +2 -2
- package/gen/classes/FBXState.ts +4 -4
- package/gen/classes/FastNoiseLite.ts +44 -44
- package/gen/classes/FileAccess.ts +69 -69
- package/gen/classes/FileDialog.ts +113 -79
- package/gen/classes/FlowContainer.ts +11 -11
- package/gen/classes/FogMaterial.ts +14 -14
- package/gen/classes/FogVolume.ts +8 -8
- package/gen/classes/FoldableContainer.ts +35 -24
- package/gen/classes/FoldableGroup.ts +8 -8
- package/gen/classes/Font.ts +38 -38
- package/gen/classes/FontFile.ts +113 -113
- package/gen/classes/FontVariation.ts +28 -28
- package/gen/classes/FramebufferCacheRD.ts +3 -3
- package/gen/classes/FuzzySearch.ts +86 -0
- package/gen/classes/FuzzySearchMatch.ts +36 -0
- package/gen/classes/GDExtension.ts +4 -4
- package/gen/classes/GDExtensionManager.ts +15 -15
- package/gen/classes/GDScript.ts +3 -3
- package/gen/classes/GLTFAccessor.ts +34 -34
- package/gen/classes/GLTFAnimation.ts +8 -8
- package/gen/classes/GLTFBufferView.ts +17 -17
- package/gen/classes/GLTFCamera.ts +16 -16
- package/gen/classes/GLTFDocument.ts +27 -27
- package/gen/classes/GLTFDocumentExtension.ts +2 -2
- package/gen/classes/GLTFDocumentExtensionConvertImporterMesh.ts +2 -2
- package/gen/classes/GLTFLight.ts +20 -20
- package/gen/classes/GLTFMesh.ts +12 -12
- package/gen/classes/GLTFNode.ts +34 -34
- package/gen/classes/GLTFObjectModelProperty.ts +20 -20
- package/gen/classes/GLTFPhysicsBody.ts +22 -22
- package/gen/classes/GLTFPhysicsShape.ts +25 -25
- package/gen/classes/GLTFSkeleton.ts +13 -13
- package/gen/classes/GLTFSkin.ts +22 -22
- package/gen/classes/GLTFSpecGloss.ts +12 -12
- package/gen/classes/GLTFState.ts +74 -74
- package/gen/classes/GLTFTexture.ts +6 -6
- package/gen/classes/GLTFTextureSampler.ts +10 -10
- package/gen/classes/GPUParticles2D.ts +63 -62
- package/gen/classes/GPUParticles3D.ts +81 -76
- package/gen/classes/GPUParticlesAttractor3D.ts +9 -9
- package/gen/classes/GPUParticlesAttractorBox3D.ts +4 -4
- package/gen/classes/GPUParticlesAttractorSphere3D.ts +4 -4
- package/gen/classes/GPUParticlesAttractorVectorField3D.ts +6 -6
- package/gen/classes/GPUParticlesCollision3D.ts +3 -3
- package/gen/classes/GPUParticlesCollisionBox3D.ts +4 -4
- package/gen/classes/GPUParticlesCollisionHeightField3D.ts +14 -14
- package/gen/classes/GPUParticlesCollisionSDF3D.ts +14 -14
- package/gen/classes/GPUParticlesCollisionSphere3D.ts +4 -4
- package/gen/classes/Generic6DOFJoint3D.ts +54 -16
- package/gen/classes/Geometry2D.ts +26 -26
- package/gen/classes/Geometry3D.ts +17 -17
- package/gen/classes/GeometryInstance3D.ts +36 -36
- package/gen/classes/GodotInstance.ts +8 -8
- package/gen/classes/Gradient.ts +19 -19
- package/gen/classes/GradientTexture1D.ts +8 -8
- package/gen/classes/GradientTexture2D.ts +18 -18
- package/gen/classes/GraphEdit.ts +116 -116
- package/gen/classes/GraphElement.ts +30 -30
- package/gen/classes/GraphFrame.ts +17 -17
- package/gen/classes/GraphNode.ts +48 -48
- package/gen/classes/GridContainer.ts +4 -4
- package/gen/classes/GridMap.ts +76 -64
- package/gen/classes/GrooveJoint2D.ts +6 -6
- package/gen/classes/HBoxContainer.ts +2 -2
- package/gen/classes/HFlowContainer.ts +2 -2
- package/gen/classes/HMACContext.ts +5 -5
- package/gen/classes/HScrollBar.ts +2 -2
- package/gen/classes/HSeparator.ts +2 -2
- package/gen/classes/HSlider.ts +2 -2
- package/gen/classes/HSplitContainer.ts +2 -2
- package/gen/classes/HTTPClient.ts +25 -25
- package/gen/classes/HTTPRequest.ts +42 -28
- package/gen/classes/HashingContext.ts +5 -5
- package/gen/classes/HeightMapShape3D.ts +12 -12
- package/gen/classes/HingeJoint3D.ts +6 -6
- package/gen/classes/IKModifier3D.ts +8 -7
- package/gen/classes/IP.ts +12 -12
- package/gen/classes/Image.ts +124 -88
- package/gen/classes/ImageFormatLoader.ts +1 -1
- package/gen/classes/ImageFormatLoaderExtension.ts +4 -4
- package/gen/classes/ImageTexture.ts +8 -8
- package/gen/classes/ImageTexture3D.ts +4 -4
- package/gen/classes/ImageTextureLayered.ts +3 -3
- package/gen/classes/ImmediateMesh.ts +12 -12
- package/gen/classes/ImporterMesh.ts +27 -27
- package/gen/classes/ImporterMeshInstance3D.ts +22 -22
- package/gen/classes/Input.ts +174 -109
- package/gen/classes/InputEvent.ts +17 -17
- package/gen/classes/InputEventAction.ts +10 -10
- package/gen/classes/InputEventFromWindow.ts +3 -3
- package/gen/classes/InputEventGesture.ts +3 -3
- package/gen/classes/InputEventJoypadButton.ts +8 -8
- package/gen/classes/InputEventJoypadMotion.ts +6 -6
- package/gen/classes/InputEventKey.ts +31 -31
- package/gen/classes/InputEventMIDI.ts +18 -18
- package/gen/classes/InputEventMagnifyGesture.ts +4 -4
- package/gen/classes/InputEventMouse.ts +7 -7
- package/gen/classes/InputEventMouseButton.ts +12 -12
- package/gen/classes/InputEventMouseMotion.ts +16 -16
- package/gen/classes/InputEventPanGesture.ts +4 -4
- package/gen/classes/InputEventScreenDrag.ts +20 -20
- package/gen/classes/InputEventScreenTouch.ts +19 -12
- package/gen/classes/InputEventShortcut.ts +4 -4
- package/gen/classes/InputEventWithModifiers.ts +13 -13
- package/gen/classes/InputMap.ts +18 -18
- package/gen/classes/InstancePlaceholder.ts +4 -4
- package/gen/classes/IntervalTweener.ts +2 -2
- package/gen/classes/ItemList.ts +97 -97
- package/gen/classes/IterateIK3D.ts +40 -26
- package/gen/classes/JNISingleton.ts +3 -3
- package/gen/classes/JSON.ts +17 -17
- package/gen/classes/JSONRPC.ts +9 -9
- package/gen/classes/JacobianIK3D.ts +2 -2
- package/gen/classes/JavaClass.ts +6 -6
- package/gen/classes/JavaClassWrapper.ts +6 -6
- package/gen/classes/JavaObject.ts +4 -4
- package/gen/classes/JavaScriptBridge.ts +14 -14
- package/gen/classes/JavaScriptObject.ts +1 -1
- package/gen/classes/Joint2D.ts +10 -10
- package/gen/classes/Joint3D.ts +14 -12
- package/gen/classes/JointLimitation3D.ts +2 -2
- package/gen/classes/JointLimitationCone3D.ts +4 -4
- package/gen/classes/KinematicCollision2D.ts +15 -15
- package/gen/classes/KinematicCollision3D.ts +16 -16
- package/gen/classes/Label.ts +74 -51
- package/gen/classes/Label3D.ts +69 -69
- package/gen/classes/LabelSettings.ts +43 -43
- package/gen/classes/Light2D.ts +33 -33
- package/gen/classes/Light3D.ts +73 -57
- package/gen/classes/LightOccluder2D.ts +8 -8
- package/gen/classes/LightmapGI.ts +59 -47
- package/gen/classes/LightmapGIData.ts +20 -20
- package/gen/classes/LightmapProbe.ts +2 -2
- package/gen/classes/Lightmapper.ts +1 -1
- package/gen/classes/LightmapperRD.ts +2 -2
- package/gen/classes/LimitAngularVelocityModifier3D.ts +19 -19
- package/gen/classes/Line2D.ts +36 -36
- package/gen/classes/LineBase3D.ts +67 -0
- package/gen/classes/LineEdit.ts +108 -108
- package/gen/classes/LinkButton.ts +20 -20
- package/gen/classes/Logger.ts +2 -2
- package/gen/classes/LookAtModifier3D.ts +76 -68
- package/gen/classes/MainLoop.ts +4 -4
- package/gen/classes/MarginContainer.ts +2 -2
- package/gen/classes/Marker2D.ts +5 -5
- package/gen/classes/Marker3D.ts +5 -5
- package/gen/classes/Marshalls.ts +8 -8
- package/gen/classes/Material.ts +8 -8
- package/gen/classes/MenuBar.ts +26 -26
- package/gen/classes/MenuButton.ts +11 -11
- package/gen/classes/Mesh.ts +27 -23
- package/gen/classes/MeshConvexDecompositionSettings.ts +28 -28
- package/gen/classes/MeshDataTool.ts +40 -40
- package/gen/classes/MeshInstance2D.ts +8 -8
- package/gen/classes/MeshInstance3D.ts +23 -23
- package/gen/classes/MeshLibrary.ts +38 -28
- package/gen/classes/MeshTexture.ts +8 -8
- package/gen/classes/MethodTweener.ts +5 -5
- package/gen/classes/MissingNode.ts +10 -10
- package/gen/classes/MissingResource.ts +6 -6
- package/gen/classes/MobileVRInterface.ts +22 -22
- package/gen/classes/ModifierBoneTarget3D.ts +6 -6
- package/gen/classes/MovieWriter.ts +3 -3
- package/gen/classes/MultiMesh.ts +40 -40
- package/gen/classes/MultiMeshInstance2D.ts +8 -8
- package/gen/classes/MultiMeshInstance3D.ts +4 -4
- package/gen/classes/MultiplayerAPI.ts +25 -25
- package/gen/classes/MultiplayerAPIExtension.ts +2 -2
- package/gen/classes/MultiplayerPeer.ts +23 -23
- package/gen/classes/MultiplayerPeerExtension.ts +2 -2
- package/gen/classes/MultiplayerSpawner.ts +17 -17
- package/gen/classes/MultiplayerSynchronizer.ts +25 -25
- package/gen/classes/Mutex.ts +5 -5
- package/gen/classes/NativeMenu.ts +84 -71
- package/gen/classes/NavigationAgent2D.ts +98 -98
- package/gen/classes/NavigationAgent3D.ts +104 -104
- package/gen/classes/NavigationLink2D.ts +26 -26
- package/gen/classes/NavigationLink3D.ts +26 -26
- package/gen/classes/NavigationMesh.ts +62 -62
- package/gen/classes/NavigationMeshGenerator.ts +6 -6
- package/gen/classes/NavigationMeshSourceGeometryData2D.ts +18 -18
- package/gen/classes/NavigationMeshSourceGeometryData3D.ts +18 -18
- package/gen/classes/NavigationObstacle2D.ts +24 -23
- package/gen/classes/NavigationObstacle3D.ts +31 -30
- package/gen/classes/NavigationPathQueryParameters2D.ts +34 -34
- package/gen/classes/NavigationPathQueryParameters3D.ts +34 -34
- package/gen/classes/NavigationPathQueryResult2D.ts +13 -13
- package/gen/classes/NavigationPathQueryResult3D.ts +13 -13
- package/gen/classes/NavigationPolygon.ts +44 -44
- package/gen/classes/NavigationRegion2D.ts +28 -28
- package/gen/classes/NavigationRegion3D.ts +28 -28
- package/gen/classes/NavigationServer2D.ts +157 -157
- package/gen/classes/NavigationServer2DManager.ts +4 -4
- package/gen/classes/NavigationServer3D.ts +176 -176
- package/gen/classes/NavigationServer3DManager.ts +4 -4
- package/gen/classes/NinePatchRect.ts +22 -22
- package/gen/classes/Node.ts +145 -145
- package/gen/classes/Node2D.ts +37 -37
- package/gen/classes/Node3D.ts +75 -75
- package/gen/classes/Node3DGizmo.ts +1 -1
- package/gen/classes/Noise.ts +10 -10
- package/gen/classes/NoiseTexture2D.ts +26 -26
- package/gen/classes/NoiseTexture3D.ts +20 -20
- package/gen/classes/ORMMaterial3D.ts +2 -2
- package/gen/classes/OS.ts +101 -90
- package/gen/classes/Object.ts +60 -60
- package/gen/classes/Occluder3D.ts +3 -3
- package/gen/classes/OccluderInstance3D.ts +10 -10
- package/gen/classes/OccluderPolygon2D.ts +8 -8
- package/gen/classes/OfflineMultiplayerPeer.ts +2 -2
- package/gen/classes/OggPacketSequence.ts +9 -9
- package/gen/classes/OggPacketSequencePlayback.ts +2 -2
- package/gen/classes/OmniLight3D.ts +8 -8
- package/gen/classes/OpenXRAPIExtension.ts +58 -53
- package/gen/classes/OpenXRAction.ts +8 -8
- package/gen/classes/OpenXRActionBindingModifier.ts +2 -2
- package/gen/classes/OpenXRActionMap.ts +17 -17
- package/gen/classes/OpenXRActionSet.ts +11 -11
- package/gen/classes/OpenXRAnalogThresholdModifier.ts +10 -10
- package/gen/classes/OpenXRAnchorTracker.ts +7 -7
- package/gen/classes/OpenXRAndroidThreadSettingsExtension.ts +3 -3
- package/gen/classes/OpenXRBindingModifier.ts +1 -1
- package/gen/classes/OpenXRCompositionLayer.ts +42 -42
- package/gen/classes/OpenXRCompositionLayerCylinder.ts +10 -10
- package/gen/classes/OpenXRCompositionLayerEquirect.ts +12 -12
- package/gen/classes/OpenXRCompositionLayerQuad.ts +4 -4
- package/gen/classes/OpenXRDpadBindingModifier.ts +20 -20
- package/gen/classes/OpenXRExtensionWrapper.ts +6 -5
- package/gen/classes/OpenXRExtensionWrapperExtension.ts +2 -2
- package/gen/classes/OpenXRFoveatedInsetViewport.ts +26 -0
- package/gen/classes/OpenXRFrameSynthesisExtension.ts +8 -8
- package/gen/classes/OpenXRFutureExtension.ts +5 -5
- package/gen/classes/OpenXRFutureResult.ts +8 -8
- package/gen/classes/OpenXRHand.ts +12 -12
- package/gen/classes/OpenXRHapticBase.ts +1 -1
- package/gen/classes/OpenXRHapticVibration.ts +8 -8
- package/gen/classes/OpenXRIPBinding.ts +16 -16
- package/gen/classes/OpenXRIPBindingModifier.ts +2 -2
- package/gen/classes/OpenXRInteractionProfile.ts +12 -12
- package/gen/classes/OpenXRInteractionProfileMetadata.ts +7 -7
- package/gen/classes/OpenXRInterface.ts +100 -63
- package/gen/classes/OpenXRMarkerTracker.ts +12 -12
- package/gen/classes/OpenXRPlaneTracker.ts +26 -16
- package/gen/classes/OpenXRRenderModel.ts +7 -7
- package/gen/classes/OpenXRRenderModelExtension.ts +21 -21
- package/gen/classes/OpenXRRenderModelManager.ts +10 -10
- package/gen/classes/OpenXRSpatialAnchorCapability.ts +15 -15
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAnchor.ts +3 -3
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAprilTag.ts +5 -5
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAruco.ts +23 -23
- package/gen/classes/OpenXRSpatialCapabilityConfigurationBaseHeader.ts +4 -4
- package/gen/classes/OpenXRSpatialCapabilityConfigurationMicroQrCode.ts +3 -3
- package/gen/classes/OpenXRSpatialCapabilityConfigurationPlaneTracking.ts +6 -6
- package/gen/classes/OpenXRSpatialCapabilityConfigurationQrCode.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentAnchorList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentBounded2DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentBounded3DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentData.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentMarkerList.ts +7 -7
- package/gen/classes/OpenXRSpatialComponentMesh2DList.ts +5 -5
- package/gen/classes/OpenXRSpatialComponentMesh3DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentParentList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPersistenceList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentPlaneAlignmentList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPlaneSemanticLabelList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPolygon2DList.ts +4 -4
- package/gen/classes/OpenXRSpatialContainerExtension.ts +92 -0
- package/gen/classes/OpenXRSpatialContainerSelfRenderingExtension.ts +19 -0
- package/gen/classes/OpenXRSpatialContainerState.ts +43 -0
- package/gen/classes/OpenXRSpatialContextPersistenceConfig.ts +5 -5
- package/gen/classes/OpenXRSpatialEntityExtension.ts +63 -32
- package/gen/classes/OpenXRSpatialEntityTracker.ts +15 -15
- package/gen/classes/OpenXRSpatialMarkerTrackingCapability.ts +47 -9
- package/gen/classes/OpenXRSpatialPlaneTrackingCapability.ts +20 -4
- package/gen/classes/OpenXRSpatialQueryResultData.ts +5 -5
- package/gen/classes/OpenXRStructureBase.ts +10 -5
- package/gen/classes/OpenXRVisibilityMask.ts +2 -2
- package/gen/classes/OptimizedTranslation.ts +3 -3
- package/gen/classes/OptionButton.ts +51 -51
- package/gen/classes/PCKPacker.ts +7 -7
- package/gen/classes/PackedDataContainer.ts +4 -4
- package/gen/classes/PackedDataContainerRef.ts +2 -2
- package/gen/classes/PackedScene.ts +6 -6
- package/gen/classes/PacketPeer.ts +10 -10
- package/gen/classes/PacketPeerDTLS.ts +7 -7
- package/gen/classes/PacketPeerExtension.ts +2 -2
- package/gen/classes/PacketPeerStream.ts +9 -9
- package/gen/classes/PacketPeerUDP.ts +16 -16
- package/gen/classes/Panel.ts +2 -2
- package/gen/classes/PanelContainer.ts +2 -2
- package/gen/classes/PanoramaSkyMaterial.ts +8 -8
- package/gen/classes/Parallax2D.ts +22 -22
- package/gen/classes/ParallaxBackground.ts +14 -14
- package/gen/classes/ParallaxLayer.ts +9 -9
- package/gen/classes/ParticleProcessMaterial.ts +269 -253
- package/gen/classes/Path2D.ts +4 -4
- package/gen/classes/Path3D.ts +10 -10
- package/gen/classes/PathFollow2D.ts +16 -16
- package/gen/classes/PathFollow3D.ts +21 -21
- package/gen/classes/Performance.ts +15 -11
- package/gen/classes/PhysicalBone2D.ts +14 -14
- package/gen/classes/PhysicalBone3D.ts +45 -39
- package/gen/classes/PhysicalBoneSimulator3D.ts +7 -7
- package/gen/classes/PhysicalSkyMaterial.ts +24 -24
- package/gen/classes/PhysicsBody2D.ts +7 -7
- package/gen/classes/PhysicsBody3D.ts +19 -19
- package/gen/classes/PhysicsCastMotionResult2D.ts +25 -0
- package/gen/classes/PhysicsCastMotionResult3D.ts +25 -0
- package/gen/classes/PhysicsCollideShapeResult2D.ts +38 -0
- package/gen/classes/PhysicsCollideShapeResult3D.ts +38 -0
- package/gen/classes/PhysicsDirectBodyState2D.ts +49 -49
- package/gen/classes/PhysicsDirectBodyState2DExtension.ts +2 -2
- package/gen/classes/PhysicsDirectBodyState3D.ts +51 -51
- package/gen/classes/PhysicsDirectBodyState3DExtension.ts +2 -2
- package/gen/classes/PhysicsDirectSpaceState2D.ts +61 -14
- package/gen/classes/PhysicsDirectSpaceState2DExtension.ts +3 -3
- package/gen/classes/PhysicsDirectSpaceState3D.ts +64 -15
- package/gen/classes/PhysicsDirectSpaceState3DExtension.ts +3 -3
- package/gen/classes/PhysicsGetRestInfoResult2D.ts +48 -0
- package/gen/classes/PhysicsGetRestInfoResult3D.ts +48 -0
- package/gen/classes/PhysicsIntersectPointResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectPointResult3D.ts +49 -0
- package/gen/classes/PhysicsIntersectRayResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectRayResult3D.ts +55 -0
- package/gen/classes/PhysicsIntersectShapeResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectShapeResult3D.ts +49 -0
- package/gen/classes/PhysicsMaterial.ts +10 -10
- package/gen/classes/PhysicsPointQueryParameters2D.ts +15 -14
- package/gen/classes/PhysicsPointQueryParameters3D.ts +13 -12
- package/gen/classes/PhysicsRayQueryParameters2D.ts +18 -17
- package/gen/classes/PhysicsRayQueryParameters3D.ts +20 -19
- package/gen/classes/PhysicsServer2D.ts +122 -122
- package/gen/classes/PhysicsServer2DExtension.ts +4 -4
- package/gen/classes/PhysicsServer2DManager.ts +4 -4
- package/gen/classes/PhysicsServer3D.ts +210 -182
- package/gen/classes/PhysicsServer3DExtension.ts +5 -5
- package/gen/classes/PhysicsServer3DManager.ts +4 -4
- package/gen/classes/PhysicsServer3DRenderingServerHandler.ts +5 -5
- package/gen/classes/PhysicsShapeQueryParameters2D.ts +21 -20
- package/gen/classes/PhysicsShapeQueryParameters3D.ts +21 -20
- package/gen/classes/PhysicsTestMotionParameters2D.ts +17 -16
- package/gen/classes/PhysicsTestMotionParameters3D.ts +19 -18
- package/gen/classes/PhysicsTestMotionResult2D.ts +16 -15
- package/gen/classes/PhysicsTestMotionResult3D.ts +17 -16
- package/gen/classes/PinJoint2D.ts +14 -14
- package/gen/classes/PinJoint3D.ts +4 -4
- package/gen/classes/PlaceholderCubemap.ts +2 -2
- package/gen/classes/PlaceholderCubemapArray.ts +2 -2
- package/gen/classes/PlaceholderMaterial.ts +2 -2
- package/gen/classes/PlaceholderMesh.ts +4 -4
- package/gen/classes/PlaceholderTexture2D.ts +4 -4
- package/gen/classes/PlaceholderTexture2DArray.ts +2 -2
- package/gen/classes/PlaceholderTexture3D.ts +4 -4
- package/gen/classes/PlaceholderTextureLayered.ts +5 -5
- package/gen/classes/PlaneMesh.ts +12 -12
- package/gen/classes/PointLight2D.ts +10 -10
- package/gen/classes/PointMesh.ts +2 -2
- package/gen/classes/Polygon2D.ts +42 -42
- package/gen/classes/PolygonOccluder3D.ts +4 -4
- package/gen/classes/PolygonPathFinder.ts +12 -12
- package/gen/classes/Popup.ts +4 -4
- package/gen/classes/PopupMenu.ts +125 -112
- package/gen/classes/PopupPanel.ts +2 -2
- package/gen/classes/PortableCompressedTexture2D.ts +11 -11
- package/gen/classes/PrimitiveMesh.ts +15 -15
- package/gen/classes/PrismMesh.ts +12 -12
- package/gen/classes/ProceduralSkyMaterial.ts +30 -30
- package/gen/classes/ProgressBar.ts +10 -10
- package/gen/classes/ProjectSettings.ts +26 -26
- package/gen/classes/PropertyTweener.ts +9 -9
- package/gen/classes/QuadMesh.ts +2 -2
- package/gen/classes/QuadOccluder3D.ts +4 -4
- package/gen/classes/RDAccelerationStructureGeometry.ts +20 -20
- package/gen/classes/RDAccelerationStructureInstance.ts +14 -14
- package/gen/classes/RDAttachmentFormat.ts +8 -8
- package/gen/classes/RDFramebufferPass.ts +12 -12
- package/gen/classes/RDHitGroup.ts +8 -8
- package/gen/classes/RDPipelineColorBlendState.ts +10 -10
- package/gen/classes/RDPipelineColorBlendStateAttachment.ts +25 -25
- package/gen/classes/RDPipelineDepthStencilState.ts +44 -44
- package/gen/classes/RDPipelineMultisampleState.ts +14 -14
- package/gen/classes/RDPipelineRasterizationState.ts +25 -25
- package/gen/classes/RDPipelineShader.ts +6 -6
- package/gen/classes/RDPipelineSpecializationConstant.ts +6 -6
- package/gen/classes/RDSamplerState.ts +32 -32
- package/gen/classes/RDShaderFile.ts +7 -7
- package/gen/classes/RDShaderSPIRV.ts +42 -42
- package/gen/classes/RDShaderSource.ts +24 -24
- package/gen/classes/RDTextureFormat.ts +26 -26
- package/gen/classes/RDTextureView.ts +12 -12
- package/gen/classes/RDUniform.ts +9 -9
- package/gen/classes/RDVertexAttribute.ts +14 -14
- package/gen/classes/RandomNumberGenerator.ts +13 -13
- package/gen/classes/Range.ts +29 -29
- package/gen/classes/RayCast2D.ts +30 -30
- package/gen/classes/RayCast3D.ts +37 -37
- package/gen/classes/RectangleShape2D.ts +4 -4
- package/gen/classes/RefCounted.ts +6 -6
- package/gen/classes/ReferenceRect.ts +8 -8
- package/gen/classes/ReflectionProbe.ts +32 -32
- package/gen/classes/RegEx.ts +13 -13
- package/gen/classes/RegExMatch.ts +9 -9
- package/gen/classes/RemoteTransform2D.ts +13 -13
- package/gen/classes/RemoteTransform3D.ts +13 -13
- package/gen/classes/RenderData.ts +5 -5
- package/gen/classes/RenderDataExtension.ts +2 -2
- package/gen/classes/RenderDataRD.ts +2 -2
- package/gen/classes/RenderSceneBuffers.ts +2 -2
- package/gen/classes/RenderSceneBuffersConfiguration.ts +22 -22
- package/gen/classes/RenderSceneBuffersExtension.ts +2 -2
- package/gen/classes/RenderSceneBuffersRD.ts +29 -29
- package/gen/classes/RenderSceneData.ts +7 -7
- package/gen/classes/RenderSceneDataExtension.ts +2 -2
- package/gen/classes/RenderSceneDataRD.ts +2 -2
- package/gen/classes/RenderingDevice.ts +152 -140
- package/gen/classes/RenderingServer.ts +603 -550
- package/gen/classes/Resource.ts +29 -29
- package/gen/classes/ResourceFormatLoader.ts +2 -2
- package/gen/classes/ResourceFormatSaver.ts +2 -2
- package/gen/classes/ResourceImporter.ts +1 -1
- package/gen/classes/ResourceLoader.ts +21 -16
- package/gen/classes/ResourcePreloader.ts +10 -10
- package/gen/classes/ResourceSaver.ts +8 -8
- package/gen/classes/ResourceUID.ts +11 -11
- package/gen/classes/RetargetModifier3D.ts +22 -14
- package/gen/classes/RibbonTrailMesh.ts +14 -14
- package/gen/classes/RichTextEffect.ts +2 -2
- package/gen/classes/RichTextLabel.ts +236 -181
- package/gen/classes/RigidBody2D.ts +84 -70
- package/gen/classes/RigidBody3D.ts +85 -71
- package/gen/classes/RootMotionView.ts +12 -12
- package/gen/classes/SceneMultiplayer.ts +31 -31
- package/gen/classes/SceneReplicationConfig.ts +15 -15
- package/gen/classes/SceneState.ts +24 -24
- package/gen/classes/SceneTree.ts +67 -68
- package/gen/classes/SceneTreeTimer.ts +5 -5
- package/gen/classes/Script.ts +21 -20
- package/gen/classes/ScriptBacktrace.ts +18 -18
- package/gen/classes/ScriptExtension.ts +2 -2
- package/gen/classes/ScriptLanguage.ts +16 -1
- package/gen/classes/ScriptLanguageExtension.ts +2 -2
- package/gen/classes/ScrollBar.ts +5 -5
- package/gen/classes/ScrollContainer.ts +58 -34
- package/gen/classes/SegmentShape2D.ts +6 -6
- package/gen/classes/Semaphore.ts +5 -5
- package/gen/classes/SeparationRayShape2D.ts +6 -6
- package/gen/classes/SeparationRayShape3D.ts +6 -6
- package/gen/classes/Separator.ts +1 -1
- package/gen/classes/Shader.ts +14 -9
- package/gen/classes/ShaderGlobalsOverride.ts +2 -2
- package/gen/classes/ShaderInclude.ts +4 -4
- package/gen/classes/ShaderIncludeDB.ts +5 -5
- package/gen/classes/ShaderMaterial.ts +6 -6
- package/gen/classes/Shape2D.ts +9 -9
- package/gen/classes/Shape3D.ts +6 -6
- package/gen/classes/ShapeCast2D.ts +38 -38
- package/gen/classes/ShapeCast3D.ts +41 -41
- package/gen/classes/Shortcut.ts +7 -7
- package/gen/classes/Skeleton2D.ts +12 -12
- package/gen/classes/Skeleton3D.ts +82 -70
- package/gen/classes/SkeletonIK3D.ts +27 -27
- package/gen/classes/SkeletonModification2D.ts +12 -12
- package/gen/classes/SkeletonModification2DCCDIK.ts +22 -22
- package/gen/classes/SkeletonModification2DFABRIK.ts +14 -14
- package/gen/classes/SkeletonModification2DJiggle.ts +37 -37
- package/gen/classes/SkeletonModification2DLookAt.ts +18 -18
- package/gen/classes/SkeletonModification2DPhysicalBones.ts +9 -9
- package/gen/classes/SkeletonModification2DStackHolder.ts +4 -4
- package/gen/classes/SkeletonModification2DTwoBoneIK.ts +18 -18
- package/gen/classes/SkeletonModificationStack2D.ts +18 -18
- package/gen/classes/SkeletonModifier3D.ts +9 -9
- package/gen/classes/SkeletonProfile.ts +34 -34
- package/gen/classes/SkeletonProfileHumanoid.ts +2 -2
- package/gen/classes/Skin.ts +49 -13
- package/gen/classes/SkinReference.ts +3 -3
- package/gen/classes/Sky.ts +8 -8
- package/gen/classes/Slider.ts +15 -15
- package/gen/classes/SliderJoint3D.ts +4 -4
- package/gen/classes/SocketServer.ts +5 -5
- package/gen/classes/SoftBody3D.ts +47 -42
- package/gen/classes/SphereMesh.ts +12 -12
- package/gen/classes/SphereOccluder3D.ts +4 -4
- package/gen/classes/SphereShape3D.ts +4 -4
- package/gen/classes/SpinBox.ts +50 -27
- package/gen/classes/SplineIK3D.ts +12 -12
- package/gen/classes/SplitContainer.ts +35 -35
- package/gen/classes/SpotLight3D.ts +10 -10
- package/gen/classes/SpringArm3D.ts +14 -14
- package/gen/classes/SpringBoneCollision3D.ts +11 -11
- package/gen/classes/SpringBoneCollisionCapsule3D.ts +10 -10
- package/gen/classes/SpringBoneCollisionPlane3D.ts +2 -2
- package/gen/classes/SpringBoneCollisionSphere3D.ts +6 -6
- package/gen/classes/SpringBoneSimulator3D.ts +86 -86
- package/gen/classes/Sprite2D.ts +32 -32
- package/gen/classes/Sprite3D.ts +20 -20
- package/gen/classes/SpriteBase3D.ts +43 -43
- package/gen/classes/SpriteFrames.ts +24 -24
- package/gen/classes/StandardMaterial3D.ts +2 -2
- package/gen/classes/StaticBody2D.ts +8 -8
- package/gen/classes/StaticBody3D.ts +8 -8
- package/gen/classes/StatusIndicator.ts +17 -13
- package/gen/classes/StreamPeer.ts +37 -37
- package/gen/classes/StreamPeerBuffer.ts +10 -10
- package/gen/classes/StreamPeerExtension.ts +2 -2
- package/gen/classes/StreamPeerGZIP.ts +6 -6
- package/gen/classes/StreamPeerSocket.ts +4 -4
- package/gen/classes/StreamPeerTCP.ts +9 -9
- package/gen/classes/StreamPeerTLS.ts +9 -9
- package/gen/classes/StreamPeerUDS.ts +5 -5
- package/gen/classes/StreamedTexture2D.ts +34 -0
- package/gen/classes/StyleBox.ts +17 -17
- package/gen/classes/StyleBoxEmpty.ts +2 -2
- package/gen/classes/StyleBoxFlat.ts +52 -52
- package/gen/classes/StyleBoxLine.ts +12 -12
- package/gen/classes/StyleBoxTexture.ts +32 -32
- package/gen/classes/SubViewport.ts +14 -14
- package/gen/classes/SubViewportContainer.ts +9 -9
- package/gen/classes/SubtweenTweener.ts +3 -3
- package/gen/classes/SurfaceTool.ts +35 -35
- package/gen/classes/SyntaxHighlighter.ts +30 -6
- package/gen/classes/SystemFont.ts +36 -36
- package/gen/classes/TCPServer.ts +6 -6
- package/gen/classes/TLSOptions.ts +10 -10
- package/gen/classes/TabBar.ts +109 -78
- package/gen/classes/TabContainer.ts +75 -68
- package/gen/classes/TextEdit.ts +275 -269
- package/gen/classes/TextLine.ts +41 -41
- package/gen/classes/TextMesh.ts +38 -38
- package/gen/classes/TextParagraph.ts +64 -64
- package/gen/classes/TextServer.ts +250 -245
- package/gen/classes/TextServerAdvanced.ts +2 -2
- package/gen/classes/TextServerDummy.ts +2 -2
- package/gen/classes/TextServerExtension.ts +2 -2
- package/gen/classes/TextServerManager.ts +14 -14
- package/gen/classes/Texture.ts +2 -2
- package/gen/classes/Texture2D.ts +14 -14
- package/gen/classes/Texture2DArray.ts +3 -3
- package/gen/classes/Texture2DArrayRD.ts +2 -2
- package/gen/classes/Texture2DRD.ts +4 -4
- package/gen/classes/Texture3D.ts +9 -9
- package/gen/classes/Texture3DRD.ts +4 -4
- package/gen/classes/TextureButton.ts +22 -22
- package/gen/classes/TextureCubemapArrayRD.ts +2 -2
- package/gen/classes/TextureCubemapRD.ts +2 -2
- package/gen/classes/TextureLayered.ts +9 -9
- package/gen/classes/TextureLayeredRD.ts +3 -3
- package/gen/classes/TextureProgressBar.ts +34 -34
- package/gen/classes/TextureRect.ts +13 -12
- package/gen/classes/TextureStreaming.ts +54 -0
- package/gen/classes/Theme.ts +116 -73
- package/gen/classes/ThemeDB.ts +23 -16
- package/gen/classes/Thread.ts +9 -9
- package/gen/classes/TileData.ts +58 -58
- package/gen/classes/TileMap.ts +65 -65
- package/gen/classes/TileMapLayer.ts +60 -60
- package/gen/classes/TileMapPattern.ts +12 -12
- package/gen/classes/TileSet.ts +93 -93
- package/gen/classes/TileSetAtlasSource.ts +43 -43
- package/gen/classes/TileSetScenesCollectionSource.ts +13 -13
- package/gen/classes/TileSetSource.ts +7 -7
- package/gen/classes/Time.ts +23 -23
- package/gen/classes/Timer.ts +20 -20
- package/gen/classes/TorusMesh.ts +10 -10
- package/gen/classes/TouchScreenButton.ts +25 -25
- package/gen/classes/Trail3D.ts +173 -0
- package/gen/classes/Translation.ts +16 -16
- package/gen/classes/TranslationDomain.ts +35 -35
- package/gen/classes/TranslationServer.ts +36 -36
- package/gen/classes/Tree.ts +104 -104
- package/gen/classes/TreeItem.ts +126 -126
- package/gen/classes/TriangleMesh.ts +6 -6
- package/gen/classes/TubeTrailMesh.ts +18 -18
- package/gen/classes/Tween.ts +58 -43
- package/gen/classes/Tweener.ts +3 -3
- package/gen/classes/TwoBoneIK3D.ts +32 -32
- package/gen/classes/UDPServer.ts +11 -11
- package/gen/classes/UDSServer.ts +4 -4
- package/gen/classes/UPNP.ts +19 -19
- package/gen/classes/UPNPDevice.ts +18 -18
- package/gen/classes/UndoRedo.ts +28 -28
- package/gen/classes/UniformSetCacheRD.ts +3 -3
- package/gen/classes/VBoxContainer.ts +2 -2
- package/gen/classes/VFlowContainer.ts +2 -2
- package/gen/classes/VScrollBar.ts +2 -2
- package/gen/classes/VSeparator.ts +2 -2
- package/gen/classes/VSlider.ts +2 -2
- package/gen/classes/VSplitContainer.ts +2 -2
- package/gen/classes/VehicleBody3D.ts +8 -8
- package/gen/classes/VehicleWheel3D.ts +36 -36
- package/gen/classes/VideoStream.ts +4 -4
- package/gen/classes/VideoStreamPlayback.ts +3 -3
- package/gen/classes/VideoStreamPlayer.ts +38 -36
- package/gen/classes/VideoStreamTheora.ts +2 -2
- package/gen/classes/Viewport.ts +148 -148
- package/gen/classes/ViewportTexture.ts +5 -13
- package/gen/classes/VirtualJoystick.ts +34 -34
- package/gen/classes/VisibleOnScreenEnabler2D.ts +6 -6
- package/gen/classes/VisibleOnScreenEnabler3D.ts +6 -6
- package/gen/classes/VisibleOnScreenNotifier2D.ts +11 -11
- package/gen/classes/VisibleOnScreenNotifier3D.ts +9 -9
- package/gen/classes/VisualInstance3D.ts +14 -14
- package/gen/classes/VisualShader.ts +25 -25
- package/gen/classes/VisualShaderGroup.ts +190 -0
- package/gen/classes/VisualShaderNode.ts +15 -15
- package/gen/classes/VisualShaderNodeBillboard.ts +6 -6
- package/gen/classes/VisualShaderNodeBooleanConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeBooleanParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeClamp.ts +4 -4
- package/gen/classes/VisualShaderNodeColorConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeColorFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeColorOp.ts +4 -4
- package/gen/classes/VisualShaderNodeColorParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeComment.ts +4 -4
- package/gen/classes/VisualShaderNodeCompare.ts +8 -8
- package/gen/classes/VisualShaderNodeConstant.ts +1 -1
- package/gen/classes/VisualShaderNodeCubemap.ts +8 -8
- package/gen/classes/VisualShaderNodeCubemapParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeCurveTexture.ts +4 -4
- package/gen/classes/VisualShaderNodeCurveXYZTexture.ts +4 -4
- package/gen/classes/VisualShaderNodeCustom.ts +7 -7
- package/gen/classes/VisualShaderNodeDerivativeFunc.ts +8 -8
- package/gen/classes/VisualShaderNodeDeterminant.ts +2 -2
- package/gen/classes/VisualShaderNodeDistanceFade.ts +2 -2
- package/gen/classes/VisualShaderNodeDotProduct.ts +2 -2
- package/gen/classes/VisualShaderNodeExpression.ts +4 -4
- package/gen/classes/VisualShaderNodeFaceForward.ts +2 -2
- package/gen/classes/VisualShaderNodeFloatConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatOp.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatParameter.ts +14 -14
- package/gen/classes/VisualShaderNodeFrame.ts +14 -14
- package/gen/classes/VisualShaderNodeFresnel.ts +2 -2
- package/gen/classes/VisualShaderNodeGlobalExpression.ts +2 -2
- package/gen/classes/VisualShaderNodeGroup.ts +22 -0
- package/gen/classes/VisualShaderNodeGroupBase.ts +22 -22
- package/gen/classes/VisualShaderNodeGroupInput.ts +14 -0
- package/gen/classes/VisualShaderNodeGroupOutput.ts +14 -0
- package/gen/classes/VisualShaderNodeIf.ts +2 -2
- package/gen/classes/VisualShaderNodeInput.ts +7 -7
- package/gen/classes/VisualShaderNodeIntConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeIntFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeIntOp.ts +4 -4
- package/gen/classes/VisualShaderNodeIntParameter.ts +16 -16
- package/gen/classes/VisualShaderNodeIs.ts +4 -4
- package/gen/classes/VisualShaderNodeLinearSceneDepth.ts +2 -2
- package/gen/classes/VisualShaderNodeMix.ts +4 -4
- package/gen/classes/VisualShaderNodeMultiplyAdd.ts +4 -4
- package/gen/classes/VisualShaderNodeOuterProduct.ts +2 -2
- package/gen/classes/VisualShaderNodeOutput.ts +1 -1
- package/gen/classes/VisualShaderNodeParameter.ts +7 -7
- package/gen/classes/VisualShaderNodeParameterRef.ts +6 -6
- package/gen/classes/VisualShaderNodeParticleAccelerator.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleBoxEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleConeVelocity.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleEmit.ts +5 -5
- package/gen/classes/VisualShaderNodeParticleEmitter.ts +3 -3
- package/gen/classes/VisualShaderNodeParticleMeshEmitter.ts +8 -8
- package/gen/classes/VisualShaderNodeParticleMultiplyByAxisAngle.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleOutput.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleRandomness.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleRingEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleSphereEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeProximityFade.ts +2 -2
- package/gen/classes/VisualShaderNodeRandomRange.ts +2 -2
- package/gen/classes/VisualShaderNodeRemap.ts +4 -4
- package/gen/classes/VisualShaderNodeReroute.ts +4 -4
- package/gen/classes/VisualShaderNodeResizableBase.ts +3 -3
- package/gen/classes/VisualShaderNodeRotationByAxis.ts +2 -2
- package/gen/classes/VisualShaderNodeSDFRaymarch.ts +2 -2
- package/gen/classes/VisualShaderNodeSDFToScreenUV.ts +2 -2
- package/gen/classes/VisualShaderNodeSample3D.ts +3 -3
- package/gen/classes/VisualShaderNodeScreenNormalWorldSpace.ts +2 -2
- package/gen/classes/VisualShaderNodeScreenUVToSDF.ts +2 -2
- package/gen/classes/VisualShaderNodeSmoothStep.ts +4 -4
- package/gen/classes/VisualShaderNodeStep.ts +4 -4
- package/gen/classes/VisualShaderNodeSwitch.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture.ts +8 -8
- package/gen/classes/VisualShaderNodeTexture2DArray.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture2DArrayParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTexture2DParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTexture3D.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture3DParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureParameter.ts +11 -11
- package/gen/classes/VisualShaderNodeTextureParameterTriplanar.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureSDF.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureSDFNormal.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformCompose.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformDecompose.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformOp.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeTransformVecMult.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntOp.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeUVFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeUVPolarCoord.ts +2 -2
- package/gen/classes/VisualShaderNodeVarying.ts +5 -5
- package/gen/classes/VisualShaderNodeVaryingGetter.ts +2 -2
- package/gen/classes/VisualShaderNodeVaryingSetter.ts +2 -2
- package/gen/classes/VisualShaderNodeVec2Constant.ts +4 -4
- package/gen/classes/VisualShaderNodeVec2Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVec3Constant.ts +4 -4
- package/gen/classes/VisualShaderNodeVec3Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVec4Constant.ts +6 -6
- package/gen/classes/VisualShaderNodeVec4Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVectorBase.ts +3 -3
- package/gen/classes/VisualShaderNodeVectorCompose.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorDecompose.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorDistance.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeVectorLen.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorOp.ts +4 -4
- package/gen/classes/VisualShaderNodeVectorRefract.ts +2 -2
- package/gen/classes/VisualShaderNodeWorldPositionFromDepth.ts +2 -2
- package/gen/classes/VoxelGI.ts +12 -12
- package/gen/classes/VoxelGIData.ts +23 -23
- package/gen/classes/WeakRef.ts +3 -3
- package/gen/classes/WebRTCDataChannel.ts +15 -15
- package/gen/classes/WebRTCDataChannelExtension.ts +2 -2
- package/gen/classes/WebRTCMultiplayerPeer.ts +12 -12
- package/gen/classes/WebRTCPeerConnection.ts +21 -21
- package/gen/classes/WebRTCPeerConnectionExtension.ts +2 -2
- package/gen/classes/WebSocketMultiplayerPeer.ts +20 -20
- package/gen/classes/WebSocketPeer.ts +32 -32
- package/gen/classes/WebXRInterface.ts +57 -49
- package/gen/classes/Window.ts +245 -202
- package/gen/classes/WorkerThreadPool.ts +11 -11
- package/gen/classes/World2D.ts +6 -6
- package/gen/classes/World3D.ts +12 -12
- package/gen/classes/WorldBoundaryShape2D.ts +6 -6
- package/gen/classes/WorldBoundaryShape3D.ts +4 -4
- package/gen/classes/WorldEnvironment.ts +8 -8
- package/gen/classes/X509Certificate.ts +6 -6
- package/gen/classes/XMLParser.ts +19 -19
- package/gen/classes/XRAnchor3D.ts +4 -4
- package/gen/classes/XRBodyModifier3D.ts +8 -8
- package/gen/classes/XRBodyTracker.ts +10 -10
- package/gen/classes/XRCamera3D.ts +11 -4
- package/gen/classes/XRController3D.ts +17 -17
- package/gen/classes/XRControllerTracker.ts +2 -2
- package/gen/classes/XRFaceModifier3D.ts +6 -6
- package/gen/classes/XRFaceTracker.ts +6 -6
- package/gen/classes/XRHandModifier3D.ts +6 -6
- package/gen/classes/XRHandTracker.ts +16 -16
- package/gen/classes/XRInterface.ts +45 -31
- package/gen/classes/XRInterfaceExtension.ts +9 -9
- package/gen/classes/XRNode3D.ts +14 -14
- package/gen/classes/XROrigin3D.ts +6 -6
- package/gen/classes/XRPose.ts +15 -15
- package/gen/classes/XRPositionalTracker.ts +26 -26
- package/gen/classes/XRServer.ts +57 -41
- package/gen/classes/XRTracker.ts +7 -7
- package/gen/classes/XRVRS.ts +9 -9
- package/gen/classes/ZIPPacker.ts +10 -10
- package/gen/classes/ZIPReader.ts +8 -8
- package/gen/classes/index.ts +31 -0
- package/gen/global-enums.ts +7 -3
- package/gen/heap-types/GodotArray.ts +65 -65
- package/gen/heap-types/GodotDictionary.ts +38 -38
- package/gen/heap-types/PackedByteArray.ts +76 -76
- package/gen/heap-types/PackedColorArray.ts +27 -27
- package/gen/heap-types/PackedFloat32Array.ts +27 -27
- package/gen/heap-types/PackedFloat64Array.ts +27 -27
- package/gen/heap-types/PackedInt32Array.ts +27 -27
- package/gen/heap-types/PackedInt64Array.ts +27 -27
- package/gen/heap-types/PackedStringArray.ts +27 -27
- package/gen/heap-types/PackedVector2Array.ts +27 -27
- package/gen/heap-types/PackedVector3Array.ts +27 -27
- package/gen/heap-types/PackedVector4Array.ts +27 -27
- package/gen/heap-types/Signal.ts +13 -13
- package/gen/utility-functions.ts +116 -116
- package/gen/value-types/AABB.ts +25 -25
- package/gen/value-types/Basis.ts +24 -24
- package/gen/value-types/Color.ts +26 -26
- package/gen/value-types/Plane.ts +11 -11
- package/gen/value-types/Projection.ts +26 -26
- package/gen/value-types/Quaternion.ts +21 -21
- package/gen/value-types/Rect2.ts +16 -16
- package/gen/value-types/Rect2i.ts +13 -13
- package/gen/value-types/Transform2D.ts +21 -21
- package/gen/value-types/Transform3D.ts +13 -13
- package/gen/value-types/Vector2.ts +55 -50
- package/gen/value-types/Vector2i.ts +17 -17
- package/gen/value-types/Vector3.ts +52 -51
- package/gen/value-types/Vector3i.ts +16 -16
- package/gen/value-types/Vector4.ts +36 -35
- package/gen/value-types/Vector4i.ts +16 -16
- package/package.json +8 -8
- package/src/assets.d.ts +167 -167
- package/src/boot.ts +1 -0
- package/src/debug.ts +357 -357
- package/src/editor.ts +102 -122
- package/src/export_presets.example.cfg +41 -41
- package/src/index.ts +54 -54
- package/src/load.ts +480 -479
- package/src/preload.ts +164 -164
- package/src/runtime.ts +107 -107
- package/src/serve.ts +67 -67
- package/src/web-image.ts +302 -388
package/gen/classes/Control.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { CanvasItem } from './CanvasItem.ts';
|
|
|
6
6
|
import type { Side } from '../global-enums.ts';
|
|
7
7
|
import type { Callable, GodotArray, NodePath, Signal, StringName, Variant } from '../heap-types/index.ts';
|
|
8
8
|
import type { Color, Rect2, Vector2, Vector3i } from '../value-types/index.ts';
|
|
9
|
+
import type { AudioStream } from './AudioStream.ts';
|
|
9
10
|
import type { AccessibilityLiveMode } from './DisplayServer.ts';
|
|
10
11
|
import type { Font } from './Font.ts';
|
|
11
12
|
import type { InputEvent } from './InputEvent.ts';
|
|
@@ -29,123 +30,123 @@ import type { Theme } from './Theme.ts';
|
|
|
29
30
|
* **Note:** Theme items are *not* {@link Object} properties. This means you can't access their values using {@link Object.get} and {@link Object.set}. Instead, use the `get_theme_*` and `add_theme_*_override` methods provided by this class.
|
|
30
31
|
*/
|
|
31
32
|
export class Control extends CanvasItem {
|
|
32
|
-
constructor(name =
|
|
33
|
+
constructor(name = 231) { super(name); }
|
|
33
34
|
|
|
34
35
|
/**
|
|
35
36
|
* Marks an input event as handled. Once you accept an input event, it stops propagating, even to nodes listening to {@link Node.UnhandledInput} or {@link Node.UnhandledKeyInput}.
|
|
36
37
|
* **Note:** This does not affect the methods in {@link Input}, only the way events are propagated.
|
|
37
38
|
*/
|
|
38
|
-
acceptEvent(): void { _C(this,
|
|
39
|
+
acceptEvent(): void { _C(this, 1086); }
|
|
39
40
|
|
|
40
41
|
/**
|
|
41
42
|
* Returns the maximum size for this control. See {@link customMaximumSize}.
|
|
42
43
|
*/
|
|
43
|
-
getMaximumSize(): Vector2 { return _C(this,
|
|
44
|
+
getMaximumSize(): Vector2 { return _C(this, 5597) as Vector2; }
|
|
44
45
|
|
|
45
46
|
/**
|
|
46
47
|
* Returns the combined maximum size from {@link customMaximumSize} and {@link getMaximumSize}, as well as the {@link customMaximumSize} of this node's parent if it is a Control node with {@link propagateMaximumSize} set to `true`.
|
|
47
48
|
*/
|
|
48
|
-
getCombinedMaximumSize(): Vector2 { return _C(this,
|
|
49
|
+
getCombinedMaximumSize(): Vector2 { return _C(this, 4319) as Vector2; }
|
|
49
50
|
|
|
50
51
|
/**
|
|
51
52
|
* Returns the minimum size for this control. See {@link customMinimumSize}.
|
|
52
53
|
*/
|
|
53
|
-
getMinimumSize(): Vector2 { return _C(this,
|
|
54
|
+
getMinimumSize(): Vector2 { return _C(this, 5662) as Vector2; }
|
|
54
55
|
|
|
55
56
|
/**
|
|
56
57
|
* Returns the combined minimum size from {@link customMinimumSize} and {@link getMinimumSize}.
|
|
57
58
|
*/
|
|
58
|
-
getCombinedMinimumSize(): Vector2 { return _C(this,
|
|
59
|
+
getCombinedMinimumSize(): Vector2 { return _C(this, 4320) as Vector2; }
|
|
59
60
|
|
|
60
61
|
/**
|
|
61
62
|
* Returns the bound value of {@link getCombinedMinimumSize} by {@link getCombinedMaximumSize}.
|
|
62
63
|
* This value is the true minimum size of the container, as the maximum size has priority over the minimum size.
|
|
63
64
|
* For example, if the combined minimum size is (100, 100) and the combined maximum size is (50, 150), the bound minimum size will be (50, 100).
|
|
64
65
|
*/
|
|
65
|
-
getBoundMinimumSize(): Vector2 { return _C(this,
|
|
66
|
+
getBoundMinimumSize(): Vector2 { return _C(this, 4066) as Vector2; }
|
|
66
67
|
|
|
67
68
|
/**
|
|
68
69
|
* Sets the anchors to a `preset` from {@link Control.LayoutPreset} enum. This is the code equivalent to using the Layout menu in the 2D editor.
|
|
69
70
|
* If `keepOffsets` is `true`, control's position will also be updated.
|
|
70
71
|
*/
|
|
71
|
-
setAnchorsPreset(preset: LayoutPreset, keepOffsets?: boolean /* = false */): void { _C(this,
|
|
72
|
+
setAnchorsPreset(preset: LayoutPreset, keepOffsets?: boolean /* = false */): void { _C(this, 10708, preset, keepOffsets); }
|
|
72
73
|
|
|
73
74
|
/**
|
|
74
75
|
* Sets the offsets to a `preset` from {@link Control.LayoutPreset} enum. This is the code equivalent to using the Layout menu in the 2D editor.
|
|
75
76
|
* Use parameter `resizeMode` with constants from {@link Control.LayoutPresetMode} to better determine the resulting size of the {@link Control}. Constant size will be ignored if used with presets that change size, e.g. {@link PRESET_LEFT_WIDE}.
|
|
76
77
|
* Use parameter `margin` to determine the gap between the {@link Control} and the edges.
|
|
77
78
|
*/
|
|
78
|
-
setOffsetsPreset(preset: LayoutPreset, resizeMode?: LayoutPresetMode /* = 0 */, margin?: number /* = 0 */): void { _C(this,
|
|
79
|
+
setOffsetsPreset(preset: LayoutPreset, resizeMode?: LayoutPresetMode /* = 0 */, margin?: number /* = 0 */): void { _C(this, 12438, preset, resizeMode, margin); }
|
|
79
80
|
|
|
80
81
|
/**
|
|
81
82
|
* Sets both anchor preset and offset preset. See {@link setAnchorsPreset} and {@link setOffsetsPreset}.
|
|
82
83
|
*/
|
|
83
|
-
setAnchorsAndOffsetsPreset(preset: LayoutPreset, resizeMode?: LayoutPresetMode /* = 0 */, margin?: number /* = 0 */): void { _C(this,
|
|
84
|
+
setAnchorsAndOffsetsPreset(preset: LayoutPreset, resizeMode?: LayoutPresetMode /* = 0 */, margin?: number /* = 0 */): void { _C(this, 10707, preset, resizeMode, margin); }
|
|
84
85
|
|
|
85
86
|
/**
|
|
86
87
|
* Sets the anchor for the specified {@link Side} to `anchor`. A setter method for {@link anchorBottom}, {@link anchorLeft}, {@link anchorRight} and {@link anchorTop}.
|
|
87
88
|
* If `keepOffset` is `true`, offsets aren't updated after this operation.
|
|
88
89
|
* If `pushOppositeAnchor` is `true` and the opposite anchor overlaps this anchor, the opposite one will have its value overridden. For example, when setting left anchor to 1 and the right anchor has value of 0.5, the right anchor will also get value of 1. If `pushOppositeAnchor` was `false`, the left anchor would get value 0.5.
|
|
89
90
|
*/
|
|
90
|
-
setAnchor(side: Side, anchor: number, keepOffset?: boolean /* = false */, pushOppositeAnchor?: boolean /* = true */): void { _C(this,
|
|
91
|
+
setAnchor(side: Side, anchor: number, keepOffset?: boolean /* = false */, pushOppositeAnchor?: boolean /* = true */): void { _C(this, 10703, side, anchor, keepOffset, pushOppositeAnchor); }
|
|
91
92
|
|
|
92
93
|
/**
|
|
93
94
|
* Works the same as {@link setAnchor}, but instead of `keep_offset` argument and automatic update of offset, it allows to set the offset yourself (see {@link setOffset}).
|
|
94
95
|
*/
|
|
95
|
-
setAnchorAndOffset(side: Side, anchor: number, offset: number, pushOppositeAnchor?: boolean /* = false */): void { _C(this,
|
|
96
|
+
setAnchorAndOffset(side: Side, anchor: number, offset: number, pushOppositeAnchor?: boolean /* = false */): void { _C(this, 10704, side, anchor, offset, pushOppositeAnchor); }
|
|
96
97
|
|
|
97
98
|
/**
|
|
98
99
|
* Sets {@link offsetLeft} and {@link offsetTop} at the same time. Equivalent of changing {@link position}.
|
|
99
100
|
*/
|
|
100
|
-
setBegin(position: Vector2): void { _C(this,
|
|
101
|
+
setBegin(position: Vector2): void { _C(this, 10870, position); }
|
|
101
102
|
|
|
102
103
|
/**
|
|
103
104
|
* Sets {@link offsetRight} and {@link offsetBottom} at the same time.
|
|
104
105
|
*/
|
|
105
|
-
setEnd(position: Vector2): void { _C(this,
|
|
106
|
+
setEnd(position: Vector2): void { _C(this, 11518, position); }
|
|
106
107
|
|
|
107
108
|
/**
|
|
108
109
|
* Sets the {@link position} to given `position`.
|
|
109
110
|
* If `keepOffsets` is `true`, control's anchors will be updated instead of offsets.
|
|
110
111
|
*/
|
|
111
|
-
setPosition(position: Vector2, keepOffsets?: boolean /* = false */): void { _C(this,
|
|
112
|
+
setPosition(position: Vector2, keepOffsets?: boolean /* = false */): void { _C(this, 12642, position, keepOffsets); }
|
|
112
113
|
|
|
113
114
|
/**
|
|
114
115
|
* Sets the size (see {@link size}).
|
|
115
116
|
* If `keepOffsets` is `true`, control's anchors will be updated instead of offsets.
|
|
116
117
|
*/
|
|
117
|
-
setSize(size: Vector2, keepOffsets?: boolean /* = false */): void { _C(this,
|
|
118
|
+
setSize(size: Vector2, keepOffsets?: boolean /* = false */): void { _C(this, 13019, size, keepOffsets); }
|
|
118
119
|
|
|
119
120
|
/**
|
|
120
121
|
* Resets the size to {@link getCombinedMinimumSize}. This is equivalent to calling `set_size(Vector2())` (or any size below the minimum).
|
|
121
122
|
*/
|
|
122
|
-
resetSize(): void { _C(this,
|
|
123
|
+
resetSize(): void { _C(this, 10283); }
|
|
123
124
|
|
|
124
125
|
/**
|
|
125
126
|
* Sets the {@link globalPosition} to given `position`.
|
|
126
127
|
* If `keepOffsets` is `true`, control's anchors will be updated instead of offsets.
|
|
127
128
|
*/
|
|
128
|
-
setGlobalPosition(position: Vector2, keepOffsets?: boolean /* = false */): void { _C(this,
|
|
129
|
+
setGlobalPosition(position: Vector2, keepOffsets?: boolean /* = false */): void { _C(this, 11754, position, keepOffsets); }
|
|
129
130
|
|
|
130
131
|
/**
|
|
131
132
|
* Returns {@link offsetLeft} and {@link offsetTop}. See also {@link position}.
|
|
132
133
|
*/
|
|
133
|
-
getBegin(): Vector2 { return _C(this,
|
|
134
|
+
getBegin(): Vector2 { return _C(this, 3975) as Vector2; }
|
|
134
135
|
|
|
135
136
|
/**
|
|
136
137
|
* Returns {@link offsetRight} and {@link offsetBottom}.
|
|
137
138
|
*/
|
|
138
|
-
getEnd(): Vector2 { return _C(this,
|
|
139
|
+
getEnd(): Vector2 { return _C(this, 4741) as Vector2; }
|
|
139
140
|
|
|
140
141
|
/**
|
|
141
142
|
* Returns the combined value of {@link pivotOffset} and {@link pivotOffsetRatio}, in pixels. The ratio is multiplied by the control's size.
|
|
142
143
|
*/
|
|
143
|
-
getCombinedPivotOffset(): Vector2 { return _C(this,
|
|
144
|
+
getCombinedPivotOffset(): Vector2 { return _C(this, 4321) as Vector2; }
|
|
144
145
|
|
|
145
146
|
/**
|
|
146
147
|
* Returns the width/height occupied in the parent control.
|
|
147
148
|
*/
|
|
148
|
-
getParentAreaSize(): Vector2 { return _C(this,
|
|
149
|
+
getParentAreaSize(): Vector2 { return _C(this, 5930) as Vector2; }
|
|
149
150
|
|
|
150
151
|
/**
|
|
151
152
|
* Returns the position of this {@link Control} in global screen coordinates (i.e. taking window position into account). Mostly useful for editor plugins.
|
|
@@ -164,76 +165,82 @@ export class Control extends CanvasItem {
|
|
|
164
165
|
*
|
|
165
166
|
* ```
|
|
166
167
|
*/
|
|
167
|
-
getScreenPosition(): Vector2 { return _C(this,
|
|
168
|
+
getScreenPosition(): Vector2 { return _C(this, 6385) as Vector2; }
|
|
168
169
|
|
|
169
170
|
/**
|
|
170
171
|
* Returns the position and size of the control in the coordinate system of the containing node. See {@link position}, {@link scale} and {@link size}.
|
|
171
172
|
* **Note:** If {@link rotation} is not the default rotation, the resulting size is not meaningful.
|
|
172
173
|
* **Note:** Setting {@link Viewport.guiSnapControlsToPixels} to `true` can lead to rounding inaccuracies between the displayed control and the returned {@link Rect2}.
|
|
173
174
|
*/
|
|
174
|
-
getRect(): Rect2 { return _C(this,
|
|
175
|
+
getRect(): Rect2 { return _C(this, 6210) as Rect2; }
|
|
175
176
|
|
|
176
177
|
/**
|
|
177
178
|
* Returns the position and size of the control relative to the containing canvas. See {@link globalPosition} and {@link size}.
|
|
178
179
|
* **Note:** If the node itself or any parent {@link CanvasItem} between the node and the canvas have a non default rotation or skew, the resulting size is likely not meaningful.
|
|
179
180
|
* **Note:** Setting {@link Viewport.guiSnapControlsToPixels} to `true` can lead to rounding inaccuracies between the displayed control and the returned {@link Rect2}.
|
|
180
181
|
*/
|
|
181
|
-
getGlobalRect(): Rect2 { return _C(this,
|
|
182
|
+
getGlobalRect(): Rect2 { return _C(this, 5016) as Rect2; }
|
|
182
183
|
|
|
183
184
|
/**
|
|
184
185
|
* Returns the {@link focusMode}, but takes the {@link focusBehaviorRecursive} into account. If {@link focusBehaviorRecursive} is set to {@link FOCUS_BEHAVIOR_DISABLED}, or it is set to {@link FOCUS_BEHAVIOR_INHERITED} and its ancestor is set to {@link FOCUS_BEHAVIOR_DISABLED}, then this returns {@link FOCUS_NONE}.
|
|
185
186
|
*/
|
|
186
|
-
getFocusModeWithOverride(): FocusMode { return _C(this,
|
|
187
|
+
getFocusModeWithOverride(): FocusMode { return _C(this, 4908) as FocusMode; }
|
|
187
188
|
|
|
188
189
|
/**
|
|
189
190
|
* Returns `true` if this is the current focused control. See {@link focusMode}.
|
|
190
191
|
* If `ignoreHiddenFocus` is `true`, controls that have their focus hidden will always return `false`. Hidden focus happens automatically when controls gain focus via mouse input, or manually using {@link grabFocus} with `hide_focus` set to `true`.
|
|
191
192
|
*/
|
|
192
|
-
hasFocus(ignoreHiddenFocus?: boolean /* = false */): boolean { return _C(this,
|
|
193
|
+
hasFocus(ignoreHiddenFocus?: boolean /* = false */): boolean { return _C(this, 7544, ignoreHiddenFocus) as boolean; }
|
|
193
194
|
|
|
194
195
|
/**
|
|
195
196
|
* Steal the focus from another control and become the focused control (see {@link focusMode}).
|
|
196
197
|
* If `hideFocus` is `true`, the control will not visually show its focused state. Has no effect for {@link LineEdit} and {@link TextEdit} when {@link ProjectSettings.gui/common/showFocusStateOnPointerEvent} is set to `Text Input Controls`, or for any control when it is set to `Always`.
|
|
197
198
|
* **Note:** Using this method together with {@link Callable.callDeferred} makes it more reliable, especially when called inside {@link Node.Ready}.
|
|
198
199
|
*/
|
|
199
|
-
grabFocus(hideFocus?: boolean /* = false */): void { _C(this,
|
|
200
|
+
grabFocus(hideFocus?: boolean /* = false */): void { _C(this, 7430, hideFocus); }
|
|
200
201
|
|
|
201
202
|
/**
|
|
202
203
|
* Give up the focus. No other control will be able to receive input.
|
|
203
204
|
*/
|
|
204
|
-
releaseFocus(): void { _C(this,
|
|
205
|
+
releaseFocus(): void { _C(this, 10073); }
|
|
205
206
|
|
|
206
207
|
/**
|
|
207
208
|
* Finds the previous (above in the tree) {@link Control} that can receive the focus.
|
|
208
209
|
*/
|
|
209
|
-
findPrevValidFocus(): Control { return _C(this,
|
|
210
|
+
findPrevValidFocus(): Control { return _C(this, 3358) as Control; }
|
|
210
211
|
|
|
211
212
|
/**
|
|
212
213
|
* Finds the next (below in the tree) {@link Control} that can receive the focus.
|
|
213
214
|
*/
|
|
214
|
-
findNextValidFocus(): Control { return _C(this,
|
|
215
|
+
findNextValidFocus(): Control { return _C(this, 3355) as Control; }
|
|
215
216
|
|
|
216
217
|
/**
|
|
217
218
|
* Finds the next {@link Control} that can receive the focus on the specified {@link Side}.
|
|
218
219
|
* **Note:** This is different from {@link getFocusNeighbor}, which returns the path of a specified focus neighbor.
|
|
219
220
|
*/
|
|
220
|
-
findValidFocusNeighbor(side: Side): Control { return _C(this,
|
|
221
|
+
findValidFocusNeighbor(side: Side): Control { return _C(this, 3363, side) as Control; }
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Plays the sound from the `stream` resource non-positionally in the bus specified by the {@link ProjectSettings.audio/buses/guiThemeBus} project setting. Typically, the `stream` resource is obtained using {@link getThemeSound}.
|
|
225
|
+
* **Note:** This method should only be used to play UI-related sounds. It should not be used to play general game sounds, as it offers very limited control. Use the {@link AudioStreamPlayer}, {@link AudioStreamPlayer2D}, and {@link AudioStreamPlayer3D} nodes for general game audio instead.
|
|
226
|
+
*/
|
|
227
|
+
playThemeSound(stream: AudioStream): void { _C(this, 9658, stream); }
|
|
221
228
|
|
|
222
229
|
/**
|
|
223
230
|
* Prevents `*_theme_*_override` methods from emitting {@link NOTIFICATION_THEME_CHANGED} until {@link endBulkThemeOverride} is called.
|
|
224
231
|
*/
|
|
225
|
-
beginBulkThemeOverride(): void { _C(this,
|
|
232
|
+
beginBulkThemeOverride(): void { _C(this, 1778); }
|
|
226
233
|
|
|
227
234
|
/**
|
|
228
235
|
* Ends a bulk theme override update. See {@link beginBulkThemeOverride}.
|
|
229
236
|
*/
|
|
230
|
-
endBulkThemeOverride(): void { _C(this,
|
|
237
|
+
endBulkThemeOverride(): void { _C(this, 3147); }
|
|
231
238
|
|
|
232
239
|
/**
|
|
233
240
|
* Creates a local override for a theme icon with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeIconOverride}.
|
|
234
241
|
* See also {@link getThemeIcon}.
|
|
235
242
|
*/
|
|
236
|
-
addThemeIconOverride(name: StringName, texture: Texture2D): void { _C(this,
|
|
243
|
+
addThemeIconOverride(name: StringName, texture: Texture2D): void { _C(this, 1341, name, texture); }
|
|
237
244
|
|
|
238
245
|
/**
|
|
239
246
|
* Creates a local override for a theme {@link StyleBox} with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeStyleboxOverride}.
|
|
@@ -255,19 +262,19 @@ export class Control extends CanvasItem {
|
|
|
255
262
|
*
|
|
256
263
|
* ```
|
|
257
264
|
*/
|
|
258
|
-
addThemeStyleboxOverride(name: StringName, stylebox: StyleBox): void { _C(this,
|
|
265
|
+
addThemeStyleboxOverride(name: StringName, stylebox: StyleBox): void { _C(this, 1343, name, stylebox); }
|
|
259
266
|
|
|
260
267
|
/**
|
|
261
268
|
* Creates a local override for a theme {@link Font} with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeFontOverride}.
|
|
262
269
|
* See also {@link getThemeFont}.
|
|
263
270
|
*/
|
|
264
|
-
addThemeFontOverride(name: StringName, font: Font): void { _C(this,
|
|
271
|
+
addThemeFontOverride(name: StringName, font: Font): void { _C(this, 1339, name, font); }
|
|
265
272
|
|
|
266
273
|
/**
|
|
267
274
|
* Creates a local override for a theme font size with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeFontSizeOverride}.
|
|
268
275
|
* See also {@link getThemeFontSize}.
|
|
269
276
|
*/
|
|
270
|
-
addThemeFontSizeOverride(name: StringName, fontSize: number): void { _C(this,
|
|
277
|
+
addThemeFontSizeOverride(name: StringName, fontSize: number): void { _C(this, 1340, name, fontSize); }
|
|
271
278
|
|
|
272
279
|
/**
|
|
273
280
|
* Creates a local override for a theme {@link Color} with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeColorOverride}.
|
|
@@ -286,67 +293,78 @@ export class Control extends CanvasItem {
|
|
|
286
293
|
*
|
|
287
294
|
* ```
|
|
288
295
|
*/
|
|
289
|
-
addThemeColorOverride(name: StringName, color: Color): void { _C(this,
|
|
296
|
+
addThemeColorOverride(name: StringName, color: Color): void { _C(this, 1337, name, color); }
|
|
290
297
|
|
|
291
298
|
/**
|
|
292
299
|
* Creates a local override for a theme constant with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeConstantOverride}.
|
|
293
300
|
* See also {@link getThemeConstant}.
|
|
294
301
|
*/
|
|
295
|
-
addThemeConstantOverride(name: StringName, constant: number): void { _C(this,
|
|
302
|
+
addThemeConstantOverride(name: StringName, constant: number): void { _C(this, 1338, name, constant); }
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Creates a local override for a theme sound with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeSoundOverride}.
|
|
306
|
+
* See also {@link getThemeSound}.
|
|
307
|
+
*/
|
|
308
|
+
addThemeSoundOverride(name: StringName, audio: AudioStream): void { _C(this, 1342, name, audio); }
|
|
296
309
|
|
|
297
310
|
/**
|
|
298
311
|
* Removes a local override for a theme icon with the specified `name` previously added by {@link addThemeIconOverride} or via the Inspector dock.
|
|
299
312
|
*/
|
|
300
|
-
removeThemeIconOverride(name: StringName): void { _C(this,
|
|
313
|
+
removeThemeIconOverride(name: StringName): void { _C(this, 10180, name); }
|
|
301
314
|
|
|
302
315
|
/**
|
|
303
316
|
* Removes a local override for a theme {@link StyleBox} with the specified `name` previously added by {@link addThemeStyleboxOverride} or via the Inspector dock.
|
|
304
317
|
*/
|
|
305
|
-
removeThemeStyleboxOverride(name: StringName): void { _C(this,
|
|
318
|
+
removeThemeStyleboxOverride(name: StringName): void { _C(this, 10182, name); }
|
|
306
319
|
|
|
307
320
|
/**
|
|
308
321
|
* Removes a local override for a theme {@link Font} with the specified `name` previously added by {@link addThemeFontOverride} or via the Inspector dock.
|
|
309
322
|
*/
|
|
310
|
-
removeThemeFontOverride(name: StringName): void { _C(this,
|
|
323
|
+
removeThemeFontOverride(name: StringName): void { _C(this, 10178, name); }
|
|
311
324
|
|
|
312
325
|
/**
|
|
313
326
|
* Removes a local override for a theme font size with the specified `name` previously added by {@link addThemeFontSizeOverride} or via the Inspector dock.
|
|
314
327
|
*/
|
|
315
|
-
removeThemeFontSizeOverride(name: StringName): void { _C(this,
|
|
328
|
+
removeThemeFontSizeOverride(name: StringName): void { _C(this, 10179, name); }
|
|
316
329
|
|
|
317
330
|
/**
|
|
318
331
|
* Removes a local override for a theme {@link Color} with the specified `name` previously added by {@link addThemeColorOverride} or via the Inspector dock.
|
|
319
332
|
*/
|
|
320
|
-
removeThemeColorOverride(name: StringName): void { _C(this,
|
|
333
|
+
removeThemeColorOverride(name: StringName): void { _C(this, 10176, name); }
|
|
321
334
|
|
|
322
335
|
/**
|
|
323
336
|
* Removes a local override for a theme constant with the specified `name` previously added by {@link addThemeConstantOverride} or via the Inspector dock.
|
|
324
337
|
*/
|
|
325
|
-
removeThemeConstantOverride(name: StringName): void { _C(this,
|
|
338
|
+
removeThemeConstantOverride(name: StringName): void { _C(this, 10177, name); }
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Removes a local override for a theme sound with the specified `name` previously added by {@link addThemeSoundOverride} or via the Inspector dock.
|
|
342
|
+
*/
|
|
343
|
+
removeThemeSoundOverride(name: StringName): void { _C(this, 10181, name); }
|
|
326
344
|
|
|
327
345
|
/**
|
|
328
346
|
* Returns an icon from the first matching {@link Theme} in the tree if that {@link Theme} has an icon item with the specified `name` and `themeType`.
|
|
329
347
|
* See {@link getThemeColor} for details.
|
|
330
348
|
*/
|
|
331
|
-
getThemeIcon(name: StringName, themeType?: StringName /* = &"" */): Texture2D { return _C(this,
|
|
349
|
+
getThemeIcon(name: StringName, themeType?: StringName /* = &"" */): Texture2D { return _C(this, 6901, name, themeType) as Texture2D; }
|
|
332
350
|
|
|
333
351
|
/**
|
|
334
352
|
* Returns a {@link StyleBox} from the first matching {@link Theme} in the tree if that {@link Theme} has a stylebox item with the specified `name` and `themeType`.
|
|
335
353
|
* See {@link getThemeColor} for details.
|
|
336
354
|
*/
|
|
337
|
-
getThemeStylebox(name: StringName, themeType?: StringName /* = &"" */): StyleBox { return _C(this,
|
|
355
|
+
getThemeStylebox(name: StringName, themeType?: StringName /* = &"" */): StyleBox { return _C(this, 6906, name, themeType) as StyleBox; }
|
|
338
356
|
|
|
339
357
|
/**
|
|
340
358
|
* Returns a {@link Font} from the first matching {@link Theme} in the tree if that {@link Theme} has a font item with the specified `name` and `themeType`.
|
|
341
359
|
* See {@link getThemeColor} for details.
|
|
342
360
|
*/
|
|
343
|
-
getThemeFont(name: StringName, themeType?: StringName /* = &"" */): Font { return _C(this,
|
|
361
|
+
getThemeFont(name: StringName, themeType?: StringName /* = &"" */): Font { return _C(this, 6899, name, themeType) as Font; }
|
|
344
362
|
|
|
345
363
|
/**
|
|
346
364
|
* Returns a font size from the first matching {@link Theme} in the tree if that {@link Theme} has a font size item with the specified `name` and `themeType`.
|
|
347
365
|
* See {@link getThemeColor} for details.
|
|
348
366
|
*/
|
|
349
|
-
getThemeFontSize(name: StringName, themeType?: StringName /* = &"" */): number { return _C(this,
|
|
367
|
+
getThemeFontSize(name: StringName, themeType?: StringName /* = &"" */): number { return _C(this, 6900, name, themeType) as number; }
|
|
350
368
|
|
|
351
369
|
/**
|
|
352
370
|
* Returns a {@link Color} from the first matching {@link Theme} in the tree if that {@link Theme} has a color item with the specified `name` and `themeType`. If `themeType` is omitted the class name of the current control is used as the type, or {@link themeTypeVariation} if it is defined. If the type is a class name its parent classes are also checked, in order of inheritance. If the type is a variation its base types are checked, in order of dependency, then the control's class name and its parent classes are checked.
|
|
@@ -363,142 +381,160 @@ export class Control extends CanvasItem {
|
|
|
363
381
|
*
|
|
364
382
|
* ```
|
|
365
383
|
*/
|
|
366
|
-
getThemeColor(name: StringName, themeType?: StringName /* = &"" */): Color { return _C(this,
|
|
384
|
+
getThemeColor(name: StringName, themeType?: StringName /* = &"" */): Color { return _C(this, 6894, name, themeType) as Color; }
|
|
367
385
|
|
|
368
386
|
/**
|
|
369
387
|
* Returns a constant from the first matching {@link Theme} in the tree if that {@link Theme} has a constant item with the specified `name` and `themeType`.
|
|
370
388
|
* See {@link getThemeColor} for details.
|
|
371
389
|
*/
|
|
372
|
-
getThemeConstant(name: StringName, themeType?: StringName /* = &"" */): number { return _C(this,
|
|
390
|
+
getThemeConstant(name: StringName, themeType?: StringName /* = &"" */): number { return _C(this, 6895, name, themeType) as number; }
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Returns a sound from the first matching {@link Theme} in the tree if that {@link Theme} has a sound item with the specified `name` and `themeType`.
|
|
394
|
+
* See {@link getThemeColor} for details.
|
|
395
|
+
*/
|
|
396
|
+
getThemeSound(name: StringName, themeType?: StringName /* = &"" */): AudioStream { return _C(this, 6905, name, themeType) as AudioStream; }
|
|
373
397
|
|
|
374
398
|
/**
|
|
375
399
|
* Returns `true` if there is a local override for a theme icon with the specified `name` in this {@link Control} node.
|
|
376
400
|
* See {@link addThemeIconOverride}.
|
|
377
401
|
*/
|
|
378
|
-
hasThemeIconOverride(name: StringName): boolean { return _C(this,
|
|
402
|
+
hasThemeIconOverride(name: StringName): boolean { return _C(this, 7616, name) as boolean; }
|
|
379
403
|
|
|
380
404
|
/**
|
|
381
405
|
* Returns `true` if there is a local override for a theme {@link StyleBox} with the specified `name` in this {@link Control} node.
|
|
382
406
|
* See {@link addThemeStyleboxOverride}.
|
|
383
407
|
*/
|
|
384
|
-
hasThemeStyleboxOverride(name: StringName): boolean { return _C(this,
|
|
408
|
+
hasThemeStyleboxOverride(name: StringName): boolean { return _C(this, 7621, name) as boolean; }
|
|
385
409
|
|
|
386
410
|
/**
|
|
387
411
|
* Returns `true` if there is a local override for a theme {@link Font} with the specified `name` in this {@link Control} node.
|
|
388
412
|
* See {@link addThemeFontOverride}.
|
|
389
413
|
*/
|
|
390
|
-
hasThemeFontOverride(name: StringName): boolean { return _C(this,
|
|
414
|
+
hasThemeFontOverride(name: StringName): boolean { return _C(this, 7612, name) as boolean; }
|
|
391
415
|
|
|
392
416
|
/**
|
|
393
417
|
* Returns `true` if there is a local override for a theme font size with the specified `name` in this {@link Control} node.
|
|
394
418
|
* See {@link addThemeFontSizeOverride}.
|
|
395
419
|
*/
|
|
396
|
-
hasThemeFontSizeOverride(name: StringName): boolean { return _C(this,
|
|
420
|
+
hasThemeFontSizeOverride(name: StringName): boolean { return _C(this, 7614, name) as boolean; }
|
|
397
421
|
|
|
398
422
|
/**
|
|
399
423
|
* Returns `true` if there is a local override for a theme {@link Color} with the specified `name` in this {@link Control} node.
|
|
400
424
|
* See {@link addThemeColorOverride}.
|
|
401
425
|
*/
|
|
402
|
-
hasThemeColorOverride(name: StringName): boolean { return _C(this,
|
|
426
|
+
hasThemeColorOverride(name: StringName): boolean { return _C(this, 7608, name) as boolean; }
|
|
403
427
|
|
|
404
428
|
/**
|
|
405
429
|
* Returns `true` if there is a local override for a theme constant with the specified `name` in this {@link Control} node.
|
|
406
430
|
* See {@link addThemeConstantOverride}.
|
|
407
431
|
*/
|
|
408
|
-
hasThemeConstantOverride(name: StringName): boolean { return _C(this,
|
|
432
|
+
hasThemeConstantOverride(name: StringName): boolean { return _C(this, 7610, name) as boolean; }
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Returns `true` if there is a local override for a theme sound with the specified `name` in this {@link Control} node.
|
|
436
|
+
* See {@link addThemeSoundOverride}.
|
|
437
|
+
*/
|
|
438
|
+
hasThemeSoundOverride(name: StringName): boolean { return _C(this, 7619, name) as boolean; }
|
|
409
439
|
|
|
410
440
|
/**
|
|
411
441
|
* Returns `true` if there is a matching {@link Theme} in the tree that has an icon item with the specified `name` and `themeType`.
|
|
412
442
|
* See {@link getThemeColor} for details.
|
|
413
443
|
*/
|
|
414
|
-
hasThemeIcon(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
444
|
+
hasThemeIcon(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7615, name, themeType) as boolean; }
|
|
415
445
|
|
|
416
446
|
/**
|
|
417
447
|
* Returns `true` if there is a matching {@link Theme} in the tree that has a stylebox item with the specified `name` and `themeType`.
|
|
418
448
|
* See {@link getThemeColor} for details.
|
|
419
449
|
*/
|
|
420
|
-
hasThemeStylebox(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
450
|
+
hasThemeStylebox(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7620, name, themeType) as boolean; }
|
|
421
451
|
|
|
422
452
|
/**
|
|
423
453
|
* Returns `true` if there is a matching {@link Theme} in the tree that has a font item with the specified `name` and `themeType`.
|
|
424
454
|
* See {@link getThemeColor} for details.
|
|
425
455
|
*/
|
|
426
|
-
hasThemeFont(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
456
|
+
hasThemeFont(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7611, name, themeType) as boolean; }
|
|
427
457
|
|
|
428
458
|
/**
|
|
429
459
|
* Returns `true` if there is a matching {@link Theme} in the tree that has a font size item with the specified `name` and `themeType`.
|
|
430
460
|
* See {@link getThemeColor} for details.
|
|
431
461
|
*/
|
|
432
|
-
hasThemeFontSize(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
462
|
+
hasThemeFontSize(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7613, name, themeType) as boolean; }
|
|
433
463
|
|
|
434
464
|
/**
|
|
435
465
|
* Returns `true` if there is a matching {@link Theme} in the tree that has a color item with the specified `name` and `themeType`.
|
|
436
466
|
* See {@link getThemeColor} for details.
|
|
437
467
|
*/
|
|
438
|
-
hasThemeColor(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
468
|
+
hasThemeColor(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7607, name, themeType) as boolean; }
|
|
439
469
|
|
|
440
470
|
/**
|
|
441
471
|
* Returns `true` if there is a matching {@link Theme} in the tree that has a constant item with the specified `name` and `themeType`.
|
|
442
472
|
* See {@link getThemeColor} for details.
|
|
443
473
|
*/
|
|
444
|
-
hasThemeConstant(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
474
|
+
hasThemeConstant(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7609, name, themeType) as boolean; }
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Returns `true` if there is a matching {@link Theme} in the tree that has a sound item with the specified `name` and `themeType`.
|
|
478
|
+
* See {@link getThemeColor} for details.
|
|
479
|
+
*/
|
|
480
|
+
hasThemeSound(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7618, name, themeType) as boolean; }
|
|
445
481
|
|
|
446
482
|
/**
|
|
447
483
|
* Returns the default base scale value from the first matching {@link Theme} in the tree if that {@link Theme} has a valid {@link Theme.defaultBaseScale} value.
|
|
448
484
|
* See {@link getThemeColor} for details.
|
|
449
485
|
*/
|
|
450
|
-
getThemeDefaultBaseScale(): number { return _C(this,
|
|
486
|
+
getThemeDefaultBaseScale(): number { return _C(this, 6896) as number; }
|
|
451
487
|
|
|
452
488
|
/**
|
|
453
489
|
* Returns the default font from the first matching {@link Theme} in the tree if that {@link Theme} has a valid {@link Theme.defaultFont} value.
|
|
454
490
|
* See {@link getThemeColor} for details.
|
|
455
491
|
*/
|
|
456
|
-
getThemeDefaultFont(): Font { return _C(this,
|
|
492
|
+
getThemeDefaultFont(): Font { return _C(this, 6897) as Font; }
|
|
457
493
|
|
|
458
494
|
/**
|
|
459
495
|
* Returns the default font size value from the first matching {@link Theme} in the tree if that {@link Theme} has a valid {@link Theme.defaultFontSize} value.
|
|
460
496
|
* See {@link getThemeColor} for details.
|
|
461
497
|
*/
|
|
462
|
-
getThemeDefaultFontSize(): number { return _C(this,
|
|
498
|
+
getThemeDefaultFontSize(): number { return _C(this, 6898) as number; }
|
|
463
499
|
|
|
464
500
|
/**
|
|
465
501
|
* Returns the parent control node.
|
|
466
502
|
*/
|
|
467
|
-
getParentControl(): Control { return _C(this,
|
|
503
|
+
getParentControl(): Control { return _C(this, 5933) as Control; }
|
|
468
504
|
|
|
469
505
|
/**
|
|
470
506
|
* Returns the tooltip text for the position `atPosition` in the control's local coordinates, which will typically appear when the cursor is resting over this control. By default, it returns {@link tooltipText}.
|
|
471
507
|
* You can override {@link _getTooltip} to implement custom behavior for this method.
|
|
472
508
|
* **Note:** If this method returns an empty {@link String} and {@link _makeCustomTooltip} is not overridden, no tooltip is displayed.
|
|
473
509
|
*/
|
|
474
|
-
getTooltip(atPosition?: Vector2 /* = Vector2(0, 0) */): string { return _C(this,
|
|
510
|
+
getTooltip(atPosition?: Vector2 /* = Vector2(0, 0) */): string { return _C(this, 6982, atPosition) as string; }
|
|
475
511
|
|
|
476
512
|
/**
|
|
477
513
|
* Returns the mouse cursor shape for this control when hovered over `atPosition` in local coordinates. For most controls, this is the same as {@link mouseDefaultCursorShape}, but some built-in controls implement more complex logic.
|
|
478
514
|
* You can override {@link _getCursorShape} to implement custom behavior for this method.
|
|
479
515
|
*/
|
|
480
|
-
getCursorShape(atPosition?: Vector2 /* = Vector2(0, 0) */): CursorShape { return _C(this,
|
|
516
|
+
getCursorShape(atPosition?: Vector2 /* = Vector2(0, 0) */): CursorShape { return _C(this, 4446, atPosition) as CursorShape; }
|
|
481
517
|
|
|
482
518
|
/**
|
|
483
519
|
* Forces drag and bypasses {@link _getDragData} and {@link setDragPreview} by passing `data` and `preview`. Drag will start even if the mouse is neither over nor pressed on this control.
|
|
484
520
|
* The methods {@link _canDropData} and {@link _dropData} must be implemented on controls that want to receive drop data.
|
|
485
521
|
*/
|
|
486
|
-
forceDrag(data: Variant, preview: Control): void { _C(this,
|
|
522
|
+
forceDrag(data: Variant, preview: Control): void { _C(this, 3590, data, preview); }
|
|
487
523
|
|
|
488
524
|
/**
|
|
489
525
|
* Starts drag-and-drop operation without using a mouse.
|
|
490
526
|
*/
|
|
491
|
-
accessibilityDrag(): void { _C(this,
|
|
527
|
+
accessibilityDrag(): void { _C(this, 1098); }
|
|
492
528
|
|
|
493
529
|
/**
|
|
494
530
|
* Ends drag-and-drop operation without using a mouse.
|
|
495
531
|
*/
|
|
496
|
-
accessibilityDrop(): void { _C(this,
|
|
532
|
+
accessibilityDrop(): void { _C(this, 1099); }
|
|
497
533
|
|
|
498
534
|
/**
|
|
499
535
|
* Returns the {@link mouseFilter}, but takes the {@link mouseBehaviorRecursive} into account. If {@link mouseBehaviorRecursive} is set to {@link MOUSE_BEHAVIOR_DISABLED}, or it is set to {@link MOUSE_BEHAVIOR_INHERITED} and its ancestor is set to {@link MOUSE_BEHAVIOR_DISABLED}, then this returns {@link MOUSE_FILTER_IGNORE}.
|
|
500
536
|
*/
|
|
501
|
-
getMouseFilterWithOverride(): MouseFilter { return _C(this,
|
|
537
|
+
getMouseFilterWithOverride(): MouseFilter { return _C(this, 5696) as MouseFilter; }
|
|
502
538
|
|
|
503
539
|
/**
|
|
504
540
|
* Creates an {@link InputEventMouseButton} that attempts to click the control. If the event is received, the control gains focus.
|
|
@@ -511,7 +547,7 @@ export class Control extends CanvasItem {
|
|
|
511
547
|
*
|
|
512
548
|
* ```
|
|
513
549
|
*/
|
|
514
|
-
grabClickFocus(): void { _C(this,
|
|
550
|
+
grabClickFocus(): void { _C(this, 7429); }
|
|
515
551
|
|
|
516
552
|
/**
|
|
517
553
|
* Sets the given callables to be used instead of the control's own drag-and-drop virtual methods. If a callable is empty, its respective virtual method is used as normal.
|
|
@@ -520,7 +556,7 @@ export class Control extends CanvasItem {
|
|
|
520
556
|
* - `canDropFunc` corresponds to {@link _canDropData} and requires both a {@link Vector2} and a {@link Variant};
|
|
521
557
|
* - `dropFunc` corresponds to {@link _dropData} and requires both a {@link Vector2} and a {@link Variant}.
|
|
522
558
|
*/
|
|
523
|
-
setDragForwarding(dragFunc: Callable, canDropFunc: Callable, dropFunc: Callable): void { _C(this,
|
|
559
|
+
setDragForwarding(dragFunc: Callable, canDropFunc: Callable, dropFunc: Callable): void { _C(this, 11398, dragFunc, canDropFunc, dropFunc); }
|
|
524
560
|
|
|
525
561
|
/**
|
|
526
562
|
* Shows the given control at the mouse pointer. A good time to call this method is in {@link _getDragData}. The control must not be in the scene tree. You should not free the control, and you should not keep a reference to the control beyond the duration of the drag. It will be deleted automatically after the drag has ended.
|
|
@@ -540,165 +576,163 @@ export class Control extends CanvasItem {
|
|
|
540
576
|
*
|
|
541
577
|
* ```
|
|
542
578
|
*/
|
|
543
|
-
setDragPreview(control: Control): void { _C(this,
|
|
579
|
+
setDragPreview(control: Control): void { _C(this, 11403, control); }
|
|
544
580
|
|
|
545
581
|
/**
|
|
546
582
|
* Returns `true` if a drag operation is successful. Alternative to {@link Viewport.guiIsDragSuccessful}.
|
|
547
583
|
* Best used with {@link Node.NOTIFICATION_DRAG_END}.
|
|
548
584
|
*/
|
|
549
|
-
isDragSuccessful(): boolean { return _C(this,
|
|
585
|
+
isDragSuccessful(): boolean { return _C(this, 8058) as boolean; }
|
|
550
586
|
|
|
551
587
|
/**
|
|
552
588
|
* Moves the mouse cursor to `position`, relative to {@link position} of this {@link Control}.
|
|
553
589
|
* **Note:** {@link warpMouse} is only supported on Windows, macOS and Linux. It has no effect on Android, iOS and Web.
|
|
554
590
|
*/
|
|
555
|
-
warpMouse(position: Vector2): void { _C(this,
|
|
591
|
+
warpMouse(position: Vector2): void { _C(this, 15138, position); }
|
|
556
592
|
|
|
557
593
|
/**
|
|
558
|
-
* Invalidates the maximum size cache in this node and in
|
|
594
|
+
* Invalidates the maximum size cache in this node and in child nodes with {@link CanvasItem.topLevel} set to `false`. Intended to be used with {@link getMaximumSize} when the return value is changed. Setting {@link customMaximumSize} directly calls this method automatically.
|
|
559
595
|
* **Note:** Calling this method also calls {@link updateMinimumSize} since the combined minimum size may be affected by the maximum size change.
|
|
560
596
|
*/
|
|
561
|
-
updateMaximumSize(): void { _C(this,
|
|
597
|
+
updateMaximumSize(): void { _C(this, 14816); }
|
|
562
598
|
|
|
563
599
|
/**
|
|
564
600
|
* Invalidates the minimum size cache in this node and in parent nodes up to top level. Intended to be used with {@link getMinimumSize} when the return value is changed. Setting {@link customMinimumSize} directly calls this method automatically.
|
|
565
601
|
*/
|
|
566
|
-
updateMinimumSize(): void { _C(this,
|
|
602
|
+
updateMinimumSize(): void { _C(this, 14817); }
|
|
567
603
|
|
|
568
604
|
/**
|
|
569
605
|
* Returns `true` if the layout is right-to-left. See also {@link layoutDirection}.
|
|
570
606
|
*/
|
|
571
|
-
isLayoutRtl(): boolean { return _C(this,
|
|
607
|
+
isLayoutRtl(): boolean { return _C(this, 8236) as boolean; }
|
|
572
608
|
|
|
573
609
|
/**
|
|
574
610
|
* The minimum size of the node's bounding rectangle. If you set it to a value greater than `(0, 0)`, the node's bounding rectangle will always have at least this size. Note that {@link Control} nodes have their internal minimum size returned by {@link getMinimumSize}. It depends on the control's contents, like text, textures, or style boxes. The actual minimum size is the maximum value of this property and the internal minimum size (see {@link getCombinedMinimumSize}).
|
|
575
611
|
* **Note:** {@link customMaximumSize} has priority over this property. For example, if you set {@link customMinimumSize} to `(200, 200)` and {@link customMaximumSize} to `(100, 100)`, the resulting size will be `(100, 100)`.
|
|
576
612
|
*/
|
|
577
|
-
get customMinimumSize(): Vector2 { return _C(this,
|
|
578
|
-
set customMinimumSize(v: Vector2) { _C(this,
|
|
613
|
+
get customMinimumSize(): Vector2 { return _C(this, 4469) as Vector2; }
|
|
614
|
+
set customMinimumSize(v: Vector2) { _C(this, 11243, v); }
|
|
579
615
|
|
|
580
616
|
/**
|
|
581
|
-
* The maximum size of
|
|
582
|
-
* **Note:** The final effective maximum size may be subject to parent
|
|
583
|
-
* **Note:** Not all {@link Control} subtypes handle
|
|
584
|
-
* **Note:** This value has priority over {@link customMinimumSize}. For example, if you set {@link customMaximumSize} to `(100, 100)` and {@link customMinimumSize} to `(200, 200)`, the resulting size will be `(100, 100)`.
|
|
585
|
-
* **Note:** It is recommended to use {@link getBoundMinimumSize} instead of {@link getCombinedMinimumSize} when using this property, as the former respects maximum size limits when calculating the minimum size, while the latter does not.
|
|
617
|
+
* The maximum size of the node's bounding rectangle. If set to a value greater than or equal to `(0, 0)`, the node's bounding rectangle will never exceed this size. A value below `(0, 0)` means there is no maximum size. This value has priority over {@link customMinimumSize} if the two conflict.
|
|
618
|
+
* **Note:** The final effective maximum size may be subject to the parent's maximum size (via {@link propagateMaximumSize}), so it is recommended to use {@link getCombinedMaximumSize} instead of {@link getMaximumSize}. Likewise, use {@link getBoundMinimumSize} instead of {@link getCombinedMinimumSize} to account for the maximum size.
|
|
619
|
+
* **Note:** Not all {@link Control} subtypes handle this gracefully, and their contents may extend beyond the bounding rectangle. Set {@link clipContents} to `true` to prevent child controls from rendering outside of this size, especially when this node is a {@link Container}.
|
|
586
620
|
*/
|
|
587
|
-
get customMaximumSize(): Vector2 { return _C(this,
|
|
588
|
-
set customMaximumSize(v: Vector2) { _C(this,
|
|
621
|
+
get customMaximumSize(): Vector2 { return _C(this, 4467) as Vector2; }
|
|
622
|
+
set customMaximumSize(v: Vector2) { _C(this, 11241, v); }
|
|
589
623
|
|
|
590
624
|
/**
|
|
591
625
|
* If `true`, this Control's children will use the value returned by {@link getCombinedMaximumSize} in their own size calculations.
|
|
592
626
|
*/
|
|
593
|
-
get propagateMaximumSize(): boolean { return _C(this,
|
|
594
|
-
set propagateMaximumSize(v: boolean) { _C(this,
|
|
627
|
+
get propagateMaximumSize(): boolean { return _C(this, 8382) as boolean; }
|
|
628
|
+
set propagateMaximumSize(v: boolean) { _C(this, 12705, v); }
|
|
595
629
|
|
|
596
630
|
/**
|
|
597
631
|
* Enables whether rendering of {@link CanvasItem} based children should be clipped to this control's rectangle. If `true`, parts of a child which would be visibly outside of this control's rectangle will not be rendered and won't receive input.
|
|
598
632
|
*/
|
|
599
|
-
get clipContents(): boolean { return _C(this,
|
|
600
|
-
set clipContents(v: boolean) { _C(this,
|
|
633
|
+
get clipContents(): boolean { return _C(this, 7994) as boolean; }
|
|
634
|
+
set clipContents(v: boolean) { _C(this, 11088, v); }
|
|
601
635
|
|
|
602
|
-
get layoutMode(): number { return _C(this,
|
|
603
|
-
set layoutMode(v: number) { _C(this,
|
|
636
|
+
get layoutMode(): number { return _C(this, 1034) as number; }
|
|
637
|
+
set layoutMode(v: number) { _C(this, 1061, v); }
|
|
604
638
|
|
|
605
|
-
get anchorsPreset(): number { return _C(this,
|
|
606
|
-
set anchorsPreset(v: number) { _C(this,
|
|
639
|
+
get anchorsPreset(): number { return _C(this, 1025) as number; }
|
|
640
|
+
set anchorsPreset(v: number) { _C(this, 1050, v); }
|
|
607
641
|
|
|
608
642
|
/**
|
|
609
643
|
* Anchors the left edge of the node to the origin, the center or the end of its parent control. It changes how the left offset updates when the node moves or changes size. You can use one of the {@link Anchor} constants for convenience.
|
|
610
644
|
*/
|
|
611
|
-
get anchorLeft(): number { return _C(this,
|
|
612
|
-
set anchorLeft(v: number) { _C(this,
|
|
645
|
+
get anchorLeft(): number { return _C(this, 3811, 0) as number; }
|
|
646
|
+
set anchorLeft(v: number) { _C(this, 1049, 0, v); }
|
|
613
647
|
|
|
614
648
|
/**
|
|
615
649
|
* Anchors the top edge of the node to the origin, the center or the end of its parent control. It changes how the top offset updates when the node moves or changes size. You can use one of the {@link Anchor} constants for convenience.
|
|
616
650
|
*/
|
|
617
|
-
get anchorTop(): number { return _C(this,
|
|
618
|
-
set anchorTop(v: number) { _C(this,
|
|
651
|
+
get anchorTop(): number { return _C(this, 3811, 1) as number; }
|
|
652
|
+
set anchorTop(v: number) { _C(this, 1049, 1, v); }
|
|
619
653
|
|
|
620
654
|
/**
|
|
621
655
|
* Anchors the right edge of the node to the origin, the center or the end of its parent control. It changes how the right offset updates when the node moves or changes size. You can use one of the {@link Anchor} constants for convenience.
|
|
622
656
|
*/
|
|
623
|
-
get anchorRight(): number { return _C(this,
|
|
624
|
-
set anchorRight(v: number) { _C(this,
|
|
657
|
+
get anchorRight(): number { return _C(this, 3811, 2) as number; }
|
|
658
|
+
set anchorRight(v: number) { _C(this, 1049, 2, v); }
|
|
625
659
|
|
|
626
660
|
/**
|
|
627
661
|
* Anchors the bottom edge of the node to the origin, the center, or the end of its parent control. It changes how the bottom offset updates when the node moves or changes size. You can use one of the {@link Anchor} constants for convenience.
|
|
628
662
|
*/
|
|
629
|
-
get anchorBottom(): number { return _C(this,
|
|
630
|
-
set anchorBottom(v: number) { _C(this,
|
|
663
|
+
get anchorBottom(): number { return _C(this, 3811, 3) as number; }
|
|
664
|
+
set anchorBottom(v: number) { _C(this, 1049, 3, v); }
|
|
631
665
|
|
|
632
666
|
/**
|
|
633
667
|
* Distance between the node's left edge and its parent control, based on {@link anchorLeft}.
|
|
634
668
|
* Offsets are often controlled by one or multiple parent {@link Container} nodes, so you should not modify them manually if your node is a direct child of a {@link Container}. Offsets update automatically when you move or resize the node.
|
|
635
669
|
*/
|
|
636
|
-
get offsetLeft(): number { return _C(this,
|
|
637
|
-
set offsetLeft(v: number) { _C(this,
|
|
670
|
+
get offsetLeft(): number { return _C(this, 5811, 0) as number; }
|
|
671
|
+
set offsetLeft(v: number) { _C(this, 12427, 0, v); }
|
|
638
672
|
|
|
639
673
|
/**
|
|
640
674
|
* Distance between the node's top edge and its parent control, based on {@link anchorTop}.
|
|
641
675
|
* Offsets are often controlled by one or multiple parent {@link Container} nodes, so you should not modify them manually if your node is a direct child of a {@link Container}. Offsets update automatically when you move or resize the node.
|
|
642
676
|
*/
|
|
643
|
-
get offsetTop(): number { return _C(this,
|
|
644
|
-
set offsetTop(v: number) { _C(this,
|
|
677
|
+
get offsetTop(): number { return _C(this, 5811, 1) as number; }
|
|
678
|
+
set offsetTop(v: number) { _C(this, 12427, 1, v); }
|
|
645
679
|
|
|
646
680
|
/**
|
|
647
681
|
* Distance between the node's right edge and its parent control, based on {@link anchorRight}.
|
|
648
682
|
* Offsets are often controlled by one or multiple parent {@link Container} nodes, so you should not modify them manually if your node is a direct child of a {@link Container}. Offsets update automatically when you move or resize the node.
|
|
649
683
|
*/
|
|
650
|
-
get offsetRight(): number { return _C(this,
|
|
651
|
-
set offsetRight(v: number) { _C(this,
|
|
684
|
+
get offsetRight(): number { return _C(this, 5811, 2) as number; }
|
|
685
|
+
set offsetRight(v: number) { _C(this, 12427, 2, v); }
|
|
652
686
|
|
|
653
687
|
/**
|
|
654
688
|
* Distance between the node's bottom edge and its parent control, based on {@link anchorBottom}.
|
|
655
689
|
* Offsets are often controlled by one or multiple parent {@link Container} nodes, so you should not modify them manually if your node is a direct child of a {@link Container}. Offsets update automatically when you move or resize the node.
|
|
656
690
|
*/
|
|
657
|
-
get offsetBottom(): number { return _C(this,
|
|
658
|
-
set offsetBottom(v: number) { _C(this,
|
|
691
|
+
get offsetBottom(): number { return _C(this, 5811, 3) as number; }
|
|
692
|
+
set offsetBottom(v: number) { _C(this, 12427, 3, v); }
|
|
659
693
|
|
|
660
694
|
/**
|
|
661
|
-
* Controls the direction on the horizontal axis in which the control should grow if its horizontal
|
|
695
|
+
* Controls the direction on the horizontal axis in which the control should grow or shrink if its horizontal size is changed.
|
|
662
696
|
*/
|
|
663
|
-
get growHorizontal(): GrowDirection { return _C(this,
|
|
664
|
-
set growHorizontal(v: GrowDirection) { _C(this,
|
|
697
|
+
get growHorizontal(): GrowDirection { return _C(this, 5086) as GrowDirection; }
|
|
698
|
+
set growHorizontal(v: GrowDirection) { _C(this, 11822, v); }
|
|
665
699
|
|
|
666
700
|
/**
|
|
667
|
-
* Controls the direction on the vertical axis in which the control should grow if its vertical
|
|
701
|
+
* Controls the direction on the vertical axis in which the control should grow or shrink if its vertical size is changed.
|
|
668
702
|
*/
|
|
669
|
-
get growVertical(): GrowDirection { return _C(this,
|
|
670
|
-
set growVertical(v: GrowDirection) { _C(this,
|
|
703
|
+
get growVertical(): GrowDirection { return _C(this, 7152) as GrowDirection; }
|
|
704
|
+
set growVertical(v: GrowDirection) { _C(this, 13538, v); }
|
|
671
705
|
|
|
672
706
|
/**
|
|
673
707
|
* The size of the node's bounding rectangle, in the node's coordinate system. {@link Container} nodes update this property automatically.
|
|
674
708
|
*/
|
|
675
|
-
get size(): Vector2 { return _C(this,
|
|
676
|
-
set size(v: Vector2) { _C(this,
|
|
709
|
+
get size(): Vector2 { return _C(this, 6525) as Vector2; }
|
|
710
|
+
set size(v: Vector2) { _C(this, 1073, v); }
|
|
677
711
|
|
|
678
712
|
/**
|
|
679
713
|
* The node's position, relative to its containing node. It corresponds to the rectangle's top-left corner. The property is not affected by {@link pivotOffset}.
|
|
680
714
|
*/
|
|
681
|
-
get position(): Vector2 { return _C(this,
|
|
682
|
-
set position(v: Vector2) { _C(this,
|
|
715
|
+
get position(): Vector2 { return _C(this, 6088) as Vector2; }
|
|
716
|
+
set position(v: Vector2) { _C(this, 1069, v); }
|
|
683
717
|
|
|
684
718
|
/**
|
|
685
719
|
* The node's global position, relative to the world (usually to the {@link CanvasLayer}).
|
|
686
720
|
*/
|
|
687
|
-
get globalPosition(): Vector2 { return _C(this,
|
|
688
|
-
set globalPosition(v: Vector2) { _C(this,
|
|
721
|
+
get globalPosition(): Vector2 { return _C(this, 5015) as Vector2; }
|
|
722
|
+
set globalPosition(v: Vector2) { _C(this, 1058, v); }
|
|
689
723
|
|
|
690
724
|
/**
|
|
691
725
|
* The node's rotation around its pivot, in radians. See {@link pivotOffset} to change the pivot's position.
|
|
692
726
|
* **Note:** This property is edited in the inspector in degrees. If you want to use degrees in a script, use {@link rotationDegrees}.
|
|
693
727
|
*/
|
|
694
|
-
get rotation(): number { return _C(this,
|
|
695
|
-
set rotation(v: number) { _C(this,
|
|
728
|
+
get rotation(): number { return _C(this, 6326) as number; }
|
|
729
|
+
set rotation(v: number) { _C(this, 12841, v); }
|
|
696
730
|
|
|
697
731
|
/**
|
|
698
732
|
* Helper property to access {@link rotation} in degrees instead of radians.
|
|
699
733
|
*/
|
|
700
|
-
get rotationDegrees(): number { return _C(this,
|
|
701
|
-
set rotationDegrees(v: number) { _C(this,
|
|
734
|
+
get rotationDegrees(): number { return _C(this, 6331) as number; }
|
|
735
|
+
set rotationDegrees(v: number) { _C(this, 12846, v); }
|
|
702
736
|
|
|
703
737
|
/**
|
|
704
738
|
* The node's scale, relative to its {@link size}. Change this property to scale the node around its {@link pivotOffset}. The Control's tooltip will also scale according to this value.
|
|
@@ -706,124 +740,124 @@ export class Control extends CanvasItem {
|
|
|
706
740
|
* **Note:** {@link FontFile.oversampling} does *not* take {@link Control} {@link scale} into account. This means that scaling up/down will cause bitmap fonts and rasterized (non-MSDF) dynamic fonts to appear blurry or pixelated. To ensure text remains crisp regardless of scale, you can enable MSDF font rendering by enabling {@link ProjectSettings.gui/theme/defaultFontMultichannelSignedDistanceField} (applies to the default project font only), or enabling **Multichannel Signed Distance Field** in the import options of a DynamicFont for custom fonts. On system fonts, {@link SystemFont.multichannelSignedDistanceField} can be enabled in the inspector.
|
|
707
741
|
* **Note:** If the Control node is a child of a {@link Container} node, the scale will be reset to `Vector2(1, 1)` when the scene is instantiated. To set the Control's scale when it's instantiated, wait for one frame using `await get_tree().process_frame` then set its {@link scale} property.
|
|
708
742
|
*/
|
|
709
|
-
get scale(): Vector2 { return _C(this,
|
|
710
|
-
set scale(v: Vector2) { _C(this,
|
|
743
|
+
get scale(): Vector2 { return _C(this, 6359) as Vector2; }
|
|
744
|
+
set scale(v: Vector2) { _C(this, 12872, v); }
|
|
711
745
|
|
|
712
746
|
/**
|
|
713
747
|
* By default, the node's pivot is its top-left corner. When you change its {@link rotation} or {@link scale}, it will rotate or scale around this pivot.
|
|
714
748
|
* The actual offset is the combined value of this property and {@link pivotOffsetRatio}.
|
|
715
749
|
*/
|
|
716
|
-
get pivotOffset(): Vector2 { return _C(this,
|
|
717
|
-
set pivotOffset(v: Vector2) { _C(this,
|
|
750
|
+
get pivotOffset(): Vector2 { return _C(this, 6022) as Vector2; }
|
|
751
|
+
set pivotOffset(v: Vector2) { _C(this, 12591, v); }
|
|
718
752
|
|
|
719
753
|
/**
|
|
720
754
|
* Same as {@link pivotOffset}, but expressed as uniform vector, where `Vector2(0, 0)` is the top-left corner of this control, and `Vector2(1, 1)` is its bottom-right corner. Set this property to `Vector2(0.5, 0.5)` to pivot around this control's center.
|
|
721
755
|
* The actual offset is the combined value of this property and {@link pivotOffset}.
|
|
722
756
|
*/
|
|
723
|
-
get pivotOffsetRatio(): Vector2 { return _C(this,
|
|
724
|
-
set pivotOffsetRatio(v: Vector2) { _C(this,
|
|
757
|
+
get pivotOffsetRatio(): Vector2 { return _C(this, 6023) as Vector2; }
|
|
758
|
+
set pivotOffsetRatio(v: Vector2) { _C(this, 12592, v); }
|
|
725
759
|
|
|
726
760
|
/**
|
|
727
761
|
* Tells the parent {@link Container} nodes how they should resize and place the node on the X axis. Use a combination of the {@link SizeFlags} constants to change the flags. See the constants to learn what each does.
|
|
728
762
|
*/
|
|
729
|
-
get sizeFlagsHorizontal(): SizeFlags { return _C(this,
|
|
730
|
-
set sizeFlagsHorizontal(v: SizeFlags) { _C(this,
|
|
763
|
+
get sizeFlagsHorizontal(): SizeFlags { return _C(this, 5090) as SizeFlags; }
|
|
764
|
+
set sizeFlagsHorizontal(v: SizeFlags) { _C(this, 11826, v); }
|
|
731
765
|
|
|
732
766
|
/**
|
|
733
767
|
* Tells the parent {@link Container} nodes how they should resize and place the node on the Y axis. Use a combination of the {@link SizeFlags} constants to change the flags. See the constants to learn what each does.
|
|
734
768
|
*/
|
|
735
|
-
get sizeFlagsVertical(): SizeFlags { return _C(this,
|
|
736
|
-
set sizeFlagsVertical(v: SizeFlags) { _C(this,
|
|
769
|
+
get sizeFlagsVertical(): SizeFlags { return _C(this, 7157) as SizeFlags; }
|
|
770
|
+
set sizeFlagsVertical(v: SizeFlags) { _C(this, 13543, v); }
|
|
737
771
|
|
|
738
772
|
/**
|
|
739
773
|
* If the node and at least one of its neighbors uses the {@link SIZE_EXPAND} size flag, the parent {@link Container} will let it take more or less space depending on this property. If this node has a stretch ratio of 2 and its neighbor a ratio of 1, this node will take two thirds of the available space.
|
|
740
774
|
*/
|
|
741
|
-
get sizeFlagsStretchRatio(): number { return _C(this,
|
|
742
|
-
set sizeFlagsStretchRatio(v: number) { _C(this,
|
|
775
|
+
get sizeFlagsStretchRatio(): number { return _C(this, 6702) as number; }
|
|
776
|
+
set sizeFlagsStretchRatio(v: number) { _C(this, 13177, v); }
|
|
743
777
|
|
|
744
778
|
/**
|
|
745
779
|
* If `true`, applies all offset transform properties. Otherwise, no offset transform is applied and the properties have no effect.
|
|
746
780
|
*/
|
|
747
|
-
get offsetTransformEnabled(): boolean { return _C(this,
|
|
748
|
-
set offsetTransformEnabled(v: boolean) { _C(this,
|
|
781
|
+
get offsetTransformEnabled(): boolean { return _C(this, 8312) as boolean; }
|
|
782
|
+
set offsetTransformEnabled(v: boolean) { _C(this, 12429, v); }
|
|
749
783
|
|
|
750
784
|
/**
|
|
751
785
|
* Position offset in absolute units. The final offset is the combined value of this property and {@link offsetTransformPositionRatio}.
|
|
752
786
|
* Has no effect unless {@link offsetTransformEnabled} is `true`.
|
|
753
787
|
*/
|
|
754
|
-
get offsetTransformPosition(): Vector2 { return _C(this,
|
|
755
|
-
set offsetTransformPosition(v: Vector2) { _C(this,
|
|
788
|
+
get offsetTransformPosition(): Vector2 { return _C(this, 5817) as Vector2; }
|
|
789
|
+
set offsetTransformPosition(v: Vector2) { _C(this, 12432, v); }
|
|
756
790
|
|
|
757
791
|
/**
|
|
758
792
|
* Same as {@link offsetTransformPosition} but expressed in units relative to the {@link Control} {@link size} where `Vector2(0, 0)` is the top-left corner of this control, and `Vector2(1, 1)` is its bottom-right corner.
|
|
759
793
|
* The final offset is the combined value of this property and {@link offsetTransformPosition}.
|
|
760
794
|
* Has no effect unless {@link offsetTransformEnabled} is `true`.
|
|
761
795
|
*/
|
|
762
|
-
get offsetTransformPositionRatio(): Vector2 { return _C(this,
|
|
763
|
-
set offsetTransformPositionRatio(v: Vector2) { _C(this,
|
|
796
|
+
get offsetTransformPositionRatio(): Vector2 { return _C(this, 5818) as Vector2; }
|
|
797
|
+
set offsetTransformPositionRatio(v: Vector2) { _C(this, 12433, v); }
|
|
764
798
|
|
|
765
799
|
/**
|
|
766
800
|
* Scale offset. The scale pivot is defined by {@link offsetTransformPivot} and {@link offsetTransformPivotRatio}.
|
|
767
801
|
* Has no effect unless {@link offsetTransformEnabled} is `true`.
|
|
768
802
|
*/
|
|
769
|
-
get offsetTransformScale(): Vector2 { return _C(this,
|
|
770
|
-
set offsetTransformScale(v: Vector2) { _C(this,
|
|
803
|
+
get offsetTransformScale(): Vector2 { return _C(this, 5820) as Vector2; }
|
|
804
|
+
set offsetTransformScale(v: Vector2) { _C(this, 12435, v); }
|
|
771
805
|
|
|
772
806
|
/**
|
|
773
807
|
* Rotation offset. The rotation pivot is defined by {@link offsetTransformPivot} and {@link offsetTransformPivotRatio}.
|
|
774
808
|
* Has no effect unless {@link offsetTransformEnabled} is `true`.
|
|
775
809
|
*/
|
|
776
|
-
get offsetTransformRotation(): number { return _C(this,
|
|
777
|
-
set offsetTransformRotation(v: number) { _C(this,
|
|
810
|
+
get offsetTransformRotation(): number { return _C(this, 5819) as number; }
|
|
811
|
+
set offsetTransformRotation(v: number) { _C(this, 12434, v); }
|
|
778
812
|
|
|
779
813
|
/**
|
|
780
814
|
* Pivot used by {@link offsetTransformRotation} and {@link offsetTransformScale} in absolute units.
|
|
781
815
|
* The final pivot position is the combined value of this property and {@link offsetTransformPivotRatio}.
|
|
782
816
|
* Has no effect unless {@link offsetTransformEnabled} is `true`.
|
|
783
817
|
*/
|
|
784
|
-
get offsetTransformPivot(): Vector2 { return _C(this,
|
|
785
|
-
set offsetTransformPivot(v: Vector2) { _C(this,
|
|
818
|
+
get offsetTransformPivot(): Vector2 { return _C(this, 5815) as Vector2; }
|
|
819
|
+
set offsetTransformPivot(v: Vector2) { _C(this, 12430, v); }
|
|
786
820
|
|
|
787
821
|
/**
|
|
788
822
|
* Same as {@link offsetTransformPivot} but expressed in units relative to the {@link Control} {@link size} where `Vector2(0, 0)` is the top-left corner of this control, and `Vector2(1, 1)` is its bottom-right corner.
|
|
789
823
|
* The final pivot position is the combined value of this property and {@link offsetTransformPivot}.
|
|
790
824
|
* Has no effect unless {@link offsetTransformEnabled} is `true`.
|
|
791
825
|
*/
|
|
792
|
-
get offsetTransformPivotRatio(): Vector2 { return _C(this,
|
|
793
|
-
set offsetTransformPivotRatio(v: Vector2) { _C(this,
|
|
826
|
+
get offsetTransformPivotRatio(): Vector2 { return _C(this, 5816) as Vector2; }
|
|
827
|
+
set offsetTransformPivotRatio(v: Vector2) { _C(this, 12431, v); }
|
|
794
828
|
|
|
795
829
|
/**
|
|
796
830
|
* If `true`, the offset transforms is only applied visually and does not affect input. In other words, this Control will still receive input events at its original location before the offset transform is applied.
|
|
797
831
|
* If `false`, the entire transform of this Control is affected and input events will register where the Control is visually.
|
|
798
832
|
* Has no effect unless {@link offsetTransformEnabled} is `true`.
|
|
799
833
|
*/
|
|
800
|
-
get offsetTransformVisualOnly(): boolean { return _C(this,
|
|
801
|
-
set offsetTransformVisualOnly(v: boolean) { _C(this,
|
|
834
|
+
get offsetTransformVisualOnly(): boolean { return _C(this, 8313) as boolean; }
|
|
835
|
+
set offsetTransformVisualOnly(v: boolean) { _C(this, 12436, v); }
|
|
802
836
|
|
|
803
837
|
/**
|
|
804
838
|
* If `true`, automatically converts code line numbers, list indices, {@link SpinBox} and {@link ProgressBar} values from the Western Arabic (0..9) to the numeral systems used in current locale.
|
|
805
839
|
* **Note:** Numbers within the text are not automatically converted, it can be done manually, using {@link TextServer.formatNumber}.
|
|
806
840
|
*/
|
|
807
|
-
get localizeNumeralSystem(): boolean { return _C(this,
|
|
808
|
-
set localizeNumeralSystem(v: boolean) { _C(this,
|
|
841
|
+
get localizeNumeralSystem(): boolean { return _C(this, 8260) as boolean; }
|
|
842
|
+
set localizeNumeralSystem(v: boolean) { _C(this, 12189, v); }
|
|
809
843
|
|
|
810
844
|
/**
|
|
811
845
|
* Controls layout direction and text writing direction. Right-to-left layouts are necessary for certain languages (e.g. Arabic and Hebrew). See also {@link isLayoutRtl}.
|
|
812
846
|
*/
|
|
813
|
-
get layoutDirection(): LayoutDirection { return _C(this,
|
|
814
|
-
set layoutDirection(v: LayoutDirection) { _C(this,
|
|
847
|
+
get layoutDirection(): LayoutDirection { return _C(this, 5424) as LayoutDirection; }
|
|
848
|
+
set layoutDirection(v: LayoutDirection) { _C(this, 12134, v); }
|
|
815
849
|
|
|
816
850
|
/**
|
|
817
851
|
* The translation context used when translating this control's displayed text, if it has any. Also used when generating translation templates.
|
|
818
852
|
*/
|
|
819
|
-
get translationContext(): StringName { return _C(this,
|
|
820
|
-
set translationContext(v: StringName) { _C(this,
|
|
853
|
+
get translationContext(): StringName { return _C(this, 7031) as StringName; }
|
|
854
|
+
set translationContext(v: StringName) { _C(this, 13414, v); }
|
|
821
855
|
|
|
822
856
|
/**
|
|
823
857
|
* Toggles if any text should automatically change to its translated version depending on the current locale.
|
|
824
858
|
*/
|
|
825
|
-
get autoTranslate(): boolean { return _C(this,
|
|
826
|
-
set autoTranslate(v: boolean) { _C(this,
|
|
859
|
+
get autoTranslate(): boolean { return _C(this, 7935) as boolean; }
|
|
860
|
+
set autoTranslate(v: boolean) { _C(this, 10801, v); }
|
|
827
861
|
|
|
828
862
|
/**
|
|
829
863
|
* The default tooltip text. The tooltip appears when the user's mouse cursor stays idle over this control for a few moments, provided that the {@link mouseFilter} property is not {@link MOUSE_FILTER_IGNORE}. The time required for the tooltip to appear can be changed with the {@link ProjectSettings.gui/timers/tooltipDelaySec} setting.
|
|
@@ -842,147 +876,147 @@ export class Control extends CanvasItem {
|
|
|
842
876
|
*
|
|
843
877
|
* ```
|
|
844
878
|
*/
|
|
845
|
-
get tooltipText(): string { return _C(this,
|
|
846
|
-
set tooltipText(v: string) { _C(this,
|
|
879
|
+
get tooltipText(): string { return _C(this, 6984) as string; }
|
|
880
|
+
set tooltipText(v: string) { _C(this, 13387, v); }
|
|
847
881
|
|
|
848
882
|
/**
|
|
849
883
|
* Defines if tooltip text should automatically change to its translated version depending on the current locale. Uses the same auto translate mode as this control when set to {@link Node.AUTO_TRANSLATE_MODE_INHERIT}.
|
|
850
884
|
* **Note:** Tooltips customized using {@link _makeCustomTooltip} do not use this auto translate mode automatically.
|
|
851
885
|
*/
|
|
852
|
-
get tooltipAutoTranslateMode(): AutoTranslateMode { return _C(this,
|
|
853
|
-
set tooltipAutoTranslateMode(v: AutoTranslateMode) { _C(this,
|
|
886
|
+
get tooltipAutoTranslateMode(): AutoTranslateMode { return _C(this, 6983) as AutoTranslateMode; }
|
|
887
|
+
set tooltipAutoTranslateMode(v: AutoTranslateMode) { _C(this, 13385, v); }
|
|
854
888
|
|
|
855
889
|
/**
|
|
856
890
|
* Tells Godot which node it should give focus to if the user presses the left arrow on the keyboard or left on a gamepad by default. You can change the key by editing the {@link ProjectSettings.input/uiLeft} input action. The node must be a {@link Control}. If this property is not set, Godot will give focus to the closest {@link Control} to the left of this one.
|
|
857
891
|
*/
|
|
858
|
-
get focusNeighborLeft(): NodePath { return _C(this,
|
|
859
|
-
set focusNeighborLeft(v: NodePath) { _C(this,
|
|
892
|
+
get focusNeighborLeft(): NodePath { return _C(this, 4909, 0) as NodePath; }
|
|
893
|
+
set focusNeighborLeft(v: NodePath) { _C(this, 11662, 0, v); }
|
|
860
894
|
|
|
861
895
|
/**
|
|
862
896
|
* Tells Godot which node it should give focus to if the user presses the top arrow on the keyboard or top on a gamepad by default. You can change the key by editing the {@link ProjectSettings.input/uiUp} input action. The node must be a {@link Control}. If this property is not set, Godot will give focus to the closest {@link Control} to the top of this one.
|
|
863
897
|
*/
|
|
864
|
-
get focusNeighborTop(): NodePath { return _C(this,
|
|
865
|
-
set focusNeighborTop(v: NodePath) { _C(this,
|
|
898
|
+
get focusNeighborTop(): NodePath { return _C(this, 4909, 1) as NodePath; }
|
|
899
|
+
set focusNeighborTop(v: NodePath) { _C(this, 11662, 1, v); }
|
|
866
900
|
|
|
867
901
|
/**
|
|
868
902
|
* Tells Godot which node it should give focus to if the user presses the right arrow on the keyboard or right on a gamepad by default. You can change the key by editing the {@link ProjectSettings.input/uiRight} input action. The node must be a {@link Control}. If this property is not set, Godot will give focus to the closest {@link Control} to the right of this one.
|
|
869
903
|
*/
|
|
870
|
-
get focusNeighborRight(): NodePath { return _C(this,
|
|
871
|
-
set focusNeighborRight(v: NodePath) { _C(this,
|
|
904
|
+
get focusNeighborRight(): NodePath { return _C(this, 4909, 2) as NodePath; }
|
|
905
|
+
set focusNeighborRight(v: NodePath) { _C(this, 11662, 2, v); }
|
|
872
906
|
|
|
873
907
|
/**
|
|
874
908
|
* Tells Godot which node it should give focus to if the user presses the down arrow on the keyboard or down on a gamepad by default. You can change the key by editing the {@link ProjectSettings.input/uiDown} input action. The node must be a {@link Control}. If this property is not set, Godot will give focus to the closest {@link Control} to the bottom of this one.
|
|
875
909
|
*/
|
|
876
|
-
get focusNeighborBottom(): NodePath { return _C(this,
|
|
877
|
-
set focusNeighborBottom(v: NodePath) { _C(this,
|
|
910
|
+
get focusNeighborBottom(): NodePath { return _C(this, 4909, 3) as NodePath; }
|
|
911
|
+
set focusNeighborBottom(v: NodePath) { _C(this, 11662, 3, v); }
|
|
878
912
|
|
|
879
913
|
/**
|
|
880
914
|
* Tells Godot which node it should give focus to if the user presses `Tab` on a keyboard by default. You can change the key by editing the {@link ProjectSettings.input/uiFocusNext} input action.
|
|
881
915
|
* If this property is not set, Godot will select a "best guess" based on surrounding nodes in the scene tree.
|
|
882
916
|
*/
|
|
883
|
-
get focusNext(): NodePath { return _C(this,
|
|
884
|
-
set focusNext(v: NodePath) { _C(this,
|
|
917
|
+
get focusNext(): NodePath { return _C(this, 4910) as NodePath; }
|
|
918
|
+
set focusNext(v: NodePath) { _C(this, 11663, v); }
|
|
885
919
|
|
|
886
920
|
/**
|
|
887
921
|
* Tells Godot which node it should give focus to if the user presses `Shift + Tab` on a keyboard by default. You can change the key by editing the {@link ProjectSettings.input/uiFocusPrev} input action.
|
|
888
922
|
* If this property is not set, Godot will select a "best guess" based on surrounding nodes in the scene tree.
|
|
889
923
|
*/
|
|
890
|
-
get focusPrevious(): NodePath { return _C(this,
|
|
891
|
-
set focusPrevious(v: NodePath) { _C(this,
|
|
924
|
+
get focusPrevious(): NodePath { return _C(this, 4911) as NodePath; }
|
|
925
|
+
set focusPrevious(v: NodePath) { _C(this, 11664, v); }
|
|
892
926
|
|
|
893
927
|
/**
|
|
894
928
|
* Determines which controls can be focused. Only one control can be focused at a time, and the focused control will receive keyboard, gamepad, and mouse events in {@link _guiInput}. Use {@link getFocusModeWithOverride} to determine if a control can grab focus, since {@link focusBehaviorRecursive} also affects it. See also {@link grabFocus}.
|
|
895
929
|
*/
|
|
896
|
-
get focusMode(): FocusMode { return _C(this,
|
|
897
|
-
set focusMode(v: FocusMode) { _C(this,
|
|
930
|
+
get focusMode(): FocusMode { return _C(this, 4907) as FocusMode; }
|
|
931
|
+
set focusMode(v: FocusMode) { _C(this, 11661, v); }
|
|
898
932
|
|
|
899
933
|
/**
|
|
900
934
|
* Determines which controls can be focused together with {@link focusMode}. See {@link getFocusModeWithOverride}. Since the default behavior is {@link FOCUS_BEHAVIOR_INHERITED}, this can be used to prevent all children controls from getting focused.
|
|
901
935
|
*/
|
|
902
|
-
get focusBehaviorRecursive(): FocusBehaviorRecursive { return _C(this,
|
|
903
|
-
set focusBehaviorRecursive(v: FocusBehaviorRecursive) { _C(this,
|
|
936
|
+
get focusBehaviorRecursive(): FocusBehaviorRecursive { return _C(this, 4905) as FocusBehaviorRecursive; }
|
|
937
|
+
set focusBehaviorRecursive(v: FocusBehaviorRecursive) { _C(this, 11659, v); }
|
|
904
938
|
|
|
905
939
|
/**
|
|
906
940
|
* Determines which controls will be able to receive mouse button input events through {@link _guiInput} and the {@link mouse_entered}, and {@link mouse_exited} signals. Also determines how these events should be propagated. See the constants to learn what each does. Use {@link getMouseFilterWithOverride} to determine if a control can receive mouse input, since {@link mouseBehaviorRecursive} also affects it.
|
|
907
941
|
*/
|
|
908
|
-
get mouseFilter(): MouseFilter { return _C(this,
|
|
909
|
-
set mouseFilter(v: MouseFilter) { _C(this,
|
|
942
|
+
get mouseFilter(): MouseFilter { return _C(this, 5695) as MouseFilter; }
|
|
943
|
+
set mouseFilter(v: MouseFilter) { _C(this, 12351, v); }
|
|
910
944
|
|
|
911
945
|
/**
|
|
912
946
|
* Determines which controls can receive mouse input together with {@link mouseFilter}. See {@link getMouseFilterWithOverride}. Since the default behavior is {@link MOUSE_BEHAVIOR_INHERITED}, this can be used to prevent all children controls from receiving mouse input.
|
|
913
947
|
*/
|
|
914
|
-
get mouseBehaviorRecursive(): MouseBehaviorRecursive { return _C(this,
|
|
915
|
-
set mouseBehaviorRecursive(v: MouseBehaviorRecursive) { _C(this,
|
|
948
|
+
get mouseBehaviorRecursive(): MouseBehaviorRecursive { return _C(this, 5693) as MouseBehaviorRecursive; }
|
|
949
|
+
set mouseBehaviorRecursive(v: MouseBehaviorRecursive) { _C(this, 12350, v); }
|
|
916
950
|
|
|
917
951
|
/**
|
|
918
952
|
* When enabled, scroll wheel events processed by {@link _guiInput} will be passed to the parent control even if {@link mouseFilter} is set to {@link MOUSE_FILTER_STOP}.
|
|
919
953
|
* You should disable it on the root of your UI if you do not want scroll events to go to the {@link Node.UnhandledInput} processing.
|
|
920
954
|
* **Note:** Because this property defaults to `true`, this allows nested scrollable containers to work out of the box.
|
|
921
955
|
*/
|
|
922
|
-
get mouseForcePassScrollEvents(): boolean { return _C(this,
|
|
923
|
-
set mouseForcePassScrollEvents(v: boolean) { _C(this,
|
|
956
|
+
get mouseForcePassScrollEvents(): boolean { return _C(this, 8132) as boolean; }
|
|
957
|
+
set mouseForcePassScrollEvents(v: boolean) { _C(this, 11698, v); }
|
|
924
958
|
|
|
925
959
|
/**
|
|
926
960
|
* The default cursor shape for this control. Useful for Godot plugins and applications or games that use the system's mouse cursors.
|
|
927
961
|
* **Note:** On Linux, shapes may vary depending on the cursor theme of the system.
|
|
928
962
|
*/
|
|
929
|
-
get mouseDefaultCursorShape(): CursorShape { return _C(this,
|
|
930
|
-
set mouseDefaultCursorShape(v: CursorShape) { _C(this,
|
|
963
|
+
get mouseDefaultCursorShape(): CursorShape { return _C(this, 4526) as CursorShape; }
|
|
964
|
+
set mouseDefaultCursorShape(v: CursorShape) { _C(this, 11288, v); }
|
|
931
965
|
|
|
932
966
|
/**
|
|
933
967
|
* The {@link Node} which must be a parent of the focused {@link Control} for the shortcut to be activated. If `null`, the shortcut can be activated when any control is focused (a global shortcut). This allows shortcuts to be accepted only when the user has a certain area of the GUI focused.
|
|
934
968
|
*/
|
|
935
|
-
get shortcutContext(): Node { return _C(this,
|
|
936
|
-
set shortcutContext(v: Node) { _C(this,
|
|
969
|
+
get shortcutContext(): Node { return _C(this, 6504) as Node; }
|
|
970
|
+
set shortcutContext(v: Node) { _C(this, 12992, v); }
|
|
937
971
|
|
|
938
972
|
/**
|
|
939
973
|
* The human-readable node name that is reported to assistive apps.
|
|
940
974
|
*/
|
|
941
|
-
get accessibilityName(): string { return _C(this,
|
|
942
|
-
set accessibilityName(v: string) { _C(this,
|
|
975
|
+
get accessibilityName(): string { return _C(this, 3738) as string; }
|
|
976
|
+
set accessibilityName(v: string) { _C(this, 10628, v); }
|
|
943
977
|
|
|
944
978
|
/**
|
|
945
979
|
* The human-readable node description that is reported to assistive apps.
|
|
946
980
|
*/
|
|
947
|
-
get accessibilityDescription(): string { return _C(this,
|
|
948
|
-
set accessibilityDescription(v: string) { _C(this,
|
|
981
|
+
get accessibilityDescription(): string { return _C(this, 3733) as string; }
|
|
982
|
+
set accessibilityDescription(v: string) { _C(this, 10624, v); }
|
|
949
983
|
|
|
950
984
|
/**
|
|
951
985
|
* The mode with which a live region updates. A live region is a {@link Node} that is updated as a result of an external event when the user's focus may be elsewhere.
|
|
952
986
|
*/
|
|
953
|
-
get accessibilityLive(): AccessibilityLiveMode { return _C(this,
|
|
954
|
-
set accessibilityLive(v: AccessibilityLiveMode) { _C(this,
|
|
987
|
+
get accessibilityLive(): AccessibilityLiveMode { return _C(this, 3737) as AccessibilityLiveMode; }
|
|
988
|
+
set accessibilityLive(v: AccessibilityLiveMode) { _C(this, 10627, v); }
|
|
955
989
|
|
|
956
990
|
/**
|
|
957
991
|
* The paths to the nodes which are controlled by this node.
|
|
958
992
|
*/
|
|
959
|
-
get accessibilityControlsNodes(): GodotArray<NodePath> { return _C(this,
|
|
960
|
-
set accessibilityControlsNodes(v: GodotArray<NodePath> | NodePath[]) { _C(this,
|
|
993
|
+
get accessibilityControlsNodes(): GodotArray<NodePath> { return _C(this, 3731) as GodotArray<NodePath>; }
|
|
994
|
+
set accessibilityControlsNodes(v: GodotArray<NodePath> | NodePath[]) { _C(this, 10622, v); }
|
|
961
995
|
|
|
962
996
|
/**
|
|
963
997
|
* The paths to the nodes which are describing this node.
|
|
964
998
|
*/
|
|
965
|
-
get accessibilityDescribedByNodes(): GodotArray<NodePath> { return _C(this,
|
|
966
|
-
set accessibilityDescribedByNodes(v: GodotArray<NodePath> | NodePath[]) { _C(this,
|
|
999
|
+
get accessibilityDescribedByNodes(): GodotArray<NodePath> { return _C(this, 3732) as GodotArray<NodePath>; }
|
|
1000
|
+
set accessibilityDescribedByNodes(v: GodotArray<NodePath> | NodePath[]) { _C(this, 10623, v); }
|
|
967
1001
|
|
|
968
1002
|
/**
|
|
969
1003
|
* The paths to the nodes which label this node.
|
|
970
1004
|
*/
|
|
971
|
-
get accessibilityLabeledByNodes(): GodotArray<NodePath> { return _C(this,
|
|
972
|
-
set accessibilityLabeledByNodes(v: GodotArray<NodePath> | NodePath[]) { _C(this,
|
|
1005
|
+
get accessibilityLabeledByNodes(): GodotArray<NodePath> { return _C(this, 3736) as GodotArray<NodePath>; }
|
|
1006
|
+
set accessibilityLabeledByNodes(v: GodotArray<NodePath> | NodePath[]) { _C(this, 10626, v); }
|
|
973
1007
|
|
|
974
1008
|
/**
|
|
975
1009
|
* The paths to the nodes which this node flows into.
|
|
976
1010
|
*/
|
|
977
|
-
get accessibilityFlowToNodes(): GodotArray<NodePath> { return _C(this,
|
|
978
|
-
set accessibilityFlowToNodes(v: GodotArray<NodePath> | NodePath[]) { _C(this,
|
|
1011
|
+
get accessibilityFlowToNodes(): GodotArray<NodePath> { return _C(this, 3735) as GodotArray<NodePath>; }
|
|
1012
|
+
set accessibilityFlowToNodes(v: GodotArray<NodePath> | NodePath[]) { _C(this, 10625, v); }
|
|
979
1013
|
|
|
980
1014
|
/**
|
|
981
1015
|
* The {@link Theme} resource this node and all its {@link Control} and {@link Window} children use. If a child node has its own {@link Theme} resource set, theme items are merged with child's definitions having higher priority.
|
|
982
1016
|
* **Note:** {@link Window} styles will have no effect unless the window is embedded.
|
|
983
1017
|
*/
|
|
984
|
-
get theme(): Theme { return _C(this,
|
|
985
|
-
set theme(v: Theme) { _C(this,
|
|
1018
|
+
get theme(): Theme { return _C(this, 6893) as Theme; }
|
|
1019
|
+
set theme(v: Theme) { _C(this, 13321, v); }
|
|
986
1020
|
|
|
987
1021
|
/**
|
|
988
1022
|
* The name of a theme type variation used by this {@link Control} to look up its own theme items. When empty, the class name of the node is used (e.g. {@link code skip-lint}Button[/code] for the {@link Button} control), as well as the class names of all parent classes (in order of inheritance).
|
|
@@ -990,8 +1024,8 @@ export class Control extends CanvasItem {
|
|
|
990
1024
|
* **Note:** To look up {@link Control}'s own items use various `get_theme_*` methods without specifying `theme_type`.
|
|
991
1025
|
* **Note:** Theme items are looked for in the tree order, from branch to root, where each {@link Control} node is checked for its {@link theme} property. The earliest match against any type/class name is returned. The project-level Theme and the default Theme are checked last.
|
|
992
1026
|
*/
|
|
993
|
-
get themeTypeVariation(): StringName { return _C(this,
|
|
994
|
-
set themeTypeVariation(v: StringName) { _C(this,
|
|
1027
|
+
get themeTypeVariation(): StringName { return _C(this, 6907) as StringName; }
|
|
1028
|
+
set themeTypeVariation(v: StringName) { _C(this, 13323, v); }
|
|
995
1029
|
|
|
996
1030
|
/**
|
|
997
1031
|
* Sent when the node changes size. Use {@link size} to get the new size.
|
|
@@ -1078,21 +1112,21 @@ export class Control extends CanvasItem {
|
|
|
1078
1112
|
/**
|
|
1079
1113
|
* Emitted when the control changes size.
|
|
1080
1114
|
*/
|
|
1081
|
-
get resized(): Signal<() => void> { return _G(this,
|
|
1082
|
-
set resized(v: (() => void) | null) { _G(this,
|
|
1115
|
+
get resized(): Signal<() => void> { return _G(this, 10293) as Signal<() => void>; }
|
|
1116
|
+
set resized(v: (() => void) | null) { _G(this, 10293, v); }
|
|
1083
1117
|
|
|
1084
1118
|
/**
|
|
1085
1119
|
* Emitted when the node receives an {@link InputEvent}.
|
|
1086
1120
|
*/
|
|
1087
|
-
get guiInput(): Signal<(event: InputEvent) => void> { return _G(this,
|
|
1088
|
-
set guiInput(v: ((event: InputEvent) => void) | null) { _G(this,
|
|
1121
|
+
get guiInput(): Signal<(event: InputEvent) => void> { return _G(this, 7469) as Signal<(event: InputEvent) => void>; }
|
|
1122
|
+
set guiInput(v: ((event: InputEvent) => void) | null) { _G(this, 7469, v); }
|
|
1089
1123
|
|
|
1090
1124
|
/**
|
|
1091
1125
|
* Emitted when the mouse cursor enters the control's (or any child control's) visible area, that is not occluded behind other Controls or Windows, provided its {@link mouseFilter} lets the event reach it and regardless if it's currently focused or not.
|
|
1092
1126
|
* **Note:** {@link CanvasItem.zIndex} doesn't affect, which Control receives the signal.
|
|
1093
1127
|
*/
|
|
1094
|
-
get mouseEntered(): Signal<() => void> { return _G(this,
|
|
1095
|
-
set mouseEntered(v: (() => void) | null) { _G(this,
|
|
1128
|
+
get mouseEntered(): Signal<() => void> { return _G(this, 9157) as Signal<() => void>; }
|
|
1129
|
+
set mouseEntered(v: (() => void) | null) { _G(this, 9157, v); }
|
|
1096
1130
|
|
|
1097
1131
|
/**
|
|
1098
1132
|
* Emitted when the mouse cursor leaves the control's (and all child control's) visible area, that is not occluded behind other Controls or Windows, provided its {@link mouseFilter} lets the event reach it and regardless if it's currently focused or not.
|
|
@@ -1107,46 +1141,46 @@ export class Control extends CanvasItem {
|
|
|
1107
1141
|
*
|
|
1108
1142
|
* ```
|
|
1109
1143
|
*/
|
|
1110
|
-
get mouseExited(): Signal<() => void> { return _G(this,
|
|
1111
|
-
set mouseExited(v: (() => void) | null) { _G(this,
|
|
1144
|
+
get mouseExited(): Signal<() => void> { return _G(this, 9158) as Signal<() => void>; }
|
|
1145
|
+
set mouseExited(v: (() => void) | null) { _G(this, 9158, v); }
|
|
1112
1146
|
|
|
1113
1147
|
/**
|
|
1114
1148
|
* Emitted when the node gains focus.
|
|
1115
1149
|
*/
|
|
1116
|
-
get focusEntered(): Signal<() => void> { return _G(this,
|
|
1117
|
-
set focusEntered(v: (() => void) | null) { _G(this,
|
|
1150
|
+
get focusEntered(): Signal<() => void> { return _G(this, 3408) as Signal<() => void>; }
|
|
1151
|
+
set focusEntered(v: (() => void) | null) { _G(this, 3408, v); }
|
|
1118
1152
|
|
|
1119
1153
|
/**
|
|
1120
1154
|
* Emitted when the node loses focus.
|
|
1121
1155
|
*/
|
|
1122
|
-
get focusExited(): Signal<() => void> { return _G(this,
|
|
1123
|
-
set focusExited(v: (() => void) | null) { _G(this,
|
|
1156
|
+
get focusExited(): Signal<() => void> { return _G(this, 3409) as Signal<() => void>; }
|
|
1157
|
+
set focusExited(v: (() => void) | null) { _G(this, 3409, v); }
|
|
1124
1158
|
|
|
1125
1159
|
/**
|
|
1126
1160
|
* Emitted when one of the size flags changes. See {@link sizeFlagsHorizontal} and {@link sizeFlagsVertical}.
|
|
1127
1161
|
*/
|
|
1128
|
-
get sizeFlagsChanged(): Signal<() => void> { return _G(this,
|
|
1129
|
-
set sizeFlagsChanged(v: (() => void) | null) { _G(this,
|
|
1162
|
+
get sizeFlagsChanged(): Signal<() => void> { return _G(this, 13892) as Signal<() => void>; }
|
|
1163
|
+
set sizeFlagsChanged(v: (() => void) | null) { _G(this, 13892, v); }
|
|
1130
1164
|
|
|
1131
1165
|
/**
|
|
1132
1166
|
* Emitted when the node's maximum size changes.
|
|
1133
1167
|
*/
|
|
1134
|
-
get maximumSizeChanged(): Signal<() => void> { return _G(this,
|
|
1135
|
-
set maximumSizeChanged(v: (() => void) | null) { _G(this,
|
|
1168
|
+
get maximumSizeChanged(): Signal<() => void> { return _G(this, 9027) as Signal<() => void>; }
|
|
1169
|
+
set maximumSizeChanged(v: (() => void) | null) { _G(this, 9027, v); }
|
|
1136
1170
|
|
|
1137
1171
|
/**
|
|
1138
1172
|
* Emitted when the node's minimum size changes.
|
|
1139
1173
|
*/
|
|
1140
|
-
get minimumSizeChanged(): Signal<() => void> { return _G(this,
|
|
1141
|
-
set minimumSizeChanged(v: (() => void) | null) { _G(this,
|
|
1174
|
+
get minimumSizeChanged(): Signal<() => void> { return _G(this, 9123) as Signal<() => void>; }
|
|
1175
|
+
set minimumSizeChanged(v: (() => void) | null) { _G(this, 9123, v); }
|
|
1142
1176
|
|
|
1143
1177
|
/**
|
|
1144
1178
|
* Emitted when the {@link NOTIFICATION_THEME_CHANGED} notification is sent.
|
|
1145
1179
|
*/
|
|
1146
|
-
get themeChanged(): Signal<() => void> { return _G(this,
|
|
1147
|
-
set themeChanged(v: (() => void) | null) { _G(this,
|
|
1180
|
+
get themeChanged(): Signal<() => void> { return _G(this, 14532) as Signal<() => void>; }
|
|
1181
|
+
set themeChanged(v: (() => void) | null) { _G(this, 14532, v); }
|
|
1148
1182
|
|
|
1149
|
-
static readonly name = _R(
|
|
1183
|
+
static readonly name = _R(231, Control);
|
|
1150
1184
|
}
|
|
1151
1185
|
|
|
1152
1186
|
export const FocusMode = {
|
|
@@ -1393,6 +1427,12 @@ export const SizeFlags = {
|
|
|
1393
1427
|
* Tells the parent {@link Container} to align the node with its end, either the bottom or the right edge. It is mutually exclusive with {@link SIZE_FILL} and other shrink size flags, but can be used with {@link SIZE_EXPAND} in some containers. Use with {@link sizeFlagsHorizontal} and {@link sizeFlagsVertical}.
|
|
1394
1428
|
*/
|
|
1395
1429
|
SIZE_SHRINK_END: 8,
|
|
1430
|
+
/**
|
|
1431
|
+
* Tells the parent {@link Container} to use the node's {@link customMaximumSize} when doing minimum size calculations. Use with {@link sizeFlagsHorizontal} and {@link sizeFlagsVertical}.
|
|
1432
|
+
* **Note:** Setting this flag does not necessarily mean the node will be resized to its maximum size, as the parent container may not have enough space to do so.
|
|
1433
|
+
* **Note:** If this node is a child of a Container that enables the {@link sizeFlagsStretchRatio} property on its children for layout, nodes with this flag set will be given priority in stretching. If multiple nodes have this flag set, their relative stretch ratios will still be respected.
|
|
1434
|
+
*/
|
|
1435
|
+
SIZE_MAXIMIZE: 16,
|
|
1396
1436
|
} as const;
|
|
1397
1437
|
|
|
1398
1438
|
export type SizeFlags = (typeof SizeFlags)[keyof typeof SizeFlags];
|
|
@@ -1418,15 +1458,15 @@ export type MouseFilter = (typeof MouseFilter)[keyof typeof MouseFilter];
|
|
|
1418
1458
|
|
|
1419
1459
|
export const GrowDirection = {
|
|
1420
1460
|
/**
|
|
1421
|
-
* The control will grow to the left or top
|
|
1461
|
+
* The control will grow/shrink to the left or top if its size is changed to be larger/smaller than its current size on the respective axis.
|
|
1422
1462
|
*/
|
|
1423
1463
|
GROW_DIRECTION_BEGIN: 0,
|
|
1424
1464
|
/**
|
|
1425
|
-
* The control will grow to the right or bottom
|
|
1465
|
+
* The control will grow/shrink to the right or bottom if its size is changed to be larger/smaller than its current size on the respective axis.
|
|
1426
1466
|
*/
|
|
1427
1467
|
GROW_DIRECTION_END: 1,
|
|
1428
1468
|
/**
|
|
1429
|
-
* The control will grow in both directions equally
|
|
1469
|
+
* The control will grow/shrink in both directions equally if its size is changed to be larger/smaller than its current size.
|
|
1430
1470
|
*/
|
|
1431
1471
|
GROW_DIRECTION_BOTH: 2,
|
|
1432
1472
|
} as const;
|