@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/Viewport.ts
CHANGED
|
@@ -29,38 +29,38 @@ export class Viewport extends Node {
|
|
|
29
29
|
/**
|
|
30
30
|
* Returns the first valid {@link World2D} for this viewport, searching the {@link world2d} property of itself and any Viewport ancestor.
|
|
31
31
|
*/
|
|
32
|
-
findWorld2d(): World2D { return _C(this,
|
|
32
|
+
findWorld2d(): World2D { return _C(this, 3365) as World2D; }
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* Returns the automatically computed 2D stretch transform, taking the {@link Viewport}'s stretch settings into account. The final value is multiplied by {@link Window.contentScaleFactor}, but only for the root viewport. If this method is called on a {@link SubViewport} (e.g., in a scene tree with {@link SubViewportContainer} and {@link SubViewport}), the scale factor of the root window will not be applied. Using {@link Transform2D.getScale} on the returned value, this can be used to compensate for scaling when zooming a {@link Camera2D} node, or to scale down a {@link TextureRect} to be pixel-perfect regardless of the automatically computed scale factor.
|
|
36
36
|
* **Note:** Due to how pixel scaling works, the returned transform's X and Y scale may differ slightly, even when {@link Window.contentScaleAspect} is set to a mode that preserves the pixels' aspect ratio. If {@link Window.contentScaleAspect} is {@link Window.CONTENT_SCALE_ASPECT_IGNORE}, the X and Y scale may differ *significantly*.
|
|
37
37
|
*/
|
|
38
|
-
getStretchTransform(): Transform2D { return _C(this,
|
|
38
|
+
getStretchTransform(): Transform2D { return _C(this, 6704) as Transform2D; }
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* Returns the transform from the viewport's coordinate system to the embedder's coordinate system.
|
|
42
42
|
*/
|
|
43
|
-
getFinalTransform(): Transform2D { return _C(this,
|
|
43
|
+
getFinalTransform(): Transform2D { return _C(this, 4876) as Transform2D; }
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Returns the transform from the Viewport's coordinates to the screen coordinates of the containing window manager window.
|
|
47
47
|
*/
|
|
48
|
-
getScreenTransform(): Transform2D { return _C(this,
|
|
48
|
+
getScreenTransform(): Transform2D { return _C(this, 6389) as Transform2D; }
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* Returns the visible rectangle in global screen coordinates.
|
|
52
52
|
*/
|
|
53
|
-
getVisibleRect(): Rect2 { return _C(this,
|
|
53
|
+
getVisibleRect(): Rect2 { return _C(this, 7254) as Rect2; }
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* Returns viewport oversampling factor.
|
|
57
57
|
*/
|
|
58
|
-
getOversampling(): number { return _C(this,
|
|
58
|
+
getOversampling(): number { return _C(this, 5888) as number; }
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* Returns rendering statistics of the given type.
|
|
62
62
|
*/
|
|
63
|
-
getRenderInfo(type: RenderInfoType, info: RenderInfo): number { return _C(this,
|
|
63
|
+
getRenderInfo(type: RenderInfoType, info: RenderInfo): number { return _C(this, 6247, type, info) as number; }
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* Returns the viewport's texture.
|
|
@@ -70,8 +70,8 @@ export class Viewport extends Node {
|
|
|
70
70
|
* ```gdscript
|
|
71
71
|
*
|
|
72
72
|
* func _ready():
|
|
73
|
-
*
|
|
74
|
-
*
|
|
73
|
+
* await RenderingServer.frame_post_draw
|
|
74
|
+
* $Viewport.get_texture().get_image().save_png("user://Screenshot.png")
|
|
75
75
|
*
|
|
76
76
|
* ```
|
|
77
77
|
*
|
|
@@ -79,17 +79,17 @@ export class Viewport extends Node {
|
|
|
79
79
|
*
|
|
80
80
|
* **Note:** When {@link useHdr2d} is `true` the returned texture will be an HDR image using linear encoding.
|
|
81
81
|
*/
|
|
82
|
-
getTexture(): ViewportTexture { return _C(this,
|
|
82
|
+
getTexture(): ViewportTexture { return _C(this, 6860) as ViewportTexture; }
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* Returns the viewport's RID from the {@link RenderingServer}.
|
|
86
86
|
*/
|
|
87
|
-
getViewportRid(): RID { return _C(this,
|
|
87
|
+
getViewportRid(): RID { return _C(this, 7227) as RID; }
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Helper method which calls the `set_text()` method on the currently focused {@link Control}, provided that it is defined (e.g. if the focused Control is {@link Button} or {@link LineEdit}).
|
|
91
91
|
*/
|
|
92
|
-
pushTextInput(text: string): void { _C(this,
|
|
92
|
+
pushTextInput(text: string): void { _C(this, 9866, text); }
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Triggers the given `event` in this {@link Viewport}. This can be used to pass an {@link InputEvent} between viewports, or to locally apply inputs that were sent over the network or saved to a file.
|
|
@@ -104,7 +104,7 @@ export class Viewport extends Node {
|
|
|
104
104
|
* If an earlier method marks the input as handled via {@link setInputAsHandled}, any later method in this list will not be called.
|
|
105
105
|
* If none of the methods handle the event and {@link physicsObjectPicking} is `true`, the event is used for physics object picking.
|
|
106
106
|
*/
|
|
107
|
-
pushInput(event: InputEvent, inLocalCoords?: boolean /* = false */): void { _C(this,
|
|
107
|
+
pushInput(event: InputEvent, inLocalCoords?: boolean /* = false */): void { _C(this, 9854, event, inLocalCoords); }
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* Triggers the given `event` in this {@link Viewport}. This can be used to pass an {@link InputEvent} between viewports, or to locally apply inputs that were sent over the network or saved to a file.
|
|
@@ -117,240 +117,240 @@ export class Viewport extends Node {
|
|
|
117
117
|
* If none of the methods handle the event and {@link physicsObjectPicking} is `true`, the event is used for physics object picking.
|
|
118
118
|
* **Note:** This method doesn't propagate input events to embedded {@link Window}s or {@link SubViewport}s.
|
|
119
119
|
*/
|
|
120
|
-
pushUnhandledInput(event: InputEvent, inLocalCoords?: boolean /* = false */): void { _C(this,
|
|
120
|
+
pushUnhandledInput(event: InputEvent, inLocalCoords?: boolean /* = false */): void { _C(this, 9868, event, inLocalCoords); }
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* Inform the Viewport that the mouse has entered its area. Use this function before sending an {@link InputEventMouseButton} or {@link InputEventMouseMotion} to the {@link Viewport} with {@link Viewport.pushInput}. See also {@link notifyMouseExited}.
|
|
124
124
|
* **Note:** In most cases, it is not necessary to call this function because {@link SubViewport} nodes that are children of {@link SubViewportContainer} are notified automatically. This is only necessary when interacting with viewports in non-default ways, for example as textures in {@link TextureRect} or with an {@link Area3D} that forwards input events.
|
|
125
125
|
*/
|
|
126
|
-
notifyMouseEntered(): void { _C(this,
|
|
126
|
+
notifyMouseEntered(): void { _C(this, 9306); }
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* Inform the Viewport that the mouse has left its area. Use this function when the node that displays the viewport notices the mouse has left the area of the displayed viewport. See also {@link notifyMouseEntered}.
|
|
130
130
|
* **Note:** In most cases, it is not necessary to call this function because {@link SubViewport} nodes that are children of {@link SubViewportContainer} are notified automatically. This is only necessary when interacting with viewports in non-default ways, for example as textures in {@link TextureRect} or with an {@link Area3D} that forwards input events.
|
|
131
131
|
*/
|
|
132
|
-
notifyMouseExited(): void { _C(this,
|
|
132
|
+
notifyMouseExited(): void { _C(this, 9307); }
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* Returns the mouse's position in this {@link Viewport} using the coordinate system of this {@link Viewport}.
|
|
136
136
|
*/
|
|
137
|
-
getMousePosition(): Vector2 { return _C(this,
|
|
137
|
+
getMousePosition(): Vector2 { return _C(this, 5699) as Vector2; }
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* Moves the mouse pointer to the specified position in this {@link Viewport} using the coordinate system of this {@link Viewport}.
|
|
141
141
|
* **Note:** {@link warpMouse} is only supported on Windows, macOS and Linux. It has no effect on Android, iOS and Web.
|
|
142
142
|
*/
|
|
143
|
-
warpMouse(position: Vector2): void { _C(this,
|
|
143
|
+
warpMouse(position: Vector2): void { _C(this, 15138, position); }
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* Force instantly updating the display based on the current mouse cursor position. This includes updating the mouse cursor shape and sending necessary {@link Control.mouse_entered}, {@link CollisionObject2D.mouse_entered}, {@link CollisionObject3D.mouse_entered} and {@link Window.mouse_entered} signals and their respective `mouse_exited` counterparts.
|
|
147
147
|
*/
|
|
148
|
-
updateMouseCursorState(): void { _C(this,
|
|
148
|
+
updateMouseCursorState(): void { _C(this, 14819); }
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* Cancels the drag operation that was previously started through {@link Control.GetDragData} or forced with {@link Control.forceDrag}.
|
|
152
152
|
*/
|
|
153
|
-
guiCancelDrag(): void { _C(this,
|
|
153
|
+
guiCancelDrag(): void { _C(this, 7460); }
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
156
|
* Returns the drag data from the GUI, that was previously returned by {@link Control.GetDragData}.
|
|
157
157
|
*/
|
|
158
|
-
guiGetDragData(): Variant { return _C(this,
|
|
158
|
+
guiGetDragData(): Variant { return _C(this, 7465) as Variant; }
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* Returns the human-readable description of the drag data, used for assistive apps.
|
|
162
162
|
*/
|
|
163
|
-
guiGetDragDescription(): string { return _C(this,
|
|
163
|
+
guiGetDragDescription(): string { return _C(this, 7466) as string; }
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* Sets the human-readable description of the drag data to `description`, used for assistive apps.
|
|
167
167
|
*/
|
|
168
|
-
guiSetDragDescription(description: string): void { _C(this,
|
|
168
|
+
guiSetDragDescription(description: string): void { _C(this, 7473, description); }
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
171
|
* Returns `true` if a drag operation is currently ongoing and where the drop action could happen in this viewport.
|
|
172
172
|
* Alternative to {@link Node.NOTIFICATION_DRAG_BEGIN} and {@link Node.NOTIFICATION_DRAG_END} when you prefer polling the value.
|
|
173
173
|
*/
|
|
174
|
-
guiIsDragging(): boolean { return _C(this,
|
|
174
|
+
guiIsDragging(): boolean { return _C(this, 7471) as boolean; }
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
177
|
* Returns `true` if the drag operation is successful.
|
|
178
178
|
*/
|
|
179
|
-
guiIsDragSuccessful(): boolean { return _C(this,
|
|
179
|
+
guiIsDragSuccessful(): boolean { return _C(this, 7470) as boolean; }
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
182
|
* Removes the focus from the currently focused {@link Control} within this viewport. If no {@link Control} has the focus, does nothing.
|
|
183
183
|
*/
|
|
184
|
-
guiReleaseFocus(): void { _C(this,
|
|
184
|
+
guiReleaseFocus(): void { _C(this, 7472); }
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* Returns the currently focused {@link Control} within this viewport. If no {@link Control} is focused, returns `null`.
|
|
188
188
|
*/
|
|
189
|
-
guiGetFocusOwner(): Control | null { return _C(this,
|
|
189
|
+
guiGetFocusOwner(): Control | null { return _C(this, 7467) as Control | null; }
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
192
|
* Returns the {@link Control} that the mouse is currently hovering over in this viewport. If no {@link Control} has the cursor, returns `null`.
|
|
193
193
|
* Typically the leaf {@link Control} node or deepest level of the subtree which claims hover. This is very useful when used together with {@link Node.isAncestorOf} to find if the mouse is within a control tree.
|
|
194
194
|
*/
|
|
195
|
-
guiGetHoveredControl(): Control | null { return _C(this,
|
|
195
|
+
guiGetHoveredControl(): Control | null { return _C(this, 7468) as Control | null; }
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
198
|
* Stops the input from propagating further up the {@link SceneTree}.
|
|
199
199
|
* **Note:** This does not affect the methods in {@link Input}, only the way events are propagated.
|
|
200
200
|
*/
|
|
201
|
-
setInputAsHandled(): void { _C(this,
|
|
201
|
+
setInputAsHandled(): void { _C(this, 11948); }
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
204
|
* Returns whether the current {@link InputEvent} has been handled. Input events are not handled until {@link setInputAsHandled} has been called during the lifetime of an {@link InputEvent}.
|
|
205
205
|
* This is usually done as part of input handling methods like {@link Node.Input}, {@link Control.GuiInput} or others, as well as in corresponding signal handlers.
|
|
206
206
|
* If {@link handleInputLocally} is set to `false`, this method will try finding the first parent viewport that is set to handle input locally, and return its value for {@link isInputHandled} instead.
|
|
207
207
|
*/
|
|
208
|
-
isInputHandled(): boolean { return _C(this,
|
|
208
|
+
isInputHandled(): boolean { return _C(this, 8190) as boolean; }
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
211
|
* Returns a list of the visible embedded {@link Window}s inside the viewport.
|
|
212
212
|
* **Note:** {@link Window}s inside other viewports will not be listed.
|
|
213
213
|
*/
|
|
214
|
-
getEmbeddedSubwindows(): GodotArray<Window> { return _C(this,
|
|
214
|
+
getEmbeddedSubwindows(): GodotArray<Window> { return _C(this, 4692) as GodotArray<Window>; }
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* Set/clear individual bits on the rendering layer mask. This simplifies editing this {@link Viewport}'s layers.
|
|
218
218
|
*/
|
|
219
|
-
setCanvasCullMaskBit(layer: number /* uint32 */, enable: boolean): void { _C(this,
|
|
219
|
+
setCanvasCullMaskBit(layer: number /* uint32 */, enable: boolean): void { _C(this, 11016, layer, enable); }
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Returns an individual bit on the rendering layer mask.
|
|
223
223
|
*/
|
|
224
|
-
getCanvasCullMaskBit(layer: number /* uint32 */): boolean { return _C(this,
|
|
224
|
+
getCanvasCullMaskBit(layer: number /* uint32 */): boolean { return _C(this, 4147, layer) as boolean; }
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Returns the currently active 2D audio listener. Returns `null` if there are no active 2D audio listeners, in which case the active 2D camera will be treated as listener.
|
|
228
228
|
*/
|
|
229
|
-
getAudioListener2d(): AudioListener2D | null { return _C(this,
|
|
229
|
+
getAudioListener2d(): AudioListener2D | null { return _C(this, 3886) as AudioListener2D | null; }
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
232
|
* Returns the currently active 2D camera. Returns `null` if there are no active cameras.
|
|
233
233
|
* **Note:** If called while the *Camera Override* system is active in editor, this will return the internally managed override camera. It is therefore advised to avoid caching the return value, or to check that the cached value is still a valid instance and is the current camera before use. See {@link isInstanceValid} and {@link Camera2D.isCurrent}.
|
|
234
234
|
*/
|
|
235
|
-
getCamera2d(): Camera2D | null { return _C(this,
|
|
235
|
+
getCamera2d(): Camera2D | null { return _C(this, 4132) as Camera2D | null; }
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
238
|
* Returns the first valid {@link World3D} for this viewport, searching the {@link world3d} property of itself and any Viewport ancestor.
|
|
239
239
|
*/
|
|
240
|
-
findWorld3d(): World3D { return _C(this,
|
|
240
|
+
findWorld3d(): World3D { return _C(this, 3366) as World3D; }
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
243
|
* Returns the currently active 3D audio listener. Returns `null` if there are no active 3D audio listeners, in which case the active 3D camera will be treated as listener.
|
|
244
244
|
*/
|
|
245
|
-
getAudioListener3d(): AudioListener3D | null { return _C(this,
|
|
245
|
+
getAudioListener3d(): AudioListener3D | null { return _C(this, 3887) as AudioListener3D | null; }
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
248
|
* Returns the currently active 3D camera. Returns `null` if there are no active cameras.
|
|
249
249
|
* **Note:** If called while the *Camera Override* system is active in editor, this will return the internally managed override camera. It is therefore advised to avoid caching the return value, or to check that the cached value is a valid instance and is the current camera before use. See {@link isInstanceValid} and {@link Camera3D.current}.
|
|
250
250
|
*/
|
|
251
|
-
getCamera3d(): Camera3D | null { return _C(this,
|
|
251
|
+
getCamera3d(): Camera3D | null { return _C(this, 4133) as Camera3D | null; }
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
254
|
* Disable 3D rendering (but keep 2D rendering).
|
|
255
255
|
*/
|
|
256
|
-
get disable3d(): boolean { return _C(this,
|
|
257
|
-
set disable3d(v: boolean) { _C(this,
|
|
256
|
+
get disable3d(): boolean { return _C(this, 7883) as boolean; }
|
|
257
|
+
set disable3d(v: boolean) { _C(this, 11344, v); }
|
|
258
258
|
|
|
259
259
|
/**
|
|
260
260
|
* If `true`, the viewport will use the primary XR interface to render XR output. When applicable this can result in a stereoscopic image and the resulting render being output to a headset.
|
|
261
261
|
*/
|
|
262
|
-
get useXr(): boolean { return _C(this,
|
|
263
|
-
set useXr(v: boolean) { _C(this,
|
|
262
|
+
get useXr(): boolean { return _C(this, 8605) as boolean; }
|
|
263
|
+
set useXr(v: boolean) { _C(this, 13523, v); }
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
266
|
* If `true`, the viewport will use a unique copy of the {@link World3D} defined in {@link world3d}.
|
|
267
267
|
*/
|
|
268
|
-
get ownWorld3d(): boolean { return _C(this,
|
|
269
|
-
set ownWorld3d(v: boolean) { _C(this,
|
|
268
|
+
get ownWorld3d(): boolean { return _C(this, 8589) as boolean; }
|
|
269
|
+
set ownWorld3d(v: boolean) { _C(this, 13507, v); }
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
272
|
* The custom {@link World3D} which can be used as 3D environment source.
|
|
273
273
|
*/
|
|
274
|
-
get world3d(): World3D { return _C(this,
|
|
275
|
-
set world3d(v: World3D) { _C(this,
|
|
274
|
+
get world3d(): World3D { return _C(this, 7304) as World3D; }
|
|
275
|
+
set world3d(v: World3D) { _C(this, 13658, v); }
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
278
|
* The custom {@link World2D} which can be used as 2D environment source.
|
|
279
279
|
*/
|
|
280
|
-
get world2d(): World2D { return _C(this,
|
|
281
|
-
set world2d(v: World2D) { _C(this,
|
|
280
|
+
get world2d(): World2D { return _C(this, 7303) as World2D; }
|
|
281
|
+
set world2d(v: World2D) { _C(this, 13657, v); }
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
284
|
* If `true`, the viewport should render its background as transparent.
|
|
285
285
|
* **Note:** Due to technical limitations, certain rendering features are disabled when a viewport has a transparent background. This currently applies to screen-space reflections, subsurface scattering, and depth of field.
|
|
286
286
|
*/
|
|
287
|
-
get transparentBg(): boolean { return _C(this,
|
|
288
|
-
set transparentBg(v: boolean) { _C(this,
|
|
287
|
+
get transparentBg(): boolean { return _C(this, 7628) as boolean; }
|
|
288
|
+
set transparentBg(v: boolean) { _C(this, 13421, v); }
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* If `true`, this viewport will mark incoming input events as handled by itself. If `false`, this is instead done by the first parent viewport that is set to handle input locally.
|
|
292
292
|
* A {@link SubViewportContainer} will automatically set this property to `false` for the {@link Viewport} contained inside of it.
|
|
293
293
|
* See also {@link setInputAsHandled} and {@link isInputHandled}.
|
|
294
294
|
*/
|
|
295
|
-
get handleInputLocally(): boolean { return _C(this,
|
|
296
|
-
set handleInputLocally(v: boolean) { _C(this,
|
|
295
|
+
get handleInputLocally(): boolean { return _C(this, 8151) as boolean; }
|
|
296
|
+
set handleInputLocally(v: boolean) { _C(this, 11838, v); }
|
|
297
297
|
|
|
298
298
|
/**
|
|
299
299
|
* If `true`, {@link CanvasItem} nodes will internally snap to full pixels. Their position can still be sub-pixel, but the decimals will not have effect. This can lead to a crisper appearance at the cost of less smooth movement, especially when {@link Camera2D} smoothing is enabled.
|
|
300
300
|
*/
|
|
301
|
-
get snap2dTransformsToPixel(): boolean { return _C(this,
|
|
302
|
-
set snap2dTransformsToPixel(v: boolean) { _C(this,
|
|
301
|
+
get snap2dTransformsToPixel(): boolean { return _C(this, 8498) as boolean; }
|
|
302
|
+
set snap2dTransformsToPixel(v: boolean) { _C(this, 13067, v); }
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
305
|
* If `true`, vertices of {@link CanvasItem} nodes will snap to full pixels. Only affects the final vertex positions, not the transforms. This can lead to a crisper appearance at the cost of less smooth movement, especially when {@link Camera2D} smoothing is enabled.
|
|
306
306
|
*/
|
|
307
|
-
get snap2dVerticesToPixel(): boolean { return _C(this,
|
|
308
|
-
set snap2dVerticesToPixel(v: boolean) { _C(this,
|
|
307
|
+
get snap2dVerticesToPixel(): boolean { return _C(this, 8499) as boolean; }
|
|
308
|
+
set snap2dVerticesToPixel(v: boolean) { _C(this, 13068, v); }
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
311
|
* The multisample antialiasing mode for 2D/Canvas rendering. A higher number results in smoother edges at the cost of significantly worse performance. A value of {@link Viewport.MSAA_2X} or {@link Viewport.MSAA_4X} is best unless targeting very high-end systems. This has no effect on shader-induced aliasing or texture aliasing.
|
|
312
312
|
* See also {@link ProjectSettings.rendering/antiAliasing/quality/msaa2d} and {@link RenderingServer.viewportSetMsaa2d}.
|
|
313
313
|
*/
|
|
314
|
-
get msaa2d(): MSAA { return _C(this,
|
|
315
|
-
set msaa2d(v: MSAA) { _C(this,
|
|
314
|
+
get msaa2d(): MSAA { return _C(this, 5700) as MSAA; }
|
|
315
|
+
set msaa2d(v: MSAA) { _C(this, 12357, v); }
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
318
|
* The multisample antialiasing mode for 3D rendering. A higher number results in smoother edges at the cost of significantly worse performance. A value of {@link Viewport.MSAA_2X} or {@link Viewport.MSAA_4X} is best unless targeting very high-end systems. See also bilinear scaling 3D {@link scaling3dMode} for supersampling, which provides higher quality but is much more expensive. This has no effect on shader-induced aliasing or texture aliasing.
|
|
319
319
|
* See also {@link ProjectSettings.rendering/antiAliasing/quality/msaa3d} and {@link RenderingServer.viewportSetMsaa3d}.
|
|
320
320
|
*/
|
|
321
|
-
get msaa3d(): MSAA { return _C(this,
|
|
322
|
-
set msaa3d(v: MSAA) { _C(this,
|
|
321
|
+
get msaa3d(): MSAA { return _C(this, 5701) as MSAA; }
|
|
322
|
+
set msaa3d(v: MSAA) { _C(this, 12358, v); }
|
|
323
323
|
|
|
324
324
|
/**
|
|
325
325
|
* Sets the screen-space antialiasing method used. Screen-space antialiasing works by selectively blurring edges in a post-process shader. It differs from MSAA which takes multiple coverage samples while rendering objects. Screen-space AA methods are typically faster than MSAA and will smooth out specular aliasing, but tend to make scenes appear blurry.
|
|
326
326
|
* See also {@link ProjectSettings.rendering/antiAliasing/quality/screenSpaceAa} and {@link RenderingServer.viewportSetScreenSpaceAa}.
|
|
327
327
|
*/
|
|
328
|
-
get screenSpaceAa(): ScreenSpaceAA { return _C(this,
|
|
329
|
-
set screenSpaceAa(v: ScreenSpaceAA) { _C(this,
|
|
328
|
+
get screenSpaceAa(): ScreenSpaceAA { return _C(this, 6388) as ScreenSpaceAA; }
|
|
329
|
+
set screenSpaceAa(v: ScreenSpaceAA) { _C(this, 12894, v); }
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
332
|
* Enables temporal antialiasing for this viewport. TAA works by jittering the camera and accumulating the images of the last rendered frames, motion vector rendering is used to account for camera and object motion.
|
|
333
333
|
* **Note:** The implementation is not complete yet, some visual instances such as particles and skinned meshes may show artifacts.
|
|
334
334
|
* See also {@link ProjectSettings.rendering/antiAliasing/quality/useTaa} and {@link RenderingServer.viewportSetUseTaa}.
|
|
335
335
|
*/
|
|
336
|
-
get useTaa(): boolean { return _C(this,
|
|
337
|
-
set useTaa(v: boolean) { _C(this,
|
|
336
|
+
get useTaa(): boolean { return _C(this, 8599) as boolean; }
|
|
337
|
+
set useTaa(v: boolean) { _C(this, 13516, v); }
|
|
338
338
|
|
|
339
339
|
/**
|
|
340
340
|
* When using the Mobile or Forward+ renderers, set {@link useDebanding} to enable or disable the debanding feature of this {@link Viewport}. If {@link useHdr2d} is `false`, 2D rendering is *not* affected by debanding unless the {@link Environment.backgroundMode} is {@link Environment.BG_CANVAS}. If {@link useHdr2d} is `true`, debanding will only be applied if this is the root {@link Viewport} and will affect all 2D and 3D rendering, including canvas items.
|
|
341
341
|
* {@link useDebanding} has no effect when using the Compatibility rendering method. The Mobile renderer can also use material debanding, which can be set with {@link RenderingServer.materialSetUseDebanding} or configured with {@link ProjectSettings.rendering/antiAliasing/quality/useDebanding}.
|
|
342
342
|
* See also {@link ProjectSettings.rendering/antiAliasing/quality/useDebanding}, {@link RenderingServer.materialSetUseDebanding}, and {@link RenderingServer.viewportSetUseDebanding}.
|
|
343
343
|
*/
|
|
344
|
-
get useDebanding(): boolean { return _C(this,
|
|
345
|
-
set useDebanding(v: boolean) { _C(this,
|
|
344
|
+
get useDebanding(): boolean { return _C(this, 8576) as boolean; }
|
|
345
|
+
set useDebanding(v: boolean) { _C(this, 13482, v); }
|
|
346
346
|
|
|
347
347
|
/**
|
|
348
348
|
* If `true`, {@link OccluderInstance3D} nodes will be usable for occlusion culling in 3D for this viewport. For the root viewport, {@link ProjectSettings.rendering/occlusionCulling/useOcclusionCulling} must be set to `true` instead.
|
|
349
349
|
* **Note:** Enabling occlusion culling has a cost on the CPU. Only enable occlusion culling if you actually plan to use it, and think whether your scene can actually benefit from occlusion culling. Large, open scenes with few or no objects blocking the view will generally not benefit much from occlusion culling. Large open scenes generally benefit more from mesh LOD and visibility ranges ({@link GeometryInstance3D.visibilityRangeBegin} and {@link GeometryInstance3D.visibilityRangeEnd}) compared to occlusion culling.
|
|
350
350
|
* **Note:** Due to memory constraints, occlusion culling is not supported by default in Web export templates. It can be enabled by compiling custom Web export templates with `module_raycast_enabled=yes`.
|
|
351
351
|
*/
|
|
352
|
-
get useOcclusionCulling(): boolean { return _C(this,
|
|
353
|
-
set useOcclusionCulling(v: boolean) { _C(this,
|
|
352
|
+
get useOcclusionCulling(): boolean { return _C(this, 8587) as boolean; }
|
|
353
|
+
set useOcclusionCulling(v: boolean) { _C(this, 13505, v); }
|
|
354
354
|
|
|
355
355
|
/**
|
|
356
356
|
* The automatic LOD bias to use for meshes rendered within the {@link Viewport} (this is analogous to {@link ReflectionProbe.meshLodThreshold}). Higher values will use less detailed versions of meshes that have LOD variations generated. If set to `0.0`, automatic LOD is disabled. Increase {@link meshLodThreshold} to improve performance at the cost of geometry detail.
|
|
@@ -358,36 +358,36 @@ export class Viewport extends Node {
|
|
|
358
358
|
* **Note:** Depending on the mesh's attributes (vertex colors, blend shapes, ...), a mesh may have fewer levels of LOD generated to avoid visible distortion of the mesh once it is affected by vertex colors or blend shapes. Meshes with a very low vertex count will also not have any LODs generated, which means this setting will not affect them at all. In general, this setting makes the largest impact on static meshes with a high vertex count.
|
|
359
359
|
* **Note:** {@link meshLodThreshold} does not affect {@link GeometryInstance3D} visibility ranges (also known as "manual" LOD or hierarchical LOD).
|
|
360
360
|
*/
|
|
361
|
-
get meshLodThreshold(): number { return _C(this,
|
|
362
|
-
set meshLodThreshold(v: number) { _C(this,
|
|
361
|
+
get meshLodThreshold(): number { return _C(this, 5620) as number; }
|
|
362
|
+
set meshLodThreshold(v: number) { _C(this, 12282, v); }
|
|
363
363
|
|
|
364
364
|
/**
|
|
365
365
|
* The overlay mode for test rendered geometry in debug purposes.
|
|
366
366
|
*/
|
|
367
|
-
get debugDraw(): DebugDraw { return _C(this,
|
|
368
|
-
set debugDraw(v: DebugDraw) { _C(this,
|
|
367
|
+
get debugDraw(): DebugDraw { return _C(this, 4508) as DebugDraw; }
|
|
368
|
+
set debugDraw(v: DebugDraw) { _C(this, 11268, v); }
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
371
|
* If `true`, 2D rendering will use a high dynamic range (HDR) `RGBA16` format framebuffer. Additionally, 2D rendering will be performed on linear values and will be converted using the appropriate transfer function immediately before blitting to the screen (if the Viewport is attached to the screen).
|
|
372
372
|
* Practically speaking, this means that the end result of the Viewport will not be clamped to the `0-1` range and can be used in 3D rendering without color encoding adjustments. This allows 2D rendering to take advantage of effects requiring high dynamic range (e.g. 2D glow) as well as substantially improves the appearance of effects requiring highly detailed gradients.
|
|
373
373
|
*/
|
|
374
|
-
get useHdr2d(): boolean { return _C(this,
|
|
375
|
-
set useHdr2d(v: boolean) { _C(this,
|
|
374
|
+
get useHdr2d(): boolean { return _C(this, 8582) as boolean; }
|
|
375
|
+
set useHdr2d(v: boolean) { _C(this, 13496, v); }
|
|
376
376
|
|
|
377
377
|
/**
|
|
378
378
|
* Sets scaling 3D mode. Bilinear scaling renders at different resolution to either undersample or supersample the viewport. FidelityFX Super Resolution 1.0, abbreviated to FSR, is an upscaling technology that produces high quality images at fast framerates by using a spatially aware upscaling algorithm. FSR is slightly more expensive than bilinear, but it produces significantly higher image quality. FSR should be used where possible.
|
|
379
379
|
* To control this property on the root viewport, set the {@link ProjectSettings.rendering/scaling3d/mode} project setting.
|
|
380
380
|
*/
|
|
381
|
-
get scaling3dMode(): Scaling3DMode { return _C(this,
|
|
382
|
-
set scaling3dMode(v: Scaling3DMode) { _C(this,
|
|
381
|
+
get scaling3dMode(): Scaling3DMode { return _C(this, 6367) as Scaling3DMode; }
|
|
382
|
+
set scaling3dMode(v: Scaling3DMode) { _C(this, 12880, v); }
|
|
383
383
|
|
|
384
384
|
/**
|
|
385
385
|
* Scales the 3D render buffer based on the viewport size uses an image filter specified in {@link ProjectSettings.rendering/scaling3d/mode} to scale the output image to the full viewport size. Values lower than `1.0` can be used to speed up 3D rendering at the cost of quality (undersampling). Values greater than `1.0` are only valid for bilinear mode and can be used to improve 3D rendering quality at a high performance cost (supersampling). See also {@link ProjectSettings.rendering/antiAliasing/quality/msaa3d} for multi-sample antialiasing, which is significantly cheaper but only smooths the edges of polygons.
|
|
386
386
|
* When using FSR upscaling, AMD recommends exposing the following values as preset options to users "Ultra Quality: 0.77", "Quality: 0.67", "Balanced: 0.59", "Performance: 0.5" instead of exposing the entire scale.
|
|
387
387
|
* To control this property on the root viewport, set the {@link ProjectSettings.rendering/scaling3d/scale} project setting.
|
|
388
388
|
*/
|
|
389
|
-
get scaling3dScale(): number { return _C(this,
|
|
390
|
-
set scaling3dScale(v: number) { _C(this,
|
|
389
|
+
get scaling3dScale(): number { return _C(this, 6368) as number; }
|
|
390
|
+
set scaling3dScale(v: number) { _C(this, 12881, v); }
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
393
|
* Affects the final texture sharpness by reading from a lower or higher mipmap (also called "texture LOD bias"). Negative values make mipmapped textures sharper but grainier when viewed at a distance, while positive values make mipmapped textures blurrier (even when up close).
|
|
@@ -396,8 +396,8 @@ export class Viewport extends Node {
|
|
|
396
396
|
* **Note:** If {@link scaling3dScale} is lower than `1.0` (exclusive), {@link textureMipmapBias} is used to adjust the automatic mipmap bias which is calculated internally based on the scale factor. The formula for this is `log2(scaling_3d_scale) + mipmap_bias`.
|
|
397
397
|
* **Note:** This property is only supported in the Forward+ and Mobile renderers, not Compatibility. In Compatibility, this property is always treated as if it was set to `0.0`.
|
|
398
398
|
*/
|
|
399
|
-
get textureMipmapBias(): number { return _C(this,
|
|
400
|
-
set textureMipmapBias(v: number) { _C(this,
|
|
399
|
+
get textureMipmapBias(): number { return _C(this, 6871) as number; }
|
|
400
|
+
set textureMipmapBias(v: number) { _C(this, 13304, v); }
|
|
401
401
|
|
|
402
402
|
/**
|
|
403
403
|
* Sets the maximum number of samples to take when using anisotropic filtering on textures (as a power of two). A higher sample count will result in sharper textures at oblique angles, but is more expensive to compute. A value of `0` forcibly disables anisotropic filtering, even on materials where it is enabled.
|
|
@@ -405,27 +405,27 @@ export class Viewport extends Node {
|
|
|
405
405
|
* **Note:** In 3D, for this setting to have an effect, set {@link BaseMaterial3D.textureFilter} to {@link BaseMaterial3D.TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC} or {@link BaseMaterial3D.TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC} on materials.
|
|
406
406
|
* **Note:** In 2D, for this setting to have an effect, set {@link CanvasItem.textureFilter} to {@link CanvasItem.TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC} or {@link CanvasItem.TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC} on the {@link CanvasItem} node displaying the texture (or in {@link CanvasTexture}). However, anisotropic filtering is rarely useful in 2D, so only enable it for textures in 2D if it makes a meaningful visual difference.
|
|
407
407
|
*/
|
|
408
|
-
get anisotropicFilteringLevel(): AnisotropicFiltering { return _C(this,
|
|
409
|
-
set anisotropicFilteringLevel(v: AnisotropicFiltering) { _C(this,
|
|
408
|
+
get anisotropicFilteringLevel(): AnisotropicFiltering { return _C(this, 3840) as AnisotropicFiltering; }
|
|
409
|
+
set anisotropicFilteringLevel(v: AnisotropicFiltering) { _C(this, 10728, v); }
|
|
410
410
|
|
|
411
411
|
/**
|
|
412
412
|
* Determines how sharp the upscaled image will be when using the FSR upscaling mode. Sharpness halves with every whole number. Values go from 0.0 (sharpest) to 2.0. Values above 2.0 won't make a visible difference.
|
|
413
413
|
* To control this property on the root viewport, set the {@link ProjectSettings.rendering/scaling3d/fsrSharpness} project setting.
|
|
414
414
|
*/
|
|
415
|
-
get fsrSharpness(): number { return _C(this,
|
|
416
|
-
set fsrSharpness(v: number) { _C(this,
|
|
415
|
+
get fsrSharpness(): number { return _C(this, 4996) as number; }
|
|
416
|
+
set fsrSharpness(v: number) { _C(this, 11738, v); }
|
|
417
417
|
|
|
418
418
|
/**
|
|
419
419
|
* The Variable Rate Shading (VRS) mode that is used for this viewport. Note, if hardware does not support VRS this property is ignored.
|
|
420
420
|
*/
|
|
421
|
-
get vrsMode(): VRSMode { return _C(this,
|
|
422
|
-
set vrsMode(v: VRSMode) { _C(this,
|
|
421
|
+
get vrsMode(): VRSMode { return _C(this, 7277) as VRSMode; }
|
|
422
|
+
set vrsMode(v: VRSMode) { _C(this, 13636, v); }
|
|
423
423
|
|
|
424
424
|
/**
|
|
425
425
|
* Sets the update mode for Variable Rate Shading (VRS) for the viewport. VRS requires the input texture to be converted to the format usable by the VRS method supported by the hardware. The update mode defines how often this happens. If the GPU does not support VRS, or VRS is not enabled, this property is ignored.
|
|
426
426
|
*/
|
|
427
|
-
get vrsUpdateMode(): VRSUpdateMode { return _C(this,
|
|
428
|
-
set vrsUpdateMode(v: VRSUpdateMode) { _C(this,
|
|
427
|
+
get vrsUpdateMode(): VRSUpdateMode { return _C(this, 7281) as VRSUpdateMode; }
|
|
428
|
+
set vrsUpdateMode(v: VRSUpdateMode) { _C(this, 13640, v); }
|
|
429
429
|
|
|
430
430
|
/**
|
|
431
431
|
* Texture to use when {@link vrsMode} is set to {@link Viewport.VRS_TEXTURE}.
|
|
@@ -446,175 +446,175 @@ export class Viewport extends Node {
|
|
|
446
446
|
*
|
|
447
447
|
* ```
|
|
448
448
|
*/
|
|
449
|
-
get vrsTexture(): Texture2D { return _C(this,
|
|
450
|
-
set vrsTexture(v: Texture2D) { _C(this,
|
|
449
|
+
get vrsTexture(): Texture2D { return _C(this, 7280) as Texture2D; }
|
|
450
|
+
set vrsTexture(v: Texture2D) { _C(this, 13639, v); }
|
|
451
451
|
|
|
452
452
|
/**
|
|
453
453
|
* The default filter mode used by {@link CanvasItem} nodes in this viewport.
|
|
454
454
|
*/
|
|
455
|
-
get canvasItemDefaultTextureFilter(): DefaultCanvasItemTextureFilter { return _C(this,
|
|
456
|
-
set canvasItemDefaultTextureFilter(v: DefaultCanvasItemTextureFilter) { _C(this,
|
|
455
|
+
get canvasItemDefaultTextureFilter(): DefaultCanvasItemTextureFilter { return _C(this, 4521) as DefaultCanvasItemTextureFilter; }
|
|
456
|
+
set canvasItemDefaultTextureFilter(v: DefaultCanvasItemTextureFilter) { _C(this, 11283, v); }
|
|
457
457
|
|
|
458
458
|
/**
|
|
459
459
|
* The default repeat mode used by {@link CanvasItem} nodes in this viewport.
|
|
460
460
|
*/
|
|
461
|
-
get canvasItemDefaultTextureRepeat(): DefaultCanvasItemTextureRepeat { return _C(this,
|
|
462
|
-
set canvasItemDefaultTextureRepeat(v: DefaultCanvasItemTextureRepeat) { _C(this,
|
|
461
|
+
get canvasItemDefaultTextureRepeat(): DefaultCanvasItemTextureRepeat { return _C(this, 4522) as DefaultCanvasItemTextureRepeat; }
|
|
462
|
+
set canvasItemDefaultTextureRepeat(v: DefaultCanvasItemTextureRepeat) { _C(this, 11284, v); }
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
465
|
* If `true`, the viewport will process 2D audio streams.
|
|
466
466
|
*/
|
|
467
|
-
get audioListenerEnable2d(): boolean { return _C(this,
|
|
468
|
-
set audioListenerEnable2d(v: boolean) { _C(this,
|
|
467
|
+
get audioListenerEnable2d(): boolean { return _C(this, 7927) as boolean; }
|
|
468
|
+
set audioListenerEnable2d(v: boolean) { _C(this, 10754, v); }
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
471
|
* If `true`, the viewport will process 3D audio streams.
|
|
472
472
|
*/
|
|
473
|
-
get audioListenerEnable3d(): boolean { return _C(this,
|
|
474
|
-
set audioListenerEnable3d(v: boolean) { _C(this,
|
|
473
|
+
get audioListenerEnable3d(): boolean { return _C(this, 7928) as boolean; }
|
|
474
|
+
set audioListenerEnable3d(v: boolean) { _C(this, 10755, v); }
|
|
475
475
|
|
|
476
476
|
/**
|
|
477
477
|
* If `true`, the objects rendered by viewport become subjects of mouse picking process.
|
|
478
|
-
* **Note:** The number of
|
|
478
|
+
* **Note:** The number of {@link CanvasItem}s pickable by a single input is limited to 64 and they are selected in a non-deterministic order. The number of pickable 3D objects is not limited.
|
|
479
479
|
*/
|
|
480
|
-
get physicsObjectPicking(): boolean { return _C(this,
|
|
481
|
-
set physicsObjectPicking(v: boolean) { _C(this,
|
|
480
|
+
get physicsObjectPicking(): boolean { return _C(this, 6008) as boolean; }
|
|
481
|
+
set physicsObjectPicking(v: boolean) { _C(this, 12577, v); }
|
|
482
482
|
|
|
483
483
|
/**
|
|
484
|
-
* If `true`, objects receive mouse picking events sorted primarily by their {@link CanvasItem.zIndex} and secondarily by their position in the scene tree. If `false`, the order is
|
|
484
|
+
* If `true`, objects receive mouse picking events sorted primarily by their {@link CanvasItem.zIndex} and secondarily by their position in the scene tree. If `false`, the order is non-deterministic.
|
|
485
485
|
* **Note:** This setting is disabled by default because of its potential expensive computational cost.
|
|
486
|
-
* **Note:** Sorting happens after selecting the pickable objects.
|
|
486
|
+
* **Note:** Sorting happens after selecting the pickable objects. If surpassing the maximum of 64 {@link CanvasItem}s pickable by a single input, it is not guaranteed that the object with the highest {@link CanvasItem.zIndex} receives the picking event.
|
|
487
487
|
*/
|
|
488
|
-
get physicsObjectPickingSort(): boolean { return _C(this,
|
|
489
|
-
set physicsObjectPickingSort(v: boolean) { _C(this,
|
|
488
|
+
get physicsObjectPickingSort(): boolean { return _C(this, 6010) as boolean; }
|
|
489
|
+
set physicsObjectPickingSort(v: boolean) { _C(this, 12579, v); }
|
|
490
490
|
|
|
491
491
|
/**
|
|
492
492
|
* If `true`, the input_event signal will only be sent to one physics object in the mouse picking process. If you want to get the top object only, you must also enable {@link physicsObjectPickingSort}.
|
|
493
493
|
* If `false`, an input_event signal will be sent to all physics objects in the mouse picking process.
|
|
494
|
-
* This applies to
|
|
494
|
+
* This applies to {@link CanvasItem} picking only.
|
|
495
495
|
*/
|
|
496
|
-
get physicsObjectPickingFirstOnly(): boolean { return _C(this,
|
|
497
|
-
set physicsObjectPickingFirstOnly(v: boolean) { _C(this,
|
|
496
|
+
get physicsObjectPickingFirstOnly(): boolean { return _C(this, 6009) as boolean; }
|
|
497
|
+
set physicsObjectPickingFirstOnly(v: boolean) { _C(this, 12578, v); }
|
|
498
498
|
|
|
499
499
|
/**
|
|
500
500
|
* If `true`, the viewport will not receive input events.
|
|
501
501
|
*/
|
|
502
|
-
get guiDisableInput(): boolean { return _C(this,
|
|
503
|
-
set guiDisableInput(v: boolean) { _C(this,
|
|
502
|
+
get guiDisableInput(): boolean { return _C(this, 8189) as boolean; }
|
|
503
|
+
set guiDisableInput(v: boolean) { _C(this, 11347, v); }
|
|
504
504
|
|
|
505
505
|
/**
|
|
506
506
|
* If `true`, the GUI controls on the viewport will lay pixel perfectly.
|
|
507
507
|
*/
|
|
508
|
-
get guiSnapControlsToPixels(): boolean { return _C(this,
|
|
509
|
-
set guiSnapControlsToPixels(v: boolean) { _C(this,
|
|
508
|
+
get guiSnapControlsToPixels(): boolean { return _C(this, 8500) as boolean; }
|
|
509
|
+
set guiSnapControlsToPixels(v: boolean) { _C(this, 13069, v); }
|
|
510
510
|
|
|
511
511
|
/**
|
|
512
512
|
* If `true`, sub-windows (popups and dialogs) will be embedded inside application window as control-like nodes. If `false`, they will appear as separate windows handled by the operating system.
|
|
513
513
|
*/
|
|
514
|
-
get guiEmbedSubwindows(): boolean { return _C(this,
|
|
515
|
-
set guiEmbedSubwindows(v: boolean) { _C(this,
|
|
514
|
+
get guiEmbedSubwindows(): boolean { return _C(this, 8089) as boolean; }
|
|
515
|
+
set guiEmbedSubwindows(v: boolean) { _C(this, 11457, v); }
|
|
516
516
|
|
|
517
517
|
/**
|
|
518
518
|
* The minimum distance the mouse cursor must move while pressed before a drag operation begins.
|
|
519
519
|
*/
|
|
520
|
-
get guiDragThreshold(): number { return _C(this,
|
|
521
|
-
set guiDragThreshold(v: number) { _C(this,
|
|
520
|
+
get guiDragThreshold(): number { return _C(this, 4641) as number; }
|
|
521
|
+
set guiDragThreshold(v: number) { _C(this, 11404, v); }
|
|
522
522
|
|
|
523
523
|
/**
|
|
524
524
|
* Controls how much of the original viewport's size should be covered by the 2D signed distance field. This SDF can be sampled in {@link CanvasItem} shaders and is also used for {@link GPUParticles2D} collision. Higher values allow portions of occluders located outside the viewport to still be taken into account in the generated signed distance field, at the cost of performance. If you notice particles falling through {@link LightOccluder2D}s as the occluders leave the viewport, increase this setting.
|
|
525
525
|
* The percentage is added on each axis and on both sides. For example, with the default {@link SDF_OVERSIZE_120_PERCENT}, the signed distance field will cover 20% of the viewport's size outside the viewport on each side (top, right, bottom, left).
|
|
526
526
|
*/
|
|
527
|
-
get sdfOversize(): SDFOversize { return _C(this,
|
|
528
|
-
set sdfOversize(v: SDFOversize) { _C(this,
|
|
527
|
+
get sdfOversize(): SDFOversize { return _C(this, 6410) as SDFOversize; }
|
|
528
|
+
set sdfOversize(v: SDFOversize) { _C(this, 12911, v); }
|
|
529
529
|
|
|
530
530
|
/**
|
|
531
531
|
* The resolution scale to use for the 2D signed distance field. Higher values lead to a more precise and more stable signed distance field as the camera moves, at the cost of performance.
|
|
532
532
|
*/
|
|
533
|
-
get sdfScale(): SDFScale { return _C(this,
|
|
534
|
-
set sdfScale(v: SDFScale) { _C(this,
|
|
533
|
+
get sdfScale(): SDFScale { return _C(this, 6411) as SDFScale; }
|
|
534
|
+
set sdfScale(v: SDFScale) { _C(this, 12912, v); }
|
|
535
535
|
|
|
536
536
|
/**
|
|
537
|
-
* The shadow atlas' resolution (used for omni and spot lights). The value is rounded up to the nearest power of 2.
|
|
537
|
+
* The shadow atlas's resolution (used for omni and spot lights). The final value is rounded up to the nearest power of 2.
|
|
538
538
|
* **Note:** If this is set to `0`, no positional shadows will be visible at all. This can improve performance significantly on low-end systems by reducing both the CPU and GPU load (as fewer draw calls are needed to draw the scene without shadows).
|
|
539
539
|
*/
|
|
540
|
-
get positionalShadowAtlasSize(): number { return _C(this,
|
|
541
|
-
set positionalShadowAtlasSize(v: number) { _C(this,
|
|
540
|
+
get positionalShadowAtlasSize(): number { return _C(this, 6095) as number; }
|
|
541
|
+
set positionalShadowAtlasSize(v: number) { _C(this, 12649, v); }
|
|
542
542
|
|
|
543
543
|
/**
|
|
544
544
|
* Use 16 bits for the omni/spot shadow depth map. Enabling this results in shadows having less precision and may result in shadow acne, but can lead to performance improvements on some devices.
|
|
545
545
|
*/
|
|
546
|
-
get positionalShadowAtlas16Bits(): boolean { return _C(this,
|
|
547
|
-
set positionalShadowAtlas16Bits(v: boolean) { _C(this,
|
|
546
|
+
get positionalShadowAtlas16Bits(): boolean { return _C(this, 6093) as boolean; }
|
|
547
|
+
set positionalShadowAtlas16Bits(v: boolean) { _C(this, 12647, v); }
|
|
548
548
|
|
|
549
549
|
/**
|
|
550
550
|
* The subdivision amount of the first quadrant on the shadow atlas.
|
|
551
551
|
*/
|
|
552
|
-
get positionalShadowAtlasQuad0(): PositionalShadowAtlasQuadrantSubdiv { return _C(this,
|
|
553
|
-
set positionalShadowAtlasQuad0(v: PositionalShadowAtlasQuadrantSubdiv) { _C(this,
|
|
552
|
+
get positionalShadowAtlasQuad0(): PositionalShadowAtlasQuadrantSubdiv { return _C(this, 6094, 0) as PositionalShadowAtlasQuadrantSubdiv; }
|
|
553
|
+
set positionalShadowAtlasQuad0(v: PositionalShadowAtlasQuadrantSubdiv) { _C(this, 12648, 0, v); }
|
|
554
554
|
|
|
555
555
|
/**
|
|
556
556
|
* The subdivision amount of the second quadrant on the shadow atlas.
|
|
557
557
|
*/
|
|
558
|
-
get positionalShadowAtlasQuad1(): PositionalShadowAtlasQuadrantSubdiv { return _C(this,
|
|
559
|
-
set positionalShadowAtlasQuad1(v: PositionalShadowAtlasQuadrantSubdiv) { _C(this,
|
|
558
|
+
get positionalShadowAtlasQuad1(): PositionalShadowAtlasQuadrantSubdiv { return _C(this, 6094, 1) as PositionalShadowAtlasQuadrantSubdiv; }
|
|
559
|
+
set positionalShadowAtlasQuad1(v: PositionalShadowAtlasQuadrantSubdiv) { _C(this, 12648, 1, v); }
|
|
560
560
|
|
|
561
561
|
/**
|
|
562
562
|
* The subdivision amount of the third quadrant on the shadow atlas.
|
|
563
563
|
*/
|
|
564
|
-
get positionalShadowAtlasQuad2(): PositionalShadowAtlasQuadrantSubdiv { return _C(this,
|
|
565
|
-
set positionalShadowAtlasQuad2(v: PositionalShadowAtlasQuadrantSubdiv) { _C(this,
|
|
564
|
+
get positionalShadowAtlasQuad2(): PositionalShadowAtlasQuadrantSubdiv { return _C(this, 6094, 2) as PositionalShadowAtlasQuadrantSubdiv; }
|
|
565
|
+
set positionalShadowAtlasQuad2(v: PositionalShadowAtlasQuadrantSubdiv) { _C(this, 12648, 2, v); }
|
|
566
566
|
|
|
567
567
|
/**
|
|
568
568
|
* The subdivision amount of the fourth quadrant on the shadow atlas.
|
|
569
569
|
*/
|
|
570
|
-
get positionalShadowAtlasQuad3(): PositionalShadowAtlasQuadrantSubdiv { return _C(this,
|
|
571
|
-
set positionalShadowAtlasQuad3(v: PositionalShadowAtlasQuadrantSubdiv) { _C(this,
|
|
570
|
+
get positionalShadowAtlasQuad3(): PositionalShadowAtlasQuadrantSubdiv { return _C(this, 6094, 3) as PositionalShadowAtlasQuadrantSubdiv; }
|
|
571
|
+
set positionalShadowAtlasQuad3(v: PositionalShadowAtlasQuadrantSubdiv) { _C(this, 12648, 3, v); }
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* The canvas transform of the viewport, useful for changing the on-screen positions of all child {@link CanvasItem}s. This is relative to the global canvas transform of the viewport.
|
|
575
575
|
*/
|
|
576
|
-
get canvasTransform(): Transform2D { return _C(this,
|
|
577
|
-
set canvasTransform(v: Transform2D) { _C(this,
|
|
576
|
+
get canvasTransform(): Transform2D { return _C(this, 4152) as Transform2D; }
|
|
577
|
+
set canvasTransform(v: Transform2D) { _C(this, 11019, v); }
|
|
578
578
|
|
|
579
579
|
/**
|
|
580
580
|
* The global canvas transform of the viewport. The canvas transform is relative to this.
|
|
581
581
|
*/
|
|
582
|
-
get globalCanvasTransform(): Transform2D { return _C(this,
|
|
583
|
-
set globalCanvasTransform(v: Transform2D) { _C(this,
|
|
582
|
+
get globalCanvasTransform(): Transform2D { return _C(this, 5010) as Transform2D; }
|
|
583
|
+
set globalCanvasTransform(v: Transform2D) { _C(this, 11752, v); }
|
|
584
584
|
|
|
585
585
|
/**
|
|
586
586
|
* The rendering layers in which this {@link Viewport} renders {@link CanvasItem} nodes.
|
|
587
587
|
* **Note:** A {@link CanvasItem} does not inherit its parents' visibility layers. See {@link CanvasItem.visibilityLayer}'s description for details.
|
|
588
588
|
*/
|
|
589
|
-
get canvasCullMask(): number { return _C(this,
|
|
590
|
-
set canvasCullMask(v: number) { _C(this,
|
|
589
|
+
get canvasCullMask(): number { return _C(this, 4146) as number; }
|
|
590
|
+
set canvasCullMask(v: number) { _C(this, 11015, v); }
|
|
591
591
|
|
|
592
592
|
/**
|
|
593
593
|
* If `true` and one of the following conditions are true: {@link SubViewport.size2dOverrideStretch} and {@link SubViewport.size2dOverride} are set, {@link Window.contentScaleFactor} is set and scaling is enabled, {@link oversamplingOverride} is set, font and {@link DPITexture} oversampling are enabled.
|
|
594
594
|
*/
|
|
595
|
-
get oversampling(): boolean { return _C(this,
|
|
596
|
-
set oversampling(v: boolean) { _C(this,
|
|
595
|
+
get oversampling(): boolean { return _C(this, 8588) as boolean; }
|
|
596
|
+
set oversampling(v: boolean) { _C(this, 13506, v); }
|
|
597
597
|
|
|
598
598
|
/**
|
|
599
599
|
* If greater than zero, this value is used as the font oversampling factor, otherwise oversampling is equal to viewport scale.
|
|
600
600
|
*/
|
|
601
|
-
get oversamplingOverride(): number { return _C(this,
|
|
602
|
-
set oversamplingOverride(v: number) { _C(this,
|
|
601
|
+
get oversamplingOverride(): number { return _C(this, 5889) as number; }
|
|
602
|
+
set oversamplingOverride(v: number) { _C(this, 12489, v); }
|
|
603
603
|
|
|
604
604
|
/**
|
|
605
605
|
* Emitted when the size of the viewport is changed, whether by resizing of window, or some other means.
|
|
606
606
|
*/
|
|
607
|
-
get sizeChanged(): Signal<() => void> { return _G(this,
|
|
608
|
-
set sizeChanged(v: (() => void) | null) { _G(this,
|
|
607
|
+
get sizeChanged(): Signal<() => void> { return _G(this, 13891) as Signal<() => void>; }
|
|
608
|
+
set sizeChanged(v: (() => void) | null) { _G(this, 13891, v); }
|
|
609
609
|
|
|
610
610
|
/**
|
|
611
611
|
* Emitted when a Control node grabs keyboard focus.
|
|
612
612
|
* **Note:** A Control node losing focus doesn't cause this signal to be emitted.
|
|
613
613
|
*/
|
|
614
|
-
get guiFocusChanged(): Signal<(node: Control) => void> { return _G(this,
|
|
615
|
-
set guiFocusChanged(v: ((node: Control) => void) | null) { _G(this,
|
|
614
|
+
get guiFocusChanged(): Signal<(node: Control) => void> { return _G(this, 7464) as Signal<(node: Control) => void>; }
|
|
615
|
+
set guiFocusChanged(v: ((node: Control) => void) | null) { _G(this, 7464, v); }
|
|
616
616
|
|
|
617
|
-
static readonly name = _R(
|
|
617
|
+
static readonly name = _R(860, Viewport);
|
|
618
618
|
}
|
|
619
619
|
|
|
620
620
|
export const PositionalShadowAtlasQuadrantSubdiv = {
|