@ringozz/godot 4.7.2-685 → 4.7.2-698
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +185 -185
- package/gen/classes/AESContext.ts +6 -6
- package/gen/classes/AStar2D.ts +25 -25
- package/gen/classes/AStar3D.ts +25 -25
- package/gen/classes/AStarGrid2D.ts +33 -33
- package/gen/classes/AcceptDialog.ts +23 -22
- package/gen/classes/AccessibilityServer.ts +79 -75
- package/gen/classes/AimModifier3D.ts +12 -12
- package/gen/classes/AnimatableBody2D.ts +2 -2
- package/gen/classes/AnimatableBody3D.ts +2 -2
- package/gen/classes/AnimatedSprite2D.ts +37 -37
- package/gen/classes/AnimatedSprite3D.ts +29 -29
- package/gen/classes/AnimatedTexture.ts +14 -14
- package/gen/classes/Animation.ts +102 -86
- package/gen/classes/AnimationLibrary.ts +15 -15
- package/gen/classes/AnimationMixer.ts +54 -54
- package/gen/classes/AnimationNode.ts +27 -27
- package/gen/classes/AnimationNodeAnimation.ts +16 -16
- package/gen/classes/AnimationNodeBlendSpace1D.ts +37 -27
- package/gen/classes/AnimationNodeBlendSpace2D.ts +48 -41
- package/gen/classes/AnimationNodeBlendTree.ts +14 -14
- package/gen/classes/AnimationNodeExtension.ts +2 -2
- package/gen/classes/AnimationNodeObserver.ts +10 -0
- package/gen/classes/AnimationNodeObserverBlendSpace.ts +18 -0
- package/gen/classes/AnimationNodeObserverOneShot.ts +36 -0
- package/gen/classes/AnimationNodeObserverTransition.ts +24 -0
- package/gen/classes/AnimationNodeOneShot.ts +34 -22
- package/gen/classes/AnimationNodeOutput.ts +2 -2
- package/gen/classes/AnimationNodeStateMachine.ts +28 -28
- package/gen/classes/AnimationNodeStateMachinePlayback.ts +20 -20
- package/gen/classes/AnimationNodeStateMachineTransition.ts +22 -22
- package/gen/classes/AnimationNodeSub2.ts +2 -2
- package/gen/classes/AnimationNodeSync.ts +4 -4
- package/gen/classes/AnimationNodeTimeScale.ts +2 -2
- package/gen/classes/AnimationNodeTimeSeek.ts +4 -4
- package/gen/classes/AnimationNodeTransition.ts +28 -16
- package/gen/classes/AnimationPlayer.ts +67 -60
- package/gen/classes/AnimationRootNode.ts +2 -2
- package/gen/classes/AnimationTree.ts +12 -12
- package/gen/classes/Area2D.ts +55 -55
- package/gen/classes/Area3D.ts +69 -69
- package/gen/classes/AreaLight3D.ts +13 -13
- package/gen/classes/ArrayMesh.ts +28 -28
- package/gen/classes/ArrayOccluder3D.ts +7 -7
- package/gen/classes/AspectRatioContainer.ts +10 -10
- package/gen/classes/AtlasTexture.ts +10 -10
- package/gen/classes/AudioBusLayout.ts +2 -2
- package/gen/classes/AudioEffect.ts +2 -2
- package/gen/classes/AudioEffectAmplify.ts +6 -6
- package/gen/classes/AudioEffectBandLimitFilter.ts +2 -2
- package/gen/classes/AudioEffectBandPassFilter.ts +2 -2
- package/gen/classes/AudioEffectCapture.ts +11 -11
- package/gen/classes/AudioEffectChorus.ts +20 -20
- package/gen/classes/AudioEffectCompressor.ts +16 -16
- package/gen/classes/AudioEffectDelay.ts +28 -28
- package/gen/classes/AudioEffectDistortion.ts +12 -12
- package/gen/classes/AudioEffectEQ.ts +5 -5
- package/gen/classes/AudioEffectEQ10.ts +2 -2
- package/gen/classes/AudioEffectEQ21.ts +2 -2
- package/gen/classes/AudioEffectEQ6.ts +2 -2
- package/gen/classes/AudioEffectFilter.ts +10 -10
- package/gen/classes/AudioEffectHardLimiter.ts +8 -8
- package/gen/classes/AudioEffectHighPassFilter.ts +2 -2
- package/gen/classes/AudioEffectHighShelfFilter.ts +2 -2
- package/gen/classes/AudioEffectInstance.ts +2 -2
- package/gen/classes/AudioEffectLimiter.ts +10 -10
- package/gen/classes/AudioEffectLowPassFilter.ts +2 -2
- package/gen/classes/AudioEffectLowShelfFilter.ts +2 -2
- package/gen/classes/AudioEffectNotchFilter.ts +2 -2
- package/gen/classes/AudioEffectPanner.ts +4 -4
- package/gen/classes/AudioEffectPhaser.ts +12 -12
- package/gen/classes/AudioEffectPitchShift.ts +8 -8
- package/gen/classes/AudioEffectRecord.ts +7 -7
- package/gen/classes/AudioEffectReverb.ts +18 -18
- package/gen/classes/AudioEffectSpectrumAnalyzer.ts +6 -6
- package/gen/classes/AudioEffectSpectrumAnalyzerInstance.ts +2 -2
- package/gen/classes/AudioEffectStereoEnhance.ts +8 -8
- package/gen/classes/AudioListener2D.ts +5 -5
- package/gen/classes/AudioListener3D.ts +8 -8
- package/gen/classes/AudioSample.ts +2 -2
- package/gen/classes/AudioSamplePlayback.ts +2 -2
- package/gen/classes/AudioServer.ts +63 -63
- package/gen/classes/AudioStream.ts +10 -10
- package/gen/classes/AudioStreamGenerator.ts +8 -8
- package/gen/classes/AudioStreamGeneratorPlayback.ts +7 -7
- package/gen/classes/AudioStreamInteractive.ts +25 -25
- package/gen/classes/AudioStreamMP3.ts +16 -16
- package/gen/classes/AudioStreamMicrophone.ts +2 -2
- package/gen/classes/AudioStreamOggVorbis.ts +18 -18
- package/gen/classes/AudioStreamPlayback.ts +11 -11
- package/gen/classes/AudioStreamPlaybackInteractive.ts +4 -4
- package/gen/classes/AudioStreamPlaybackOggVorbis.ts +2 -2
- package/gen/classes/AudioStreamPlaybackPlaylist.ts +1 -1
- package/gen/classes/AudioStreamPlaybackPolyphonic.ts +6 -6
- package/gen/classes/AudioStreamPlaybackResampled.ts +3 -3
- package/gen/classes/AudioStreamPlaybackSynchronized.ts +1 -1
- package/gen/classes/AudioStreamPlayer.ts +32 -32
- package/gen/classes/AudioStreamPlayer2D.ts +38 -38
- package/gen/classes/AudioStreamPlayer3D.ts +54 -54
- package/gen/classes/AudioStreamPlaylist.ts +139 -139
- package/gen/classes/AudioStreamPolyphonic.ts +4 -4
- package/gen/classes/AudioStreamRandomizer.ts +19 -19
- package/gen/classes/AudioStreamSynchronized.ts +8 -8
- package/gen/classes/AudioStreamWAV.ts +21 -21
- package/gen/classes/AwaitTweener.ts +3 -3
- package/gen/classes/BackBufferCopy.ts +6 -6
- package/gen/classes/BaseButton.ts +39 -33
- package/gen/classes/BaseMaterial3D.ts +283 -268
- package/gen/classes/BitMap.ts +17 -17
- package/gen/classes/BlitMaterial.ts +8 -4
- package/gen/classes/Bone2D.ts +13 -13
- package/gen/classes/BoneAttachment3D.ts +14 -14
- package/gen/classes/BoneConstraint3D.ts +26 -26
- package/gen/classes/BoneMap.ts +11 -11
- package/gen/classes/BoneSpaceAdjuster3D.ts +76 -0
- package/gen/classes/BoneTwistDisperser3D.ts +36 -36
- package/gen/classes/BoxContainer.ts +13 -7
- package/gen/classes/BoxMesh.ts +10 -10
- package/gen/classes/BoxOccluder3D.ts +4 -4
- package/gen/classes/BoxShape3D.ts +4 -4
- package/gen/classes/Button.ts +28 -28
- package/gen/classes/ButtonGroup.ts +8 -8
- package/gen/classes/CCDIK3D.ts +2 -2
- package/gen/classes/CPUParticles2D.ts +145 -145
- package/gen/classes/CPUParticles3D.ts +162 -162
- package/gen/classes/CSGBox3D.ts +6 -6
- package/gen/classes/CSGCombiner3D.ts +2 -2
- package/gen/classes/CSGCylinder3D.ts +14 -14
- package/gen/classes/CSGMesh3D.ts +6 -6
- package/gen/classes/CSGPolygon3D.ts +36 -36
- package/gen/classes/CSGPrimitive3D.ts +3 -3
- package/gen/classes/CSGShape3D.ts +27 -27
- package/gen/classes/CSGSphere3D.ts +12 -12
- package/gen/classes/CSGTorus3D.ts +14 -14
- package/gen/classes/CallbackTweener.ts +3 -3
- package/gen/classes/Camera2D.ts +66 -66
- package/gen/classes/Camera3D.ts +53 -53
- package/gen/classes/CameraAttributes.ts +12 -12
- package/gen/classes/CameraAttributesPhysical.ts +21 -21
- package/gen/classes/CameraAttributesPractical.ts +20 -20
- package/gen/classes/CameraFeed.ts +23 -23
- package/gen/classes/CameraServer.ts +15 -15
- package/gen/classes/CameraTexture.ts +8 -8
- package/gen/classes/CanvasGroup.ts +8 -8
- package/gen/classes/CanvasItem.ts +115 -113
- package/gen/classes/CanvasItemMaterial.ts +14 -14
- package/gen/classes/CanvasLayer.ts +27 -27
- package/gen/classes/CanvasModulate.ts +4 -4
- package/gen/classes/CanvasTexture.ts +16 -16
- package/gen/classes/CapsuleMesh.ts +10 -10
- package/gen/classes/CapsuleShape2D.ts +8 -8
- package/gen/classes/CapsuleShape3D.ts +8 -8
- package/gen/classes/CenterContainer.ts +4 -4
- package/gen/classes/ChainIK3D.ts +18 -18
- package/gen/classes/CharFXTransform.ts +28 -28
- package/gen/classes/CharacterBody2D.ts +50 -50
- package/gen/classes/CharacterBody3D.ts +51 -51
- package/gen/classes/CheckBox.ts +2 -2
- package/gen/classes/CheckButton.ts +2 -2
- package/gen/classes/CircleShape2D.ts +4 -4
- package/gen/classes/ClassDB.ts +38 -32
- package/gen/classes/CodeEdit.ts +126 -126
- package/gen/classes/CodeHighlighter.ts +30 -30
- package/gen/classes/CollisionObject2D.ts +52 -52
- package/gen/classes/CollisionObject3D.ts +44 -44
- package/gen/classes/CollisionPolygon2D.ts +14 -14
- package/gen/classes/CollisionPolygon3D.ts +14 -14
- package/gen/classes/CollisionShape2D.ts +14 -14
- package/gen/classes/CollisionShape3D.ts +12 -12
- package/gen/classes/ColorPalette.ts +4 -4
- package/gen/classes/ColorPicker.ts +38 -38
- package/gen/classes/ColorPickerButton.ts +16 -16
- package/gen/classes/ColorRect.ts +4 -4
- package/gen/classes/Compositor.ts +4 -4
- package/gen/classes/CompositorEffect.ts +16 -16
- package/gen/classes/CompressedCubemap.ts +2 -2
- package/gen/classes/CompressedCubemapArray.ts +2 -2
- package/gen/classes/CompressedTexture2D.ts +4 -4
- package/gen/classes/CompressedTexture2DArray.ts +2 -2
- package/gen/classes/CompressedTexture3D.ts +4 -4
- package/gen/classes/CompressedTextureLayered.ts +3 -3
- package/gen/classes/ConcavePolygonShape2D.ts +4 -4
- package/gen/classes/ConcavePolygonShape3D.ts +6 -6
- package/gen/classes/ConeTwistJoint3D.ts +12 -12
- package/gen/classes/ConfigFile.ts +19 -19
- package/gen/classes/ConfirmationDialog.ts +6 -5
- package/gen/classes/Container.ts +10 -10
- package/gen/classes/Control.ts +280 -240
- package/gen/classes/ConvertTransformModifier3D.ts +42 -29
- package/gen/classes/ConvexPolygonShape2D.ts +5 -5
- package/gen/classes/ConvexPolygonShape3D.ts +4 -4
- package/gen/classes/CopyTransformModifier3D.ts +59 -46
- package/gen/classes/Crypto.ts +11 -11
- package/gen/classes/CryptoKey.ts +7 -7
- package/gen/classes/Cubemap.ts +3 -3
- package/gen/classes/CubemapArray.ts +3 -3
- package/gen/classes/Curve.ts +38 -38
- package/gen/classes/Curve2D.ts +25 -25
- package/gen/classes/Curve3D.ts +34 -34
- package/gen/classes/CurveTexture.ts +8 -8
- package/gen/classes/CurveXYZTexture.ts +10 -10
- package/gen/classes/CylinderMesh.ts +16 -16
- package/gen/classes/CylinderShape3D.ts +6 -6
- package/gen/classes/DPITexture.ts +17 -17
- package/gen/classes/DTLSServer.ts +4 -4
- package/gen/classes/DampedSpringJoint2D.ts +10 -10
- package/gen/classes/Decal.ts +32 -32
- package/gen/classes/DirAccess.ts +43 -43
- package/gen/classes/DirectionalLight2D.ts +6 -6
- package/gen/classes/DirectionalLight3D.ts +24 -24
- package/gen/classes/DisplayServer.ts +392 -326
- package/gen/classes/DrawableTexture2D.ts +10 -10
- package/gen/classes/ENetConnection.ts +20 -20
- package/gen/classes/ENetMultiplayerPeer.ts +9 -9
- package/gen/classes/ENetPacketPeer.ts +18 -18
- package/gen/classes/EncodedObjectAsID.ts +4 -4
- package/gen/classes/Engine.ts +43 -43
- package/gen/classes/EngineDebugger.ts +25 -25
- package/gen/classes/EngineProfiler.ts +2 -2
- package/gen/classes/Environment.ts +190 -190
- package/gen/classes/Expression.ts +6 -6
- package/gen/classes/ExternalTexture.ts +6 -6
- package/gen/classes/FABRIK3D.ts +2 -2
- package/gen/classes/FBXDocument.ts +2 -2
- package/gen/classes/FBXState.ts +4 -4
- package/gen/classes/FastNoiseLite.ts +44 -44
- package/gen/classes/FileAccess.ts +69 -69
- package/gen/classes/FileDialog.ts +113 -79
- package/gen/classes/FlowContainer.ts +11 -11
- package/gen/classes/FogMaterial.ts +14 -14
- package/gen/classes/FogVolume.ts +8 -8
- package/gen/classes/FoldableContainer.ts +35 -24
- package/gen/classes/FoldableGroup.ts +8 -8
- package/gen/classes/Font.ts +38 -38
- package/gen/classes/FontFile.ts +113 -113
- package/gen/classes/FontVariation.ts +28 -28
- package/gen/classes/FramebufferCacheRD.ts +3 -3
- package/gen/classes/FuzzySearch.ts +86 -0
- package/gen/classes/FuzzySearchMatch.ts +36 -0
- package/gen/classes/GDExtension.ts +4 -4
- package/gen/classes/GDExtensionManager.ts +15 -15
- package/gen/classes/GDScript.ts +3 -3
- package/gen/classes/GLTFAccessor.ts +34 -34
- package/gen/classes/GLTFAnimation.ts +8 -8
- package/gen/classes/GLTFBufferView.ts +17 -17
- package/gen/classes/GLTFCamera.ts +16 -16
- package/gen/classes/GLTFDocument.ts +27 -27
- package/gen/classes/GLTFDocumentExtension.ts +2 -2
- package/gen/classes/GLTFDocumentExtensionConvertImporterMesh.ts +2 -2
- package/gen/classes/GLTFLight.ts +20 -20
- package/gen/classes/GLTFMesh.ts +12 -12
- package/gen/classes/GLTFNode.ts +34 -34
- package/gen/classes/GLTFObjectModelProperty.ts +20 -20
- package/gen/classes/GLTFPhysicsBody.ts +22 -22
- package/gen/classes/GLTFPhysicsShape.ts +25 -25
- package/gen/classes/GLTFSkeleton.ts +13 -13
- package/gen/classes/GLTFSkin.ts +22 -22
- package/gen/classes/GLTFSpecGloss.ts +12 -12
- package/gen/classes/GLTFState.ts +74 -74
- package/gen/classes/GLTFTexture.ts +6 -6
- package/gen/classes/GLTFTextureSampler.ts +10 -10
- package/gen/classes/GPUParticles2D.ts +63 -62
- package/gen/classes/GPUParticles3D.ts +81 -76
- package/gen/classes/GPUParticlesAttractor3D.ts +9 -9
- package/gen/classes/GPUParticlesAttractorBox3D.ts +4 -4
- package/gen/classes/GPUParticlesAttractorSphere3D.ts +4 -4
- package/gen/classes/GPUParticlesAttractorVectorField3D.ts +6 -6
- package/gen/classes/GPUParticlesCollision3D.ts +3 -3
- package/gen/classes/GPUParticlesCollisionBox3D.ts +4 -4
- package/gen/classes/GPUParticlesCollisionHeightField3D.ts +14 -14
- package/gen/classes/GPUParticlesCollisionSDF3D.ts +14 -14
- package/gen/classes/GPUParticlesCollisionSphere3D.ts +4 -4
- package/gen/classes/Generic6DOFJoint3D.ts +54 -16
- package/gen/classes/Geometry2D.ts +26 -26
- package/gen/classes/Geometry3D.ts +17 -17
- package/gen/classes/GeometryInstance3D.ts +36 -36
- package/gen/classes/GodotInstance.ts +8 -8
- package/gen/classes/Gradient.ts +19 -19
- package/gen/classes/GradientTexture1D.ts +8 -8
- package/gen/classes/GradientTexture2D.ts +18 -18
- package/gen/classes/GraphEdit.ts +116 -116
- package/gen/classes/GraphElement.ts +30 -30
- package/gen/classes/GraphFrame.ts +17 -17
- package/gen/classes/GraphNode.ts +48 -48
- package/gen/classes/GridContainer.ts +4 -4
- package/gen/classes/GridMap.ts +76 -64
- package/gen/classes/GrooveJoint2D.ts +6 -6
- package/gen/classes/HBoxContainer.ts +2 -2
- package/gen/classes/HFlowContainer.ts +2 -2
- package/gen/classes/HMACContext.ts +5 -5
- package/gen/classes/HScrollBar.ts +2 -2
- package/gen/classes/HSeparator.ts +2 -2
- package/gen/classes/HSlider.ts +2 -2
- package/gen/classes/HSplitContainer.ts +2 -2
- package/gen/classes/HTTPClient.ts +25 -25
- package/gen/classes/HTTPRequest.ts +42 -28
- package/gen/classes/HashingContext.ts +5 -5
- package/gen/classes/HeightMapShape3D.ts +12 -12
- package/gen/classes/HingeJoint3D.ts +6 -6
- package/gen/classes/IKModifier3D.ts +8 -7
- package/gen/classes/IP.ts +12 -12
- package/gen/classes/Image.ts +124 -88
- package/gen/classes/ImageFormatLoader.ts +1 -1
- package/gen/classes/ImageFormatLoaderExtension.ts +4 -4
- package/gen/classes/ImageTexture.ts +8 -8
- package/gen/classes/ImageTexture3D.ts +4 -4
- package/gen/classes/ImageTextureLayered.ts +3 -3
- package/gen/classes/ImmediateMesh.ts +12 -12
- package/gen/classes/ImporterMesh.ts +27 -27
- package/gen/classes/ImporterMeshInstance3D.ts +22 -22
- package/gen/classes/Input.ts +174 -109
- package/gen/classes/InputEvent.ts +17 -17
- package/gen/classes/InputEventAction.ts +10 -10
- package/gen/classes/InputEventFromWindow.ts +3 -3
- package/gen/classes/InputEventGesture.ts +3 -3
- package/gen/classes/InputEventJoypadButton.ts +8 -8
- package/gen/classes/InputEventJoypadMotion.ts +6 -6
- package/gen/classes/InputEventKey.ts +31 -31
- package/gen/classes/InputEventMIDI.ts +18 -18
- package/gen/classes/InputEventMagnifyGesture.ts +4 -4
- package/gen/classes/InputEventMouse.ts +7 -7
- package/gen/classes/InputEventMouseButton.ts +12 -12
- package/gen/classes/InputEventMouseMotion.ts +16 -16
- package/gen/classes/InputEventPanGesture.ts +4 -4
- package/gen/classes/InputEventScreenDrag.ts +20 -20
- package/gen/classes/InputEventScreenTouch.ts +19 -12
- package/gen/classes/InputEventShortcut.ts +4 -4
- package/gen/classes/InputEventWithModifiers.ts +13 -13
- package/gen/classes/InputMap.ts +18 -18
- package/gen/classes/InstancePlaceholder.ts +4 -4
- package/gen/classes/IntervalTweener.ts +2 -2
- package/gen/classes/ItemList.ts +97 -97
- package/gen/classes/IterateIK3D.ts +40 -26
- package/gen/classes/JNISingleton.ts +3 -3
- package/gen/classes/JSON.ts +17 -17
- package/gen/classes/JSONRPC.ts +9 -9
- package/gen/classes/JacobianIK3D.ts +2 -2
- package/gen/classes/JavaClass.ts +6 -6
- package/gen/classes/JavaClassWrapper.ts +6 -6
- package/gen/classes/JavaObject.ts +4 -4
- package/gen/classes/JavaScriptBridge.ts +14 -14
- package/gen/classes/JavaScriptObject.ts +1 -1
- package/gen/classes/Joint2D.ts +10 -10
- package/gen/classes/Joint3D.ts +14 -12
- package/gen/classes/JointLimitation3D.ts +2 -2
- package/gen/classes/JointLimitationCone3D.ts +4 -4
- package/gen/classes/KinematicCollision2D.ts +15 -15
- package/gen/classes/KinematicCollision3D.ts +16 -16
- package/gen/classes/Label.ts +74 -51
- package/gen/classes/Label3D.ts +69 -69
- package/gen/classes/LabelSettings.ts +43 -43
- package/gen/classes/Light2D.ts +33 -33
- package/gen/classes/Light3D.ts +73 -57
- package/gen/classes/LightOccluder2D.ts +8 -8
- package/gen/classes/LightmapGI.ts +59 -47
- package/gen/classes/LightmapGIData.ts +20 -20
- package/gen/classes/LightmapProbe.ts +2 -2
- package/gen/classes/Lightmapper.ts +1 -1
- package/gen/classes/LightmapperRD.ts +2 -2
- package/gen/classes/LimitAngularVelocityModifier3D.ts +19 -19
- package/gen/classes/Line2D.ts +36 -36
- package/gen/classes/LineBase3D.ts +67 -0
- package/gen/classes/LineEdit.ts +108 -108
- package/gen/classes/LinkButton.ts +20 -20
- package/gen/classes/Logger.ts +2 -2
- package/gen/classes/LookAtModifier3D.ts +76 -68
- package/gen/classes/MainLoop.ts +4 -4
- package/gen/classes/MarginContainer.ts +2 -2
- package/gen/classes/Marker2D.ts +5 -5
- package/gen/classes/Marker3D.ts +5 -5
- package/gen/classes/Marshalls.ts +8 -8
- package/gen/classes/Material.ts +8 -8
- package/gen/classes/MenuBar.ts +26 -26
- package/gen/classes/MenuButton.ts +11 -11
- package/gen/classes/Mesh.ts +27 -23
- package/gen/classes/MeshConvexDecompositionSettings.ts +28 -28
- package/gen/classes/MeshDataTool.ts +40 -40
- package/gen/classes/MeshInstance2D.ts +8 -8
- package/gen/classes/MeshInstance3D.ts +23 -23
- package/gen/classes/MeshLibrary.ts +38 -28
- package/gen/classes/MeshTexture.ts +8 -8
- package/gen/classes/MethodTweener.ts +5 -5
- package/gen/classes/MissingNode.ts +10 -10
- package/gen/classes/MissingResource.ts +6 -6
- package/gen/classes/MobileVRInterface.ts +22 -22
- package/gen/classes/ModifierBoneTarget3D.ts +6 -6
- package/gen/classes/MovieWriter.ts +3 -3
- package/gen/classes/MultiMesh.ts +40 -40
- package/gen/classes/MultiMeshInstance2D.ts +8 -8
- package/gen/classes/MultiMeshInstance3D.ts +4 -4
- package/gen/classes/MultiplayerAPI.ts +25 -25
- package/gen/classes/MultiplayerAPIExtension.ts +2 -2
- package/gen/classes/MultiplayerPeer.ts +23 -23
- package/gen/classes/MultiplayerPeerExtension.ts +2 -2
- package/gen/classes/MultiplayerSpawner.ts +17 -17
- package/gen/classes/MultiplayerSynchronizer.ts +25 -25
- package/gen/classes/Mutex.ts +5 -5
- package/gen/classes/NativeMenu.ts +84 -71
- package/gen/classes/NavigationAgent2D.ts +98 -98
- package/gen/classes/NavigationAgent3D.ts +104 -104
- package/gen/classes/NavigationLink2D.ts +26 -26
- package/gen/classes/NavigationLink3D.ts +26 -26
- package/gen/classes/NavigationMesh.ts +62 -62
- package/gen/classes/NavigationMeshGenerator.ts +6 -6
- package/gen/classes/NavigationMeshSourceGeometryData2D.ts +18 -18
- package/gen/classes/NavigationMeshSourceGeometryData3D.ts +18 -18
- package/gen/classes/NavigationObstacle2D.ts +24 -23
- package/gen/classes/NavigationObstacle3D.ts +31 -30
- package/gen/classes/NavigationPathQueryParameters2D.ts +34 -34
- package/gen/classes/NavigationPathQueryParameters3D.ts +34 -34
- package/gen/classes/NavigationPathQueryResult2D.ts +13 -13
- package/gen/classes/NavigationPathQueryResult3D.ts +13 -13
- package/gen/classes/NavigationPolygon.ts +44 -44
- package/gen/classes/NavigationRegion2D.ts +28 -28
- package/gen/classes/NavigationRegion3D.ts +28 -28
- package/gen/classes/NavigationServer2D.ts +157 -157
- package/gen/classes/NavigationServer2DManager.ts +4 -4
- package/gen/classes/NavigationServer3D.ts +176 -176
- package/gen/classes/NavigationServer3DManager.ts +4 -4
- package/gen/classes/NinePatchRect.ts +22 -22
- package/gen/classes/Node.ts +145 -145
- package/gen/classes/Node2D.ts +37 -37
- package/gen/classes/Node3D.ts +75 -75
- package/gen/classes/Node3DGizmo.ts +1 -1
- package/gen/classes/Noise.ts +10 -10
- package/gen/classes/NoiseTexture2D.ts +26 -26
- package/gen/classes/NoiseTexture3D.ts +20 -20
- package/gen/classes/ORMMaterial3D.ts +2 -2
- package/gen/classes/OS.ts +101 -90
- package/gen/classes/Object.ts +60 -60
- package/gen/classes/Occluder3D.ts +3 -3
- package/gen/classes/OccluderInstance3D.ts +10 -10
- package/gen/classes/OccluderPolygon2D.ts +8 -8
- package/gen/classes/OfflineMultiplayerPeer.ts +2 -2
- package/gen/classes/OggPacketSequence.ts +9 -9
- package/gen/classes/OggPacketSequencePlayback.ts +2 -2
- package/gen/classes/OmniLight3D.ts +8 -8
- package/gen/classes/OpenXRAPIExtension.ts +58 -53
- package/gen/classes/OpenXRAction.ts +8 -8
- package/gen/classes/OpenXRActionBindingModifier.ts +2 -2
- package/gen/classes/OpenXRActionMap.ts +17 -17
- package/gen/classes/OpenXRActionSet.ts +11 -11
- package/gen/classes/OpenXRAnalogThresholdModifier.ts +10 -10
- package/gen/classes/OpenXRAnchorTracker.ts +7 -7
- package/gen/classes/OpenXRAndroidThreadSettingsExtension.ts +3 -3
- package/gen/classes/OpenXRBindingModifier.ts +1 -1
- package/gen/classes/OpenXRCompositionLayer.ts +42 -42
- package/gen/classes/OpenXRCompositionLayerCylinder.ts +10 -10
- package/gen/classes/OpenXRCompositionLayerEquirect.ts +12 -12
- package/gen/classes/OpenXRCompositionLayerQuad.ts +4 -4
- package/gen/classes/OpenXRDpadBindingModifier.ts +20 -20
- package/gen/classes/OpenXRExtensionWrapper.ts +6 -5
- package/gen/classes/OpenXRExtensionWrapperExtension.ts +2 -2
- package/gen/classes/OpenXRFoveatedInsetViewport.ts +26 -0
- package/gen/classes/OpenXRFrameSynthesisExtension.ts +8 -8
- package/gen/classes/OpenXRFutureExtension.ts +5 -5
- package/gen/classes/OpenXRFutureResult.ts +8 -8
- package/gen/classes/OpenXRHand.ts +12 -12
- package/gen/classes/OpenXRHapticBase.ts +1 -1
- package/gen/classes/OpenXRHapticVibration.ts +8 -8
- package/gen/classes/OpenXRIPBinding.ts +16 -16
- package/gen/classes/OpenXRIPBindingModifier.ts +2 -2
- package/gen/classes/OpenXRInteractionProfile.ts +12 -12
- package/gen/classes/OpenXRInteractionProfileMetadata.ts +7 -7
- package/gen/classes/OpenXRInterface.ts +100 -63
- package/gen/classes/OpenXRMarkerTracker.ts +12 -12
- package/gen/classes/OpenXRPlaneTracker.ts +26 -16
- package/gen/classes/OpenXRRenderModel.ts +7 -7
- package/gen/classes/OpenXRRenderModelExtension.ts +21 -21
- package/gen/classes/OpenXRRenderModelManager.ts +10 -10
- package/gen/classes/OpenXRSpatialAnchorCapability.ts +15 -15
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAnchor.ts +3 -3
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAprilTag.ts +5 -5
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAruco.ts +23 -23
- package/gen/classes/OpenXRSpatialCapabilityConfigurationBaseHeader.ts +4 -4
- package/gen/classes/OpenXRSpatialCapabilityConfigurationMicroQrCode.ts +3 -3
- package/gen/classes/OpenXRSpatialCapabilityConfigurationPlaneTracking.ts +6 -6
- package/gen/classes/OpenXRSpatialCapabilityConfigurationQrCode.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentAnchorList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentBounded2DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentBounded3DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentData.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentMarkerList.ts +7 -7
- package/gen/classes/OpenXRSpatialComponentMesh2DList.ts +5 -5
- package/gen/classes/OpenXRSpatialComponentMesh3DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentParentList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPersistenceList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentPlaneAlignmentList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPlaneSemanticLabelList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPolygon2DList.ts +4 -4
- package/gen/classes/OpenXRSpatialContainerExtension.ts +92 -0
- package/gen/classes/OpenXRSpatialContainerSelfRenderingExtension.ts +19 -0
- package/gen/classes/OpenXRSpatialContainerState.ts +43 -0
- package/gen/classes/OpenXRSpatialContextPersistenceConfig.ts +5 -5
- package/gen/classes/OpenXRSpatialEntityExtension.ts +63 -32
- package/gen/classes/OpenXRSpatialEntityTracker.ts +15 -15
- package/gen/classes/OpenXRSpatialMarkerTrackingCapability.ts +47 -9
- package/gen/classes/OpenXRSpatialPlaneTrackingCapability.ts +20 -4
- package/gen/classes/OpenXRSpatialQueryResultData.ts +5 -5
- package/gen/classes/OpenXRStructureBase.ts +10 -5
- package/gen/classes/OpenXRVisibilityMask.ts +2 -2
- package/gen/classes/OptimizedTranslation.ts +3 -3
- package/gen/classes/OptionButton.ts +51 -51
- package/gen/classes/PCKPacker.ts +7 -7
- package/gen/classes/PackedDataContainer.ts +4 -4
- package/gen/classes/PackedDataContainerRef.ts +2 -2
- package/gen/classes/PackedScene.ts +6 -6
- package/gen/classes/PacketPeer.ts +10 -10
- package/gen/classes/PacketPeerDTLS.ts +7 -7
- package/gen/classes/PacketPeerExtension.ts +2 -2
- package/gen/classes/PacketPeerStream.ts +9 -9
- package/gen/classes/PacketPeerUDP.ts +16 -16
- package/gen/classes/Panel.ts +2 -2
- package/gen/classes/PanelContainer.ts +2 -2
- package/gen/classes/PanoramaSkyMaterial.ts +8 -8
- package/gen/classes/Parallax2D.ts +22 -22
- package/gen/classes/ParallaxBackground.ts +14 -14
- package/gen/classes/ParallaxLayer.ts +9 -9
- package/gen/classes/ParticleProcessMaterial.ts +269 -253
- package/gen/classes/Path2D.ts +4 -4
- package/gen/classes/Path3D.ts +10 -10
- package/gen/classes/PathFollow2D.ts +16 -16
- package/gen/classes/PathFollow3D.ts +21 -21
- package/gen/classes/Performance.ts +15 -11
- package/gen/classes/PhysicalBone2D.ts +14 -14
- package/gen/classes/PhysicalBone3D.ts +45 -39
- package/gen/classes/PhysicalBoneSimulator3D.ts +7 -7
- package/gen/classes/PhysicalSkyMaterial.ts +24 -24
- package/gen/classes/PhysicsBody2D.ts +7 -7
- package/gen/classes/PhysicsBody3D.ts +19 -19
- package/gen/classes/PhysicsCastMotionResult2D.ts +25 -0
- package/gen/classes/PhysicsCastMotionResult3D.ts +25 -0
- package/gen/classes/PhysicsCollideShapeResult2D.ts +38 -0
- package/gen/classes/PhysicsCollideShapeResult3D.ts +38 -0
- package/gen/classes/PhysicsDirectBodyState2D.ts +49 -49
- package/gen/classes/PhysicsDirectBodyState2DExtension.ts +2 -2
- package/gen/classes/PhysicsDirectBodyState3D.ts +51 -51
- package/gen/classes/PhysicsDirectBodyState3DExtension.ts +2 -2
- package/gen/classes/PhysicsDirectSpaceState2D.ts +61 -14
- package/gen/classes/PhysicsDirectSpaceState2DExtension.ts +3 -3
- package/gen/classes/PhysicsDirectSpaceState3D.ts +64 -15
- package/gen/classes/PhysicsDirectSpaceState3DExtension.ts +3 -3
- package/gen/classes/PhysicsGetRestInfoResult2D.ts +48 -0
- package/gen/classes/PhysicsGetRestInfoResult3D.ts +48 -0
- package/gen/classes/PhysicsIntersectPointResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectPointResult3D.ts +49 -0
- package/gen/classes/PhysicsIntersectRayResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectRayResult3D.ts +55 -0
- package/gen/classes/PhysicsIntersectShapeResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectShapeResult3D.ts +49 -0
- package/gen/classes/PhysicsMaterial.ts +10 -10
- package/gen/classes/PhysicsPointQueryParameters2D.ts +15 -14
- package/gen/classes/PhysicsPointQueryParameters3D.ts +13 -12
- package/gen/classes/PhysicsRayQueryParameters2D.ts +18 -17
- package/gen/classes/PhysicsRayQueryParameters3D.ts +20 -19
- package/gen/classes/PhysicsServer2D.ts +122 -122
- package/gen/classes/PhysicsServer2DExtension.ts +4 -4
- package/gen/classes/PhysicsServer2DManager.ts +4 -4
- package/gen/classes/PhysicsServer3D.ts +210 -182
- package/gen/classes/PhysicsServer3DExtension.ts +5 -5
- package/gen/classes/PhysicsServer3DManager.ts +4 -4
- package/gen/classes/PhysicsServer3DRenderingServerHandler.ts +5 -5
- package/gen/classes/PhysicsShapeQueryParameters2D.ts +21 -20
- package/gen/classes/PhysicsShapeQueryParameters3D.ts +21 -20
- package/gen/classes/PhysicsTestMotionParameters2D.ts +17 -16
- package/gen/classes/PhysicsTestMotionParameters3D.ts +19 -18
- package/gen/classes/PhysicsTestMotionResult2D.ts +16 -15
- package/gen/classes/PhysicsTestMotionResult3D.ts +17 -16
- package/gen/classes/PinJoint2D.ts +14 -14
- package/gen/classes/PinJoint3D.ts +4 -4
- package/gen/classes/PlaceholderCubemap.ts +2 -2
- package/gen/classes/PlaceholderCubemapArray.ts +2 -2
- package/gen/classes/PlaceholderMaterial.ts +2 -2
- package/gen/classes/PlaceholderMesh.ts +4 -4
- package/gen/classes/PlaceholderTexture2D.ts +4 -4
- package/gen/classes/PlaceholderTexture2DArray.ts +2 -2
- package/gen/classes/PlaceholderTexture3D.ts +4 -4
- package/gen/classes/PlaceholderTextureLayered.ts +5 -5
- package/gen/classes/PlaneMesh.ts +12 -12
- package/gen/classes/PointLight2D.ts +10 -10
- package/gen/classes/PointMesh.ts +2 -2
- package/gen/classes/Polygon2D.ts +42 -42
- package/gen/classes/PolygonOccluder3D.ts +4 -4
- package/gen/classes/PolygonPathFinder.ts +12 -12
- package/gen/classes/Popup.ts +4 -4
- package/gen/classes/PopupMenu.ts +125 -112
- package/gen/classes/PopupPanel.ts +2 -2
- package/gen/classes/PortableCompressedTexture2D.ts +11 -11
- package/gen/classes/PrimitiveMesh.ts +15 -15
- package/gen/classes/PrismMesh.ts +12 -12
- package/gen/classes/ProceduralSkyMaterial.ts +30 -30
- package/gen/classes/ProgressBar.ts +10 -10
- package/gen/classes/ProjectSettings.ts +26 -26
- package/gen/classes/PropertyTweener.ts +9 -9
- package/gen/classes/QuadMesh.ts +2 -2
- package/gen/classes/QuadOccluder3D.ts +4 -4
- package/gen/classes/RDAccelerationStructureGeometry.ts +20 -20
- package/gen/classes/RDAccelerationStructureInstance.ts +14 -14
- package/gen/classes/RDAttachmentFormat.ts +8 -8
- package/gen/classes/RDFramebufferPass.ts +12 -12
- package/gen/classes/RDHitGroup.ts +8 -8
- package/gen/classes/RDPipelineColorBlendState.ts +10 -10
- package/gen/classes/RDPipelineColorBlendStateAttachment.ts +25 -25
- package/gen/classes/RDPipelineDepthStencilState.ts +44 -44
- package/gen/classes/RDPipelineMultisampleState.ts +14 -14
- package/gen/classes/RDPipelineRasterizationState.ts +25 -25
- package/gen/classes/RDPipelineShader.ts +6 -6
- package/gen/classes/RDPipelineSpecializationConstant.ts +6 -6
- package/gen/classes/RDSamplerState.ts +32 -32
- package/gen/classes/RDShaderFile.ts +7 -7
- package/gen/classes/RDShaderSPIRV.ts +42 -42
- package/gen/classes/RDShaderSource.ts +24 -24
- package/gen/classes/RDTextureFormat.ts +26 -26
- package/gen/classes/RDTextureView.ts +12 -12
- package/gen/classes/RDUniform.ts +9 -9
- package/gen/classes/RDVertexAttribute.ts +14 -14
- package/gen/classes/RandomNumberGenerator.ts +13 -13
- package/gen/classes/Range.ts +29 -29
- package/gen/classes/RayCast2D.ts +30 -30
- package/gen/classes/RayCast3D.ts +37 -37
- package/gen/classes/RectangleShape2D.ts +4 -4
- package/gen/classes/RefCounted.ts +6 -6
- package/gen/classes/ReferenceRect.ts +8 -8
- package/gen/classes/ReflectionProbe.ts +32 -32
- package/gen/classes/RegEx.ts +13 -13
- package/gen/classes/RegExMatch.ts +9 -9
- package/gen/classes/RemoteTransform2D.ts +13 -13
- package/gen/classes/RemoteTransform3D.ts +13 -13
- package/gen/classes/RenderData.ts +5 -5
- package/gen/classes/RenderDataExtension.ts +2 -2
- package/gen/classes/RenderDataRD.ts +2 -2
- package/gen/classes/RenderSceneBuffers.ts +2 -2
- package/gen/classes/RenderSceneBuffersConfiguration.ts +22 -22
- package/gen/classes/RenderSceneBuffersExtension.ts +2 -2
- package/gen/classes/RenderSceneBuffersRD.ts +29 -29
- package/gen/classes/RenderSceneData.ts +7 -7
- package/gen/classes/RenderSceneDataExtension.ts +2 -2
- package/gen/classes/RenderSceneDataRD.ts +2 -2
- package/gen/classes/RenderingDevice.ts +152 -140
- package/gen/classes/RenderingServer.ts +603 -550
- package/gen/classes/Resource.ts +29 -29
- package/gen/classes/ResourceFormatLoader.ts +2 -2
- package/gen/classes/ResourceFormatSaver.ts +2 -2
- package/gen/classes/ResourceImporter.ts +1 -1
- package/gen/classes/ResourceLoader.ts +21 -16
- package/gen/classes/ResourcePreloader.ts +10 -10
- package/gen/classes/ResourceSaver.ts +8 -8
- package/gen/classes/ResourceUID.ts +11 -11
- package/gen/classes/RetargetModifier3D.ts +22 -14
- package/gen/classes/RibbonTrailMesh.ts +14 -14
- package/gen/classes/RichTextEffect.ts +2 -2
- package/gen/classes/RichTextLabel.ts +236 -181
- package/gen/classes/RigidBody2D.ts +84 -70
- package/gen/classes/RigidBody3D.ts +85 -71
- package/gen/classes/RootMotionView.ts +12 -12
- package/gen/classes/SceneMultiplayer.ts +31 -31
- package/gen/classes/SceneReplicationConfig.ts +15 -15
- package/gen/classes/SceneState.ts +24 -24
- package/gen/classes/SceneTree.ts +67 -68
- package/gen/classes/SceneTreeTimer.ts +5 -5
- package/gen/classes/Script.ts +21 -20
- package/gen/classes/ScriptBacktrace.ts +18 -18
- package/gen/classes/ScriptExtension.ts +2 -2
- package/gen/classes/ScriptLanguage.ts +16 -1
- package/gen/classes/ScriptLanguageExtension.ts +2 -2
- package/gen/classes/ScrollBar.ts +5 -5
- package/gen/classes/ScrollContainer.ts +58 -34
- package/gen/classes/SegmentShape2D.ts +6 -6
- package/gen/classes/Semaphore.ts +5 -5
- package/gen/classes/SeparationRayShape2D.ts +6 -6
- package/gen/classes/SeparationRayShape3D.ts +6 -6
- package/gen/classes/Separator.ts +1 -1
- package/gen/classes/Shader.ts +14 -9
- package/gen/classes/ShaderGlobalsOverride.ts +2 -2
- package/gen/classes/ShaderInclude.ts +4 -4
- package/gen/classes/ShaderIncludeDB.ts +5 -5
- package/gen/classes/ShaderMaterial.ts +6 -6
- package/gen/classes/Shape2D.ts +9 -9
- package/gen/classes/Shape3D.ts +6 -6
- package/gen/classes/ShapeCast2D.ts +38 -38
- package/gen/classes/ShapeCast3D.ts +41 -41
- package/gen/classes/Shortcut.ts +7 -7
- package/gen/classes/Skeleton2D.ts +12 -12
- package/gen/classes/Skeleton3D.ts +82 -70
- package/gen/classes/SkeletonIK3D.ts +27 -27
- package/gen/classes/SkeletonModification2D.ts +12 -12
- package/gen/classes/SkeletonModification2DCCDIK.ts +22 -22
- package/gen/classes/SkeletonModification2DFABRIK.ts +14 -14
- package/gen/classes/SkeletonModification2DJiggle.ts +37 -37
- package/gen/classes/SkeletonModification2DLookAt.ts +18 -18
- package/gen/classes/SkeletonModification2DPhysicalBones.ts +9 -9
- package/gen/classes/SkeletonModification2DStackHolder.ts +4 -4
- package/gen/classes/SkeletonModification2DTwoBoneIK.ts +18 -18
- package/gen/classes/SkeletonModificationStack2D.ts +18 -18
- package/gen/classes/SkeletonModifier3D.ts +9 -9
- package/gen/classes/SkeletonProfile.ts +34 -34
- package/gen/classes/SkeletonProfileHumanoid.ts +2 -2
- package/gen/classes/Skin.ts +49 -13
- package/gen/classes/SkinReference.ts +3 -3
- package/gen/classes/Sky.ts +8 -8
- package/gen/classes/Slider.ts +15 -15
- package/gen/classes/SliderJoint3D.ts +4 -4
- package/gen/classes/SocketServer.ts +5 -5
- package/gen/classes/SoftBody3D.ts +47 -42
- package/gen/classes/SphereMesh.ts +12 -12
- package/gen/classes/SphereOccluder3D.ts +4 -4
- package/gen/classes/SphereShape3D.ts +4 -4
- package/gen/classes/SpinBox.ts +50 -27
- package/gen/classes/SplineIK3D.ts +12 -12
- package/gen/classes/SplitContainer.ts +35 -35
- package/gen/classes/SpotLight3D.ts +10 -10
- package/gen/classes/SpringArm3D.ts +14 -14
- package/gen/classes/SpringBoneCollision3D.ts +11 -11
- package/gen/classes/SpringBoneCollisionCapsule3D.ts +10 -10
- package/gen/classes/SpringBoneCollisionPlane3D.ts +2 -2
- package/gen/classes/SpringBoneCollisionSphere3D.ts +6 -6
- package/gen/classes/SpringBoneSimulator3D.ts +86 -86
- package/gen/classes/Sprite2D.ts +32 -32
- package/gen/classes/Sprite3D.ts +20 -20
- package/gen/classes/SpriteBase3D.ts +43 -43
- package/gen/classes/SpriteFrames.ts +24 -24
- package/gen/classes/StandardMaterial3D.ts +2 -2
- package/gen/classes/StaticBody2D.ts +8 -8
- package/gen/classes/StaticBody3D.ts +8 -8
- package/gen/classes/StatusIndicator.ts +17 -13
- package/gen/classes/StreamPeer.ts +37 -37
- package/gen/classes/StreamPeerBuffer.ts +10 -10
- package/gen/classes/StreamPeerExtension.ts +2 -2
- package/gen/classes/StreamPeerGZIP.ts +6 -6
- package/gen/classes/StreamPeerSocket.ts +4 -4
- package/gen/classes/StreamPeerTCP.ts +9 -9
- package/gen/classes/StreamPeerTLS.ts +9 -9
- package/gen/classes/StreamPeerUDS.ts +5 -5
- package/gen/classes/StreamedTexture2D.ts +34 -0
- package/gen/classes/StyleBox.ts +17 -17
- package/gen/classes/StyleBoxEmpty.ts +2 -2
- package/gen/classes/StyleBoxFlat.ts +52 -52
- package/gen/classes/StyleBoxLine.ts +12 -12
- package/gen/classes/StyleBoxTexture.ts +32 -32
- package/gen/classes/SubViewport.ts +14 -14
- package/gen/classes/SubViewportContainer.ts +9 -9
- package/gen/classes/SubtweenTweener.ts +3 -3
- package/gen/classes/SurfaceTool.ts +35 -35
- package/gen/classes/SyntaxHighlighter.ts +30 -6
- package/gen/classes/SystemFont.ts +36 -36
- package/gen/classes/TCPServer.ts +6 -6
- package/gen/classes/TLSOptions.ts +10 -10
- package/gen/classes/TabBar.ts +109 -78
- package/gen/classes/TabContainer.ts +75 -68
- package/gen/classes/TextEdit.ts +275 -269
- package/gen/classes/TextLine.ts +41 -41
- package/gen/classes/TextMesh.ts +38 -38
- package/gen/classes/TextParagraph.ts +64 -64
- package/gen/classes/TextServer.ts +250 -245
- package/gen/classes/TextServerAdvanced.ts +2 -2
- package/gen/classes/TextServerDummy.ts +2 -2
- package/gen/classes/TextServerExtension.ts +2 -2
- package/gen/classes/TextServerManager.ts +14 -14
- package/gen/classes/Texture.ts +2 -2
- package/gen/classes/Texture2D.ts +14 -14
- package/gen/classes/Texture2DArray.ts +3 -3
- package/gen/classes/Texture2DArrayRD.ts +2 -2
- package/gen/classes/Texture2DRD.ts +4 -4
- package/gen/classes/Texture3D.ts +9 -9
- package/gen/classes/Texture3DRD.ts +4 -4
- package/gen/classes/TextureButton.ts +22 -22
- package/gen/classes/TextureCubemapArrayRD.ts +2 -2
- package/gen/classes/TextureCubemapRD.ts +2 -2
- package/gen/classes/TextureLayered.ts +9 -9
- package/gen/classes/TextureLayeredRD.ts +3 -3
- package/gen/classes/TextureProgressBar.ts +34 -34
- package/gen/classes/TextureRect.ts +13 -12
- package/gen/classes/TextureStreaming.ts +54 -0
- package/gen/classes/Theme.ts +116 -73
- package/gen/classes/ThemeDB.ts +23 -16
- package/gen/classes/Thread.ts +9 -9
- package/gen/classes/TileData.ts +58 -58
- package/gen/classes/TileMap.ts +65 -65
- package/gen/classes/TileMapLayer.ts +60 -60
- package/gen/classes/TileMapPattern.ts +12 -12
- package/gen/classes/TileSet.ts +93 -93
- package/gen/classes/TileSetAtlasSource.ts +43 -43
- package/gen/classes/TileSetScenesCollectionSource.ts +13 -13
- package/gen/classes/TileSetSource.ts +7 -7
- package/gen/classes/Time.ts +23 -23
- package/gen/classes/Timer.ts +20 -20
- package/gen/classes/TorusMesh.ts +10 -10
- package/gen/classes/TouchScreenButton.ts +25 -25
- package/gen/classes/Trail3D.ts +173 -0
- package/gen/classes/Translation.ts +16 -16
- package/gen/classes/TranslationDomain.ts +35 -35
- package/gen/classes/TranslationServer.ts +36 -36
- package/gen/classes/Tree.ts +104 -104
- package/gen/classes/TreeItem.ts +126 -126
- package/gen/classes/TriangleMesh.ts +6 -6
- package/gen/classes/TubeTrailMesh.ts +18 -18
- package/gen/classes/Tween.ts +58 -43
- package/gen/classes/Tweener.ts +3 -3
- package/gen/classes/TwoBoneIK3D.ts +32 -32
- package/gen/classes/UDPServer.ts +11 -11
- package/gen/classes/UDSServer.ts +4 -4
- package/gen/classes/UPNP.ts +19 -19
- package/gen/classes/UPNPDevice.ts +18 -18
- package/gen/classes/UndoRedo.ts +28 -28
- package/gen/classes/UniformSetCacheRD.ts +3 -3
- package/gen/classes/VBoxContainer.ts +2 -2
- package/gen/classes/VFlowContainer.ts +2 -2
- package/gen/classes/VScrollBar.ts +2 -2
- package/gen/classes/VSeparator.ts +2 -2
- package/gen/classes/VSlider.ts +2 -2
- package/gen/classes/VSplitContainer.ts +2 -2
- package/gen/classes/VehicleBody3D.ts +8 -8
- package/gen/classes/VehicleWheel3D.ts +36 -36
- package/gen/classes/VideoStream.ts +4 -4
- package/gen/classes/VideoStreamPlayback.ts +3 -3
- package/gen/classes/VideoStreamPlayer.ts +38 -36
- package/gen/classes/VideoStreamTheora.ts +2 -2
- package/gen/classes/Viewport.ts +148 -148
- package/gen/classes/ViewportTexture.ts +5 -13
- package/gen/classes/VirtualJoystick.ts +34 -34
- package/gen/classes/VisibleOnScreenEnabler2D.ts +6 -6
- package/gen/classes/VisibleOnScreenEnabler3D.ts +6 -6
- package/gen/classes/VisibleOnScreenNotifier2D.ts +11 -11
- package/gen/classes/VisibleOnScreenNotifier3D.ts +9 -9
- package/gen/classes/VisualInstance3D.ts +14 -14
- package/gen/classes/VisualShader.ts +25 -25
- package/gen/classes/VisualShaderGroup.ts +190 -0
- package/gen/classes/VisualShaderNode.ts +15 -15
- package/gen/classes/VisualShaderNodeBillboard.ts +6 -6
- package/gen/classes/VisualShaderNodeBooleanConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeBooleanParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeClamp.ts +4 -4
- package/gen/classes/VisualShaderNodeColorConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeColorFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeColorOp.ts +4 -4
- package/gen/classes/VisualShaderNodeColorParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeComment.ts +4 -4
- package/gen/classes/VisualShaderNodeCompare.ts +8 -8
- package/gen/classes/VisualShaderNodeConstant.ts +1 -1
- package/gen/classes/VisualShaderNodeCubemap.ts +8 -8
- package/gen/classes/VisualShaderNodeCubemapParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeCurveTexture.ts +4 -4
- package/gen/classes/VisualShaderNodeCurveXYZTexture.ts +4 -4
- package/gen/classes/VisualShaderNodeCustom.ts +7 -7
- package/gen/classes/VisualShaderNodeDerivativeFunc.ts +8 -8
- package/gen/classes/VisualShaderNodeDeterminant.ts +2 -2
- package/gen/classes/VisualShaderNodeDistanceFade.ts +2 -2
- package/gen/classes/VisualShaderNodeDotProduct.ts +2 -2
- package/gen/classes/VisualShaderNodeExpression.ts +4 -4
- package/gen/classes/VisualShaderNodeFaceForward.ts +2 -2
- package/gen/classes/VisualShaderNodeFloatConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatOp.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatParameter.ts +14 -14
- package/gen/classes/VisualShaderNodeFrame.ts +14 -14
- package/gen/classes/VisualShaderNodeFresnel.ts +2 -2
- package/gen/classes/VisualShaderNodeGlobalExpression.ts +2 -2
- package/gen/classes/VisualShaderNodeGroup.ts +22 -0
- package/gen/classes/VisualShaderNodeGroupBase.ts +22 -22
- package/gen/classes/VisualShaderNodeGroupInput.ts +14 -0
- package/gen/classes/VisualShaderNodeGroupOutput.ts +14 -0
- package/gen/classes/VisualShaderNodeIf.ts +2 -2
- package/gen/classes/VisualShaderNodeInput.ts +7 -7
- package/gen/classes/VisualShaderNodeIntConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeIntFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeIntOp.ts +4 -4
- package/gen/classes/VisualShaderNodeIntParameter.ts +16 -16
- package/gen/classes/VisualShaderNodeIs.ts +4 -4
- package/gen/classes/VisualShaderNodeLinearSceneDepth.ts +2 -2
- package/gen/classes/VisualShaderNodeMix.ts +4 -4
- package/gen/classes/VisualShaderNodeMultiplyAdd.ts +4 -4
- package/gen/classes/VisualShaderNodeOuterProduct.ts +2 -2
- package/gen/classes/VisualShaderNodeOutput.ts +1 -1
- package/gen/classes/VisualShaderNodeParameter.ts +7 -7
- package/gen/classes/VisualShaderNodeParameterRef.ts +6 -6
- package/gen/classes/VisualShaderNodeParticleAccelerator.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleBoxEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleConeVelocity.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleEmit.ts +5 -5
- package/gen/classes/VisualShaderNodeParticleEmitter.ts +3 -3
- package/gen/classes/VisualShaderNodeParticleMeshEmitter.ts +8 -8
- package/gen/classes/VisualShaderNodeParticleMultiplyByAxisAngle.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleOutput.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleRandomness.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleRingEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleSphereEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeProximityFade.ts +2 -2
- package/gen/classes/VisualShaderNodeRandomRange.ts +2 -2
- package/gen/classes/VisualShaderNodeRemap.ts +4 -4
- package/gen/classes/VisualShaderNodeReroute.ts +4 -4
- package/gen/classes/VisualShaderNodeResizableBase.ts +3 -3
- package/gen/classes/VisualShaderNodeRotationByAxis.ts +2 -2
- package/gen/classes/VisualShaderNodeSDFRaymarch.ts +2 -2
- package/gen/classes/VisualShaderNodeSDFToScreenUV.ts +2 -2
- package/gen/classes/VisualShaderNodeSample3D.ts +3 -3
- package/gen/classes/VisualShaderNodeScreenNormalWorldSpace.ts +2 -2
- package/gen/classes/VisualShaderNodeScreenUVToSDF.ts +2 -2
- package/gen/classes/VisualShaderNodeSmoothStep.ts +4 -4
- package/gen/classes/VisualShaderNodeStep.ts +4 -4
- package/gen/classes/VisualShaderNodeSwitch.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture.ts +8 -8
- package/gen/classes/VisualShaderNodeTexture2DArray.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture2DArrayParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTexture2DParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTexture3D.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture3DParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureParameter.ts +11 -11
- package/gen/classes/VisualShaderNodeTextureParameterTriplanar.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureSDF.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureSDFNormal.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformCompose.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformDecompose.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformOp.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeTransformVecMult.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntOp.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeUVFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeUVPolarCoord.ts +2 -2
- package/gen/classes/VisualShaderNodeVarying.ts +5 -5
- package/gen/classes/VisualShaderNodeVaryingGetter.ts +2 -2
- package/gen/classes/VisualShaderNodeVaryingSetter.ts +2 -2
- package/gen/classes/VisualShaderNodeVec2Constant.ts +4 -4
- package/gen/classes/VisualShaderNodeVec2Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVec3Constant.ts +4 -4
- package/gen/classes/VisualShaderNodeVec3Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVec4Constant.ts +6 -6
- package/gen/classes/VisualShaderNodeVec4Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVectorBase.ts +3 -3
- package/gen/classes/VisualShaderNodeVectorCompose.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorDecompose.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorDistance.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeVectorLen.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorOp.ts +4 -4
- package/gen/classes/VisualShaderNodeVectorRefract.ts +2 -2
- package/gen/classes/VisualShaderNodeWorldPositionFromDepth.ts +2 -2
- package/gen/classes/VoxelGI.ts +12 -12
- package/gen/classes/VoxelGIData.ts +23 -23
- package/gen/classes/WeakRef.ts +3 -3
- package/gen/classes/WebRTCDataChannel.ts +15 -15
- package/gen/classes/WebRTCDataChannelExtension.ts +2 -2
- package/gen/classes/WebRTCMultiplayerPeer.ts +12 -12
- package/gen/classes/WebRTCPeerConnection.ts +21 -21
- package/gen/classes/WebRTCPeerConnectionExtension.ts +2 -2
- package/gen/classes/WebSocketMultiplayerPeer.ts +20 -20
- package/gen/classes/WebSocketPeer.ts +32 -32
- package/gen/classes/WebXRInterface.ts +57 -49
- package/gen/classes/Window.ts +245 -202
- package/gen/classes/WorkerThreadPool.ts +11 -11
- package/gen/classes/World2D.ts +6 -6
- package/gen/classes/World3D.ts +12 -12
- package/gen/classes/WorldBoundaryShape2D.ts +6 -6
- package/gen/classes/WorldBoundaryShape3D.ts +4 -4
- package/gen/classes/WorldEnvironment.ts +8 -8
- package/gen/classes/X509Certificate.ts +6 -6
- package/gen/classes/XMLParser.ts +19 -19
- package/gen/classes/XRAnchor3D.ts +4 -4
- package/gen/classes/XRBodyModifier3D.ts +8 -8
- package/gen/classes/XRBodyTracker.ts +10 -10
- package/gen/classes/XRCamera3D.ts +11 -4
- package/gen/classes/XRController3D.ts +17 -17
- package/gen/classes/XRControllerTracker.ts +2 -2
- package/gen/classes/XRFaceModifier3D.ts +6 -6
- package/gen/classes/XRFaceTracker.ts +6 -6
- package/gen/classes/XRHandModifier3D.ts +6 -6
- package/gen/classes/XRHandTracker.ts +16 -16
- package/gen/classes/XRInterface.ts +45 -31
- package/gen/classes/XRInterfaceExtension.ts +9 -9
- package/gen/classes/XRNode3D.ts +14 -14
- package/gen/classes/XROrigin3D.ts +6 -6
- package/gen/classes/XRPose.ts +15 -15
- package/gen/classes/XRPositionalTracker.ts +26 -26
- package/gen/classes/XRServer.ts +57 -41
- package/gen/classes/XRTracker.ts +7 -7
- package/gen/classes/XRVRS.ts +9 -9
- package/gen/classes/ZIPPacker.ts +10 -10
- package/gen/classes/ZIPReader.ts +8 -8
- package/gen/classes/index.ts +31 -0
- package/gen/global-enums.ts +7 -3
- package/gen/heap-types/GodotArray.ts +65 -65
- package/gen/heap-types/GodotDictionary.ts +38 -38
- package/gen/heap-types/PackedByteArray.ts +76 -76
- package/gen/heap-types/PackedColorArray.ts +27 -27
- package/gen/heap-types/PackedFloat32Array.ts +27 -27
- package/gen/heap-types/PackedFloat64Array.ts +27 -27
- package/gen/heap-types/PackedInt32Array.ts +27 -27
- package/gen/heap-types/PackedInt64Array.ts +27 -27
- package/gen/heap-types/PackedStringArray.ts +27 -27
- package/gen/heap-types/PackedVector2Array.ts +27 -27
- package/gen/heap-types/PackedVector3Array.ts +27 -27
- package/gen/heap-types/PackedVector4Array.ts +27 -27
- package/gen/heap-types/Signal.ts +13 -13
- package/gen/utility-functions.ts +116 -116
- package/gen/value-types/AABB.ts +25 -25
- package/gen/value-types/Basis.ts +24 -24
- package/gen/value-types/Color.ts +26 -26
- package/gen/value-types/Plane.ts +11 -11
- package/gen/value-types/Projection.ts +26 -26
- package/gen/value-types/Quaternion.ts +21 -21
- package/gen/value-types/Rect2.ts +16 -16
- package/gen/value-types/Rect2i.ts +13 -13
- package/gen/value-types/Transform2D.ts +21 -21
- package/gen/value-types/Transform3D.ts +13 -13
- package/gen/value-types/Vector2.ts +55 -50
- package/gen/value-types/Vector2i.ts +17 -17
- package/gen/value-types/Vector3.ts +52 -51
- package/gen/value-types/Vector3i.ts +16 -16
- package/gen/value-types/Vector4.ts +36 -35
- package/gen/value-types/Vector4i.ts +16 -16
- package/package.json +8 -8
- package/src/assets.d.ts +167 -167
- package/src/boot.ts +1 -0
- package/src/debug.ts +357 -357
- package/src/editor.ts +102 -122
- package/src/export_presets.example.cfg +41 -41
- package/src/index.ts +54 -54
- package/src/load.ts +480 -479
- package/src/preload.ts +164 -164
- package/src/runtime.ts +107 -107
- package/src/serve.ts +67 -67
- package/src/web-image.ts +302 -388
package/gen/classes/Window.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { _C, _R, _G } from '../../src/runtime.ts';
|
|
|
5
5
|
import { Viewport } from './Viewport.ts';
|
|
6
6
|
import type { PackedStringArray, PackedVector2Array, Signal, StringName } from '../heap-types/index.ts';
|
|
7
7
|
import type { Color, Rect2i, Vector2, Vector2i } from '../value-types/index.ts';
|
|
8
|
+
import type { AudioStream } from './AudioStream.ts';
|
|
8
9
|
import type { ProgressState, WindowResizeEdge } from './DisplayServer.ts';
|
|
9
10
|
import type { Font } from './Font.ts';
|
|
10
11
|
import type { InputEvent } from './InputEvent.ts';
|
|
@@ -18,29 +19,29 @@ import type { Theme } from './Theme.ts';
|
|
|
18
19
|
* At runtime, {@link Window}s will not close automatically when requested. You need to handle it manually using the {@link close_requested} signal (this applies both to pressing the close button and clicking outside of a popup).
|
|
19
20
|
*/
|
|
20
21
|
export class Window extends Viewport {
|
|
21
|
-
constructor(name =
|
|
22
|
+
constructor(name = 995) { super(name); }
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
* Centers the window in the current screen. If the window is embedded, it is centered in the embedder {@link Viewport} instead.
|
|
25
26
|
*/
|
|
26
|
-
moveToCenter(): void { _C(this,
|
|
27
|
+
moveToCenter(): void { _C(this, 9196); }
|
|
27
28
|
|
|
28
29
|
/**
|
|
29
30
|
* Resets the size to the minimum size, which is the max of {@link minSize} and (if {@link wrapControls} is enabled) {@link getContentsMinimumSize}. This is equivalent to calling `set_size(Vector2i())` (or any size below the minimum).
|
|
30
31
|
*/
|
|
31
|
-
resetSize(): void { _C(this,
|
|
32
|
+
resetSize(): void { _C(this, 10283); }
|
|
32
33
|
|
|
33
34
|
/**
|
|
34
35
|
* Returns the window's position including its border.
|
|
35
36
|
* **Note:** If {@link visible} is `false`, this method returns the same value as {@link position}.
|
|
36
37
|
*/
|
|
37
|
-
getPositionWithDecorations(): Vector2i { return _C(this,
|
|
38
|
+
getPositionWithDecorations(): Vector2i { return _C(this, 6092) as Vector2i; }
|
|
38
39
|
|
|
39
40
|
/**
|
|
40
41
|
* Returns the window's size including its border.
|
|
41
42
|
* **Note:** If {@link visible} is `false`, this method returns the same value as {@link size}.
|
|
42
43
|
*/
|
|
43
|
-
getSizeWithDecorations(): Vector2i { return _C(this,
|
|
44
|
+
getSizeWithDecorations(): Vector2i { return _C(this, 6530) as Vector2i; }
|
|
44
45
|
|
|
45
46
|
/**
|
|
46
47
|
* Returns the maximum value for linear color components that can be displayed in this window, regardless of SDR or HDR output. Returns `1.0` if HDR is not enabled or not supported. The {@link output_max_linear_value_changed} signal will be emitted whenever this value changes.
|
|
@@ -76,339 +77,374 @@ export class Window extends Viewport {
|
|
|
76
77
|
*
|
|
77
78
|
* **Note:** You will need to convert sRGB colors to linear before multiplying by this value to get correct results.
|
|
78
79
|
*/
|
|
79
|
-
getOutputMaxLinearValue(): number { return _C(this,
|
|
80
|
+
getOutputMaxLinearValue(): number { return _C(this, 5874) as number; }
|
|
80
81
|
|
|
81
82
|
/**
|
|
82
83
|
* Returns `true` if the window can be maximized (the maximize button is enabled).
|
|
83
84
|
*/
|
|
84
|
-
isMaximizeAllowed(): boolean { return _C(this,
|
|
85
|
+
isMaximizeAllowed(): boolean { return _C(this, 8268) as boolean; }
|
|
85
86
|
|
|
86
87
|
/**
|
|
87
88
|
* Tells the OS that the {@link Window} needs an attention. This makes the window stand out in some way depending on the system, e.g. it might blink on the task bar.
|
|
88
89
|
*/
|
|
89
|
-
requestAttention(): void { _C(this,
|
|
90
|
+
requestAttention(): void { _C(this, 10259); }
|
|
90
91
|
|
|
91
92
|
/**
|
|
92
93
|
* Creates a progress bar on the taskbar/dock icon of the {@link Window} if it does not exist, sets the progress of the icon.
|
|
93
94
|
* `value` acts as a relative percentage value, ranges from `0.0` (lowest) to `1.0` (highest).
|
|
94
95
|
* **Note:** This method is implemented only on Windows and macOS.
|
|
95
96
|
*/
|
|
96
|
-
setTaskbarProgressValue(value: number): void { _C(this,
|
|
97
|
+
setTaskbarProgressValue(value: number): void { _C(this, 13281, value); }
|
|
97
98
|
|
|
98
99
|
/**
|
|
99
100
|
* Sets the type and state of the progress bar on the taskbar/dock icon of the {@link Window}. See {@link DisplayServer.ProgressState} for possible values and how each mode behaves.
|
|
100
101
|
* **Note:** This method is implemented only on Windows and macOS.
|
|
101
102
|
*/
|
|
102
|
-
setTaskbarProgressState(state: ProgressState): void { _C(this,
|
|
103
|
+
setTaskbarProgressState(state: ProgressState): void { _C(this, 13280, state); }
|
|
103
104
|
|
|
104
105
|
/**
|
|
105
106
|
* Causes the window to grab focus, allowing it to receive user input.
|
|
106
107
|
*/
|
|
107
|
-
moveToForeground(): void { _C(this,
|
|
108
|
+
moveToForeground(): void { _C(this, 9197); }
|
|
108
109
|
|
|
109
110
|
/**
|
|
110
111
|
* Hides the window. This is not the same as minimized state. Hidden window can't be interacted with and needs to be made visible with {@link show}.
|
|
111
112
|
*/
|
|
112
|
-
hide(): void { _C(this,
|
|
113
|
+
hide(): void { _C(this, 7664); }
|
|
113
114
|
|
|
114
115
|
/**
|
|
115
116
|
* Makes the {@link Window} appear. This enables interactions with the {@link Window} and doesn't change any of its property other than visibility (unlike e.g. {@link popup}).
|
|
116
117
|
*/
|
|
117
|
-
show(): void { _C(this,
|
|
118
|
+
show(): void { _C(this, 13853); }
|
|
118
119
|
|
|
119
120
|
/**
|
|
120
121
|
* If `unparent` is `true`, the window is automatically unparented when going invisible.
|
|
121
122
|
* **Note:** Make sure to keep a reference to the node, otherwise it will be orphaned. You also need to manually call {@link Node.queueFree} to free the window if it's not parented.
|
|
122
123
|
*/
|
|
123
|
-
setUnparentWhenInvisible(unparent: boolean): void { _C(this,
|
|
124
|
+
setUnparentWhenInvisible(unparent: boolean): void { _C(this, 13449, unparent); }
|
|
124
125
|
|
|
125
126
|
/**
|
|
126
127
|
* Returns whether the window is being drawn to the screen.
|
|
127
128
|
*/
|
|
128
|
-
canDraw(): boolean { return _C(this,
|
|
129
|
+
canDraw(): boolean { return _C(this, 2043) as boolean; }
|
|
129
130
|
|
|
130
131
|
/**
|
|
131
132
|
* Returns `true` if the window is focused.
|
|
132
133
|
*/
|
|
133
|
-
hasFocus(): boolean { return _C(this,
|
|
134
|
+
hasFocus(): boolean { return _C(this, 7544) as boolean; }
|
|
134
135
|
|
|
135
136
|
/**
|
|
136
137
|
* Causes the window to grab focus, allowing it to receive user input.
|
|
137
138
|
*/
|
|
138
|
-
grabFocus(): void { _C(this,
|
|
139
|
+
grabFocus(): void { _C(this, 7430); }
|
|
139
140
|
|
|
140
141
|
/**
|
|
141
142
|
* Starts an interactive drag operation on the window, using the current mouse position. Call this method when handling a mouse button being pressed to simulate a pressed event on the window's title bar. Using this method allows the window to participate in space switching, tiling, and other system features.
|
|
142
143
|
*/
|
|
143
|
-
startDrag(): void { _C(this,
|
|
144
|
+
startDrag(): void { _C(this, 14121); }
|
|
144
145
|
|
|
145
146
|
/**
|
|
146
147
|
* Starts an interactive resize operation on the window, using the current mouse position. Call this method when handling a mouse button being pressed to simulate a pressed event on the window's edge.
|
|
147
148
|
*/
|
|
148
|
-
startResize(edge: WindowResizeEdge): void { _C(this,
|
|
149
|
+
startResize(edge: WindowResizeEdge): void { _C(this, 14131, edge); }
|
|
149
150
|
|
|
150
151
|
/**
|
|
151
152
|
* If `active` is `true`, enables system's native IME (Input Method Editor).
|
|
152
153
|
*/
|
|
153
|
-
setImeActive(active: boolean): void { _C(this,
|
|
154
|
+
setImeActive(active: boolean): void { _C(this, 11911, active); }
|
|
154
155
|
|
|
155
156
|
/**
|
|
156
157
|
* Moves IME to the given position.
|
|
157
158
|
*/
|
|
158
|
-
setImePosition(position: Vector2i): void { _C(this,
|
|
159
|
+
setImePosition(position: Vector2i): void { _C(this, 11912, position); }
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Sets a rectangle which should not be obstructed by the [Input Method Editor](https://en.wikipedia.org/wiki/Input_method) popup.
|
|
163
|
+
* **Note:** This method is implemented only on Windows.
|
|
164
|
+
*/
|
|
165
|
+
setImeRect(rect: Rect2i): void { _C(this, 11913, rect); }
|
|
159
166
|
|
|
160
167
|
/**
|
|
161
168
|
* Returns `true` if the window is currently embedded in another window.
|
|
162
169
|
*/
|
|
163
|
-
isEmbedded(): boolean { return _C(this,
|
|
170
|
+
isEmbedded(): boolean { return _C(this, 8087) as boolean; }
|
|
164
171
|
|
|
165
172
|
/**
|
|
166
173
|
* Returns the combined minimum size from the child {@link Control} nodes of the window. Use {@link childControlsChanged} to update it when child nodes have changed.
|
|
167
174
|
* The value returned by this method can be overridden with {@link _getContentsMinimumSize}.
|
|
168
175
|
*/
|
|
169
|
-
getContentsMinimumSize(): Vector2 { return _C(this,
|
|
176
|
+
getContentsMinimumSize(): Vector2 { return _C(this, 4395) as Vector2; }
|
|
170
177
|
|
|
171
178
|
/**
|
|
172
179
|
* Requests an update of the {@link Window} size to fit underlying {@link Control} nodes.
|
|
173
180
|
*/
|
|
174
|
-
childControlsChanged(): void { _C(this,
|
|
181
|
+
childControlsChanged(): void { _C(this, 2230); }
|
|
175
182
|
|
|
176
183
|
/**
|
|
177
184
|
* Prevents `*_theme_*_override` methods from emitting {@link NOTIFICATION_THEME_CHANGED} until {@link endBulkThemeOverride} is called.
|
|
178
185
|
*/
|
|
179
|
-
beginBulkThemeOverride(): void { _C(this,
|
|
186
|
+
beginBulkThemeOverride(): void { _C(this, 1778); }
|
|
180
187
|
|
|
181
188
|
/**
|
|
182
189
|
* Ends a bulk theme override update. See {@link beginBulkThemeOverride}.
|
|
183
190
|
*/
|
|
184
|
-
endBulkThemeOverride(): void { _C(this,
|
|
191
|
+
endBulkThemeOverride(): void { _C(this, 3147); }
|
|
185
192
|
|
|
186
193
|
/**
|
|
187
194
|
* Creates a local override for a theme icon with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeIconOverride}.
|
|
188
195
|
* See also {@link getThemeIcon}.
|
|
189
196
|
*/
|
|
190
|
-
addThemeIconOverride(name: StringName, texture: Texture2D): void { _C(this,
|
|
197
|
+
addThemeIconOverride(name: StringName, texture: Texture2D): void { _C(this, 1341, name, texture); }
|
|
191
198
|
|
|
192
199
|
/**
|
|
193
200
|
* Creates a local override for a theme {@link StyleBox} with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeStyleboxOverride}.
|
|
194
201
|
* See also {@link getThemeStylebox} and {@link Control.addThemeStyleboxOverride} for more details.
|
|
195
202
|
*/
|
|
196
|
-
addThemeStyleboxOverride(name: StringName, stylebox: StyleBox): void { _C(this,
|
|
203
|
+
addThemeStyleboxOverride(name: StringName, stylebox: StyleBox): void { _C(this, 1343, name, stylebox); }
|
|
197
204
|
|
|
198
205
|
/**
|
|
199
206
|
* Creates a local override for a theme {@link Font} with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeFontOverride}.
|
|
200
207
|
* See also {@link getThemeFont}.
|
|
201
208
|
*/
|
|
202
|
-
addThemeFontOverride(name: StringName, font: Font): void { _C(this,
|
|
209
|
+
addThemeFontOverride(name: StringName, font: Font): void { _C(this, 1339, name, font); }
|
|
203
210
|
|
|
204
211
|
/**
|
|
205
212
|
* Creates a local override for a theme font size with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeFontSizeOverride}.
|
|
206
213
|
* See also {@link getThemeFontSize}.
|
|
207
214
|
*/
|
|
208
|
-
addThemeFontSizeOverride(name: StringName, fontSize: number): void { _C(this,
|
|
215
|
+
addThemeFontSizeOverride(name: StringName, fontSize: number): void { _C(this, 1340, name, fontSize); }
|
|
209
216
|
|
|
210
217
|
/**
|
|
211
218
|
* Creates a local override for a theme {@link Color} with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeColorOverride}.
|
|
212
219
|
* See also {@link getThemeColor} and {@link Control.addThemeColorOverride} for more details.
|
|
213
220
|
*/
|
|
214
|
-
addThemeColorOverride(name: StringName, color: Color): void { _C(this,
|
|
221
|
+
addThemeColorOverride(name: StringName, color: Color): void { _C(this, 1337, name, color); }
|
|
215
222
|
|
|
216
223
|
/**
|
|
217
224
|
* Creates a local override for a theme constant with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeConstantOverride}.
|
|
218
225
|
* See also {@link getThemeConstant}.
|
|
219
226
|
*/
|
|
220
|
-
addThemeConstantOverride(name: StringName, constant: number): void { _C(this,
|
|
227
|
+
addThemeConstantOverride(name: StringName, constant: number): void { _C(this, 1338, name, constant); }
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Creates a local override for a theme sound with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link removeThemeSoundOverride}.
|
|
231
|
+
* See also {@link getThemeSound}.
|
|
232
|
+
*/
|
|
233
|
+
addThemeSoundOverride(name: StringName, sound: AudioStream): void { _C(this, 1342, name, sound); }
|
|
221
234
|
|
|
222
235
|
/**
|
|
223
236
|
* Removes a local override for a theme icon with the specified `name` previously added by {@link addThemeIconOverride} or via the Inspector dock.
|
|
224
237
|
*/
|
|
225
|
-
removeThemeIconOverride(name: StringName): void { _C(this,
|
|
238
|
+
removeThemeIconOverride(name: StringName): void { _C(this, 10180, name); }
|
|
226
239
|
|
|
227
240
|
/**
|
|
228
241
|
* Removes a local override for a theme {@link StyleBox} with the specified `name` previously added by {@link addThemeStyleboxOverride} or via the Inspector dock.
|
|
229
242
|
*/
|
|
230
|
-
removeThemeStyleboxOverride(name: StringName): void { _C(this,
|
|
243
|
+
removeThemeStyleboxOverride(name: StringName): void { _C(this, 10182, name); }
|
|
231
244
|
|
|
232
245
|
/**
|
|
233
246
|
* Removes a local override for a theme {@link Font} with the specified `name` previously added by {@link addThemeFontOverride} or via the Inspector dock.
|
|
234
247
|
*/
|
|
235
|
-
removeThemeFontOverride(name: StringName): void { _C(this,
|
|
248
|
+
removeThemeFontOverride(name: StringName): void { _C(this, 10178, name); }
|
|
236
249
|
|
|
237
250
|
/**
|
|
238
251
|
* Removes a local override for a theme font size with the specified `name` previously added by {@link addThemeFontSizeOverride} or via the Inspector dock.
|
|
239
252
|
*/
|
|
240
|
-
removeThemeFontSizeOverride(name: StringName): void { _C(this,
|
|
253
|
+
removeThemeFontSizeOverride(name: StringName): void { _C(this, 10179, name); }
|
|
241
254
|
|
|
242
255
|
/**
|
|
243
256
|
* Removes a local override for a theme {@link Color} with the specified `name` previously added by {@link addThemeColorOverride} or via the Inspector dock.
|
|
244
257
|
*/
|
|
245
|
-
removeThemeColorOverride(name: StringName): void { _C(this,
|
|
258
|
+
removeThemeColorOverride(name: StringName): void { _C(this, 10176, name); }
|
|
246
259
|
|
|
247
260
|
/**
|
|
248
261
|
* Removes a local override for a theme constant with the specified `name` previously added by {@link addThemeConstantOverride} or via the Inspector dock.
|
|
249
262
|
*/
|
|
250
|
-
removeThemeConstantOverride(name: StringName): void { _C(this,
|
|
263
|
+
removeThemeConstantOverride(name: StringName): void { _C(this, 10177, name); }
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Removes a local override for a theme sound with the specified `name` previously added by {@link addThemeSoundOverride} or via the Inspector dock.
|
|
267
|
+
*/
|
|
268
|
+
removeThemeSoundOverride(name: StringName): void { _C(this, 10181, name); }
|
|
251
269
|
|
|
252
270
|
/**
|
|
253
271
|
* Returns an icon from the first matching {@link Theme} in the tree if that {@link Theme} has an icon item with the specified `name` and `themeType`.
|
|
254
272
|
* See {@link Control.getThemeColor} for details.
|
|
255
273
|
*/
|
|
256
|
-
getThemeIcon(name: StringName, themeType?: StringName /* = &"" */): Texture2D { return _C(this,
|
|
274
|
+
getThemeIcon(name: StringName, themeType?: StringName /* = &"" */): Texture2D { return _C(this, 6901, name, themeType) as Texture2D; }
|
|
257
275
|
|
|
258
276
|
/**
|
|
259
277
|
* Returns a {@link StyleBox} from the first matching {@link Theme} in the tree if that {@link Theme} has a stylebox item with the specified `name` and `themeType`.
|
|
260
278
|
* See {@link Control.getThemeColor} for details.
|
|
261
279
|
*/
|
|
262
|
-
getThemeStylebox(name: StringName, themeType?: StringName /* = &"" */): StyleBox { return _C(this,
|
|
280
|
+
getThemeStylebox(name: StringName, themeType?: StringName /* = &"" */): StyleBox { return _C(this, 6906, name, themeType) as StyleBox; }
|
|
263
281
|
|
|
264
282
|
/**
|
|
265
283
|
* Returns a {@link Font} from the first matching {@link Theme} in the tree if that {@link Theme} has a font item with the specified `name` and `themeType`.
|
|
266
284
|
* See {@link Control.getThemeColor} for details.
|
|
267
285
|
*/
|
|
268
|
-
getThemeFont(name: StringName, themeType?: StringName /* = &"" */): Font { return _C(this,
|
|
286
|
+
getThemeFont(name: StringName, themeType?: StringName /* = &"" */): Font { return _C(this, 6899, name, themeType) as Font; }
|
|
269
287
|
|
|
270
288
|
/**
|
|
271
289
|
* Returns a font size from the first matching {@link Theme} in the tree if that {@link Theme} has a font size item with the specified `name` and `themeType`.
|
|
272
290
|
* See {@link Control.getThemeColor} for details.
|
|
273
291
|
*/
|
|
274
|
-
getThemeFontSize(name: StringName, themeType?: StringName /* = &"" */): number { return _C(this,
|
|
292
|
+
getThemeFontSize(name: StringName, themeType?: StringName /* = &"" */): number { return _C(this, 6900, name, themeType) as number; }
|
|
275
293
|
|
|
276
294
|
/**
|
|
277
295
|
* Returns a {@link Color} from the first matching {@link Theme} in the tree if that {@link Theme} has a color item with the specified `name` and `themeType`.
|
|
278
|
-
* See {@link Control.getThemeColor} for
|
|
296
|
+
* See {@link Control.getThemeColor} for details.
|
|
279
297
|
*/
|
|
280
|
-
getThemeColor(name: StringName, themeType?: StringName /* = &"" */): Color { return _C(this,
|
|
298
|
+
getThemeColor(name: StringName, themeType?: StringName /* = &"" */): Color { return _C(this, 6894, name, themeType) as Color; }
|
|
281
299
|
|
|
282
300
|
/**
|
|
283
301
|
* Returns a constant from the first matching {@link Theme} in the tree if that {@link Theme} has a constant item with the specified `name` and `themeType`.
|
|
284
|
-
* See {@link Control.getThemeColor} for
|
|
302
|
+
* See {@link Control.getThemeColor} for details.
|
|
303
|
+
*/
|
|
304
|
+
getThemeConstant(name: StringName, themeType?: StringName /* = &"" */): number { return _C(this, 6895, name, themeType) as number; }
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Returns a sound from the first matching {@link Theme} in the tree if that {@link Theme} has a sound item with the specified `name` and `themeType`.
|
|
308
|
+
* See {@link Control.getThemeColor} for details.
|
|
285
309
|
*/
|
|
286
|
-
|
|
310
|
+
getThemeSound(name: StringName, themeType?: StringName /* = &"" */): AudioStream { return _C(this, 6905, name, themeType) as AudioStream; }
|
|
287
311
|
|
|
288
312
|
/**
|
|
289
313
|
* Returns `true` if there is a local override for a theme icon with the specified `name` in this {@link Control} node.
|
|
290
314
|
* See {@link addThemeIconOverride}.
|
|
291
315
|
*/
|
|
292
|
-
hasThemeIconOverride(name: StringName): boolean { return _C(this,
|
|
316
|
+
hasThemeIconOverride(name: StringName): boolean { return _C(this, 7616, name) as boolean; }
|
|
293
317
|
|
|
294
318
|
/**
|
|
295
319
|
* Returns `true` if there is a local override for a theme {@link StyleBox} with the specified `name` in this {@link Control} node.
|
|
296
320
|
* See {@link addThemeStyleboxOverride}.
|
|
297
321
|
*/
|
|
298
|
-
hasThemeStyleboxOverride(name: StringName): boolean { return _C(this,
|
|
322
|
+
hasThemeStyleboxOverride(name: StringName): boolean { return _C(this, 7621, name) as boolean; }
|
|
299
323
|
|
|
300
324
|
/**
|
|
301
325
|
* Returns `true` if there is a local override for a theme {@link Font} with the specified `name` in this {@link Control} node.
|
|
302
326
|
* See {@link addThemeFontOverride}.
|
|
303
327
|
*/
|
|
304
|
-
hasThemeFontOverride(name: StringName): boolean { return _C(this,
|
|
328
|
+
hasThemeFontOverride(name: StringName): boolean { return _C(this, 7612, name) as boolean; }
|
|
305
329
|
|
|
306
330
|
/**
|
|
307
331
|
* Returns `true` if there is a local override for a theme font size with the specified `name` in this {@link Control} node.
|
|
308
332
|
* See {@link addThemeFontSizeOverride}.
|
|
309
333
|
*/
|
|
310
|
-
hasThemeFontSizeOverride(name: StringName): boolean { return _C(this,
|
|
334
|
+
hasThemeFontSizeOverride(name: StringName): boolean { return _C(this, 7614, name) as boolean; }
|
|
311
335
|
|
|
312
336
|
/**
|
|
313
337
|
* Returns `true` if there is a local override for a theme {@link Color} with the specified `name` in this {@link Control} node.
|
|
314
338
|
* See {@link addThemeColorOverride}.
|
|
315
339
|
*/
|
|
316
|
-
hasThemeColorOverride(name: StringName): boolean { return _C(this,
|
|
340
|
+
hasThemeColorOverride(name: StringName): boolean { return _C(this, 7608, name) as boolean; }
|
|
317
341
|
|
|
318
342
|
/**
|
|
319
343
|
* Returns `true` if there is a local override for a theme constant with the specified `name` in this {@link Control} node.
|
|
320
344
|
* See {@link addThemeConstantOverride}.
|
|
321
345
|
*/
|
|
322
|
-
hasThemeConstantOverride(name: StringName): boolean { return _C(this,
|
|
346
|
+
hasThemeConstantOverride(name: StringName): boolean { return _C(this, 7610, name) as boolean; }
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Returns `true` if there is a local override for a theme sound with the specified `name` in this {@link Control} node.
|
|
350
|
+
* See {@link addThemeSoundOverride}.
|
|
351
|
+
*/
|
|
352
|
+
hasThemeSoundOverride(name: StringName): boolean { return _C(this, 7619, name) as boolean; }
|
|
323
353
|
|
|
324
354
|
/**
|
|
325
355
|
* Returns `true` if there is a matching {@link Theme} in the tree that has an icon item with the specified `name` and `themeType`.
|
|
326
|
-
* See {@link Control.
|
|
356
|
+
* See {@link Control.getThemeIcon} for details.
|
|
327
357
|
*/
|
|
328
|
-
hasThemeIcon(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
358
|
+
hasThemeIcon(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7615, name, themeType) as boolean; }
|
|
329
359
|
|
|
330
360
|
/**
|
|
331
361
|
* Returns `true` if there is a matching {@link Theme} in the tree that has a stylebox item with the specified `name` and `themeType`.
|
|
332
|
-
* See {@link Control.
|
|
362
|
+
* See {@link Control.getThemeStylebox} for details.
|
|
333
363
|
*/
|
|
334
|
-
hasThemeStylebox(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
364
|
+
hasThemeStylebox(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7620, name, themeType) as boolean; }
|
|
335
365
|
|
|
336
366
|
/**
|
|
337
367
|
* Returns `true` if there is a matching {@link Theme} in the tree that has a font item with the specified `name` and `themeType`.
|
|
338
|
-
* See {@link Control.
|
|
368
|
+
* See {@link Control.getThemeFont} for details.
|
|
339
369
|
*/
|
|
340
|
-
hasThemeFont(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
370
|
+
hasThemeFont(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7611, name, themeType) as boolean; }
|
|
341
371
|
|
|
342
372
|
/**
|
|
343
373
|
* Returns `true` if there is a matching {@link Theme} in the tree that has a font size item with the specified `name` and `themeType`.
|
|
344
|
-
* See {@link Control.
|
|
374
|
+
* See {@link Control.getThemeFontSize} for details.
|
|
345
375
|
*/
|
|
346
|
-
hasThemeFontSize(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
376
|
+
hasThemeFontSize(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7613, name, themeType) as boolean; }
|
|
347
377
|
|
|
348
378
|
/**
|
|
349
379
|
* Returns `true` if there is a matching {@link Theme} in the tree that has a color item with the specified `name` and `themeType`.
|
|
350
380
|
* See {@link Control.getThemeColor} for details.
|
|
351
381
|
*/
|
|
352
|
-
hasThemeColor(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
382
|
+
hasThemeColor(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7607, name, themeType) as boolean; }
|
|
353
383
|
|
|
354
384
|
/**
|
|
355
385
|
* Returns `true` if there is a matching {@link Theme} in the tree that has a constant item with the specified `name` and `themeType`.
|
|
356
386
|
* See {@link Control.getThemeColor} for details.
|
|
357
387
|
*/
|
|
358
|
-
hasThemeConstant(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this,
|
|
388
|
+
hasThemeConstant(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7609, name, themeType) as boolean; }
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Returns `true` if there is a matching {@link Theme} in the tree that has a sound item with the specified `name` and `themeType`.
|
|
392
|
+
* See {@link Control.getThemeSound} for details.
|
|
393
|
+
*/
|
|
394
|
+
hasThemeSound(name: StringName, themeType?: StringName /* = &"" */): boolean { return _C(this, 7618, name, themeType) as boolean; }
|
|
359
395
|
|
|
360
396
|
/**
|
|
361
397
|
* Returns the default base scale value from the first matching {@link Theme} in the tree if that {@link Theme} has a valid {@link Theme.defaultBaseScale} value.
|
|
362
398
|
* See {@link Control.getThemeColor} for details.
|
|
363
399
|
*/
|
|
364
|
-
getThemeDefaultBaseScale(): number { return _C(this,
|
|
400
|
+
getThemeDefaultBaseScale(): number { return _C(this, 6896) as number; }
|
|
365
401
|
|
|
366
402
|
/**
|
|
367
403
|
* Returns the default font from the first matching {@link Theme} in the tree if that {@link Theme} has a valid {@link Theme.defaultFont} value.
|
|
368
404
|
* See {@link Control.getThemeColor} for details.
|
|
369
405
|
*/
|
|
370
|
-
getThemeDefaultFont(): Font { return _C(this,
|
|
406
|
+
getThemeDefaultFont(): Font { return _C(this, 6897) as Font; }
|
|
371
407
|
|
|
372
408
|
/**
|
|
373
409
|
* Returns the default font size value from the first matching {@link Theme} in the tree if that {@link Theme} has a valid {@link Theme.defaultFontSize} value.
|
|
374
410
|
* See {@link Control.getThemeColor} for details.
|
|
375
411
|
*/
|
|
376
|
-
getThemeDefaultFontSize(): number { return _C(this,
|
|
412
|
+
getThemeDefaultFontSize(): number { return _C(this, 6898) as number; }
|
|
377
413
|
|
|
378
414
|
/**
|
|
379
415
|
* Returns the ID of the window.
|
|
380
416
|
*/
|
|
381
|
-
getWindowId(): number { return _C(this,
|
|
417
|
+
getWindowId(): number { return _C(this, 7297) as number; }
|
|
382
418
|
|
|
383
419
|
/**
|
|
384
420
|
* Returns the focused window.
|
|
385
421
|
*/
|
|
386
|
-
static getFocusedWindow(): Window { return _C(
|
|
422
|
+
static getFocusedWindow(): Window { return _C(995, 4913) as Window; }
|
|
387
423
|
|
|
388
424
|
/**
|
|
389
425
|
* Sets layout direction and text writing direction. Right-to-left layouts are necessary for certain languages (e.g. Arabic and Hebrew).
|
|
390
426
|
*/
|
|
391
|
-
setLayoutDirection(direction: LayoutDirection): void { _C(this,
|
|
427
|
+
setLayoutDirection(direction: LayoutDirection): void { _C(this, 12134, direction); }
|
|
392
428
|
|
|
393
429
|
/**
|
|
394
430
|
* Returns layout direction and text writing direction.
|
|
395
431
|
*/
|
|
396
|
-
getLayoutDirection(): LayoutDirection { return _C(this,
|
|
432
|
+
getLayoutDirection(): LayoutDirection { return _C(this, 5424) as LayoutDirection; }
|
|
397
433
|
|
|
398
434
|
/**
|
|
399
435
|
* Returns `true` if the layout is right-to-left.
|
|
400
436
|
*/
|
|
401
|
-
isLayoutRtl(): boolean { return _C(this,
|
|
437
|
+
isLayoutRtl(): boolean { return _C(this, 8236) as boolean; }
|
|
402
438
|
|
|
403
439
|
/**
|
|
404
440
|
* Enables font oversampling. This makes fonts look better when they are scaled up.
|
|
405
441
|
*/
|
|
406
|
-
setUseFontOversampling(enable: boolean): void { _C(this,
|
|
442
|
+
setUseFontOversampling(enable: boolean): void { _C(this, 13491, enable); }
|
|
407
443
|
|
|
408
444
|
/**
|
|
409
445
|
* Returns `true` if font oversampling is enabled. See {@link setUseFontOversampling}.
|
|
410
446
|
*/
|
|
411
|
-
isUsingFontOversampling(): boolean { return _C(this,
|
|
447
|
+
isUsingFontOversampling(): boolean { return _C(this, 8579) as boolean; }
|
|
412
448
|
|
|
413
449
|
/**
|
|
414
450
|
* Shows the {@link Window} and makes it transient (see {@link transient}). If `rect` is provided, it will be set as the {@link Window}'s size. Fails if called on the main window.
|
|
@@ -416,106 +452,106 @@ export class Window extends Viewport {
|
|
|
416
452
|
* If {@link ProjectSettings.display/window/subwindows/embedSubwindows} is `false` (multi-window mode), `rect`'s coordinates are global and relative to the top-left corner of the leftmost screen. If `rect`'s position coordinates are negative, the window will be placed at the top-left corner of the screen.
|
|
417
453
|
* **Note:** `rect` must be in global coordinates if specified.
|
|
418
454
|
*/
|
|
419
|
-
popup(rect?: Rect2i /* = Rect2i(0, 0, 0, 0) */): void { _C(this,
|
|
455
|
+
popup(rect?: Rect2i /* = Rect2i(0, 0, 0, 0) */): void { _C(this, 9687, rect); }
|
|
420
456
|
|
|
421
457
|
/**
|
|
422
458
|
* Popups the {@link Window} with a position shifted by parent {@link Window}'s position. If the {@link Window} is embedded, has the same effect as {@link popup}.
|
|
423
459
|
*/
|
|
424
|
-
popupOnParent(parentRect: Rect2i): void { _C(this,
|
|
460
|
+
popupOnParent(parentRect: Rect2i): void { _C(this, 9699, parentRect); }
|
|
425
461
|
|
|
426
462
|
/**
|
|
427
463
|
* Popups the {@link Window} at the center of the current screen, with optionally given minimum size. If the {@link Window} is embedded, it will be centered in the parent {@link Viewport} instead.
|
|
428
464
|
* **Note:** Calling it with the default value of `minsize` is equivalent to calling it with {@link size}.
|
|
429
465
|
*/
|
|
430
|
-
popupCentered(minsize?: Vector2i /* = Vector2i(0, 0) */): void { _C(this,
|
|
466
|
+
popupCentered(minsize?: Vector2i /* = Vector2i(0, 0) */): void { _C(this, 9688, minsize); }
|
|
431
467
|
|
|
432
468
|
/**
|
|
433
469
|
* If {@link Window} is embedded, popups the {@link Window} centered inside its embedder and sets its size as a `ratio` of embedder's size.
|
|
434
470
|
* If {@link Window} is a native window, popups the {@link Window} centered inside the screen of its parent {@link Window} and sets its size as a `ratio` of the screen size.
|
|
435
471
|
*/
|
|
436
|
-
popupCenteredRatio(ratio?: number /* = 0.8 */): void { _C(this,
|
|
472
|
+
popupCenteredRatio(ratio?: number /* = 0.8 */): void { _C(this, 9690, ratio); }
|
|
437
473
|
|
|
438
474
|
/**
|
|
439
475
|
* Popups the {@link Window} centered inside its parent {@link Window}. `fallbackRatio` determines the maximum size of the {@link Window}, in relation to its parent.
|
|
440
476
|
* **Note:** Calling it with the default value of `minsize` is equivalent to calling it with {@link size}.
|
|
441
477
|
*/
|
|
442
|
-
popupCenteredClamped(minsize?: Vector2i /* = Vector2i(0, 0) */, fallbackRatio?: number /* = 0.75 */): void { _C(this,
|
|
478
|
+
popupCenteredClamped(minsize?: Vector2i /* = Vector2i(0, 0) */, fallbackRatio?: number /* = 0.75 */): void { _C(this, 9689, minsize, fallbackRatio); }
|
|
443
479
|
|
|
444
480
|
/**
|
|
445
481
|
* Attempts to parent this dialog to the last exclusive window relative to `fromNode`, and then calls {@link Window.popup} on it. The dialog must have no current parent, otherwise the method fails.
|
|
446
482
|
* See also {@link setUnparentWhenInvisible} and {@link Node.getLastExclusiveWindow}.
|
|
447
483
|
*/
|
|
448
|
-
popupExclusive(fromNode: Node, rect?: Rect2i /* = Rect2i(0, 0, 0, 0) */): void { _C(this,
|
|
484
|
+
popupExclusive(fromNode: Node, rect?: Rect2i /* = Rect2i(0, 0, 0, 0) */): void { _C(this, 9692, fromNode, rect); }
|
|
449
485
|
|
|
450
486
|
/**
|
|
451
487
|
* Attempts to parent this dialog to the last exclusive window relative to `fromNode`, and then calls {@link Window.popupOnParent} on it. The dialog must have no current parent, otherwise the method fails.
|
|
452
488
|
* See also {@link setUnparentWhenInvisible} and {@link Node.getLastExclusiveWindow}.
|
|
453
489
|
*/
|
|
454
|
-
popupExclusiveOnParent(fromNode: Node, parentRect: Rect2i): void { _C(this,
|
|
490
|
+
popupExclusiveOnParent(fromNode: Node, parentRect: Rect2i): void { _C(this, 9696, fromNode, parentRect); }
|
|
455
491
|
|
|
456
492
|
/**
|
|
457
493
|
* Attempts to parent this dialog to the last exclusive window relative to `fromNode`, and then calls {@link Window.popupCentered} on it. The dialog must have no current parent, otherwise the method fails.
|
|
458
494
|
* See also {@link setUnparentWhenInvisible} and {@link Node.getLastExclusiveWindow}.
|
|
459
495
|
*/
|
|
460
|
-
popupExclusiveCentered(fromNode: Node, minsize?: Vector2i /* = Vector2i(0, 0) */): void { _C(this,
|
|
496
|
+
popupExclusiveCentered(fromNode: Node, minsize?: Vector2i /* = Vector2i(0, 0) */): void { _C(this, 9693, fromNode, minsize); }
|
|
461
497
|
|
|
462
498
|
/**
|
|
463
499
|
* Attempts to parent this dialog to the last exclusive window relative to `fromNode`, and then calls {@link Window.popupCenteredRatio} on it. The dialog must have no current parent, otherwise the method fails.
|
|
464
500
|
* See also {@link setUnparentWhenInvisible} and {@link Node.getLastExclusiveWindow}.
|
|
465
501
|
*/
|
|
466
|
-
popupExclusiveCenteredRatio(fromNode: Node, ratio?: number /* = 0.8 */): void { _C(this,
|
|
502
|
+
popupExclusiveCenteredRatio(fromNode: Node, ratio?: number /* = 0.8 */): void { _C(this, 9695, fromNode, ratio); }
|
|
467
503
|
|
|
468
504
|
/**
|
|
469
505
|
* Attempts to parent this dialog to the last exclusive window relative to `fromNode`, and then calls {@link Window.popupCenteredClamped} on it. The dialog must have no current parent, otherwise the method fails.
|
|
470
506
|
* See also {@link setUnparentWhenInvisible} and {@link Node.getLastExclusiveWindow}.
|
|
471
507
|
*/
|
|
472
|
-
popupExclusiveCenteredClamped(fromNode: Node, minsize?: Vector2i /* = Vector2i(0, 0) */, fallbackRatio?: number /* = 0.75 */): void { _C(this,
|
|
508
|
+
popupExclusiveCenteredClamped(fromNode: Node, minsize?: Vector2i /* = Vector2i(0, 0) */, fallbackRatio?: number /* = 0.75 */): void { _C(this, 9694, fromNode, minsize, fallbackRatio); }
|
|
473
509
|
|
|
474
510
|
/**
|
|
475
511
|
* Set's the window's current mode.
|
|
476
512
|
* **Note:** Fullscreen mode is not exclusive full screen on Windows and Linux.
|
|
477
513
|
* **Note:** This method only works with native windows, i.e. the main window and {@link Window}-derived nodes when {@link Viewport.guiEmbedSubwindows} is disabled in the main viewport.
|
|
478
514
|
*/
|
|
479
|
-
get mode(): Mode { return _C(this,
|
|
480
|
-
set mode(v: Mode) { _C(this,
|
|
515
|
+
get mode(): Mode { return _C(this, 5676) as Mode; }
|
|
516
|
+
set mode(v: Mode) { _C(this, 12330, v); }
|
|
481
517
|
|
|
482
518
|
/**
|
|
483
|
-
* The window's title. If the {@link Window} is native, title styles set in {@link Theme} will have no effect.
|
|
519
|
+
* The window's title. If the {@link Window} is native, title styles set in {@link Theme} will have no effect. If empty, some dialogs may use a default title.
|
|
484
520
|
*/
|
|
485
|
-
get title(): string { return _C(this,
|
|
486
|
-
set title(v: string) { _C(this,
|
|
521
|
+
get title(): string { return _C(this, 6966) as string; }
|
|
522
|
+
set title(v: string) { _C(this, 13371, v); }
|
|
487
523
|
|
|
488
524
|
/**
|
|
489
525
|
* Specifies the initial type of position for the {@link Window}.
|
|
490
526
|
*/
|
|
491
|
-
get initialPosition(): WindowInitialPosition { return _C(this,
|
|
492
|
-
set initialPosition(v: WindowInitialPosition) { _C(this,
|
|
527
|
+
get initialPosition(): WindowInitialPosition { return _C(this, 5190) as WindowInitialPosition; }
|
|
528
|
+
set initialPosition(v: WindowInitialPosition) { _C(this, 11942, v); }
|
|
493
529
|
|
|
494
530
|
/**
|
|
495
531
|
* The window's position in pixels.
|
|
496
532
|
* If {@link ProjectSettings.display/window/subwindows/embedSubwindows} is `false`, the position is in absolute screen coordinates. This typically applies to editor plugins. If the setting is `true`, the window's position is in the coordinates of its parent {@link Viewport}.
|
|
497
533
|
* **Note:** This property only works if {@link initialPosition} is set to {@link WINDOW_INITIAL_POSITION_ABSOLUTE}.
|
|
498
534
|
*/
|
|
499
|
-
get position(): Vector2i { return _C(this,
|
|
500
|
-
set position(v: Vector2i) { _C(this,
|
|
535
|
+
get position(): Vector2i { return _C(this, 6088) as Vector2i; }
|
|
536
|
+
set position(v: Vector2i) { _C(this, 12642, v); }
|
|
501
537
|
|
|
502
538
|
/**
|
|
503
539
|
* The window's size in pixels. See also {@link contentScaleSize}, which doesn't set the window's physical size but affects how scaling works relative to the current {@link contentScaleMode}.
|
|
504
540
|
*/
|
|
505
|
-
get size(): Vector2i { return _C(this,
|
|
506
|
-
set size(v: Vector2i) { _C(this,
|
|
541
|
+
get size(): Vector2i { return _C(this, 6525) as Vector2i; }
|
|
542
|
+
set size(v: Vector2i) { _C(this, 13019, v); }
|
|
507
543
|
|
|
508
544
|
/**
|
|
509
545
|
* The screen the window is currently on.
|
|
510
546
|
*/
|
|
511
|
-
get currentScreen(): number { return _C(this,
|
|
512
|
-
set currentScreen(v: number) { _C(this,
|
|
547
|
+
get currentScreen(): number { return _C(this, 4443) as number; }
|
|
548
|
+
set currentScreen(v: number) { _C(this, 11217, v); }
|
|
513
549
|
|
|
514
550
|
/**
|
|
515
551
|
* If set, defines the window's custom decoration area which will receive mouse input, even if normal input to the window is blocked (such as when it has an exclusive child opened). See also {@link nonclient_window_input}.
|
|
516
552
|
*/
|
|
517
|
-
get nonclientArea(): Rect2i { return _C(this,
|
|
518
|
-
set nonclientArea(v: Rect2i) { _C(this,
|
|
553
|
+
get nonclientArea(): Rect2i { return _C(this, 5782) as Rect2i; }
|
|
554
|
+
set nonclientArea(v: Rect2i) { _C(this, 12401, v); }
|
|
519
555
|
|
|
520
556
|
/**
|
|
521
557
|
* Sets a polygonal region of the window which accepts mouse events. Mouse events outside the region will be passed through.
|
|
@@ -539,230 +575,236 @@ export class Window extends Viewport {
|
|
|
539
575
|
*
|
|
540
576
|
* **Note:** This property is ignored if {@link mousePassthrough} is set to `true`.
|
|
541
577
|
* **Note:** On Windows, the portion of a window that lies outside the region is not drawn, while on Linux (X11) and macOS it is.
|
|
542
|
-
* **Note:** This property is implemented on Linux (X11), macOS and Windows.
|
|
578
|
+
* **Note:** This property is implemented on Linux (X11/Wayland), macOS, and Windows.
|
|
543
579
|
*/
|
|
544
|
-
get mousePassthroughPolygon(): PackedVector2Array { return _C(this,
|
|
545
|
-
set mousePassthroughPolygon(v: PackedVector2Array | (Vector2 | number[])[]) { _C(this,
|
|
580
|
+
get mousePassthroughPolygon(): PackedVector2Array { return _C(this, 5698) as PackedVector2Array; }
|
|
581
|
+
set mousePassthroughPolygon(v: PackedVector2Array | (Vector2 | number[])[]) { _C(this, 12353, v); }
|
|
546
582
|
|
|
547
583
|
/**
|
|
548
584
|
* If `true`, the window is visible.
|
|
549
585
|
*/
|
|
550
|
-
get visible(): boolean { return _C(this,
|
|
551
|
-
set visible(v: boolean) { _C(this,
|
|
586
|
+
get visible(): boolean { return _C(this, 8626) as boolean; }
|
|
587
|
+
set visible(v: boolean) { _C(this, 13607, v); }
|
|
552
588
|
|
|
553
589
|
/**
|
|
554
590
|
* If `true`, the window's size will automatically update when a child node is added or removed, ignoring {@link minSize} if the new size is bigger.
|
|
555
591
|
* If `false`, you need to call {@link childControlsChanged} manually.
|
|
556
592
|
*/
|
|
557
|
-
get wrapControls(): boolean { return _C(this,
|
|
558
|
-
set wrapControls(v: boolean) { _C(this,
|
|
593
|
+
get wrapControls(): boolean { return _C(this, 8631) as boolean; }
|
|
594
|
+
set wrapControls(v: boolean) { _C(this, 13661, v); }
|
|
559
595
|
|
|
560
596
|
/**
|
|
561
597
|
* If `true`, the {@link Window} is transient, i.e. it's considered a child of another {@link Window}. The transient window will be destroyed with its transient parent and will return focus to their parent when closed. The transient window is displayed on top of a non-exclusive full-screen parent window. Transient windows can't enter full-screen mode.
|
|
562
598
|
* Note that behavior might be different depending on the platform.
|
|
563
599
|
*/
|
|
564
|
-
get _transient(): boolean { return _C(this,
|
|
565
|
-
set _transient(v: boolean) { _C(this,
|
|
600
|
+
get _transient(): boolean { return _C(this, 8546) as boolean; }
|
|
601
|
+
set _transient(v: boolean) { _C(this, 13411, v); }
|
|
566
602
|
|
|
567
603
|
/**
|
|
568
604
|
* If `true`, and the {@link Window} is {@link transient}, this window will (at the time of becoming visible) become transient to the currently focused window instead of the immediate parent window in the hierarchy. Note that the transient parent is assigned at the time this window becomes visible, so changing it afterwards has no effect until re-shown.
|
|
569
605
|
*/
|
|
570
|
-
get transientToFocused(): boolean { return _C(this,
|
|
571
|
-
set transientToFocused(v: boolean) { _C(this,
|
|
606
|
+
get transientToFocused(): boolean { return _C(this, 8547) as boolean; }
|
|
607
|
+
set transientToFocused(v: boolean) { _C(this, 13412, v); }
|
|
572
608
|
|
|
573
609
|
/**
|
|
574
610
|
* If `true`, the {@link Window} will be in exclusive mode. Exclusive windows are always on top of their parent and will block all input going to the parent {@link Window}.
|
|
575
611
|
* Needs {@link transient} enabled to work.
|
|
576
612
|
*/
|
|
577
|
-
get exclusive(): boolean { return _C(this,
|
|
578
|
-
set exclusive(v: boolean) { _C(this,
|
|
613
|
+
get exclusive(): boolean { return _C(this, 8103) as boolean; }
|
|
614
|
+
set exclusive(v: boolean) { _C(this, 11547, v); }
|
|
579
615
|
|
|
580
616
|
/**
|
|
581
617
|
* If `true`, the window can't be resized.
|
|
582
618
|
*/
|
|
583
|
-
get unresizable(): boolean { return _C(this,
|
|
584
|
-
set unresizable(v: boolean) { _C(this,
|
|
619
|
+
get unresizable(): boolean { return _C(this, 4888, 0) as boolean; }
|
|
620
|
+
set unresizable(v: boolean) { _C(this, 11642, 0, v); }
|
|
585
621
|
|
|
586
622
|
/**
|
|
587
623
|
* If `true`, the window will have no borders.
|
|
588
624
|
*/
|
|
589
|
-
get borderless(): boolean { return _C(this,
|
|
590
|
-
set borderless(v: boolean) { _C(this,
|
|
625
|
+
get borderless(): boolean { return _C(this, 4888, 1) as boolean; }
|
|
626
|
+
set borderless(v: boolean) { _C(this, 11642, 1, v); }
|
|
591
627
|
|
|
592
628
|
/**
|
|
593
629
|
* If `true`, the window will be on top of all other windows. Does not work if {@link transient} is enabled.
|
|
594
630
|
*/
|
|
595
|
-
get alwaysOnTop(): boolean { return _C(this,
|
|
596
|
-
set alwaysOnTop(v: boolean) { _C(this,
|
|
631
|
+
get alwaysOnTop(): boolean { return _C(this, 4888, 2) as boolean; }
|
|
632
|
+
set alwaysOnTop(v: boolean) { _C(this, 11642, 2, v); }
|
|
597
633
|
|
|
598
634
|
/**
|
|
599
635
|
* If `true`, the {@link Window}'s background can be transparent. This is best used with embedded windows.
|
|
600
636
|
* **Note:** Transparency support is implemented on Linux, macOS and Windows, but availability might vary depending on GPU driver, display manager, and compositor capabilities.
|
|
601
637
|
* **Note:** This property has no effect if {@link ProjectSettings.display/window/perPixelTransparency/allowed} is set to `false`.
|
|
602
638
|
*/
|
|
603
|
-
get transparent(): boolean { return _C(this,
|
|
604
|
-
set transparent(v: boolean) { _C(this,
|
|
639
|
+
get transparent(): boolean { return _C(this, 4888, 3) as boolean; }
|
|
640
|
+
set transparent(v: boolean) { _C(this, 11642, 3, v); }
|
|
605
641
|
|
|
606
642
|
/**
|
|
607
643
|
* If `true`, the {@link Window} can't be focused nor interacted with. It can still be visible.
|
|
608
644
|
*/
|
|
609
|
-
get unfocusable(): boolean { return _C(this,
|
|
610
|
-
set unfocusable(v: boolean) { _C(this,
|
|
645
|
+
get unfocusable(): boolean { return _C(this, 4888, 4) as boolean; }
|
|
646
|
+
set unfocusable(v: boolean) { _C(this, 11642, 4, v); }
|
|
611
647
|
|
|
612
648
|
/**
|
|
613
649
|
* If `true`, the {@link Window} will be considered a popup. Popups are sub-windows that don't show as separate windows in system's window manager's window list and will send close request when anything is clicked outside of them (unless {@link exclusive} is enabled).
|
|
614
650
|
*/
|
|
615
|
-
get popupWindow(): boolean { return _C(this,
|
|
616
|
-
set popupWindow(v: boolean) { _C(this,
|
|
651
|
+
get popupWindow(): boolean { return _C(this, 4888, 5) as boolean; }
|
|
652
|
+
set popupWindow(v: boolean) { _C(this, 11642, 5, v); }
|
|
617
653
|
|
|
618
654
|
/**
|
|
619
655
|
* If `true`, the {@link Window} contents is expanded to the full size of the window, window title bar is transparent.
|
|
620
656
|
* **Note:** This property is implemented only on macOS.
|
|
621
657
|
* **Note:** This property only works with native windows.
|
|
622
658
|
*/
|
|
623
|
-
get extendToTitle(): boolean { return _C(this,
|
|
624
|
-
set extendToTitle(v: boolean) { _C(this,
|
|
659
|
+
get extendToTitle(): boolean { return _C(this, 4888, 6) as boolean; }
|
|
660
|
+
set extendToTitle(v: boolean) { _C(this, 11642, 6, v); }
|
|
625
661
|
|
|
626
662
|
/**
|
|
627
663
|
* If `true`, all mouse events will be passed to the underlying window of the same application. See also {@link mousePassthroughPolygon}.
|
|
628
664
|
* **Note:** This property is implemented on Linux (X11), macOS and Windows.
|
|
629
665
|
* **Note:** This property only works with native windows.
|
|
630
666
|
*/
|
|
631
|
-
get mousePassthrough(): boolean { return _C(this,
|
|
632
|
-
set mousePassthrough(v: boolean) { _C(this,
|
|
667
|
+
get mousePassthrough(): boolean { return _C(this, 4888, 7) as boolean; }
|
|
668
|
+
set mousePassthrough(v: boolean) { _C(this, 11642, 7, v); }
|
|
633
669
|
|
|
634
670
|
/**
|
|
635
671
|
* If `true`, the {@link Window} will override the OS window style to display sharp corners.
|
|
636
672
|
* **Note:** This property is implemented only on Windows (11).
|
|
637
673
|
* **Note:** This property only works with native windows.
|
|
638
674
|
*/
|
|
639
|
-
get sharpCorners(): boolean { return _C(this,
|
|
640
|
-
set sharpCorners(v: boolean) { _C(this,
|
|
675
|
+
get sharpCorners(): boolean { return _C(this, 4888, 8) as boolean; }
|
|
676
|
+
set sharpCorners(v: boolean) { _C(this, 11642, 8, v); }
|
|
641
677
|
|
|
642
678
|
/**
|
|
643
679
|
* If `true`, the {@link Window} is excluded from screenshots taken by {@link DisplayServer.screenGetImage}, {@link DisplayServer.screenGetImageRect}, and {@link DisplayServer.screenGetPixel}.
|
|
644
680
|
* **Note:** This property is implemented on macOS and Windows.
|
|
645
681
|
* **Note:** Enabling this setting will prevent standard screenshot methods from capturing a window image, but does **NOT** guarantee that other apps won't be able to capture an image. It should not be used as a DRM or security measure.
|
|
646
682
|
*/
|
|
647
|
-
get excludeFromCapture(): boolean { return _C(this,
|
|
648
|
-
set excludeFromCapture(v: boolean) { _C(this,
|
|
683
|
+
get excludeFromCapture(): boolean { return _C(this, 4888, 9) as boolean; }
|
|
684
|
+
set excludeFromCapture(v: boolean) { _C(this, 11642, 9, v); }
|
|
649
685
|
|
|
650
686
|
/**
|
|
651
687
|
* If `true`, the {@link Window} will signal to the window manager that it is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window).
|
|
652
688
|
*/
|
|
653
|
-
get popupWmHint(): boolean { return _C(this,
|
|
654
|
-
set popupWmHint(v: boolean) { _C(this,
|
|
689
|
+
get popupWmHint(): boolean { return _C(this, 4888, 10) as boolean; }
|
|
690
|
+
set popupWmHint(v: boolean) { _C(this, 11642, 10, v); }
|
|
655
691
|
|
|
656
692
|
/**
|
|
657
693
|
* If `true`, the {@link Window}'s minimize button is disabled.
|
|
658
694
|
* **Note:** If both minimize and maximize buttons are disabled, buttons are fully hidden, and only close button is visible.
|
|
659
|
-
* **Note:** This property is implemented
|
|
695
|
+
* **Note:** This property is implemented on Linux (X11), macOS, and Windows.
|
|
660
696
|
*/
|
|
661
|
-
get minimizeDisabled(): boolean { return _C(this,
|
|
662
|
-
set minimizeDisabled(v: boolean) { _C(this,
|
|
697
|
+
get minimizeDisabled(): boolean { return _C(this, 4888, 11) as boolean; }
|
|
698
|
+
set minimizeDisabled(v: boolean) { _C(this, 11642, 11, v); }
|
|
663
699
|
|
|
664
700
|
/**
|
|
665
701
|
* If `true`, the {@link Window}'s maximize button is disabled.
|
|
666
702
|
* **Note:** If both minimize and maximize buttons are disabled, buttons are fully hidden, and only close button is visible.
|
|
667
|
-
* **Note:** This property is implemented
|
|
703
|
+
* **Note:** This property is implemented on Linux (X11), macOS, and Windows.
|
|
704
|
+
*/
|
|
705
|
+
get maximizeDisabled(): boolean { return _C(this, 4888, 12) as boolean; }
|
|
706
|
+
set maximizeDisabled(v: boolean) { _C(this, 11642, 12, v); }
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* If `true`, allows the user to toggle fullscreen mode by pressing the shortcut defined in {@link ProjectSettings.input/uiToggleFullscreen} (`Alt + Enter` by default). This is enabled on the main window according to the {@link ProjectSettings.display/window/size/enableToggleFullscreenShortcut} project setting.
|
|
668
710
|
*/
|
|
669
|
-
get
|
|
670
|
-
set
|
|
711
|
+
get fullscreenShortcutEnabled(): boolean { return _C(this, 8135) as boolean; }
|
|
712
|
+
set fullscreenShortcutEnabled(v: boolean) { _C(this, 11739, v); }
|
|
671
713
|
|
|
672
714
|
/**
|
|
673
715
|
* If `true`, native window will be used regardless of parent viewport and project settings.
|
|
674
716
|
*/
|
|
675
|
-
get forceNative(): boolean { return _C(this,
|
|
676
|
-
set forceNative(v: boolean) { _C(this,
|
|
717
|
+
get forceNative(): boolean { return _C(this, 4945) as boolean; }
|
|
718
|
+
set forceNative(v: boolean) { _C(this, 11697, v); }
|
|
677
719
|
|
|
678
720
|
/**
|
|
679
721
|
* If non-zero, the {@link Window} can't be resized to be smaller than this size.
|
|
680
722
|
* **Note:** This property will be ignored in favor of {@link getContentsMinimumSize} if {@link wrapControls} is enabled and if its size is bigger.
|
|
681
723
|
*/
|
|
682
|
-
get minSize(): Vector2i { return _C(this,
|
|
683
|
-
set minSize(v: Vector2i) { _C(this,
|
|
724
|
+
get minSize(): Vector2i { return _C(this, 5651) as Vector2i; }
|
|
725
|
+
set minSize(v: Vector2i) { _C(this, 12310, v); }
|
|
684
726
|
|
|
685
727
|
/**
|
|
686
728
|
* If non-zero, the {@link Window} can't be resized to be bigger than this size.
|
|
687
729
|
* **Note:** This property will be ignored if the value is lower than {@link minSize}.
|
|
688
730
|
*/
|
|
689
|
-
get maxSize(): Vector2i { return _C(this,
|
|
690
|
-
set maxSize(v: Vector2i) { _C(this,
|
|
731
|
+
get maxSize(): Vector2i { return _C(this, 5586) as Vector2i; }
|
|
732
|
+
set maxSize(v: Vector2i) { _C(this, 12258, v); }
|
|
691
733
|
|
|
692
734
|
/**
|
|
693
735
|
* If `true`, the {@link Window} width is expanded to keep the title bar text fully visible.
|
|
694
736
|
*/
|
|
695
|
-
get keepTitleVisible(): boolean { return _C(this,
|
|
696
|
-
set keepTitleVisible(v: boolean) { _C(this,
|
|
737
|
+
get keepTitleVisible(): boolean { return _C(this, 5380) as boolean; }
|
|
738
|
+
set keepTitleVisible(v: boolean) { _C(this, 12109, v); }
|
|
697
739
|
|
|
698
740
|
/**
|
|
699
741
|
* The content's base size in "virtual" pixels. Not to be confused with {@link size}, which sets the actual window's physical size in pixels. If set to a value greater than `0` and {@link contentScaleMode} is set to a value other than {@link CONTENT_SCALE_MODE_DISABLED}, the {@link Window}'s content will be scaled when the window is resized to a different size. Higher values will make the content appear *smaller*, as it will be able to fit more of the project in view. On the root {@link Window}, this is set to match {@link ProjectSettings.display/window/size/viewportWidth} and {@link ProjectSettings.display/window/size/viewportHeight} by default.
|
|
700
742
|
* For example, when using {@link CONTENT_SCALE_MODE_CANVAS_ITEMS} and {@link contentScaleSize} set to `Vector2i(1280, 720)`, using a window size of `2560×1440` will make 2D elements appear at double their original size, as the content is scaled by a factor of `2.0` (`2560.0 / 1280.0 = 2.0`, `1440.0 / 720.0 = 2.0`).
|
|
701
743
|
* See [the Base size section of the Multiple resolutions documentation]($DOCS_URL/tutorials/rendering/multiple_resolutions.html#base-size) for details.
|
|
702
744
|
*/
|
|
703
|
-
get contentScaleSize(): Vector2i { return _C(this,
|
|
704
|
-
set contentScaleSize(v: Vector2i) { _C(this,
|
|
745
|
+
get contentScaleSize(): Vector2i { return _C(this, 4392) as Vector2i; }
|
|
746
|
+
set contentScaleSize(v: Vector2i) { _C(this, 11182, v); }
|
|
705
747
|
|
|
706
748
|
/**
|
|
707
749
|
* Specifies how the content is scaled when the {@link Window} is resized.
|
|
708
750
|
*/
|
|
709
|
-
get contentScaleMode(): ContentScaleMode { return _C(this,
|
|
710
|
-
set contentScaleMode(v: ContentScaleMode) { _C(this,
|
|
751
|
+
get contentScaleMode(): ContentScaleMode { return _C(this, 4391) as ContentScaleMode; }
|
|
752
|
+
set contentScaleMode(v: ContentScaleMode) { _C(this, 11181, v); }
|
|
711
753
|
|
|
712
754
|
/**
|
|
713
755
|
* Specifies how the content's aspect behaves when the {@link Window} is resized. The base aspect is determined by {@link contentScaleSize}.
|
|
714
756
|
*/
|
|
715
|
-
get contentScaleAspect(): ContentScaleAspect { return _C(this,
|
|
716
|
-
set contentScaleAspect(v: ContentScaleAspect) { _C(this,
|
|
757
|
+
get contentScaleAspect(): ContentScaleAspect { return _C(this, 4389) as ContentScaleAspect; }
|
|
758
|
+
set contentScaleAspect(v: ContentScaleAspect) { _C(this, 11179, v); }
|
|
717
759
|
|
|
718
760
|
/**
|
|
719
761
|
* The policy to use to determine the final scale factor for 2D elements. This affects how {@link contentScaleFactor} is applied, in addition to the automatic scale factor determined by {@link contentScaleSize}.
|
|
720
762
|
*/
|
|
721
|
-
get contentScaleStretch(): ContentScaleStretch { return _C(this,
|
|
722
|
-
set contentScaleStretch(v: ContentScaleStretch) { _C(this,
|
|
763
|
+
get contentScaleStretch(): ContentScaleStretch { return _C(this, 4393) as ContentScaleStretch; }
|
|
764
|
+
set contentScaleStretch(v: ContentScaleStretch) { _C(this, 11183, v); }
|
|
723
765
|
|
|
724
766
|
/**
|
|
725
767
|
* Specifies the base scale of {@link Window}'s content when its {@link size} is equal to {@link contentScaleSize}. See also {@link Viewport.getStretchTransform}.
|
|
726
768
|
*/
|
|
727
|
-
get contentScaleFactor(): number { return _C(this,
|
|
728
|
-
set contentScaleFactor(v: number) { _C(this,
|
|
769
|
+
get contentScaleFactor(): number { return _C(this, 4390) as number; }
|
|
770
|
+
set contentScaleFactor(v: number) { _C(this, 11180, v); }
|
|
729
771
|
|
|
730
772
|
/**
|
|
731
773
|
* If `true`, requests HDR output for the {@link Window}, falling back to SDR if not supported, and automatically switching between HDR and SDR as the window moves between screens, screen capabilities change, or system settings are modified. This will internally force {@link Viewport.useHdr2d} to be enabled on the main {@link Viewport}. All other {@link SubViewport} of this {@link Window} must have their {@link Viewport.useHdr2d} property enabled to produce HDR output.
|
|
732
774
|
*/
|
|
733
|
-
get hdrOutputRequested(): boolean { return _C(this,
|
|
734
|
-
set hdrOutputRequested(v: boolean) { _C(this,
|
|
775
|
+
get hdrOutputRequested(): boolean { return _C(this, 8152) as boolean; }
|
|
776
|
+
set hdrOutputRequested(v: boolean) { _C(this, 11844, v); }
|
|
735
777
|
|
|
736
778
|
/**
|
|
737
779
|
* Toggles if any text should automatically change to its translated version depending on the current locale.
|
|
738
780
|
*/
|
|
739
|
-
get autoTranslate(): boolean { return _C(this,
|
|
740
|
-
set autoTranslate(v: boolean) { _C(this,
|
|
781
|
+
get autoTranslate(): boolean { return _C(this, 7935) as boolean; }
|
|
782
|
+
set autoTranslate(v: boolean) { _C(this, 10801, v); }
|
|
741
783
|
|
|
742
784
|
/**
|
|
743
785
|
* The human-readable node name that is reported to assistive apps.
|
|
744
786
|
*/
|
|
745
|
-
get accessibilityName(): string { return _C(this,
|
|
746
|
-
set accessibilityName(v: string) { _C(this,
|
|
787
|
+
get accessibilityName(): string { return _C(this, 3738) as string; }
|
|
788
|
+
set accessibilityName(v: string) { _C(this, 10628, v); }
|
|
747
789
|
|
|
748
790
|
/**
|
|
749
791
|
* The human-readable node description that is reported to assistive apps.
|
|
750
792
|
*/
|
|
751
|
-
get accessibilityDescription(): string { return _C(this,
|
|
752
|
-
set accessibilityDescription(v: string) { _C(this,
|
|
793
|
+
get accessibilityDescription(): string { return _C(this, 3733) as string; }
|
|
794
|
+
set accessibilityDescription(v: string) { _C(this, 10624, v); }
|
|
753
795
|
|
|
754
796
|
/**
|
|
755
797
|
* The {@link Theme} resource this node and all its {@link Control} and {@link Window} children use. If a child node has its own {@link Theme} resource set, theme items are merged with child's definitions having higher priority.
|
|
756
798
|
* **Note:** {@link Window} styles will have no effect unless the window is embedded.
|
|
757
799
|
*/
|
|
758
|
-
get theme(): Theme { return _C(this,
|
|
759
|
-
set theme(v: Theme) { _C(this,
|
|
800
|
+
get theme(): Theme { return _C(this, 6893) as Theme; }
|
|
801
|
+
set theme(v: Theme) { _C(this, 13321, v); }
|
|
760
802
|
|
|
761
803
|
/**
|
|
762
804
|
* The name of a theme type variation used by this {@link Window} to look up its own theme items. See {@link Control.themeTypeVariation} for more details.
|
|
763
805
|
*/
|
|
764
|
-
get themeTypeVariation(): StringName { return _C(this,
|
|
765
|
-
set themeTypeVariation(v: StringName) { _C(this,
|
|
806
|
+
get themeTypeVariation(): StringName { return _C(this, 6907) as StringName; }
|
|
807
|
+
set themeTypeVariation(v: StringName) { _C(this, 13323, v); }
|
|
766
808
|
|
|
767
809
|
/**
|
|
768
810
|
* Emitted when {@link Window}'s visibility changes, right before {@link visibility_changed}.
|
|
@@ -781,14 +823,14 @@ export class Window extends Viewport {
|
|
|
781
823
|
/**
|
|
782
824
|
* Emitted when the {@link Window} is currently focused and receives any input, passing the received event as an argument. The event's position, if present, is in the embedder's coordinate system.
|
|
783
825
|
*/
|
|
784
|
-
get windowInput(): Signal<(event: InputEvent) => void> { return _G(this,
|
|
785
|
-
set windowInput(v: ((event: InputEvent) => void) | null) { _G(this,
|
|
826
|
+
get windowInput(): Signal<(event: InputEvent) => void> { return _G(this, 15177) as Signal<(event: InputEvent) => void>; }
|
|
827
|
+
set windowInput(v: ((event: InputEvent) => void) | null) { _G(this, 15177, v); }
|
|
786
828
|
|
|
787
829
|
/**
|
|
788
830
|
* Emitted when the mouse event is received by the custom decoration area defined by {@link nonclientArea}, and normal input to the window is blocked (such as when it has an exclusive child opened). `event`'s position is in the embedder's coordinate system.
|
|
789
831
|
*/
|
|
790
|
-
get nonclientWindowInput(): Signal<(event: InputEvent) => void> { return _G(this,
|
|
791
|
-
set nonclientWindowInput(v: ((event: InputEvent) => void) | null) { _G(this,
|
|
832
|
+
get nonclientWindowInput(): Signal<(event: InputEvent) => void> { return _G(this, 9290) as Signal<(event: InputEvent) => void>; }
|
|
833
|
+
set nonclientWindowInput(v: ((event: InputEvent) => void) | null) { _G(this, 9290, v); }
|
|
792
834
|
|
|
793
835
|
/**
|
|
794
836
|
* Emitted when files are dragged from the OS file manager and dropped in the game window. The argument is a list of file paths.
|
|
@@ -804,91 +846,92 @@ export class Window extends Viewport {
|
|
|
804
846
|
* ```
|
|
805
847
|
*
|
|
806
848
|
* **Note:** This signal only works with native windows, i.e. the main window and {@link Window}-derived nodes when {@link Viewport.guiEmbedSubwindows} is disabled in the main viewport.
|
|
849
|
+
* **Note:** On the web platform, the files are dropped to a temporary folder and will be removed automatically after the signal is emitted. Process them immediately, or move them to a separate possibly persistent location (e.g. `user://`) to preserve them.
|
|
807
850
|
*/
|
|
808
|
-
get filesDropped(): Signal<(files: PackedStringArray) => void> { return _G(this,
|
|
809
|
-
set filesDropped(v: ((files: PackedStringArray) => void) | null) { _G(this,
|
|
851
|
+
get filesDropped(): Signal<(files: PackedStringArray) => void> { return _G(this, 3313) as Signal<(files: PackedStringArray) => void>; }
|
|
852
|
+
set filesDropped(v: ((files: PackedStringArray) => void) | null) { _G(this, 3313, v); }
|
|
810
853
|
|
|
811
854
|
/**
|
|
812
855
|
* Emitted when the mouse cursor enters the {@link Window}'s visible area, that is not occluded behind other {@link Control}s or windows, provided its {@link Viewport.guiDisableInput} is `false` and regardless if it's currently focused or not.
|
|
813
856
|
*/
|
|
814
|
-
get mouseEntered(): Signal<() => void> { return _G(this,
|
|
815
|
-
set mouseEntered(v: (() => void) | null) { _G(this,
|
|
857
|
+
get mouseEntered(): Signal<() => void> { return _G(this, 9157) as Signal<() => void>; }
|
|
858
|
+
set mouseEntered(v: (() => void) | null) { _G(this, 9157, v); }
|
|
816
859
|
|
|
817
860
|
/**
|
|
818
861
|
* Emitted when the mouse cursor leaves the {@link Window}'s visible area, that is not occluded behind other {@link Control}s or windows, provided its {@link Viewport.guiDisableInput} is `false` and regardless if it's currently focused or not.
|
|
819
862
|
*/
|
|
820
|
-
get mouseExited(): Signal<() => void> { return _G(this,
|
|
821
|
-
set mouseExited(v: (() => void) | null) { _G(this,
|
|
863
|
+
get mouseExited(): Signal<() => void> { return _G(this, 9158) as Signal<() => void>; }
|
|
864
|
+
set mouseExited(v: (() => void) | null) { _G(this, 9158, v); }
|
|
822
865
|
|
|
823
866
|
/**
|
|
824
867
|
* Emitted when the {@link Window} gains focus.
|
|
825
868
|
*/
|
|
826
|
-
get focusEntered(): Signal<() => void> { return _G(this,
|
|
827
|
-
set focusEntered(v: (() => void) | null) { _G(this,
|
|
869
|
+
get focusEntered(): Signal<() => void> { return _G(this, 3408) as Signal<() => void>; }
|
|
870
|
+
set focusEntered(v: (() => void) | null) { _G(this, 3408, v); }
|
|
828
871
|
|
|
829
872
|
/**
|
|
830
873
|
* Emitted when the {@link Window} loses its focus.
|
|
831
874
|
*/
|
|
832
|
-
get focusExited(): Signal<() => void> { return _G(this,
|
|
833
|
-
set focusExited(v: (() => void) | null) { _G(this,
|
|
875
|
+
get focusExited(): Signal<() => void> { return _G(this, 3409) as Signal<() => void>; }
|
|
876
|
+
set focusExited(v: (() => void) | null) { _G(this, 3409, v); }
|
|
834
877
|
|
|
835
878
|
/**
|
|
836
879
|
* Emitted when the {@link Window}'s close button is pressed or when {@link popupWindow} is enabled and user clicks outside the window.
|
|
837
880
|
* This signal can be used to handle window closing, e.g. by connecting it to {@link hide}.
|
|
838
881
|
*/
|
|
839
|
-
get closeRequested(): Signal<() => void> { return _G(this,
|
|
840
|
-
set closeRequested(v: (() => void) | null) { _G(this,
|
|
882
|
+
get closeRequested(): Signal<() => void> { return _G(this, 2372) as Signal<() => void>; }
|
|
883
|
+
set closeRequested(v: (() => void) | null) { _G(this, 2372, v); }
|
|
841
884
|
|
|
842
885
|
/**
|
|
843
886
|
* Emitted when a go back request is sent (e.g. pressing the "Back" button on Android), right after {@link Node.NOTIFICATION_WM_GO_BACK_REQUEST}.
|
|
844
887
|
*/
|
|
845
|
-
get goBackRequested(): Signal<() => void> { return _G(this,
|
|
846
|
-
set goBackRequested(v: (() => void) | null) { _G(this,
|
|
888
|
+
get goBackRequested(): Signal<() => void> { return _G(this, 7424) as Signal<() => void>; }
|
|
889
|
+
set goBackRequested(v: (() => void) | null) { _G(this, 7424, v); }
|
|
847
890
|
|
|
848
891
|
/**
|
|
849
892
|
* Emitted when {@link Window} is made visible or disappears.
|
|
850
893
|
*/
|
|
851
|
-
get visibilityChanged(): Signal<() => void> { return _G(this,
|
|
852
|
-
set visibilityChanged(v: (() => void) | null) { _G(this,
|
|
894
|
+
get visibilityChanged(): Signal<() => void> { return _G(this, 15070) as Signal<() => void>; }
|
|
895
|
+
set visibilityChanged(v: (() => void) | null) { _G(this, 15070, v); }
|
|
853
896
|
|
|
854
897
|
/**
|
|
855
898
|
* Emitted right after {@link popup} call, before the {@link Window} appears or does anything.
|
|
856
899
|
*/
|
|
857
|
-
get aboutToPopup(): Signal<() => void> { return _G(this,
|
|
858
|
-
set aboutToPopup(v: (() => void) | null) { _G(this,
|
|
900
|
+
get aboutToPopup(): Signal<() => void> { return _G(this, 1081) as Signal<() => void>; }
|
|
901
|
+
set aboutToPopup(v: (() => void) | null) { _G(this, 1081, v); }
|
|
859
902
|
|
|
860
903
|
/**
|
|
861
904
|
* Emitted when the {@link NOTIFICATION_THEME_CHANGED} notification is sent.
|
|
862
905
|
*/
|
|
863
|
-
get themeChanged(): Signal<() => void> { return _G(this,
|
|
864
|
-
set themeChanged(v: (() => void) | null) { _G(this,
|
|
906
|
+
get themeChanged(): Signal<() => void> { return _G(this, 14532) as Signal<() => void>; }
|
|
907
|
+
set themeChanged(v: (() => void) | null) { _G(this, 14532, v); }
|
|
865
908
|
|
|
866
909
|
/**
|
|
867
910
|
* Emitted when the {@link Window}'s DPI changes as a result of OS-level changes (e.g. moving the window from a Retina display to a lower resolution one).
|
|
868
911
|
* **Note:** Only implemented on macOS and Linux (Wayland).
|
|
869
912
|
*/
|
|
870
|
-
get dpiChanged(): Signal<() => void> { return _G(this,
|
|
871
|
-
set dpiChanged(v: (() => void) | null) { _G(this,
|
|
913
|
+
get dpiChanged(): Signal<() => void> { return _G(this, 2929) as Signal<() => void>; }
|
|
914
|
+
set dpiChanged(v: (() => void) | null) { _G(this, 2929, v); }
|
|
872
915
|
|
|
873
916
|
/**
|
|
874
917
|
* Emitted when window title bar decorations are changed, e.g. macOS window enter/exit full screen mode, or extend-to-title flag is changed.
|
|
875
918
|
*/
|
|
876
|
-
get titlebarChanged(): Signal<() => void> { return _G(this,
|
|
877
|
-
set titlebarChanged(v: (() => void) | null) { _G(this,
|
|
919
|
+
get titlebarChanged(): Signal<() => void> { return _G(this, 14575) as Signal<() => void>; }
|
|
920
|
+
set titlebarChanged(v: (() => void) | null) { _G(this, 14575, v); }
|
|
878
921
|
|
|
879
922
|
/**
|
|
880
923
|
* Emitted when window title bar text is changed.
|
|
881
924
|
*/
|
|
882
|
-
get titleChanged(): Signal<() => void> { return _G(this,
|
|
883
|
-
set titleChanged(v: (() => void) | null) { _G(this,
|
|
925
|
+
get titleChanged(): Signal<() => void> { return _G(this, 14571) as Signal<() => void>; }
|
|
926
|
+
set titleChanged(v: (() => void) | null) { _G(this, 14571, v); }
|
|
884
927
|
|
|
885
928
|
/**
|
|
886
929
|
* Emitted when the output max linear value returned by {@link Window.getOutputMaxLinearValue} has changed. This occurs when HDR output is enabled or disabled and when any HDR output luminance values of the window have changed, such as when the player adjusts their screen brightness setting or moves the window to a different screen. `outputMaxLinearValue` is the new value.
|
|
887
930
|
*/
|
|
888
|
-
get outputMaxLinearValueChanged(): Signal<(outputMaxLinearValue: number) => void> { return _G(this,
|
|
889
|
-
set outputMaxLinearValueChanged(v: ((outputMaxLinearValue: number) => void) | null) { _G(this,
|
|
931
|
+
get outputMaxLinearValueChanged(): Signal<(outputMaxLinearValue: number) => void> { return _G(this, 9441) as Signal<(outputMaxLinearValue: number) => void>; }
|
|
932
|
+
set outputMaxLinearValueChanged(v: ((outputMaxLinearValue: number) => void) | null) { _G(this, 9441, v); }
|
|
890
933
|
|
|
891
|
-
static readonly name = _R(
|
|
934
|
+
static readonly name = _R(995, Window);
|
|
892
935
|
}
|
|
893
936
|
|
|
894
937
|
export const Mode = {
|
|
@@ -969,7 +1012,7 @@ export const Flags = {
|
|
|
969
1012
|
/**
|
|
970
1013
|
* All mouse events are passed to the underlying window of the same application.
|
|
971
1014
|
* **Note:** This flag has no effect in embedded windows.
|
|
972
|
-
* **Note:** This flag is implemented on Linux (X11), macOS, Windows.
|
|
1015
|
+
* **Note:** This flag is implemented on Linux (X11/Wayland), macOS, Windows.
|
|
973
1016
|
*/
|
|
974
1017
|
FLAG_MOUSE_PASSTHROUGH: 7,
|
|
975
1018
|
/**
|