@ringozz/godot 4.7.2-683 → 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
|
@@ -16,31 +16,31 @@ import type { VScrollBar } from './VScrollBar.ts';
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* A control for displaying text that can contain custom fonts, images, and basic formatting. {@link RichTextLabel} manages these as an internal tag stack. It also adapts itself to given width/heights.
|
|
19
|
-
* **Note:** {@link newline}, {@link pushParagraph}, `"\n"`, `"\r\n"`, `p` tag, and alignment tags start a new paragraph. Each paragraph is processed independently, in its own BiDi context. If you want to force line wrapping within paragraph, any other line breaking character can be used, for example, Form Feed (U+000C), Next Line (U+0085), Line Separator (U+2028).
|
|
19
|
+
* **Note:** {@link newline}, {@link pushParagraph}, `"\n"`, `"\r\n"`, the `p` tag, and alignment tags start a new paragraph. Each paragraph is processed independently, in its own BiDi context. If you want to force line wrapping within a paragraph, any other line breaking character can be used, for example, Form Feed (U+000C), Next Line (U+0085), Line Separator (U+2028).
|
|
20
20
|
* **Note:** Assignments to {@link text} clear the tag stack and reconstruct it from the property's contents. Any edits made to {@link text} will erase previous edits made from other manual sources such as {@link appendText} and the `push_*` / {@link pop} methods.
|
|
21
21
|
* **Note:** RichTextLabel doesn't support entangled BBCode tags. For example, instead of using {@link code skip-lint}**bold[i]bold italic[/i]italic**, use {@link code skip-lint}**bold[i]bold italic[/i]***italic*.
|
|
22
22
|
* **Note:** `push_*\/pop_*` functions won't affect BBCode.
|
|
23
23
|
* **Note:** While {@link bbcodeEnabled} is enabled, alignment tags such as {@link code skip-lint}{@link center} will take priority over the {@link horizontalAlignment} setting which determines the default text alignment.
|
|
24
24
|
*/
|
|
25
25
|
export class RichTextLabel extends Control {
|
|
26
|
-
constructor(name =
|
|
26
|
+
constructor(name = 694) { super(name); }
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Returns the text without BBCode mark-up.
|
|
30
30
|
*/
|
|
31
|
-
getParsedText(): string { return _C(this,
|
|
31
|
+
getParsedText(): string { return _C(this, 5940) as string; }
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Adds raw non-BBCode-parsed text to the tag stack.
|
|
35
35
|
*/
|
|
36
|
-
addText(text: string): void { _C(this,
|
|
36
|
+
addText(text: string): void { _C(this, 1336, text); }
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Adds a horizontal rule that can be used to separate content.
|
|
40
40
|
* If `widthInPercent` is set, `width` values are percentages of the control width instead of pixels.
|
|
41
41
|
* If `heightInPercent` is set, `height` values are percentages of the control width instead of pixels.
|
|
42
42
|
*/
|
|
43
|
-
addHr(width?: number /* = 90 */, height?: number /* = 2 */, color?: Color /* = Color(1, 1, 1, 1) */, alignment?: HorizontalAlignment /* = 1 */, widthInPercent?: boolean /* = true */, heightInPercent?: boolean /* = false */): void { _C(this,
|
|
43
|
+
addHr(width?: number /* = 90 */, height?: number /* = 2 */, color?: Color /* = Color(1, 1, 1, 1) */, alignment?: HorizontalAlignment /* = 1 */, widthInPercent?: boolean /* = true */, heightInPercent?: boolean /* = false */): void { _C(this, 1255, width, height, color, alignment, widthInPercent, heightInPercent); }
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Adds an image's opening and closing tags to the tag stack, optionally providing a `width` and `height` to resize the image, a `color` to tint the image and a `region` to only use parts of the image.
|
|
@@ -51,360 +51,365 @@ export class RichTextLabel extends Control {
|
|
|
51
51
|
* Parameters `widthUnit` and `heightUnit` determine the units used to calculate the image width and height, respectively.
|
|
52
52
|
* `altText` is used as the image description for assistive apps.
|
|
53
53
|
*/
|
|
54
|
-
addImage(image: Texture2D, width?: number /* = 0 */, height?: number /* = 0 */, color?: Color /* = Color(1, 1, 1, 1) */, inlineAlign?: InlineAlignment /* = 5 */, region?: Rect2 /* = Rect2(0, 0, 0, 0) */, key?: Variant /* = null */, pad?: boolean /* = false */, tooltip?: string /* = "" */, widthUnit?: ImageUnit /* = 0 */, heightUnit?: ImageUnit /* = 0 */, altText?: string /* = "" */): void { _C(this,
|
|
54
|
+
addImage(image: Texture2D, width?: number /* = 0 */, height?: number /* = 0 */, color?: Color /* = Color(1, 1, 1, 1) */, inlineAlign?: InlineAlignment /* = 5 */, region?: Rect2 /* = Rect2(0, 0, 0, 0) */, key?: Variant /* = null */, pad?: boolean /* = false */, tooltip?: string /* = "" */, widthUnit?: ImageUnit /* = 0 */, heightUnit?: ImageUnit /* = 0 */, altText?: string /* = "" */): void { _C(this, 1264, image, width, height, color, inlineAlign, region, key, pad, tooltip, widthUnit, heightUnit, altText); }
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* Updates the existing images with the key `key`. Only properties specified by `mask` bits are updated. See {@link addImage}.
|
|
58
58
|
*/
|
|
59
|
-
updateImage(key: Variant, mask: ImageUpdateMask, image: Texture2D, width?: number /* = 0 */, height?: number /* = 0 */, color?: Color /* = Color(1, 1, 1, 1) */, inlineAlign?: InlineAlignment /* = 5 */, region?: Rect2 /* = Rect2(0, 0, 0, 0) */, pad?: boolean /* = false */, tooltip?: string /* = "" */, widthUnit?: ImageUnit /* = 0 */, heightUnit?: ImageUnit /* = 0 */): void { _C(this,
|
|
59
|
+
updateImage(key: Variant, mask: ImageUpdateMask, image: Texture2D, width?: number /* = 0 */, height?: number /* = 0 */, color?: Color /* = Color(1, 1, 1, 1) */, inlineAlign?: InlineAlignment /* = 5 */, region?: Rect2 /* = Rect2(0, 0, 0, 0) */, pad?: boolean /* = false */, tooltip?: string /* = "" */, widthUnit?: ImageUnit /* = 0 */, heightUnit?: ImageUnit /* = 0 */): void { _C(this, 14811, key, mask, image, width, height, color, inlineAlign, region, pad, tooltip, widthUnit, heightUnit); }
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* Adds a newline tag to the tag stack.
|
|
63
63
|
*/
|
|
64
|
-
newline(): void { _C(this,
|
|
64
|
+
newline(): void { _C(this, 9266); }
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Removes a paragraph of content from the label. Returns `true` if the paragraph exists.
|
|
68
68
|
* The `paragraph` argument is the index of the paragraph to remove, it can take values in the interval `[0, get_paragraph_count() - 1]`.
|
|
69
|
-
* If `noInvalidate` is set to `true`, cache for the subsequent paragraphs is not invalidated. Use it for faster updates if deleted paragraph is fully self-contained (
|
|
69
|
+
* If `noInvalidate` is set to `true`, the cache for the subsequent paragraphs is not invalidated. Use it for faster updates if the deleted paragraph is fully self-contained (has no unclosed tags), or this call is part of a complex edit operation and {@link invalidateParagraph} will be called at the end of the operation.
|
|
70
70
|
*/
|
|
71
|
-
removeParagraph(paragraph: number, noInvalidate?: boolean /* = false */): boolean { return _C(this,
|
|
71
|
+
removeParagraph(paragraph: number, noInvalidate?: boolean /* = false */): boolean { return _C(this, 10148, paragraph, noInvalidate) as boolean; }
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Invalidates `paragraph` and all subsequent paragraphs cache.
|
|
75
75
|
*/
|
|
76
|
-
invalidateParagraph(paragraph: number): boolean { return _C(this,
|
|
76
|
+
invalidateParagraph(paragraph: number): boolean { return _C(this, 7870, paragraph) as boolean; }
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* Adds a {@link code skip-lint}{@link font}[/code] tag to the tag stack. Overrides default fonts for its duration.
|
|
80
80
|
* Passing `0` to `fontSize` will use the existing default font size.
|
|
81
81
|
*/
|
|
82
|
-
pushFont(font: Font, fontSize?: number /* = 0 */): void { _C(this,
|
|
82
|
+
pushFont(font: Font, fontSize?: number /* = 0 */): void { _C(this, 9848, font, fontSize); }
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* Adds a {@link code skip-lint}{@link font_size}[/code] tag to the tag stack. Overrides default font size for its duration.
|
|
86
86
|
*/
|
|
87
|
-
pushFontSize(fontSize: number): void { _C(this,
|
|
87
|
+
pushFontSize(fontSize: number): void { _C(this, 9849, fontSize); }
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Adds a {@link code skip-lint}{@link font}[/code] tag with a normal font to the tag stack.
|
|
91
91
|
*/
|
|
92
|
-
pushNormal(): void { _C(this,
|
|
92
|
+
pushNormal(): void { _C(this, 9860); }
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Adds a {@link code skip-lint}{@link font}[/code] tag with a bold font to the tag stack. This is the same as adding a {@link code skip-lint}{@link b}[/code] tag if not currently in a {@link code skip-lint}{@link i}[/code] tag.
|
|
96
96
|
*/
|
|
97
|
-
pushBold(): void { _C(this,
|
|
97
|
+
pushBold(): void { _C(this, 9838); }
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* Adds a {@link code skip-lint}{@link font}[/code] tag with a bold italics font to the tag stack.
|
|
101
101
|
*/
|
|
102
|
-
pushBoldItalics(): void { _C(this,
|
|
102
|
+
pushBoldItalics(): void { _C(this, 9839); }
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* Adds a {@link code skip-lint}{@link font}[/code] tag with an italics font to the tag stack. This is the same as adding an {@link code skip-lint}{@link i}[/code] tag if not currently in a {@link code skip-lint}{@link b}[/code] tag.
|
|
106
106
|
*/
|
|
107
|
-
pushItalics(): void { _C(this,
|
|
107
|
+
pushItalics(): void { _C(this, 9855); }
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* Adds a {@link code skip-lint}{@link font}[/code] tag with a monospace font to the tag stack.
|
|
111
111
|
*/
|
|
112
|
-
pushMono(): void { _C(this,
|
|
112
|
+
pushMono(): void { _C(this, 9859); }
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* Adds a {@link code skip-lint}{@link color}[/code] tag to the tag stack.
|
|
116
116
|
*/
|
|
117
|
-
pushColor(color: Color): void { _C(this,
|
|
117
|
+
pushColor(color: Color): void { _C(this, 9842, color); }
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* Adds a {@link code skip-lint}{@link outline_size}[/code] tag to the tag stack. Overrides default text outline size for its duration.
|
|
121
121
|
*/
|
|
122
|
-
pushOutlineSize(outlineSize: number): void { _C(this,
|
|
122
|
+
pushOutlineSize(outlineSize: number): void { _C(this, 9862, outlineSize); }
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* Adds a {@link code skip-lint}{@link outline_color}[/code] tag to the tag stack. Adds text outline for its duration.
|
|
126
126
|
*/
|
|
127
|
-
pushOutlineColor(color: Color): void { _C(this,
|
|
127
|
+
pushOutlineColor(color: Color): void { _C(this, 9861, color); }
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* Adds a {@link code skip-lint}{@link p}[/code] tag to the tag stack.
|
|
131
131
|
*/
|
|
132
|
-
pushParagraph(alignment: HorizontalAlignment, baseDirection?: TextDirection /* = 0 */, language?: string /* = "" */, stParser?: StructuredTextParser /* = 0 */, justificationFlags?: JustificationFlag /* = 163 */, tabStops?: PackedFloat32Array /* = PackedFloat32Array() */): void { _C(this,
|
|
132
|
+
pushParagraph(alignment: HorizontalAlignment, baseDirection?: TextDirection /* = 0 */, language?: string /* = "" */, stParser?: StructuredTextParser /* = 0 */, justificationFlags?: JustificationFlag /* = 163 */, tabStops?: PackedFloat32Array /* = PackedFloat32Array() */): void { _C(this, 9863, alignment, baseDirection, language, stParser, justificationFlags, tabStops); }
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* Adds an {@link code skip-lint}{@link indent}[/code] tag to the tag stack. Multiplies `level` by current {@link tabSize} to determine new margin length.
|
|
136
136
|
*/
|
|
137
|
-
pushIndent(level: number): void { _C(this,
|
|
137
|
+
pushIndent(level: number): void { _C(this, 9853, level); }
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* Adds {@link code skip-lint}{@link ol}[/code] or {@link code skip-lint}{@link ul}[/code] tag to the tag stack. Multiplies `level` by current {@link tabSize} to determine new margin length.
|
|
141
141
|
*/
|
|
142
|
-
pushList(level: number, type: ListType, capitalize: boolean, bullet?: string /* = "•" */): void { _C(this,
|
|
142
|
+
pushList(level: number, type: ListType, capitalize: boolean, bullet?: string /* = "•" */): void { _C(this, 9857, level, type, capitalize, bullet); }
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* Adds a meta tag to the tag stack. Similar to the BBCode {@link code skip-lint}[{text}](something)[/code], but supports non-{@link String} metadata types.
|
|
146
146
|
* If {@link metaUnderlined} is `true`, meta tags display an underline. This behavior can be customized with `underlineMode`.
|
|
147
147
|
* **Note:** Meta tags do nothing by default when clicked. To assign behavior when clicked, connect {@link meta_clicked} to a function that is called when the meta tag is clicked.
|
|
148
148
|
*/
|
|
149
|
-
pushMeta(data: Variant, underlineMode?: MetaUnderline /* = 1 */, tooltip?: string /* = "" */): void { _C(this,
|
|
149
|
+
pushMeta(data: Variant, underlineMode?: MetaUnderline /* = 1 */, tooltip?: string /* = "" */): void { _C(this, 9858, data, underlineMode, tooltip); }
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* Adds a {@link code skip-lint} tag to the tag stack. Same as BBCode {@link code skip-lint}[/code].
|
|
153
153
|
*/
|
|
154
|
-
pushHint(description: string): void { _C(this,
|
|
154
|
+
pushHint(description: string): void { _C(this, 9852, description); }
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* Adds language code used for text shaping algorithm and Open-Type font features.
|
|
158
158
|
*/
|
|
159
|
-
pushLanguage(language: string): void { _C(this,
|
|
159
|
+
pushLanguage(language: string): void { _C(this, 9856, language); }
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* Adds a {@link code skip-lint}{@link u}[/code] tag to the tag stack. If `color`'s alpha value is `0.0`, the current font's color with its alpha multiplied by {@link underline_alpha} is used.
|
|
163
163
|
*/
|
|
164
|
-
pushUnderline(color?: Color /* = Color(0, 0, 0, 0) */): void { _C(this,
|
|
164
|
+
pushUnderline(color?: Color /* = Color(0, 0, 0, 0) */): void { _C(this, 9867, color); }
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
167
|
* Adds a {@link code skip-lint}{@link s}[/code] tag to the tag stack. If `color`'s alpha value is `0.0`, the current font's color with its alpha multiplied by {@link strikethrough_alpha} is used.
|
|
168
168
|
*/
|
|
169
|
-
pushStrikethrough(color?: Color /* = Color(0, 0, 0, 0) */): void { _C(this,
|
|
169
|
+
pushStrikethrough(color?: Color /* = Color(0, 0, 0, 0) */): void { _C(this, 9864, color); }
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* Adds a {@link code skip-lint}{@link table}[/code] tag to the tag stack. Use {@link setTableColumnExpand} to set column expansion ratio. Use {@link pushCell} to add cells. `name` is used as the table name for assistive apps.
|
|
173
173
|
*/
|
|
174
|
-
pushTable(columns: number, inlineAlign?: InlineAlignment /* = 0 */, alignToRow?: number /* = -1 */, name?: string /* = "" */): void { _C(this,
|
|
174
|
+
pushTable(columns: number, inlineAlign?: InlineAlignment /* = 0 */, alignToRow?: number /* = -1 */, name?: string /* = "" */): void { _C(this, 9865, columns, inlineAlign, alignToRow, name); }
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
177
|
* Adds a {@link code skip-lint}{@link dropcap}[/code] tag to the tag stack. Drop cap (dropped capital) is a decorative element at the beginning of a paragraph that is larger than the rest of the text.
|
|
178
178
|
*/
|
|
179
|
-
pushDropcap(string: string, font: Font, size: number, dropcapMargins?: Rect2 /* = Rect2(0, 0, 0, 0) */, color?: Color /* = Color(1, 1, 1, 1) */, outlineSize?: number /* = 0 */, outlineColor?: Color /* = Color(0, 0, 0, 0) */): void { _C(this,
|
|
179
|
+
pushDropcap(string: string, font: Font, size: number, dropcapMargins?: Rect2 /* = Rect2(0, 0, 0, 0) */, color?: Color /* = Color(1, 1, 1, 1) */, outlineSize?: number /* = 0 */, outlineColor?: Color /* = Color(0, 0, 0, 0) */): void { _C(this, 9845, string, font, size, dropcapMargins, color, outlineSize, outlineColor); }
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
182
|
* Edits the selected column's expansion options. If `expand` is `true`, the column expands in proportion to its expansion ratio versus the other columns' ratios.
|
|
183
183
|
* For example, 2 columns with ratios 3 and 4 plus 70 pixels in available width would expand 30 and 40 pixels, respectively.
|
|
184
184
|
* If `expand` is `false`, the column will not contribute to the total ratio.
|
|
185
185
|
*/
|
|
186
|
-
setTableColumnExpand(column: number, expand: boolean, ratio?: number /* = 1 */, shrink?: boolean /* = true */): void { _C(this,
|
|
186
|
+
setTableColumnExpand(column: number, expand: boolean, ratio?: number /* = 1 */, shrink?: boolean /* = true */): void { _C(this, 13255, column, expand, ratio, shrink); }
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
* Sets table column name for assistive apps.
|
|
190
190
|
*/
|
|
191
|
-
setTableColumnName(column: number, name: string): void { _C(this,
|
|
191
|
+
setTableColumnName(column: number, name: string): void { _C(this, 13256, column, name); }
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
|
-
* Sets color of a table cell. Separate colors for alternating rows can be specified.
|
|
194
|
+
* Sets the color of a table cell. Separate colors for alternating rows can be specified.
|
|
195
195
|
*/
|
|
196
|
-
setCellRowBackgroundColor(oddRowBg: Color, evenRowBg: Color): void { _C(this,
|
|
196
|
+
setCellRowBackgroundColor(oddRowBg: Color, evenRowBg: Color): void { _C(this, 11049, oddRowBg, evenRowBg); }
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
|
-
* Sets color of a table cell border.
|
|
199
|
+
* Sets the color of a table cell's border.
|
|
200
200
|
*/
|
|
201
|
-
setCellBorderColor(color: Color): void { _C(this,
|
|
201
|
+
setCellBorderColor(color: Color): void { _C(this, 11044, color); }
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
204
|
* Sets minimum and maximum size overrides for a table cell.
|
|
205
205
|
*/
|
|
206
|
-
setCellSizeOverride(minSize: Vector2, maxSize: Vector2): void { _C(this,
|
|
206
|
+
setCellSizeOverride(minSize: Vector2, maxSize: Vector2): void { _C(this, 11053, minSize, maxSize); }
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
209
|
* Sets inner padding of a table cell.
|
|
210
210
|
*/
|
|
211
|
-
setCellPadding(padding: Rect2): void { _C(this,
|
|
211
|
+
setCellPadding(padding: Rect2): void { _C(this, 11048, padding); }
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
214
|
* Adds a {@link code skip-lint}{@link cell}[/code] tag to the tag stack. Must be inside a {@link code skip-lint}{@link table}[/code] tag. See {@link pushTable} for details. Use {@link setTableColumnExpand} to set column expansion ratio, {@link setCellBorderColor} to set cell border, {@link setCellRowBackgroundColor} to set cell background, {@link setCellSizeOverride} to override cell size, and {@link setCellPadding} to set padding.
|
|
215
215
|
*/
|
|
216
|
-
pushCell(): void { _C(this,
|
|
216
|
+
pushCell(): void { _C(this, 9841); }
|
|
217
217
|
|
|
218
218
|
/**
|
|
219
219
|
* Adds a {@link code skip-lint}{@link fgcolor}[/code] tag to the tag stack.
|
|
220
220
|
* **Note:** The foreground color has padding applied by default, which is controlled using {@link text_highlight_h_padding} and {@link text_highlight_v_padding}. This can lead to overlapping highlights if foreground colors are placed on neighboring lines/columns, so consider setting those theme items to `0` if you want to avoid this.
|
|
221
221
|
*/
|
|
222
|
-
pushFgcolor(fgcolor: Color): void { _C(this,
|
|
222
|
+
pushFgcolor(fgcolor: Color): void { _C(this, 9847, fgcolor); }
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
225
|
* Adds a {@link code skip-lint}{@link bgcolor}[/code] tag to the tag stack.
|
|
226
226
|
* **Note:** The background color has padding applied by default, which is controlled using {@link text_highlight_h_padding} and {@link text_highlight_v_padding}. This can lead to overlapping highlights if background colors are placed on neighboring lines/columns, so consider setting those theme items to `0` if you want to avoid this.
|
|
227
227
|
*/
|
|
228
|
-
pushBgcolor(bgcolor: Color): void { _C(this,
|
|
228
|
+
pushBgcolor(bgcolor: Color): void { _C(this, 9837, bgcolor); }
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* Adds a custom effect tag to the tag stack. The effect does not need to be in {@link customEffects}. The environment is directly passed to the effect.
|
|
232
232
|
*/
|
|
233
|
-
pushCustomfx(effect: RichTextEffect, env: GodotDictionary): void { _C(this,
|
|
233
|
+
pushCustomfx(effect: RichTextEffect, env: GodotDictionary): void { _C(this, 9844, effect, env); }
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Adds a context marker to the tag stack. See {@link popContext}.
|
|
237
237
|
*/
|
|
238
|
-
pushContext(): void { _C(this,
|
|
238
|
+
pushContext(): void { _C(this, 9843); }
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* Terminates tags opened after the last {@link pushContext} call (including context marker), or all tags if there's no context marker on the stack.
|
|
242
242
|
*/
|
|
243
|
-
popContext(): void { _C(this,
|
|
243
|
+
popContext(): void { _C(this, 9684); }
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* Terminates the current tag. Use after `push_*` methods to close BBCodes manually. Does not need to follow `add_*` methods.
|
|
247
247
|
*/
|
|
248
|
-
pop(): void { _C(this,
|
|
248
|
+
pop(): void { _C(this, 9680); }
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
251
|
* Terminates all tags opened by `push_*` methods.
|
|
252
252
|
*/
|
|
253
|
-
popAll(): void { _C(this,
|
|
253
|
+
popAll(): void { _C(this, 9681); }
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
256
|
* Clears the tag stack, causing the label to display nothing.
|
|
257
257
|
* **Note:** This method does not affect {@link text}, and its contents will show again if the label is redrawn. However, setting {@link text} to an empty {@link String} also clears the stack.
|
|
258
258
|
*/
|
|
259
|
-
clear(): void { _C(this,
|
|
259
|
+
clear(): void { _C(this, 2267); }
|
|
260
260
|
|
|
261
261
|
/**
|
|
262
262
|
* Returns the vertical scrollbar.
|
|
263
263
|
* **Warning:** This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their {@link CanvasItem.visible} property.
|
|
264
264
|
*/
|
|
265
|
-
getVScrollBar(): VScrollBar { return _C(this,
|
|
265
|
+
getVScrollBar(): VScrollBar { return _C(this, 7155) as VScrollBar; }
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* Scrolls the window's top line to match `line`.
|
|
269
269
|
*/
|
|
270
|
-
scrollToLine(line: number): void { _C(this,
|
|
270
|
+
scrollToLine(line: number): void { _C(this, 10511, line); }
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
|
-
* Scrolls the window's top line to match first line of the `paragraph`.
|
|
273
|
+
* Scrolls the window's top line to match the first line of the `paragraph`.
|
|
274
274
|
*/
|
|
275
|
-
scrollToParagraph(paragraph: number): void { _C(this,
|
|
275
|
+
scrollToParagraph(paragraph: number): void { _C(this, 10512, paragraph); }
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
278
|
* Scrolls to the beginning of the current selection.
|
|
279
279
|
*/
|
|
280
|
-
scrollToSelection(): void { _C(this,
|
|
280
|
+
scrollToSelection(): void { _C(this, 10514); }
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
|
-
* Returns the
|
|
283
|
+
* Returns the font size that is currently used for rendering. When {@link resizeFontToFit} is enabled, this returns the automatically calculated font size. Otherwise, it returns the theme font size.
|
|
284
284
|
*/
|
|
285
|
-
|
|
285
|
+
getRenderedFontSize(): number { return _C(this, 6258) as number; }
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
|
-
* Returns the current selection
|
|
288
|
+
* Returns the current selection's first character index if a selection is active, `-1` otherwise. Does not include BBCodes.
|
|
289
289
|
*/
|
|
290
|
-
|
|
290
|
+
getSelectionFrom(): number { return _C(this, 6456) as number; }
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
|
-
* Returns the current selection
|
|
293
|
+
* Returns the current selection's last character index if a selection is active, `-1` otherwise. Does not include BBCodes.
|
|
294
294
|
*/
|
|
295
|
-
|
|
295
|
+
getSelectionTo(): number { return _C(this, 6464) as number; }
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
|
-
*
|
|
299
|
-
* If {@link selectionEnabled} is `false`, no selection will occur.
|
|
298
|
+
* Returns the current selection's vertical line offset if a selection is active, `-1.0` otherwise.
|
|
300
299
|
*/
|
|
301
|
-
|
|
300
|
+
getSelectionLineOffset(): number { return _C(this, 6460) as number; }
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Selects all the text.
|
|
304
|
+
* If {@link selectionEnabled} is `false`, no selection occurs.
|
|
305
|
+
*/
|
|
306
|
+
selectAll(): void { _C(this, 10569); }
|
|
302
307
|
|
|
303
308
|
/**
|
|
304
309
|
* Returns the current selection text. Does not include BBCodes.
|
|
305
310
|
*/
|
|
306
|
-
getSelectedText(): string { return _C(this,
|
|
311
|
+
getSelectedText(): string { return _C(this, 6453) as string; }
|
|
307
312
|
|
|
308
313
|
/**
|
|
309
314
|
* Clears the current selection.
|
|
310
315
|
*/
|
|
311
|
-
deselect(): void { _C(this,
|
|
316
|
+
deselect(): void { _C(this, 2805); }
|
|
312
317
|
|
|
313
318
|
/**
|
|
314
319
|
* The assignment version of {@link appendText}. Clears the tag stack and inserts the new content.
|
|
315
320
|
*/
|
|
316
|
-
parseBbcode(bbcode: string): void { _C(this,
|
|
321
|
+
parseBbcode(bbcode: string): void { _C(this, 9477, bbcode); }
|
|
317
322
|
|
|
318
323
|
/**
|
|
319
324
|
* Parses `bbcode` and adds tags to the tag stack as needed.
|
|
320
325
|
* **Note:** Using this method, you can't close a tag that was opened in a previous {@link appendText} call. This is done to improve performance, especially when updating large RichTextLabels since rebuilding the whole BBCode every time would be slower. If you absolutely need to close a tag in a future method call, append the {@link text} instead of using {@link appendText}.
|
|
321
326
|
*/
|
|
322
|
-
appendText(bbcode: string): void { _C(this,
|
|
327
|
+
appendText(bbcode: string): void { _C(this, 1555, bbcode); }
|
|
323
328
|
|
|
324
329
|
/**
|
|
325
|
-
* If {@link threaded} is enabled, returns `true` if the background thread has finished text processing, otherwise always
|
|
330
|
+
* If {@link threaded} is enabled, returns `true` if the background thread has finished text processing, otherwise always returns `true`.
|
|
326
331
|
*/
|
|
327
|
-
isReady(): boolean { return _C(this,
|
|
332
|
+
isReady(): boolean { return _C(this, 8398) as boolean; }
|
|
328
333
|
|
|
329
334
|
/**
|
|
330
|
-
* If {@link threaded} is enabled, returns `true` if the background thread has finished text processing, otherwise always
|
|
335
|
+
* If {@link threaded} is enabled, returns `true` if the background thread has finished text processing, otherwise always returns `true`.
|
|
331
336
|
*/
|
|
332
|
-
isFinished(): boolean { return _C(this,
|
|
337
|
+
isFinished(): boolean { return _C(this, 8112) as boolean; }
|
|
333
338
|
|
|
334
339
|
/**
|
|
335
340
|
* Returns the line number of the character position provided. Line and character numbers are both zero-indexed.
|
|
336
|
-
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether document is fully loaded.
|
|
341
|
+
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
337
342
|
*/
|
|
338
|
-
getCharacterLine(character: number): number { return _C(this,
|
|
343
|
+
getCharacterLine(character: number): number { return _C(this, 4219, character) as number; }
|
|
339
344
|
|
|
340
345
|
/**
|
|
341
346
|
* Returns the paragraph number of the character position provided. Paragraph and character numbers are both zero-indexed.
|
|
342
|
-
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether document is fully loaded.
|
|
347
|
+
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
343
348
|
*/
|
|
344
|
-
getCharacterParagraph(character: number): number { return _C(this,
|
|
349
|
+
getCharacterParagraph(character: number): number { return _C(this, 4220, character) as number; }
|
|
345
350
|
|
|
346
351
|
/**
|
|
347
352
|
* Returns the total number of characters from text tags. Does not include BBCodes.
|
|
348
353
|
*/
|
|
349
|
-
getTotalCharacterCount(): number { return _C(this,
|
|
354
|
+
getTotalCharacterCount(): number { return _C(this, 6989) as number; }
|
|
350
355
|
|
|
351
356
|
/**
|
|
352
357
|
* Returns the total number of lines in the text. Wrapped text is counted as multiple lines.
|
|
353
|
-
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether document is fully loaded.
|
|
358
|
+
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
354
359
|
*/
|
|
355
|
-
getLineCount(): number { return _C(this,
|
|
360
|
+
getLineCount(): number { return _C(this, 5451) as number; }
|
|
356
361
|
|
|
357
362
|
/**
|
|
358
363
|
* Returns the indexes of the first and last visible characters for the given `line`, as a {@link Vector2i}.
|
|
359
364
|
* **Note:** If {@link visibleCharactersBehavior} is set to {@link TextServer.VC_CHARS_BEFORE_SHAPING} only visible wrapped lines are counted.
|
|
360
|
-
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether document is fully loaded.
|
|
365
|
+
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
361
366
|
*/
|
|
362
|
-
getLineRange(line: number): Vector2i { return _C(this,
|
|
367
|
+
getLineRange(line: number): Vector2i { return _C(this, 5464, line) as Vector2i; }
|
|
363
368
|
|
|
364
369
|
/**
|
|
365
370
|
* Returns the number of visible lines.
|
|
366
371
|
* **Note:** This method returns a correct value only after the label has been drawn.
|
|
367
|
-
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether document is fully loaded.
|
|
372
|
+
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
368
373
|
*/
|
|
369
|
-
getVisibleLineCount(): number { return _C(this,
|
|
374
|
+
getVisibleLineCount(): number { return _C(this, 7250) as number; }
|
|
370
375
|
|
|
371
376
|
/**
|
|
372
377
|
* Returns the total number of paragraphs (newlines or `p` tags in the tag stack's text tags). Considers wrapped text as one paragraph.
|
|
373
378
|
*/
|
|
374
|
-
getParagraphCount(): number { return _C(this,
|
|
379
|
+
getParagraphCount(): number { return _C(this, 5915) as number; }
|
|
375
380
|
|
|
376
381
|
/**
|
|
377
382
|
* Returns the number of visible paragraphs. A paragraph is considered visible if at least one of its lines is visible.
|
|
378
383
|
* **Note:** This method returns a correct value only after the label has been drawn.
|
|
379
|
-
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether document is fully loaded.
|
|
384
|
+
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
380
385
|
*/
|
|
381
|
-
getVisibleParagraphCount(): number { return _C(this,
|
|
386
|
+
getVisibleParagraphCount(): number { return _C(this, 7252) as number; }
|
|
382
387
|
|
|
383
388
|
/**
|
|
384
389
|
* Returns the height of the content.
|
|
385
390
|
* **Note:** This method always returns the full content size, and is not affected by {@link visibleRatio} and {@link visibleCharacters}. To get the visible content size, use {@link getVisibleContentRect}.
|
|
386
|
-
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether document is fully loaded.
|
|
391
|
+
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
387
392
|
*/
|
|
388
|
-
getContentHeight(): number { return _C(this,
|
|
393
|
+
getContentHeight(): number { return _C(this, 4387) as number; }
|
|
389
394
|
|
|
390
395
|
/**
|
|
391
396
|
* Returns the width of the content.
|
|
392
397
|
* **Note:** This method always returns the full content size, and is not affected by {@link visibleRatio} and {@link visibleCharacters}. To get the visible content size, use {@link getVisibleContentRect}.
|
|
393
|
-
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether document is fully loaded.
|
|
398
|
+
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
394
399
|
*/
|
|
395
|
-
getContentWidth(): number { return _C(this,
|
|
400
|
+
getContentWidth(): number { return _C(this, 4394) as number; }
|
|
396
401
|
|
|
397
402
|
/**
|
|
398
403
|
* Returns the height of the line found at the provided index.
|
|
399
404
|
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
400
405
|
*/
|
|
401
|
-
getLineHeight(line: number): number { return _C(this,
|
|
406
|
+
getLineHeight(line: number): number { return _C(this, 5458, line) as number; }
|
|
402
407
|
|
|
403
408
|
/**
|
|
404
409
|
* Returns the width of the line found at the provided index.
|
|
405
410
|
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
406
411
|
*/
|
|
407
|
-
getLineWidth(line: number): number { return _C(this,
|
|
412
|
+
getLineWidth(line: number): number { return _C(this, 5472, line) as number; }
|
|
408
413
|
|
|
409
414
|
/**
|
|
410
415
|
* Returns the bounding rectangle of the visible content.
|
|
@@ -424,24 +429,24 @@ export class RichTextLabel extends Control {
|
|
|
424
429
|
*
|
|
425
430
|
* ```
|
|
426
431
|
*/
|
|
427
|
-
getVisibleContentRect(): Rect2i { return _C(this,
|
|
432
|
+
getVisibleContentRect(): Rect2i { return _C(this, 7248) as Rect2i; }
|
|
428
433
|
|
|
429
434
|
/**
|
|
430
435
|
* Returns the vertical offset of the line found at the provided index.
|
|
431
|
-
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether document is fully loaded.
|
|
436
|
+
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
432
437
|
*/
|
|
433
|
-
getLineOffset(line: number): number { return _C(this,
|
|
438
|
+
getLineOffset(line: number): number { return _C(this, 5463, line) as number; }
|
|
434
439
|
|
|
435
440
|
/**
|
|
436
441
|
* Returns the vertical offset of the paragraph found at the provided index.
|
|
437
|
-
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether document is fully loaded.
|
|
442
|
+
* **Note:** If {@link threaded} is enabled, this method returns a value for the loaded part of the document. Use {@link isFinished} or {@link finished} to determine whether the document is fully loaded.
|
|
438
443
|
*/
|
|
439
|
-
getParagraphOffset(paragraph: number): number { return _C(this,
|
|
444
|
+
getParagraphOffset(paragraph: number): number { return _C(this, 5916, paragraph) as number; }
|
|
440
445
|
|
|
441
446
|
/**
|
|
442
447
|
* Parses BBCode parameter `expressions` into a dictionary.
|
|
443
448
|
*/
|
|
444
|
-
parseExpressionsForValues(expressions: PackedStringArray): GodotDictionary { return _C(this,
|
|
449
|
+
parseExpressionsForValues(expressions: PackedStringArray): GodotDictionary { return _C(this, 9478, expressions) as GodotDictionary; }
|
|
445
450
|
|
|
446
451
|
/**
|
|
447
452
|
* Installs a custom effect. This can also be done in the Inspector through the {@link customEffects} property. `effect` should be a valid {@link RichTextEffect}.
|
|
@@ -474,12 +479,12 @@ export class RichTextLabel extends Control {
|
|
|
474
479
|
*
|
|
475
480
|
* ```
|
|
476
481
|
*/
|
|
477
|
-
installEffect(effect: Variant): void { _C(this,
|
|
482
|
+
installEffect(effect: Variant): void { _C(this, 7794, effect); }
|
|
478
483
|
|
|
479
484
|
/**
|
|
480
485
|
* Reloads custom effects. Useful when {@link customEffects} is modified manually.
|
|
481
486
|
*/
|
|
482
|
-
reloadEffects(): void { _C(this,
|
|
487
|
+
reloadEffects(): void { _C(this, 10078); }
|
|
483
488
|
|
|
484
489
|
/**
|
|
485
490
|
* Returns the {@link PopupMenu} of this {@link RichTextLabel}. By default, this menu is displayed when right-clicking on the {@link RichTextLabel}.
|
|
@@ -508,206 +513,231 @@ export class RichTextLabel extends Control {
|
|
|
508
513
|
*
|
|
509
514
|
* **Warning:** This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their {@link Window.visible} property.
|
|
510
515
|
*/
|
|
511
|
-
getMenu(): PopupMenu { return _C(this,
|
|
516
|
+
getMenu(): PopupMenu { return _C(this, 5609) as PopupMenu; }
|
|
512
517
|
|
|
513
518
|
/**
|
|
514
519
|
* Returns whether the menu is visible. Use this instead of `get_menu().visible` to improve performance (so the creation of the menu is avoided).
|
|
515
520
|
*/
|
|
516
|
-
isMenuVisible(): boolean { return _C(this,
|
|
521
|
+
isMenuVisible(): boolean { return _C(this, 8271) as boolean; }
|
|
517
522
|
|
|
518
523
|
/**
|
|
519
524
|
* Executes a given action as defined in the {@link MenuItems} enum.
|
|
520
525
|
*/
|
|
521
|
-
menuOption(option: number): void { _C(this,
|
|
526
|
+
menuOption(option: number): void { _C(this, 9035, option); }
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* The set of locations BBCode is allowed to load resource files from.
|
|
530
|
+
*/
|
|
531
|
+
get resourceAccessFlags(): ResourceAccessFlag { return _C(this, 6280) as ResourceAccessFlag; }
|
|
532
|
+
set resourceAccessFlags(v: ResourceAccessFlag) { _C(this, 12805, v); }
|
|
522
533
|
|
|
523
534
|
/**
|
|
524
535
|
* If `true`, the label uses BBCode formatting.
|
|
525
536
|
* **Note:** This only affects the contents of {@link text}, not the tag stack.
|
|
526
537
|
*/
|
|
527
|
-
get bbcodeEnabled(): boolean { return _C(this,
|
|
528
|
-
set bbcodeEnabled(v: boolean) { _C(this,
|
|
538
|
+
get bbcodeEnabled(): boolean { return _C(this, 8568) as boolean; }
|
|
539
|
+
set bbcodeEnabled(v: boolean) { _C(this, 13471, v); }
|
|
529
540
|
|
|
530
541
|
/**
|
|
531
542
|
* The label's text in BBCode format. Is not representative of manual modifications to the internal tag stack. Erases changes made by other methods when edited.
|
|
532
|
-
* **Note:** If {@link bbcodeEnabled} is `true`, it is
|
|
543
|
+
* **Note:** If {@link bbcodeEnabled} is `true`, it is recommended not to use the `+=` operator with {@link text} (e.g., `text += "some string"`) as it replaces the whole text and can cause slowdowns. It will also erase all BBCode that was added to the stack using the `push_*` methods. Use {@link appendText} for adding text instead, unless you absolutely need to close a tag that was opened in an earlier method call.
|
|
533
544
|
*/
|
|
534
|
-
get text(): string { return _C(this,
|
|
535
|
-
set text(v: string) { _C(this,
|
|
545
|
+
get text(): string { return _C(this, 6852) as string; }
|
|
546
|
+
set text(v: string) { _C(this, 13290, v); }
|
|
536
547
|
|
|
537
548
|
/**
|
|
538
549
|
* If `true`, the label's minimum size will be automatically updated to fit its content, matching the behavior of {@link Label}.
|
|
539
550
|
* **Note:** RichTextLabels with autowrapping and {@link fitContent} enabled must have a custom maximum width configured to work correctly, either through the RichTextLabel's own {@link Control.customMaximumSize} or as a result of a propagated maximum size from a parent Control with {@link Control.propagateMaximumSize} enabled.
|
|
540
551
|
*/
|
|
541
|
-
get fitContent(): boolean { return _C(this,
|
|
542
|
-
set fitContent(v: boolean) { _C(this,
|
|
552
|
+
get fitContent(): boolean { return _C(this, 8114) as boolean; }
|
|
553
|
+
set fitContent(v: boolean) { _C(this, 11631, v); }
|
|
543
554
|
|
|
544
555
|
/**
|
|
545
556
|
* If `true`, the scrollbar is visible. Setting this to `false` does not block scrolling completely. See {@link scrollToLine}.
|
|
546
557
|
*/
|
|
547
|
-
get scrollActive(): boolean { return _C(this,
|
|
548
|
-
set scrollActive(v: boolean) { _C(this,
|
|
558
|
+
get scrollActive(): boolean { return _C(this, 8444) as boolean; }
|
|
559
|
+
set scrollActive(v: boolean) { _C(this, 12898, v); }
|
|
549
560
|
|
|
550
561
|
/**
|
|
551
562
|
* If `true`, the window scrolls down to display new content automatically.
|
|
552
563
|
*/
|
|
553
|
-
get scrollFollowing(): boolean { return _C(this,
|
|
554
|
-
set scrollFollowing(v: boolean) { _C(this,
|
|
564
|
+
get scrollFollowing(): boolean { return _C(this, 8445) as boolean; }
|
|
565
|
+
set scrollFollowing(v: boolean) { _C(this, 12901, v); }
|
|
555
566
|
|
|
556
567
|
/**
|
|
557
568
|
* If `true`, the window scrolls to display the last visible line when {@link visibleCharacters} or {@link visibleRatio} is changed.
|
|
558
569
|
*/
|
|
559
|
-
get scrollFollowingVisibleCharacters(): boolean { return _C(this,
|
|
560
|
-
set scrollFollowingVisibleCharacters(v: boolean) { _C(this,
|
|
570
|
+
get scrollFollowingVisibleCharacters(): boolean { return _C(this, 8446) as boolean; }
|
|
571
|
+
set scrollFollowingVisibleCharacters(v: boolean) { _C(this, 12902, v); }
|
|
561
572
|
|
|
562
573
|
/**
|
|
563
574
|
* If set to something other than {@link TextServer.AUTOWRAP_OFF}, the text gets wrapped inside the node's bounding rectangle.
|
|
564
575
|
* **Note:** RichTextLabels with autowrapping and {@link fitContent} enabled must have a custom maximum width configured to work correctly, either through the RichTextLabel's own {@link Control.customMaximumSize} or as a result of a propagated maximum size from a parent Control with {@link Control.propagateMaximumSize} enabled.
|
|
565
576
|
*/
|
|
566
|
-
get autowrapMode(): AutowrapMode { return _C(this,
|
|
567
|
-
set autowrapMode(v: AutowrapMode) { _C(this,
|
|
577
|
+
get autowrapMode(): AutowrapMode { return _C(this, 3915) as AutowrapMode; }
|
|
578
|
+
set autowrapMode(v: AutowrapMode) { _C(this, 10816, v); }
|
|
568
579
|
|
|
569
580
|
/**
|
|
570
581
|
* Autowrap space trimming flags. See {@link TextServer.BREAK_TRIM_START_EDGE_SPACES} and {@link TextServer.BREAK_TRIM_END_EDGE_SPACES} for more info.
|
|
571
582
|
*/
|
|
572
|
-
get autowrapTrimFlags(): LineBreakFlag { return _C(this,
|
|
573
|
-
set autowrapTrimFlags(v: LineBreakFlag) { _C(this,
|
|
583
|
+
get autowrapTrimFlags(): LineBreakFlag { return _C(this, 3916) as LineBreakFlag; }
|
|
584
|
+
set autowrapTrimFlags(v: LineBreakFlag) { _C(this, 10817, v); }
|
|
574
585
|
|
|
575
586
|
/**
|
|
576
587
|
* The number of spaces associated with a single tab length. Does not affect `\t` in text tags, only indent tags.
|
|
577
588
|
*/
|
|
578
|
-
get tabSize(): number { return _C(this,
|
|
579
|
-
set tabSize(v: number) { _C(this,
|
|
589
|
+
get tabSize(): number { return _C(this, 6815) as number; }
|
|
590
|
+
set tabSize(v: number) { _C(this, 13249, v); }
|
|
580
591
|
|
|
581
592
|
/**
|
|
582
593
|
* If `true`, a right-click displays the context menu.
|
|
583
594
|
*/
|
|
584
|
-
get contextMenuEnabled(): boolean { return _C(this,
|
|
585
|
-
set contextMenuEnabled(v: boolean) { _C(this,
|
|
595
|
+
get contextMenuEnabled(): boolean { return _C(this, 8021) as boolean; }
|
|
596
|
+
set contextMenuEnabled(v: boolean) { _C(this, 11184, v); }
|
|
586
597
|
|
|
587
598
|
/**
|
|
588
599
|
* If `true`, shortcut keys for context menu items are enabled, even if the context menu is disabled.
|
|
589
600
|
*/
|
|
590
|
-
get shortcutKeysEnabled(): boolean { return _C(this,
|
|
591
|
-
set shortcutKeysEnabled(v: boolean) { _C(this,
|
|
601
|
+
get shortcutKeysEnabled(): boolean { return _C(this, 8478) as boolean; }
|
|
602
|
+
set shortcutKeysEnabled(v: boolean) { _C(this, 12995, v); }
|
|
592
603
|
|
|
593
604
|
/**
|
|
594
605
|
* Controls the text's horizontal alignment. Supports left, center, right, and fill (also known as justify).
|
|
595
606
|
*/
|
|
596
|
-
get horizontalAlignment(): HorizontalAlignment { return _C(this,
|
|
597
|
-
set horizontalAlignment(v: HorizontalAlignment) { _C(this,
|
|
607
|
+
get horizontalAlignment(): HorizontalAlignment { return _C(this, 5131) as HorizontalAlignment; }
|
|
608
|
+
set horizontalAlignment(v: HorizontalAlignment) { _C(this, 11875, v); }
|
|
598
609
|
|
|
599
610
|
/**
|
|
600
611
|
* Controls the text's vertical alignment. Supports top, center, bottom, and fill.
|
|
601
612
|
*/
|
|
602
|
-
get verticalAlignment(): VerticalAlignment { return _C(this,
|
|
603
|
-
set verticalAlignment(v: VerticalAlignment) { _C(this,
|
|
613
|
+
get verticalAlignment(): VerticalAlignment { return _C(this, 7205) as VerticalAlignment; }
|
|
614
|
+
set verticalAlignment(v: VerticalAlignment) { _C(this, 13579, v); }
|
|
604
615
|
|
|
605
616
|
/**
|
|
606
617
|
* Line fill alignment rules.
|
|
607
618
|
*/
|
|
608
|
-
get justificationFlags(): JustificationFlag { return _C(this,
|
|
609
|
-
set justificationFlags(v: JustificationFlag) { _C(this,
|
|
619
|
+
get justificationFlags(): JustificationFlag { return _C(this, 5374) as JustificationFlag; }
|
|
620
|
+
set justificationFlags(v: JustificationFlag) { _C(this, 12097, v); }
|
|
610
621
|
|
|
611
622
|
/**
|
|
612
623
|
* Aligns text to the given tab-stops.
|
|
613
624
|
*/
|
|
614
|
-
get tabStops(): PackedFloat32Array { return _C(this,
|
|
615
|
-
set tabStops(v: PackedFloat32Array | number[]) { _C(this,
|
|
625
|
+
get tabStops(): PackedFloat32Array { return _C(this, 6817) as PackedFloat32Array; }
|
|
626
|
+
set tabStops(v: PackedFloat32Array | number[]) { _C(this, 13251, v); }
|
|
616
627
|
|
|
617
628
|
/**
|
|
618
629
|
* The currently installed custom effects. This is an array of {@link RichTextEffect}s.
|
|
619
630
|
* To add a custom effect, it's more convenient to use {@link installEffect}.
|
|
620
631
|
*/
|
|
621
|
-
get customEffects(): GodotArray { return _C(this,
|
|
622
|
-
set customEffects(v: GodotArray | unknown[]) { _C(this,
|
|
632
|
+
get customEffects(): GodotArray { return _C(this, 4688) as GodotArray; }
|
|
633
|
+
set customEffects(v: GodotArray | unknown[]) { _C(this, 11454, v); }
|
|
623
634
|
|
|
624
635
|
/**
|
|
625
636
|
* If `true`, the label underlines meta tags such as {@link code skip-lint}[{text}]({text}). These tags can call a function when clicked if {@link meta_clicked} is connected to a function.
|
|
626
637
|
*/
|
|
627
|
-
get metaUnderlined(): boolean { return _C(this,
|
|
628
|
-
set metaUnderlined(v: boolean) { _C(this,
|
|
638
|
+
get metaUnderlined(): boolean { return _C(this, 8274) as boolean; }
|
|
639
|
+
set metaUnderlined(v: boolean) { _C(this, 12288, v); }
|
|
629
640
|
|
|
630
641
|
/**
|
|
631
642
|
* If `true`, the label underlines hint tags such as {@link code skip-lint}.
|
|
632
643
|
*/
|
|
633
|
-
get hintUnderlined(): boolean { return _C(this,
|
|
634
|
-
set hintUnderlined(v: boolean) { _C(this,
|
|
644
|
+
get hintUnderlined(): boolean { return _C(this, 8162) as boolean; }
|
|
645
|
+
set hintUnderlined(v: boolean) { _C(this, 11870, v); }
|
|
635
646
|
|
|
636
647
|
/**
|
|
637
648
|
* If `true`, text processing is done in a background thread.
|
|
638
649
|
*/
|
|
639
|
-
get threaded(): boolean { return _C(this,
|
|
640
|
-
set threaded(v: boolean) { _C(this,
|
|
650
|
+
get threaded(): boolean { return _C(this, 8537) as boolean; }
|
|
651
|
+
set threaded(v: boolean) { _C(this, 13328, v); }
|
|
641
652
|
|
|
642
653
|
/**
|
|
643
|
-
* The delay after which the loading progress bar is displayed, in milliseconds. Set to `-1` to disable progress bar entirely.
|
|
644
|
-
* **Note:**
|
|
654
|
+
* The delay after which the loading progress bar is displayed, in milliseconds. Set to `-1` to disable the progress bar entirely.
|
|
655
|
+
* **Note:** The progress bar is displayed only if {@link threaded} is enabled.
|
|
645
656
|
*/
|
|
646
|
-
get progressBarDelay(): number { return _C(this,
|
|
647
|
-
set progressBarDelay(v: number) { _C(this,
|
|
657
|
+
get progressBarDelay(): number { return _C(this, 6154) as number; }
|
|
658
|
+
set progressBarDelay(v: number) { _C(this, 12698, v); }
|
|
648
659
|
|
|
649
660
|
/**
|
|
650
661
|
* If `true`, the label allows text selection.
|
|
651
662
|
*/
|
|
652
|
-
get selectionEnabled(): boolean { return _C(this,
|
|
653
|
-
set selectionEnabled(v: boolean) { _C(this,
|
|
663
|
+
get selectionEnabled(): boolean { return _C(this, 8461) as boolean; }
|
|
664
|
+
set selectionEnabled(v: boolean) { _C(this, 12955, v); }
|
|
654
665
|
|
|
655
666
|
/**
|
|
656
667
|
* If `true`, the selected text will be deselected when focus is lost.
|
|
657
668
|
*/
|
|
658
|
-
get deselectOnFocusLossEnabled(): boolean { return _C(this,
|
|
659
|
-
set deselectOnFocusLossEnabled(v: boolean) { _C(this,
|
|
669
|
+
get deselectOnFocusLossEnabled(): boolean { return _C(this, 8041) as boolean; }
|
|
670
|
+
set deselectOnFocusLossEnabled(v: boolean) { _C(this, 11327, v); }
|
|
660
671
|
|
|
661
672
|
/**
|
|
662
673
|
* If `true`, allow drag and drop of selected text.
|
|
663
674
|
*/
|
|
664
|
-
get dragAndDropSelectionEnabled(): boolean { return _C(this,
|
|
665
|
-
set dragAndDropSelectionEnabled(v: boolean) { _C(this,
|
|
675
|
+
get dragAndDropSelectionEnabled(): boolean { return _C(this, 8055) as boolean; }
|
|
676
|
+
set dragAndDropSelectionEnabled(v: boolean) { _C(this, 11391, v); }
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* If `true`, the text size will automatically shrink or grow to fit within the node's bounding rectangle. It will pick the largest font size between {@link minimumFontSize} and {@link maximumFontSize} that doesn't cause the text to be truncated.
|
|
680
|
+
* Font sizes that are overridden with the {@link code skip-lint}{@link font_size} tag are scaled relative to the theme font size. For example, if the theme font size is `16` and {@link code skip-lint}{@link font_size} is used with an automatic font size determined to be `32`, text in the overridden block will be in size `48`.
|
|
681
|
+
*/
|
|
682
|
+
get resizeFontToFit(): boolean { return _C(this, 8415) as boolean; }
|
|
683
|
+
set resizeFontToFit(v: boolean) { _C(this, 12801, v); }
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* The minimum font size used when {@link resizeFontToFit} is enabled. Also determines the minimum vertical size of this {@link RichTextLabel}, potentially used by a parent {@link Container}. If {@link minimumFontSize} is greater than {@link maximumFontSize}, the minimum font size takes precedence.
|
|
687
|
+
*/
|
|
688
|
+
get minimumFontSize(): number { return _C(this, 5660) as number; }
|
|
689
|
+
set minimumFontSize(v: number) { _C(this, 12318, v); }
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* The maximum font size used when {@link resizeFontToFit} is enabled. If {@link minimumFontSize} is greater than {@link maximumFontSize}, the minimum font size takes precedence.
|
|
693
|
+
*/
|
|
694
|
+
get maximumFontSize(): number { return _C(this, 5596) as number; }
|
|
695
|
+
set maximumFontSize(v: number) { _C(this, 12268, v); }
|
|
666
696
|
|
|
667
697
|
/**
|
|
668
698
|
* The number of characters to display. If set to `-1`, all characters are displayed. This can be useful when animating the text appearing in a dialog box.
|
|
669
699
|
* **Note:** Setting this property updates {@link visibleRatio} accordingly.
|
|
670
700
|
* **Note:** Characters are counted as Unicode codepoints. A single visible grapheme may contain multiple codepoints (e.g. certain emoji use three codepoints). A single codepoint may contain two UTF-16 characters, which are used in C# strings.
|
|
671
701
|
*/
|
|
672
|
-
get visibleCharacters(): number { return _C(this,
|
|
673
|
-
set visibleCharacters(v: number) { _C(this,
|
|
702
|
+
get visibleCharacters(): number { return _C(this, 7246) as number; }
|
|
703
|
+
set visibleCharacters(v: number) { _C(this, 13608, v); }
|
|
674
704
|
|
|
675
705
|
/**
|
|
676
706
|
* The clipping behavior when {@link visibleCharacters} or {@link visibleRatio} is set.
|
|
677
707
|
*/
|
|
678
|
-
get visibleCharactersBehavior(): VisibleCharactersBehavior { return _C(this,
|
|
679
|
-
set visibleCharactersBehavior(v: VisibleCharactersBehavior) { _C(this,
|
|
708
|
+
get visibleCharactersBehavior(): VisibleCharactersBehavior { return _C(this, 7247) as VisibleCharactersBehavior; }
|
|
709
|
+
set visibleCharactersBehavior(v: VisibleCharactersBehavior) { _C(this, 13609, v); }
|
|
680
710
|
|
|
681
711
|
/**
|
|
682
|
-
* The fraction of characters to display, relative to the total number of characters (see {@link getTotalCharacterCount}). If set to `1.0`, all characters are displayed. If set to `0.5`, only half of the characters
|
|
712
|
+
* The fraction of characters to display, relative to the total number of characters (see {@link getTotalCharacterCount}). If set to `1.0`, all characters are displayed. If set to `0.5`, only half of the characters are displayed. This can be useful when animating the text appearing in a dialog box.
|
|
683
713
|
* **Note:** Setting this property updates {@link visibleCharacters} accordingly.
|
|
684
714
|
*/
|
|
685
|
-
get visibleRatio(): number { return _C(this,
|
|
686
|
-
set visibleRatio(v: number) { _C(this,
|
|
715
|
+
get visibleRatio(): number { return _C(this, 7253) as number; }
|
|
716
|
+
set visibleRatio(v: number) { _C(this, 13611, v); }
|
|
687
717
|
|
|
688
718
|
/**
|
|
689
719
|
* Base text writing direction.
|
|
690
720
|
*/
|
|
691
|
-
get textDirection(): TextDirection { return _C(this,
|
|
692
|
-
set textDirection(v: TextDirection) { _C(this,
|
|
721
|
+
get textDirection(): TextDirection { return _C(this, 6854) as TextDirection; }
|
|
722
|
+
set textDirection(v: TextDirection) { _C(this, 13292, v); }
|
|
693
723
|
|
|
694
724
|
/**
|
|
695
725
|
* Language code used for line-breaking and text shaping algorithms. If left empty, the current locale is used instead.
|
|
696
726
|
*/
|
|
697
|
-
get language(): string { return _C(this,
|
|
698
|
-
set language(v: string) { _C(this,
|
|
727
|
+
get language(): string { return _C(this, 5394) as string; }
|
|
728
|
+
set language(v: string) { _C(this, 12116, v); }
|
|
699
729
|
|
|
700
730
|
/**
|
|
701
731
|
* Set BiDi algorithm override for the structured text.
|
|
702
732
|
*/
|
|
703
|
-
get structuredTextBidiOverride(): StructuredTextParser { return _C(this,
|
|
704
|
-
set structuredTextBidiOverride(v: StructuredTextParser) { _C(this,
|
|
733
|
+
get structuredTextBidiOverride(): StructuredTextParser { return _C(this, 6717) as StructuredTextParser; }
|
|
734
|
+
set structuredTextBidiOverride(v: StructuredTextParser) { _C(this, 13182, v); }
|
|
705
735
|
|
|
706
736
|
/**
|
|
707
737
|
* Set additional options for BiDi override.
|
|
708
738
|
*/
|
|
709
|
-
get structuredTextBidiOverrideOptions(): GodotArray { return _C(this,
|
|
710
|
-
set structuredTextBidiOverrideOptions(v: GodotArray | unknown[]) { _C(this,
|
|
739
|
+
get structuredTextBidiOverrideOptions(): GodotArray { return _C(this, 6718) as GodotArray; }
|
|
740
|
+
set structuredTextBidiOverrideOptions(v: GodotArray | unknown[]) { _C(this, 13183, v); }
|
|
711
741
|
|
|
712
742
|
/**
|
|
713
743
|
* Triggered when the user clicks on content between meta (URL) tags. If the meta is defined in BBCode, e.g. {@link code skip-lint}[Text](value"})[/code], then the parameter for this signal will always be a {@link String} type. If a particular type or an object is desired, the {@link pushMeta} method must be used to manually insert the data into the tag stack. Alternatively, you can convert the {@link String} input to the desired type based on its contents (such as calling {@link JSON.parse} on it).
|
|
@@ -724,29 +754,29 @@ export class RichTextLabel extends Control {
|
|
|
724
754
|
*
|
|
725
755
|
* ```
|
|
726
756
|
*/
|
|
727
|
-
get metaClicked(): Signal<(meta: Variant) => void> { return _G(this,
|
|
728
|
-
set metaClicked(v: ((meta: Variant) => void) | null) { _G(this,
|
|
757
|
+
get metaClicked(): Signal<(meta: Variant) => void> { return _G(this, 9084) as Signal<(meta: Variant) => void>; }
|
|
758
|
+
set metaClicked(v: ((meta: Variant) => void) | null) { _G(this, 9084, v); }
|
|
729
759
|
|
|
730
760
|
/**
|
|
731
761
|
* Triggers when the mouse enters a meta tag.
|
|
732
762
|
*/
|
|
733
|
-
get metaHoverStarted(): Signal<(meta: Variant) => void> { return _G(this,
|
|
734
|
-
set metaHoverStarted(v: ((meta: Variant) => void) | null) { _G(this,
|
|
763
|
+
get metaHoverStarted(): Signal<(meta: Variant) => void> { return _G(this, 9086) as Signal<(meta: Variant) => void>; }
|
|
764
|
+
set metaHoverStarted(v: ((meta: Variant) => void) | null) { _G(this, 9086, v); }
|
|
735
765
|
|
|
736
766
|
/**
|
|
737
767
|
* Triggers when the mouse exits a meta tag.
|
|
738
768
|
*/
|
|
739
|
-
get metaHoverEnded(): Signal<(meta: Variant) => void> { return _G(this,
|
|
740
|
-
set metaHoverEnded(v: ((meta: Variant) => void) | null) { _G(this,
|
|
769
|
+
get metaHoverEnded(): Signal<(meta: Variant) => void> { return _G(this, 9085) as Signal<(meta: Variant) => void>; }
|
|
770
|
+
set metaHoverEnded(v: ((meta: Variant) => void) | null) { _G(this, 9085, v); }
|
|
741
771
|
|
|
742
772
|
/**
|
|
743
773
|
* Triggered when the document is fully loaded.
|
|
744
774
|
* **Note:** This can happen before the text is processed for drawing. Scrolling values may not be valid until the document is drawn for the first time after this signal.
|
|
745
775
|
*/
|
|
746
|
-
get finished(): Signal<() => void> { return _G(this,
|
|
747
|
-
set finished(v: (() => void) | null) { _G(this,
|
|
776
|
+
get finished(): Signal<() => void> { return _G(this, 3369) as Signal<() => void>; }
|
|
777
|
+
set finished(v: (() => void) | null) { _G(this, 3369, v); }
|
|
748
778
|
|
|
749
|
-
static readonly name = _R(
|
|
779
|
+
static readonly name = _R(694, RichTextLabel);
|
|
750
780
|
}
|
|
751
781
|
|
|
752
782
|
export const ListType = {
|
|
@@ -759,7 +789,7 @@ export const ListType = {
|
|
|
759
789
|
*/
|
|
760
790
|
LIST_LETTERS: 1,
|
|
761
791
|
/**
|
|
762
|
-
* Each list item has a
|
|
792
|
+
* Each list item has a Roman numeral marker.
|
|
763
793
|
*/
|
|
764
794
|
LIST_ROMAN: 2,
|
|
765
795
|
/**
|
|
@@ -789,15 +819,15 @@ export type MenuItems = (typeof MenuItems)[keyof typeof MenuItems];
|
|
|
789
819
|
|
|
790
820
|
export const MetaUnderline = {
|
|
791
821
|
/**
|
|
792
|
-
*
|
|
822
|
+
* The meta tag does not display an underline, even if {@link metaUnderlined} is `true`.
|
|
793
823
|
*/
|
|
794
824
|
META_UNDERLINE_NEVER: 0,
|
|
795
825
|
/**
|
|
796
|
-
* If {@link metaUnderlined} is `true`, meta tag always
|
|
826
|
+
* If {@link metaUnderlined} is `true`, the meta tag always displays an underline.
|
|
797
827
|
*/
|
|
798
828
|
META_UNDERLINE_ALWAYS: 1,
|
|
799
829
|
/**
|
|
800
|
-
* If {@link metaUnderlined} is `true`, meta tag
|
|
830
|
+
* If {@link metaUnderlined} is `true`, the meta tag displays an underline when hovered by the mouse cursor.
|
|
801
831
|
*/
|
|
802
832
|
META_UNDERLINE_ON_HOVER: 2,
|
|
803
833
|
} as const;
|
|
@@ -841,17 +871,42 @@ export const ImageUpdateMask = {
|
|
|
841
871
|
|
|
842
872
|
export type ImageUpdateMask = (typeof ImageUpdateMask)[keyof typeof ImageUpdateMask];
|
|
843
873
|
|
|
874
|
+
export const ResourceAccessFlag = {
|
|
875
|
+
/**
|
|
876
|
+
* Allows accessing files under the {@link Resource} path (`res://`).
|
|
877
|
+
*/
|
|
878
|
+
RESOURCE_ACCESS_RESOURCES: 1,
|
|
879
|
+
/**
|
|
880
|
+
* Allows accessing files under the user data path (`user://`).
|
|
881
|
+
*/
|
|
882
|
+
RESOURCE_ACCESS_USERDATA: 2,
|
|
883
|
+
/**
|
|
884
|
+
* Allows accessing files on the whole local file system.
|
|
885
|
+
*/
|
|
886
|
+
RESOURCE_ACCESS_FILESYSTEM: 4,
|
|
887
|
+
/**
|
|
888
|
+
* Allows accessing named pipes (`pipe://`).
|
|
889
|
+
*/
|
|
890
|
+
RESOURCE_ACCESS_PIPE: 8,
|
|
891
|
+
/**
|
|
892
|
+
* Allows accessing files on network shares.
|
|
893
|
+
*/
|
|
894
|
+
RESOURCE_ACCESS_NETWORK: 16,
|
|
895
|
+
} as const;
|
|
896
|
+
|
|
897
|
+
export type ResourceAccessFlag = (typeof ResourceAccessFlag)[keyof typeof ResourceAccessFlag];
|
|
898
|
+
|
|
844
899
|
export const ImageUnit = {
|
|
845
900
|
/**
|
|
846
|
-
*
|
|
901
|
+
* Image size is given in pixels.
|
|
847
902
|
*/
|
|
848
903
|
IMAGE_UNIT_PIXEL: 0,
|
|
849
904
|
/**
|
|
850
|
-
*
|
|
905
|
+
* Image size is given as a percentage of the {@link RichTextLabel}'s width.
|
|
851
906
|
*/
|
|
852
907
|
IMAGE_UNIT_PERCENT: 1,
|
|
853
908
|
/**
|
|
854
|
-
*
|
|
909
|
+
* Image size is given as a multiplier of the surrounding font size.
|
|
855
910
|
*/
|
|
856
911
|
IMAGE_UNIT_EM: 2,
|
|
857
912
|
} as const;
|