@ringozz/godot 0.1.0
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/gen/classes/AESContext.ts +99 -0
- package/gen/classes/AStar2D.ts +222 -0
- package/gen/classes/AStar3D.ts +247 -0
- package/gen/classes/AStarGrid2D.ts +284 -0
- package/gen/classes/AcceptDialog.ts +104 -0
- package/gen/classes/AccessibilityServer.ts +824 -0
- package/gen/classes/AimModifier3D.ts +75 -0
- package/gen/classes/AnimatableBody2D.ts +21 -0
- package/gen/classes/AnimatableBody3D.ts +21 -0
- package/gen/classes/AnimatedSprite2D.ts +160 -0
- package/gen/classes/AnimatedSprite3D.ts +134 -0
- package/gen/classes/AnimatedTexture.ts +74 -0
- package/gen/classes/Animation.ts +596 -0
- package/gen/classes/AnimationLibrary.ts +77 -0
- package/gen/classes/AnimationMixer.ts +450 -0
- package/gen/classes/AnimationNode.ts +159 -0
- package/gen/classes/AnimationNodeAdd2.ts +16 -0
- package/gen/classes/AnimationNodeAdd3.ts +20 -0
- package/gen/classes/AnimationNodeAnimation.ts +84 -0
- package/gen/classes/AnimationNodeBlend2.ts +15 -0
- package/gen/classes/AnimationNodeBlend3.ts +19 -0
- package/gen/classes/AnimationNodeBlendSpace1D.ts +162 -0
- package/gen/classes/AnimationNodeBlendSpace2D.ts +204 -0
- package/gen/classes/AnimationNodeBlendTree.ts +110 -0
- package/gen/classes/AnimationNodeExtension.ts +25 -0
- package/gen/classes/AnimationNodeOneShot.ts +144 -0
- package/gen/classes/AnimationNodeOutput.ts +14 -0
- package/gen/classes/AnimationNodeStateMachine.ts +163 -0
- package/gen/classes/AnimationNodeStateMachinePlayback.ts +111 -0
- package/gen/classes/AnimationNodeStateMachineTransition.ts +120 -0
- package/gen/classes/AnimationNodeSub2.ts +17 -0
- package/gen/classes/AnimationNodeSync.ts +21 -0
- package/gen/classes/AnimationNodeTimeScale.ts +14 -0
- package/gen/classes/AnimationNodeTimeSeek.ts +36 -0
- package/gen/classes/AnimationNodeTransition.ts +92 -0
- package/gen/classes/AnimationPlayer.ts +319 -0
- package/gen/classes/AnimationRootNode.ts +15 -0
- package/gen/classes/AnimationTree.ts +60 -0
- package/gen/classes/Area2D.ts +252 -0
- package/gen/classes/Area3D.ts +305 -0
- package/gen/classes/AreaLight3D.ts +56 -0
- package/gen/classes/ArrayMesh.ts +177 -0
- package/gen/classes/ArrayOccluder3D.ts +35 -0
- package/gen/classes/AspectRatioContainer.ts +78 -0
- package/gen/classes/AtlasTexture.ts +42 -0
- package/gen/classes/AudioBusLayout.ts +14 -0
- package/gen/classes/AudioEffect.ts +16 -0
- package/gen/classes/AudioEffectAmplify.ts +27 -0
- package/gen/classes/AudioEffectBandLimitFilter.ts +15 -0
- package/gen/classes/AudioEffectBandPassFilter.ts +15 -0
- package/gen/classes/AudioEffectCapture.ts +62 -0
- package/gen/classes/AudioEffectChorus.ts +95 -0
- package/gen/classes/AudioEffectCompressor.ts +62 -0
- package/gen/classes/AudioEffectDelay.ts +93 -0
- package/gen/classes/AudioEffectDistortion.ts +75 -0
- package/gen/classes/AudioEffectEQ.ts +30 -0
- package/gen/classes/AudioEffectEQ10.ts +25 -0
- package/gen/classes/AudioEffectEQ21.ts +36 -0
- package/gen/classes/AudioEffectEQ6.ts +21 -0
- package/gen/classes/AudioEffectFilter.ts +68 -0
- package/gen/classes/AudioEffectHardLimiter.ts +34 -0
- package/gen/classes/AudioEffectHighPassFilter.ts +15 -0
- package/gen/classes/AudioEffectHighShelfFilter.ts +15 -0
- package/gen/classes/AudioEffectInstance.ts +14 -0
- package/gen/classes/AudioEffectLimiter.ts +40 -0
- package/gen/classes/AudioEffectLowPassFilter.ts +15 -0
- package/gen/classes/AudioEffectLowShelfFilter.ts +15 -0
- package/gen/classes/AudioEffectNotchFilter.ts +15 -0
- package/gen/classes/AudioEffectPanner.ts +21 -0
- package/gen/classes/AudioEffectPhaser.ts +45 -0
- package/gen/classes/AudioEffectPitchShift.ts +62 -0
- package/gen/classes/AudioEffectRecord.ts +39 -0
- package/gen/classes/AudioEffectReverb.ts +63 -0
- package/gen/classes/AudioEffectSpectrumAnalyzer.ts +57 -0
- package/gen/classes/AudioEffectSpectrumAnalyzerInstance.ts +35 -0
- package/gen/classes/AudioEffectStereoEnhance.ts +32 -0
- package/gen/classes/AudioListener2D.ts +31 -0
- package/gen/classes/AudioListener3D.ts +61 -0
- package/gen/classes/AudioSample.ts +14 -0
- package/gen/classes/AudioSamplePlayback.ts +14 -0
- package/gen/classes/AudioServer.ts +360 -0
- package/gen/classes/AudioStream.ts +53 -0
- package/gen/classes/AudioStreamGenerator.ts +88 -0
- package/gen/classes/AudioStreamGeneratorPlayback.ts +45 -0
- package/gen/classes/AudioStreamInteractive.ts +216 -0
- package/gen/classes/AudioStreamMP3.ts +74 -0
- package/gen/classes/AudioStreamMicrophone.ts +15 -0
- package/gen/classes/AudioStreamOggVorbis.ts +71 -0
- package/gen/classes/AudioStreamPlayback.ts +63 -0
- package/gen/classes/AudioStreamPlaybackInteractive.ts +37 -0
- package/gen/classes/AudioStreamPlaybackOggVorbis.ts +14 -0
- package/gen/classes/AudioStreamPlaybackPlaylist.ts +13 -0
- package/gen/classes/AudioStreamPlaybackPolyphonic.ts +49 -0
- package/gen/classes/AudioStreamPlaybackResampled.ts +19 -0
- package/gen/classes/AudioStreamPlaybackSynchronized.ts +13 -0
- package/gen/classes/AudioStreamPlayer.ts +146 -0
- package/gen/classes/AudioStreamPlayer2D.ts +143 -0
- package/gen/classes/AudioStreamPlayer3D.ts +233 -0
- package/gen/classes/AudioStreamPlaylist.ts +240 -0
- package/gen/classes/AudioStreamPolyphonic.ts +21 -0
- package/gen/classes/AudioStreamRandomizer.ts +99 -0
- package/gen/classes/AudioStreamSynchronized.ts +45 -0
- package/gen/classes/AudioStreamWAV.ts +151 -0
- package/gen/classes/AwaitTweener.ts +20 -0
- package/gen/classes/BackBufferCopy.ts +46 -0
- package/gen/classes/BaseButton.ts +164 -0
- package/gen/classes/BaseMaterial3D.ts +1477 -0
- package/gen/classes/BitMap.ts +94 -0
- package/gen/classes/BlitMaterial.ts +46 -0
- package/gen/classes/Bone2D.ts +71 -0
- package/gen/classes/BoneAttachment3D.ts +57 -0
- package/gen/classes/BoneConstraint3D.ts +122 -0
- package/gen/classes/BoneMap.ts +53 -0
- package/gen/classes/BoneTwistDisperser3D.ts +209 -0
- package/gen/classes/BoxContainer.ts +51 -0
- package/gen/classes/BoxMesh.ts +41 -0
- package/gen/classes/BoxOccluder3D.ts +22 -0
- package/gen/classes/BoxShape3D.ts +22 -0
- package/gen/classes/Button.ts +117 -0
- package/gen/classes/ButtonGroup.ts +39 -0
- package/gen/classes/CCDIK3D.ts +16 -0
- package/gen/classes/CPUParticles2D.ts +590 -0
- package/gen/classes/CPUParticles3D.ts +650 -0
- package/gen/classes/CSGBox3D.ts +29 -0
- package/gen/classes/CSGCombiner3D.ts +15 -0
- package/gen/classes/CSGCylinder3D.ts +52 -0
- package/gen/classes/CSGMesh3D.ts +32 -0
- package/gen/classes/CSGPolygon3D.ts +170 -0
- package/gen/classes/CSGPrimitive3D.ts +20 -0
- package/gen/classes/CSGShape3D.ts +140 -0
- package/gen/classes/CSGSphere3D.ts +46 -0
- package/gen/classes/CSGTorus3D.ts +52 -0
- package/gen/classes/CallbackTweener.ts +29 -0
- package/gen/classes/Camera2D.ts +266 -0
- package/gen/classes/Camera3D.ts +275 -0
- package/gen/classes/CameraAttributes.ts +50 -0
- package/gen/classes/CameraAttributesPhysical.ts +73 -0
- package/gen/classes/CameraAttributesPractical.ts +75 -0
- package/gen/classes/CameraFeed.ts +155 -0
- package/gen/classes/CameraServer.ts +105 -0
- package/gen/classes/CameraTexture.ts +34 -0
- package/gen/classes/CanvasGroup.ts +54 -0
- package/gen/classes/CanvasItem.ts +698 -0
- package/gen/classes/CanvasItemMaterial.ts +97 -0
- package/gen/classes/CanvasLayer.ts +103 -0
- package/gen/classes/CanvasModulate.ts +21 -0
- package/gen/classes/CanvasTexture.ts +60 -0
- package/gen/classes/CapsuleMesh.ts +40 -0
- package/gen/classes/CapsuleShape2D.ts +35 -0
- package/gen/classes/CapsuleShape3D.ts +35 -0
- package/gen/classes/CenterContainer.ts +20 -0
- package/gen/classes/ChainIK3D.ts +102 -0
- package/gen/classes/CharFXTransform.ts +108 -0
- package/gen/classes/CharacterBody2D.ts +252 -0
- package/gen/classes/CharacterBody3D.ts +246 -0
- package/gen/classes/CheckBox.ts +16 -0
- package/gen/classes/CheckButton.ts +15 -0
- package/gen/classes/CircleShape2D.ts +21 -0
- package/gen/classes/ClassDB.ts +197 -0
- package/gen/classes/CodeEdit.ts +619 -0
- package/gen/classes/CodeHighlighter.ts +132 -0
- package/gen/classes/CollisionObject2D.ts +235 -0
- package/gen/classes/CollisionObject3D.ts +199 -0
- package/gen/classes/CollisionPolygon2D.ts +70 -0
- package/gen/classes/CollisionPolygon3D.ts +54 -0
- package/gen/classes/CollisionShape2D.ts +55 -0
- package/gen/classes/CollisionShape3D.ts +53 -0
- package/gen/classes/ColorPalette.ts +21 -0
- package/gen/classes/ColorPicker.ts +197 -0
- package/gen/classes/ColorPickerButton.ts +68 -0
- package/gen/classes/ColorRect.ts +21 -0
- package/gen/classes/Compositor.ts +22 -0
- package/gen/classes/CompositorEffect.ts +134 -0
- package/gen/classes/CompressedCubemap.ts +22 -0
- package/gen/classes/CompressedCubemapArray.ts +22 -0
- package/gen/classes/CompressedTexture2D.ts +27 -0
- package/gen/classes/CompressedTexture2DArray.ts +22 -0
- package/gen/classes/CompressedTexture3D.ts +22 -0
- package/gen/classes/CompressedTextureLayered.ts +19 -0
- package/gen/classes/ConcavePolygonShape2D.ts +25 -0
- package/gen/classes/ConcavePolygonShape3D.ts +28 -0
- package/gen/classes/ConeTwistJoint3D.ts +84 -0
- package/gen/classes/ConfigFile.ts +170 -0
- package/gen/classes/ConfirmationDialog.ts +39 -0
- package/gen/classes/Container.ts +54 -0
- package/gen/classes/Control.ts +1499 -0
- package/gen/classes/ConvertTransformModifier3D.ts +153 -0
- package/gen/classes/ConvexPolygonShape2D.ts +30 -0
- package/gen/classes/ConvexPolygonShape3D.ts +24 -0
- package/gen/classes/CopyTransformModifier3D.ts +220 -0
- package/gen/classes/Crypto.ts +114 -0
- package/gen/classes/CryptoKey.ts +43 -0
- package/gen/classes/Cubemap.ts +47 -0
- package/gen/classes/CubemapArray.ts +30 -0
- package/gen/classes/Curve.ts +183 -0
- package/gen/classes/Curve2D.ts +145 -0
- package/gen/classes/Curve3D.ts +173 -0
- package/gen/classes/CurveTexture.ts +48 -0
- package/gen/classes/CurveXYZTexture.ts +40 -0
- package/gen/classes/CylinderMesh.ts +58 -0
- package/gen/classes/CylinderShape3D.ts +28 -0
- package/gen/classes/DPITexture.ts +73 -0
- package/gen/classes/DTLSServer.ts +93 -0
- package/gen/classes/DampedSpringJoint2D.ts +38 -0
- package/gen/classes/Decal.ts +146 -0
- package/gen/classes/DirAccess.ts +300 -0
- package/gen/classes/DirectionalLight2D.ts +28 -0
- package/gen/classes/DirectionalLight3D.ts +104 -0
- package/gen/classes/DisplayServer.ts +3119 -0
- package/gen/classes/DrawableTexture2D.ts +75 -0
- package/gen/classes/ENetConnection.ts +192 -0
- package/gen/classes/ENetMultiplayerPeer.ts +54 -0
- package/gen/classes/ENetPacketPeer.ts +234 -0
- package/gen/classes/EncodedObjectAsID.ts +21 -0
- package/gen/classes/Engine.ts +322 -0
- package/gen/classes/EngineDebugger.ts +136 -0
- package/gen/classes/EngineProfiler.ts +16 -0
- package/gen/classes/Environment.ts +786 -0
- package/gen/classes/Expression.ts +60 -0
- package/gen/classes/ExternalTexture.ts +35 -0
- package/gen/classes/FABRIK3D.ts +16 -0
- package/gen/classes/FBXDocument.ts +15 -0
- package/gen/classes/FBXState.ts +20 -0
- package/gen/classes/FastNoiseLite.ts +284 -0
- package/gen/classes/FileAccess.ts +596 -0
- package/gen/classes/FileDialog.ts +428 -0
- package/gen/classes/FlowContainer.ts +84 -0
- package/gen/classes/FogMaterial.ts +54 -0
- package/gen/classes/FogVolume.ts +39 -0
- package/gen/classes/FoldableContainer.ts +110 -0
- package/gen/classes/FoldableGroup.ts +38 -0
- package/gen/classes/Font.ts +242 -0
- package/gen/classes/FontFile.ts +514 -0
- package/gen/classes/FontVariation.ts +123 -0
- package/gen/classes/FramebufferCacheRD.ts +21 -0
- package/gen/classes/GDExtension.ts +47 -0
- package/gen/classes/GDExtensionManager.ts +101 -0
- package/gen/classes/GDScript.ts +30 -0
- package/gen/classes/GLTFAccessor.ts +203 -0
- package/gen/classes/GLTFAnimation.ts +33 -0
- package/gen/classes/GLTFBufferView.ts +68 -0
- package/gen/classes/GLTFCamera.ts +66 -0
- package/gen/classes/GLTFDocument.ts +202 -0
- package/gen/classes/GLTFDocumentExtension.ts +26 -0
- package/gen/classes/GLTFDocumentExtensionConvertImporterMesh.ts +11 -0
- package/gen/classes/GLTFLight.ts +80 -0
- package/gen/classes/GLTFMesh.ts +53 -0
- package/gen/classes/GLTFNode.ts +125 -0
- package/gen/classes/GLTFObjectModelProperty.ts +136 -0
- package/gen/classes/GLTFPhysicsBody.ts +89 -0
- package/gen/classes/GLTFPhysicsShape.ts +92 -0
- package/gen/classes/GLTFSkeleton.ts +32 -0
- package/gen/classes/GLTFSkin.ts +44 -0
- package/gen/classes/GLTFSpecGloss.ts +46 -0
- package/gen/classes/GLTFState.ts +250 -0
- package/gen/classes/GLTFTexture.ts +23 -0
- package/gen/classes/GLTFTextureSampler.ts +38 -0
- package/gen/classes/GPUParticles2D.ts +270 -0
- package/gen/classes/GPUParticles3D.ts +339 -0
- package/gen/classes/GPUParticlesAttractor3D.ts +43 -0
- package/gen/classes/GPUParticlesAttractorBox3D.ts +23 -0
- package/gen/classes/GPUParticlesAttractorSphere3D.ts +23 -0
- package/gen/classes/GPUParticlesAttractorVectorField3D.ts +32 -0
- package/gen/classes/GPUParticlesCollision3D.ts +26 -0
- package/gen/classes/GPUParticlesCollisionBox3D.ts +24 -0
- package/gen/classes/GPUParticlesCollisionHeightField3D.ts +109 -0
- package/gen/classes/GPUParticlesCollisionSDF3D.ts +95 -0
- package/gen/classes/GPUParticlesCollisionSphere3D.ts +23 -0
- package/gen/classes/Generic6DOFJoint3D.ts +146 -0
- package/gen/classes/Geometry2D.ts +249 -0
- package/gen/classes/Geometry3D.ts +94 -0
- package/gen/classes/GeometryInstance3D.ts +223 -0
- package/gen/classes/GodotInstance.ts +48 -0
- package/gen/classes/Gradient.ts +125 -0
- package/gen/classes/GradientTexture1D.ts +33 -0
- package/gen/classes/GradientTexture2D.ts +104 -0
- package/gen/classes/GraphEdit.ts +535 -0
- package/gen/classes/GraphElement.ts +101 -0
- package/gen/classes/GraphFrame.ts +66 -0
- package/gen/classes/GraphNode.ts +241 -0
- package/gen/classes/GridContainer.ts +21 -0
- package/gen/classes/GridMap.ts +294 -0
- package/gen/classes/GrooveJoint2D.ts +26 -0
- package/gen/classes/HBoxContainer.ts +14 -0
- package/gen/classes/HFlowContainer.ts +14 -0
- package/gen/classes/HMACContext.ts +54 -0
- package/gen/classes/HScrollBar.ts +14 -0
- package/gen/classes/HSeparator.ts +14 -0
- package/gen/classes/HSlider.ts +14 -0
- package/gen/classes/HSplitContainer.ts +14 -0
- package/gen/classes/HTTPClient.ts +525 -0
- package/gen/classes/HTTPRequest.ts +264 -0
- package/gen/classes/HashingContext.ts +75 -0
- package/gen/classes/HeightMapShape3D.ts +73 -0
- package/gen/classes/HingeJoint3D.ts +90 -0
- package/gen/classes/IKModifier3D.ts +40 -0
- package/gen/classes/IP.ts +132 -0
- package/gen/classes/Image.ts +835 -0
- package/gen/classes/ImageFormatLoader.ts +31 -0
- package/gen/classes/ImageFormatLoaderExtension.ts +30 -0
- package/gen/classes/ImageTexture.ts +73 -0
- package/gen/classes/ImageTexture3D.ts +29 -0
- package/gen/classes/ImageTextureLayered.ts +66 -0
- package/gen/classes/ImmediateMesh.ts +85 -0
- package/gen/classes/ImporterMesh.ts +159 -0
- package/gen/classes/ImporterMeshInstance3D.ts +45 -0
- package/gen/classes/Input.ts +743 -0
- package/gen/classes/InputEvent.ts +112 -0
- package/gen/classes/InputEventAction.ts +40 -0
- package/gen/classes/InputEventFromWindow.ts +19 -0
- package/gen/classes/InputEventGesture.ts +20 -0
- package/gen/classes/InputEventJoypadButton.ts +30 -0
- package/gen/classes/InputEventJoypadMotion.ts +27 -0
- package/gen/classes/InputEventKey.ts +133 -0
- package/gen/classes/InputEventMIDI.ts +108 -0
- package/gen/classes/InputEventMagnifyGesture.ts +21 -0
- package/gen/classes/InputEventMouse.ts +35 -0
- package/gen/classes/InputEventMouseButton.ts +46 -0
- package/gen/classes/InputEventMouseMotion.ts +67 -0
- package/gen/classes/InputEventPanGesture.ts +22 -0
- package/gen/classes/InputEventScreenDrag.ts +71 -0
- package/gen/classes/InputEventScreenTouch.ts +45 -0
- package/gen/classes/InputEventShortcut.ts +21 -0
- package/gen/classes/InputEventWithModifiers.ts +56 -0
- package/gen/classes/InputMap.ts +97 -0
- package/gen/classes/InstancePlaceholder.ts +33 -0
- package/gen/classes/IntervalTweener.ts +15 -0
- package/gen/classes/ItemList.ts +482 -0
- package/gen/classes/IterateIK3D.ts +136 -0
- package/gen/classes/JNISingleton.ts +20 -0
- package/gen/classes/JSON.ts +163 -0
- package/gen/classes/JSONRPC.ts +87 -0
- package/gen/classes/JacobianIK3D.ts +16 -0
- package/gen/classes/JavaClass.ts +37 -0
- package/gen/classes/JavaClassWrapper.ts +94 -0
- package/gen/classes/JavaObject.ts +28 -0
- package/gen/classes/JavaScriptBridge.ts +85 -0
- package/gen/classes/JavaScriptObject.ts +45 -0
- package/gen/classes/Joint2D.ts +44 -0
- package/gen/classes/Joint3D.ts +46 -0
- package/gen/classes/JointLimitation3D.ts +14 -0
- package/gen/classes/JointLimitationCone3D.ts +21 -0
- package/gen/classes/KinematicCollision2D.ts +83 -0
- package/gen/classes/KinematicCollision3D.ts +88 -0
- package/gen/classes/Label.ts +184 -0
- package/gen/classes/Label3D.ts +280 -0
- package/gen/classes/LabelSettings.ts +168 -0
- package/gen/classes/Light2D.ts +150 -0
- package/gen/classes/Light3D.ts +310 -0
- package/gen/classes/LightOccluder2D.ts +33 -0
- package/gen/classes/LightmapGI.ts +291 -0
- package/gen/classes/LightmapGIData.ts +85 -0
- package/gen/classes/LightmapProbe.ts +16 -0
- package/gen/classes/Lightmapper.ts +14 -0
- package/gen/classes/LightmapperRD.ts +15 -0
- package/gen/classes/LimitAngularVelocityModifier3D.ts +91 -0
- package/gen/classes/Line2D.ts +191 -0
- package/gen/classes/LineEdit.ts +663 -0
- package/gen/classes/LinkButton.ts +99 -0
- package/gen/classes/Logger.ts +38 -0
- package/gen/classes/LookAtModifier3D.ts +245 -0
- package/gen/classes/MainLoop.ts +115 -0
- package/gen/classes/MarginContainer.ts +27 -0
- package/gen/classes/Marker2D.ts +20 -0
- package/gen/classes/Marker3D.ts +20 -0
- package/gen/classes/Marshalls.ts +50 -0
- package/gen/classes/Material.ts +53 -0
- package/gen/classes/MenuBar.ts +114 -0
- package/gen/classes/MenuButton.ts +51 -0
- package/gen/classes/Mesh.ts +348 -0
- package/gen/classes/MeshConvexDecompositionSettings.ts +106 -0
- package/gen/classes/MeshDataTool.ts +251 -0
- package/gen/classes/MeshInstance2D.ts +37 -0
- package/gen/classes/MeshInstance3D.ts +122 -0
- package/gen/classes/MeshLibrary.ts +149 -0
- package/gen/classes/MeshTexture.ts +34 -0
- package/gen/classes/MethodTweener.ts +32 -0
- package/gen/classes/MissingNode.ts +39 -0
- package/gen/classes/MissingResource.ts +27 -0
- package/gen/classes/MobileVRInterface.ts +89 -0
- package/gen/classes/ModifierBoneTarget3D.ts +27 -0
- package/gen/classes/MovieWriter.ts +34 -0
- package/gen/classes/MultiMesh.ts +197 -0
- package/gen/classes/MultiMeshInstance2D.ts +36 -0
- package/gen/classes/MultiMeshInstance3D.ts +22 -0
- package/gen/classes/MultiplayerAPI.ts +139 -0
- package/gen/classes/MultiplayerAPIExtension.ts +99 -0
- package/gen/classes/MultiplayerPeer.ts +148 -0
- package/gen/classes/MultiplayerPeerExtension.ts +17 -0
- package/gen/classes/MultiplayerSpawner.ts +75 -0
- package/gen/classes/MultiplayerSynchronizer.ts +119 -0
- package/gen/classes/Mutex.ts +37 -0
- package/gen/classes/NativeMenu.ts +567 -0
- package/gen/classes/NavigationAgent2D.ts +361 -0
- package/gen/classes/NavigationAgent3D.ts +380 -0
- package/gen/classes/NavigationLink2D.ts +107 -0
- package/gen/classes/NavigationLink3D.ts +107 -0
- package/gen/classes/NavigationMesh.ts +283 -0
- package/gen/classes/NavigationMeshGenerator.ts +46 -0
- package/gen/classes/NavigationMeshSourceGeometryData2D.ts +75 -0
- package/gen/classes/NavigationMeshSourceGeometryData3D.ts +76 -0
- package/gen/classes/NavigationObstacle2D.ts +87 -0
- package/gen/classes/NavigationObstacle3D.ts +100 -0
- package/gen/classes/NavigationPathQueryParameters2D.ts +162 -0
- package/gen/classes/NavigationPathQueryParameters3D.ts +162 -0
- package/gen/classes/NavigationPathQueryResult2D.ts +64 -0
- package/gen/classes/NavigationPathQueryResult3D.ts +64 -0
- package/gen/classes/NavigationPolygon.ts +259 -0
- package/gen/classes/NavigationRegion2D.ts +116 -0
- package/gen/classes/NavigationRegion3D.ts +116 -0
- package/gen/classes/NavigationServer2D.ts +799 -0
- package/gen/classes/NavigationServer2DManager.ts +28 -0
- package/gen/classes/NavigationServer3D.ts +888 -0
- package/gen/classes/NavigationServer3DManager.ts +28 -0
- package/gen/classes/NinePatchRect.ts +95 -0
- package/gen/classes/Node.ts +1336 -0
- package/gen/classes/Node2D.ts +150 -0
- package/gen/classes/Node3D.ts +404 -0
- package/gen/classes/Node3DGizmo.ts +14 -0
- package/gen/classes/Noise.ts +67 -0
- package/gen/classes/NoiseTexture2D.ts +104 -0
- package/gen/classes/NoiseTexture3D.ts +84 -0
- package/gen/classes/ORMMaterial3D.ts +14 -0
- package/gen/classes/OS.ts +848 -0
- package/gen/classes/Object.ts +583 -0
- package/gen/classes/Occluder3D.ts +25 -0
- package/gen/classes/OccluderInstance3D.ts +54 -0
- package/gen/classes/OccluderPolygon2D.ts +51 -0
- package/gen/classes/OfflineMultiplayerPeer.ts +15 -0
- package/gen/classes/OggPacketSequence.ts +38 -0
- package/gen/classes/OggPacketSequencePlayback.ts +11 -0
- package/gen/classes/OmniLight3D.ts +49 -0
- package/gen/classes/OpenXRAPIExtension.ts +303 -0
- package/gen/classes/OpenXRAction.ts +55 -0
- package/gen/classes/OpenXRActionBindingModifier.ts +14 -0
- package/gen/classes/OpenXRActionMap.ts +86 -0
- package/gen/classes/OpenXRActionSet.ts +50 -0
- package/gen/classes/OpenXRAnalogThresholdModifier.ts +40 -0
- package/gen/classes/OpenXRAnchorTracker.ts +32 -0
- package/gen/classes/OpenXRAndroidThreadSettingsExtension.ts +43 -0
- package/gen/classes/OpenXRBindingModifier.ts +14 -0
- package/gen/classes/OpenXRCompositionLayer.ts +275 -0
- package/gen/classes/OpenXRCompositionLayerCylinder.ts +38 -0
- package/gen/classes/OpenXRCompositionLayerEquirect.ts +44 -0
- package/gen/classes/OpenXRCompositionLayerQuad.ts +21 -0
- package/gen/classes/OpenXRDpadBindingModifier.ts +73 -0
- package/gen/classes/OpenXRExtensionWrapper.ts +33 -0
- package/gen/classes/OpenXRExtensionWrapperExtension.ts +14 -0
- package/gen/classes/OpenXRFrameSynthesisExtension.ts +36 -0
- package/gen/classes/OpenXRFutureExtension.ts +43 -0
- package/gen/classes/OpenXRFutureResult.ts +64 -0
- package/gen/classes/OpenXRHand.ts +117 -0
- package/gen/classes/OpenXRHapticBase.ts +13 -0
- package/gen/classes/OpenXRHapticVibration.ts +32 -0
- package/gen/classes/OpenXRIPBinding.ts +72 -0
- package/gen/classes/OpenXRIPBindingModifier.ts +14 -0
- package/gen/classes/OpenXRInteractionProfile.ts +56 -0
- package/gen/classes/OpenXRInteractionProfileMetadata.ts +43 -0
- package/gen/classes/OpenXRInterface.ts +550 -0
- package/gen/classes/OpenXRMarkerTracker.ts +46 -0
- package/gen/classes/OpenXRPlaneTracker.ts +68 -0
- package/gen/classes/OpenXRRenderModel.ts +33 -0
- package/gen/classes/OpenXRRenderModelExtension.ts +105 -0
- package/gen/classes/OpenXRRenderModelManager.ts +63 -0
- package/gen/classes/OpenXRSpatialAnchorCapability.ts +114 -0
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAnchor.ts +21 -0
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAprilTag.ts +50 -0
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAruco.ts +98 -0
- package/gen/classes/OpenXRSpatialCapabilityConfigurationBaseHeader.ts +25 -0
- package/gen/classes/OpenXRSpatialCapabilityConfigurationMicroQrCode.ts +21 -0
- package/gen/classes/OpenXRSpatialCapabilityConfigurationPlaneTracking.ts +36 -0
- package/gen/classes/OpenXRSpatialCapabilityConfigurationQrCode.ts +21 -0
- package/gen/classes/OpenXRSpatialComponentAnchorList.ts +20 -0
- package/gen/classes/OpenXRSpatialComponentBounded2DList.ts +25 -0
- package/gen/classes/OpenXRSpatialComponentBounded3DList.ts +25 -0
- package/gen/classes/OpenXRSpatialComponentData.ts +24 -0
- package/gen/classes/OpenXRSpatialComponentMarkerList.ts +60 -0
- package/gen/classes/OpenXRSpatialComponentMesh2DList.ts +31 -0
- package/gen/classes/OpenXRSpatialComponentMesh3DList.ts +26 -0
- package/gen/classes/OpenXRSpatialComponentParentList.ts +20 -0
- package/gen/classes/OpenXRSpatialComponentPersistenceList.ts +24 -0
- package/gen/classes/OpenXRSpatialComponentPlaneAlignmentList.ts +41 -0
- package/gen/classes/OpenXRSpatialComponentPlaneSemanticLabelList.ts +45 -0
- package/gen/classes/OpenXRSpatialComponentPolygon2DList.ts +26 -0
- package/gen/classes/OpenXRSpatialContextPersistenceConfig.ts +30 -0
- package/gen/classes/OpenXRSpatialEntityExtension.ts +241 -0
- package/gen/classes/OpenXRSpatialEntityTracker.ts +82 -0
- package/gen/classes/OpenXRSpatialMarkerTrackingCapability.ts +56 -0
- package/gen/classes/OpenXRSpatialPlaneTrackingCapability.ts +33 -0
- package/gen/classes/OpenXRSpatialQueryResultData.ts +30 -0
- package/gen/classes/OpenXRStructureBase.ts +25 -0
- package/gen/classes/OpenXRVisibilityMask.ts +15 -0
- package/gen/classes/OptimizedTranslation.ts +22 -0
- package/gen/classes/OptionButton.ts +236 -0
- package/gen/classes/PCKPacker.ts +57 -0
- package/gen/classes/PackedDataContainer.ts +58 -0
- package/gen/classes/PackedDataContainerRef.ts +47 -0
- package/gen/classes/PackedScene.ts +104 -0
- package/gen/classes/PacketPeer.ts +56 -0
- package/gen/classes/PacketPeerDTLS.ts +65 -0
- package/gen/classes/PacketPeerExtension.ts +12 -0
- package/gen/classes/PacketPeerStream.ts +28 -0
- package/gen/classes/PacketPeerUDP.ts +139 -0
- package/gen/classes/Panel.ts +14 -0
- package/gen/classes/PanelContainer.ts +14 -0
- package/gen/classes/PanoramaSkyMaterial.ts +35 -0
- package/gen/classes/Parallax2D.ts +78 -0
- package/gen/classes/ParallaxBackground.ts +52 -0
- package/gen/classes/ParallaxLayer.ts +38 -0
- package/gen/classes/ParticleProcessMaterial.ts +949 -0
- package/gen/classes/Path2D.ts +22 -0
- package/gen/classes/Path3D.ts +42 -0
- package/gen/classes/PathFollow2D.ts +60 -0
- package/gen/classes/PathFollow3D.ts +104 -0
- package/gen/classes/Performance.ts +370 -0
- package/gen/classes/PhysicalBone2D.ts +59 -0
- package/gen/classes/PhysicalBone3D.ts +189 -0
- package/gen/classes/PhysicalBoneSimulator3D.ts +43 -0
- package/gen/classes/PhysicalSkyMaterial.ts +83 -0
- package/gen/classes/PhysicsBody2D.ts +55 -0
- package/gen/classes/PhysicsBody3D.ts +94 -0
- package/gen/classes/PhysicsDirectBodyState2D.ts +249 -0
- package/gen/classes/PhysicsDirectBodyState2DExtension.ts +19 -0
- package/gen/classes/PhysicsDirectBodyState3D.ts +256 -0
- package/gen/classes/PhysicsDirectBodyState3DExtension.ts +19 -0
- package/gen/classes/PhysicsDirectSpaceState2D.ts +77 -0
- package/gen/classes/PhysicsDirectSpaceState2DExtension.ts +19 -0
- package/gen/classes/PhysicsDirectSpaceState3D.ts +81 -0
- package/gen/classes/PhysicsDirectSpaceState3DExtension.ts +19 -0
- package/gen/classes/PhysicsMaterial.ts +39 -0
- package/gen/classes/PhysicsPointQueryParameters2D.ts +54 -0
- package/gen/classes/PhysicsPointQueryParameters3D.ts +47 -0
- package/gen/classes/PhysicsRayQueryParameters2D.ts +71 -0
- package/gen/classes/PhysicsRayQueryParameters3D.ts +77 -0
- package/gen/classes/PhysicsServer2D.ts +1078 -0
- package/gen/classes/PhysicsServer2DExtension.ts +33 -0
- package/gen/classes/PhysicsServer2DManager.ts +28 -0
- package/gen/classes/PhysicsServer3D.ts +1620 -0
- package/gen/classes/PhysicsServer3DExtension.ts +26 -0
- package/gen/classes/PhysicsServer3DManager.ts +28 -0
- package/gen/classes/PhysicsServer3DRenderingServerHandler.ts +27 -0
- package/gen/classes/PhysicsShapeQueryParameters2D.ts +89 -0
- package/gen/classes/PhysicsShapeQueryParameters3D.ts +89 -0
- package/gen/classes/PhysicsTestMotionParameters2D.ts +60 -0
- package/gen/classes/PhysicsTestMotionParameters3D.ts +66 -0
- package/gen/classes/PhysicsTestMotionResult2D.ts +82 -0
- package/gen/classes/PhysicsTestMotionResult3D.ts +87 -0
- package/gen/classes/PinJoint2D.ts +50 -0
- package/gen/classes/PinJoint3D.ts +42 -0
- package/gen/classes/PlaceholderCubemap.ts +17 -0
- package/gen/classes/PlaceholderCubemapArray.ts +17 -0
- package/gen/classes/PlaceholderMaterial.ts +16 -0
- package/gen/classes/PlaceholderMesh.ts +23 -0
- package/gen/classes/PlaceholderTexture2D.ts +24 -0
- package/gen/classes/PlaceholderTexture2DArray.ts +17 -0
- package/gen/classes/PlaceholderTexture3D.ts +24 -0
- package/gen/classes/PlaceholderTextureLayered.ts +29 -0
- package/gen/classes/PlaneMesh.ts +64 -0
- package/gen/classes/PointLight2D.ts +40 -0
- package/gen/classes/PointMesh.ts +16 -0
- package/gen/classes/Polygon2D.ts +150 -0
- package/gen/classes/PolygonOccluder3D.ts +23 -0
- package/gen/classes/PolygonPathFinder.ts +61 -0
- package/gen/classes/Popup.ts +22 -0
- package/gen/classes/PopupMenu.ts +567 -0
- package/gen/classes/PopupPanel.ts +14 -0
- package/gen/classes/PortableCompressedTexture2D.ts +74 -0
- package/gen/classes/PrimitiveMesh.ts +69 -0
- package/gen/classes/PrismMesh.ts +45 -0
- package/gen/classes/ProceduralSkyMaterial.ts +102 -0
- package/gen/classes/ProgressBar.ts +60 -0
- package/gen/classes/ProjectSettings.ts +233 -0
- package/gen/classes/PropertyTweener.ts +94 -0
- package/gen/classes/QuadMesh.ts +14 -0
- package/gen/classes/QuadOccluder3D.ts +22 -0
- package/gen/classes/RDAccelerationStructureGeometry.ts +71 -0
- package/gen/classes/RDAccelerationStructureInstance.ts +53 -0
- package/gen/classes/RDAttachmentFormat.ts +33 -0
- package/gen/classes/RDFramebufferPass.ts +52 -0
- package/gen/classes/RDHitGroup.ts +35 -0
- package/gen/classes/RDPipelineColorBlendState.ts +42 -0
- package/gen/classes/RDPipelineColorBlendStateAttachment.ts +161 -0
- package/gen/classes/RDPipelineDepthStencilState.ts +141 -0
- package/gen/classes/RDPipelineMultisampleState.ts +52 -0
- package/gen/classes/RDPipelineRasterizationState.ts +81 -0
- package/gen/classes/RDPipelineShader.ts +29 -0
- package/gen/classes/RDPipelineSpecializationConstant.ts +28 -0
- package/gen/classes/RDSamplerState.ts +106 -0
- package/gen/classes/RDShaderFile.ts +38 -0
- package/gen/classes/RDShaderSPIRV.ts +136 -0
- package/gen/classes/RDShaderSource.ts +82 -0
- package/gen/classes/RDTextureFormat.ts +93 -0
- package/gen/classes/RDTextureView.ts +45 -0
- package/gen/classes/RDUniform.ts +43 -0
- package/gen/classes/RDVertexAttribute.ts +52 -0
- package/gen/classes/RandomNumberGenerator.ts +114 -0
- package/gen/classes/Range.ts +104 -0
- package/gen/classes/RayCast2D.ts +148 -0
- package/gen/classes/RayCast3D.ts +172 -0
- package/gen/classes/RectangleShape2D.ts +22 -0
- package/gen/classes/RefCounted.ts +41 -0
- package/gen/classes/ReferenceRect.ts +33 -0
- package/gen/classes/ReflectionProbe.ts +145 -0
- package/gen/classes/RegEx.ts +129 -0
- package/gen/classes/RegExMatch.ts +53 -0
- package/gen/classes/RemoteTransform2D.ts +51 -0
- package/gen/classes/RemoteTransform3D.ts +51 -0
- package/gen/classes/RenderData.ts +37 -0
- package/gen/classes/RenderDataExtension.ts +17 -0
- package/gen/classes/RenderDataRD.ts +15 -0
- package/gen/classes/RenderSceneBuffers.ts +20 -0
- package/gen/classes/RenderSceneBuffersConfiguration.ts +78 -0
- package/gen/classes/RenderSceneBuffersExtension.ts +15 -0
- package/gen/classes/RenderSceneBuffersRD.ts +163 -0
- package/gen/classes/RenderSceneData.ts +49 -0
- package/gen/classes/RenderSceneDataExtension.ts +16 -0
- package/gen/classes/RenderSceneDataRD.ts +15 -0
- package/gen/classes/RenderingDevice.ts +3416 -0
- package/gen/classes/RenderingServer.ts +5580 -0
- package/gen/classes/Resource.ts +171 -0
- package/gen/classes/ResourceFormatLoader.ts +44 -0
- package/gen/classes/ResourceFormatSaver.ts +18 -0
- package/gen/classes/ResourceImporter.ts +28 -0
- package/gen/classes/ResourceLoader.ts +178 -0
- package/gen/classes/ResourcePreloader.ts +50 -0
- package/gen/classes/ResourceSaver.ts +94 -0
- package/gen/classes/ResourceUID.ts +73 -0
- package/gen/classes/RetargetModifier3D.ts +91 -0
- package/gen/classes/RibbonTrailMesh.ts +66 -0
- package/gen/classes/RichTextEffect.ts +27 -0
- package/gen/classes/RichTextLabel.ts +860 -0
- package/gen/classes/RigidBody2D.ts +359 -0
- package/gen/classes/RigidBody3D.ts +347 -0
- package/gen/classes/RootMotionView.ts +47 -0
- package/gen/classes/SceneMultiplayer.ts +122 -0
- package/gen/classes/SceneReplicationConfig.ts +96 -0
- package/gen/classes/SceneState.ts +160 -0
- package/gen/classes/SceneTree.ts +371 -0
- package/gen/classes/SceneTreeTimer.ts +42 -0
- package/gen/classes/Script.ts +122 -0
- package/gen/classes/ScriptBacktrace.ts +103 -0
- package/gen/classes/ScriptExtension.ts +15 -0
- package/gen/classes/ScriptLanguage.ts +21 -0
- package/gen/classes/ScriptLanguageExtension.ts +72 -0
- package/gen/classes/ScrollBar.ts +26 -0
- package/gen/classes/ScrollContainer.ts +199 -0
- package/gen/classes/SegmentShape2D.ts +27 -0
- package/gen/classes/Semaphore.ts +33 -0
- package/gen/classes/SeparationRayShape2D.ts +27 -0
- package/gen/classes/SeparationRayShape3D.ts +27 -0
- package/gen/classes/Separator.ts +13 -0
- package/gen/classes/Shader.ts +83 -0
- package/gen/classes/ShaderGlobalsOverride.ts +16 -0
- package/gen/classes/ShaderInclude.ts +20 -0
- package/gen/classes/ShaderIncludeDB.ts +30 -0
- package/gen/classes/ShaderMaterial.ts +36 -0
- package/gen/classes/Shape2D.ts +61 -0
- package/gen/classes/Shape3D.ts +35 -0
- package/gen/classes/ShapeCast2D.ts +168 -0
- package/gen/classes/ShapeCast3D.ts +181 -0
- package/gen/classes/Shortcut.ts +60 -0
- package/gen/classes/Skeleton2D.ts +67 -0
- package/gen/classes/Skeleton3D.ts +359 -0
- package/gen/classes/SkeletonIK3D.ts +119 -0
- package/gen/classes/SkeletonModification2D.ts +58 -0
- package/gen/classes/SkeletonModification2DCCDIK.ts +107 -0
- package/gen/classes/SkeletonModification2DFABRIK.ts +73 -0
- package/gen/classes/SkeletonModification2DJiggle.ts +165 -0
- package/gen/classes/SkeletonModification2DLookAt.ts +84 -0
- package/gen/classes/SkeletonModification2DPhysicalBones.ts +49 -0
- package/gen/classes/SkeletonModification2DStackHolder.ts +26 -0
- package/gen/classes/SkeletonModification2DTwoBoneIK.ts +80 -0
- package/gen/classes/SkeletonModificationStack2D.ts +82 -0
- package/gen/classes/SkeletonModifier3D.ts +168 -0
- package/gen/classes/SkeletonProfile.ts +180 -0
- package/gen/classes/SkeletonProfileHumanoid.ts +76 -0
- package/gen/classes/Skin.ts +35 -0
- package/gen/classes/SkinReference.ts +30 -0
- package/gen/classes/Sky.ts +94 -0
- package/gen/classes/Slider.ts +78 -0
- package/gen/classes/SliderJoint3D.ts +122 -0
- package/gen/classes/SocketServer.ts +34 -0
- package/gen/classes/SoftBody3D.ts +188 -0
- package/gen/classes/SphereMesh.ts +45 -0
- package/gen/classes/SphereOccluder3D.ts +21 -0
- package/gen/classes/SphereShape3D.ts +21 -0
- package/gen/classes/SpinBox.ts +97 -0
- package/gen/classes/SplineIK3D.ts +70 -0
- package/gen/classes/SplitContainer.ts +163 -0
- package/gen/classes/SpotLight3D.ts +46 -0
- package/gen/classes/SpringArm3D.ts +64 -0
- package/gen/classes/SpringBoneCollision3D.ts +48 -0
- package/gen/classes/SpringBoneCollisionCapsule3D.ts +40 -0
- package/gen/classes/SpringBoneCollisionPlane3D.ts +14 -0
- package/gen/classes/SpringBoneCollisionSphere3D.ts +26 -0
- package/gen/classes/SpringBoneSimulator3D.ts +476 -0
- package/gen/classes/Sprite2D.ts +125 -0
- package/gen/classes/Sprite3D.ts +71 -0
- package/gen/classes/SpriteBase3D.ts +205 -0
- package/gen/classes/SpriteFrames.ts +147 -0
- package/gen/classes/StandardMaterial3D.ts +14 -0
- package/gen/classes/StaticBody2D.ts +37 -0
- package/gen/classes/StaticBody3D.ts +37 -0
- package/gen/classes/StatusIndicator.ts +50 -0
- package/gen/classes/StreamPeer.ts +206 -0
- package/gen/classes/StreamPeerBuffer.ts +52 -0
- package/gen/classes/StreamPeerExtension.ts +12 -0
- package/gen/classes/StreamPeerGZIP.ts +37 -0
- package/gen/classes/StreamPeerSocket.ts +51 -0
- package/gen/classes/StreamPeerTCP.ts +48 -0
- package/gen/classes/StreamPeerTLS.ts +73 -0
- package/gen/classes/StreamPeerUDS.ts +32 -0
- package/gen/classes/StyleBox.ts +86 -0
- package/gen/classes/StyleBoxEmpty.ts +14 -0
- package/gen/classes/StyleBoxFlat.ts +200 -0
- package/gen/classes/StyleBoxLine.ts +45 -0
- package/gen/classes/StyleBoxTexture.ts +138 -0
- package/gen/classes/SubViewport.ts +98 -0
- package/gen/classes/SubViewportContainer.ts +40 -0
- package/gen/classes/SubtweenTweener.ts +20 -0
- package/gen/classes/SurfaceTool.ts +271 -0
- package/gen/classes/SyntaxHighlighter.ts +54 -0
- package/gen/classes/SystemFont.ts +122 -0
- package/gen/classes/TCPServer.ts +35 -0
- package/gen/classes/TLSOptions.ts +79 -0
- package/gen/classes/TabBar.ts +363 -0
- package/gen/classes/TabContainer.ts +296 -0
- package/gen/classes/TextEdit.ts +1458 -0
- package/gen/classes/TextLine.ts +179 -0
- package/gen/classes/TextMesh.ts +134 -0
- package/gen/classes/TextParagraph.ts +278 -0
- package/gen/classes/TextServer.ts +1891 -0
- package/gen/classes/TextServerAdvanced.ts +14 -0
- package/gen/classes/TextServerDummy.ts +30 -0
- package/gen/classes/TextServerExtension.ts +20 -0
- package/gen/classes/TextServerManager.ts +71 -0
- package/gen/classes/Texture.ts +14 -0
- package/gen/classes/Texture2D.ts +84 -0
- package/gen/classes/Texture2DArray.ts +22 -0
- package/gen/classes/Texture2DArrayRD.ts +15 -0
- package/gen/classes/Texture2DRD.ts +22 -0
- package/gen/classes/Texture3D.ts +55 -0
- package/gen/classes/Texture3DRD.ts +22 -0
- package/gen/classes/TextureButton.ts +112 -0
- package/gen/classes/TextureCubemapArrayRD.ts +15 -0
- package/gen/classes/TextureCubemapRD.ts +15 -0
- package/gen/classes/TextureLayered.ts +73 -0
- package/gen/classes/TextureLayeredRD.ts +21 -0
- package/gen/classes/TextureProgressBar.ts +158 -0
- package/gen/classes/TextureRect.ts +109 -0
- package/gen/classes/Theme.ts +438 -0
- package/gen/classes/ThemeDB.ts +72 -0
- package/gen/classes/Thread.ts +86 -0
- package/gen/classes/TileData.ts +255 -0
- package/gen/classes/TileMap.ts +400 -0
- package/gen/classes/TileMapLayer.ts +303 -0
- package/gen/classes/TileMapPattern.ts +67 -0
- package/gen/classes/TileSet.ts +619 -0
- package/gen/classes/TileSetAtlasSource.ts +269 -0
- package/gen/classes/TileSetScenesCollectionSource.ts +87 -0
- package/gen/classes/TileSetSource.ts +50 -0
- package/gen/classes/Time.ts +237 -0
- package/gen/classes/Timer.ts +109 -0
- package/gen/classes/TorusMesh.ts +38 -0
- package/gen/classes/TouchScreenButton.ts +106 -0
- package/gen/classes/Translation.ts +91 -0
- package/gen/classes/TranslationDomain.ts +154 -0
- package/gen/classes/TranslationServer.ts +194 -0
- package/gen/classes/Tree.ts +521 -0
- package/gen/classes/TreeItem.ts +682 -0
- package/gen/classes/TriangleMesh.ts +52 -0
- package/gen/classes/TubeTrailMesh.ts +64 -0
- package/gen/classes/Tween.ts +604 -0
- package/gen/classes/Tweener.ts +20 -0
- package/gen/classes/TwoBoneIK3D.ts +173 -0
- package/gen/classes/UDPServer.ts +115 -0
- package/gen/classes/UDSServer.ts +28 -0
- package/gen/classes/UPNP.ts +279 -0
- package/gen/classes/UPNPDevice.ts +116 -0
- package/gen/classes/UndoRedo.ts +226 -0
- package/gen/classes/UniformSetCacheRD.ts +21 -0
- package/gen/classes/VBoxContainer.ts +14 -0
- package/gen/classes/VFlowContainer.ts +14 -0
- package/gen/classes/VScrollBar.ts +14 -0
- package/gen/classes/VSeparator.ts +14 -0
- package/gen/classes/VSlider.ts +14 -0
- package/gen/classes/VSplitContainer.ts +14 -0
- package/gen/classes/VehicleBody3D.ts +38 -0
- package/gen/classes/VehicleWheel3D.ts +134 -0
- package/gen/classes/VideoStream.ts +22 -0
- package/gen/classes/VideoStreamPlayback.ts +21 -0
- package/gen/classes/VideoStreamPlayer.ts +129 -0
- package/gen/classes/VideoStreamTheora.ts +15 -0
- package/gen/classes/Viewport.ts +1109 -0
- package/gen/classes/ViewportTexture.ts +35 -0
- package/gen/classes/VirtualJoystick.ts +150 -0
- package/gen/classes/VisibleOnScreenEnabler2D.ts +47 -0
- package/gen/classes/VisibleOnScreenEnabler3D.ts +47 -0
- package/gen/classes/VisibleOnScreenNotifier2D.ts +48 -0
- package/gen/classes/VisibleOnScreenNotifier3D.ts +42 -0
- package/gen/classes/VisualInstance3D.ts +69 -0
- package/gen/classes/VisualShader.ts +247 -0
- package/gen/classes/VisualShaderNode.ts +103 -0
- package/gen/classes/VisualShaderNodeBillboard.ts +52 -0
- package/gen/classes/VisualShaderNodeBooleanConstant.ts +21 -0
- package/gen/classes/VisualShaderNodeBooleanParameter.ts +26 -0
- package/gen/classes/VisualShaderNodeClamp.ts +54 -0
- package/gen/classes/VisualShaderNodeColorConstant.ts +22 -0
- package/gen/classes/VisualShaderNodeColorFunc.ts +106 -0
- package/gen/classes/VisualShaderNodeColorOp.ts +144 -0
- package/gen/classes/VisualShaderNodeColorParameter.ts +27 -0
- package/gen/classes/VisualShaderNodeComment.ts +20 -0
- package/gen/classes/VisualShaderNodeCompare.ts +124 -0
- package/gen/classes/VisualShaderNodeConstant.ts +13 -0
- package/gen/classes/VisualShaderNodeCubemap.ts +72 -0
- package/gen/classes/VisualShaderNodeCubemapParameter.ts +14 -0
- package/gen/classes/VisualShaderNodeCurveTexture.ts +21 -0
- package/gen/classes/VisualShaderNodeCurveXYZTexture.ts +21 -0
- package/gen/classes/VisualShaderNodeCustom.ts +38 -0
- package/gen/classes/VisualShaderNodeDerivativeFunc.ts +100 -0
- package/gen/classes/VisualShaderNodeDeterminant.ts +14 -0
- package/gen/classes/VisualShaderNodeDistanceFade.ts +14 -0
- package/gen/classes/VisualShaderNodeDotProduct.ts +14 -0
- package/gen/classes/VisualShaderNodeExpression.ts +21 -0
- package/gen/classes/VisualShaderNodeFaceForward.ts +14 -0
- package/gen/classes/VisualShaderNodeFloatConstant.ts +20 -0
- package/gen/classes/VisualShaderNodeFloatFunc.ts +158 -0
- package/gen/classes/VisualShaderNodeFloatOp.ts +70 -0
- package/gen/classes/VisualShaderNodeFloatParameter.ts +72 -0
- package/gen/classes/VisualShaderNodeFrame.ts +58 -0
- package/gen/classes/VisualShaderNodeFresnel.ts +14 -0
- package/gen/classes/VisualShaderNodeGlobalExpression.ts +14 -0
- package/gen/classes/VisualShaderNodeGroupBase.ts +118 -0
- package/gen/classes/VisualShaderNodeIf.ts +17 -0
- package/gen/classes/VisualShaderNodeInput.ts +32 -0
- package/gen/classes/VisualShaderNodeIntConstant.ts +20 -0
- package/gen/classes/VisualShaderNodeIntFunc.ts +46 -0
- package/gen/classes/VisualShaderNodeIntOp.ts +78 -0
- package/gen/classes/VisualShaderNodeIntParameter.ts +83 -0
- package/gen/classes/VisualShaderNodeIs.ts +38 -0
- package/gen/classes/VisualShaderNodeLinearSceneDepth.ts +14 -0
- package/gen/classes/VisualShaderNodeMix.ts +58 -0
- package/gen/classes/VisualShaderNodeMultiplyAdd.ts +46 -0
- package/gen/classes/VisualShaderNodeOuterProduct.ts +14 -0
- package/gen/classes/VisualShaderNodeOutput.ts +13 -0
- package/gen/classes/VisualShaderNodeParameter.ts +57 -0
- package/gen/classes/VisualShaderNodeParameterRef.ts +23 -0
- package/gen/classes/VisualShaderNodeParticleAccelerator.ts +42 -0
- package/gen/classes/VisualShaderNodeParticleBoxEmitter.ts +14 -0
- package/gen/classes/VisualShaderNodeParticleConeVelocity.ts +14 -0
- package/gen/classes/VisualShaderNodeParticleEmit.ts +46 -0
- package/gen/classes/VisualShaderNodeParticleEmitter.ts +19 -0
- package/gen/classes/VisualShaderNodeParticleMeshEmitter.ts +33 -0
- package/gen/classes/VisualShaderNodeParticleMultiplyByAxisAngle.ts +20 -0
- package/gen/classes/VisualShaderNodeParticleOutput.ts +14 -0
- package/gen/classes/VisualShaderNodeParticleRandomness.ts +46 -0
- package/gen/classes/VisualShaderNodeParticleRingEmitter.ts +14 -0
- package/gen/classes/VisualShaderNodeParticleSphereEmitter.ts +14 -0
- package/gen/classes/VisualShaderNodeProximityFade.ts +14 -0
- package/gen/classes/VisualShaderNodeRandomRange.ts +14 -0
- package/gen/classes/VisualShaderNodeRemap.ts +55 -0
- package/gen/classes/VisualShaderNodeReroute.ts +18 -0
- package/gen/classes/VisualShaderNodeResizableBase.ts +20 -0
- package/gen/classes/VisualShaderNodeRotationByAxis.ts +14 -0
- package/gen/classes/VisualShaderNodeSDFRaymarch.ts +14 -0
- package/gen/classes/VisualShaderNodeSDFToScreenUV.ts +14 -0
- package/gen/classes/VisualShaderNodeSample3D.ts +37 -0
- package/gen/classes/VisualShaderNodeScreenNormalWorldSpace.ts +14 -0
- package/gen/classes/VisualShaderNodeScreenUVToSDF.ts +14 -0
- package/gen/classes/VisualShaderNodeSmoothStep.ts +59 -0
- package/gen/classes/VisualShaderNodeStep.ts +59 -0
- package/gen/classes/VisualShaderNodeSwitch.ts +62 -0
- package/gen/classes/VisualShaderNodeTexture.ts +96 -0
- package/gen/classes/VisualShaderNodeTexture2DArray.ts +21 -0
- package/gen/classes/VisualShaderNodeTexture2DArrayParameter.ts +14 -0
- package/gen/classes/VisualShaderNodeTexture2DParameter.ts +14 -0
- package/gen/classes/VisualShaderNodeTexture3D.ts +21 -0
- package/gen/classes/VisualShaderNodeTexture3DParameter.ts +14 -0
- package/gen/classes/VisualShaderNodeTextureParameter.ts +177 -0
- package/gen/classes/VisualShaderNodeTextureParameterTriplanar.ts +14 -0
- package/gen/classes/VisualShaderNodeTextureSDF.ts +14 -0
- package/gen/classes/VisualShaderNodeTextureSDFNormal.ts +14 -0
- package/gen/classes/VisualShaderNodeTransformCompose.ts +14 -0
- package/gen/classes/VisualShaderNodeTransformConstant.ts +21 -0
- package/gen/classes/VisualShaderNodeTransformDecompose.ts +14 -0
- package/gen/classes/VisualShaderNodeTransformFunc.ts +38 -0
- package/gen/classes/VisualShaderNodeTransformOp.ts +66 -0
- package/gen/classes/VisualShaderNodeTransformParameter.ts +27 -0
- package/gen/classes/VisualShaderNodeTransformVecMult.ts +46 -0
- package/gen/classes/VisualShaderNodeUIntConstant.ts +20 -0
- package/gen/classes/VisualShaderNodeUIntFunc.ts +38 -0
- package/gen/classes/VisualShaderNodeUIntOp.ts +78 -0
- package/gen/classes/VisualShaderNodeUIntParameter.ts +26 -0
- package/gen/classes/VisualShaderNodeUVFunc.ts +38 -0
- package/gen/classes/VisualShaderNodeUVPolarCoord.ts +14 -0
- package/gen/classes/VisualShaderNodeVarying.ts +26 -0
- package/gen/classes/VisualShaderNodeVaryingGetter.ts +14 -0
- package/gen/classes/VisualShaderNodeVaryingSetter.ts +14 -0
- package/gen/classes/VisualShaderNodeVec2Constant.ts +21 -0
- package/gen/classes/VisualShaderNodeVec2Parameter.ts +27 -0
- package/gen/classes/VisualShaderNodeVec3Constant.ts +21 -0
- package/gen/classes/VisualShaderNodeVec3Parameter.ts +27 -0
- package/gen/classes/VisualShaderNodeVec4Constant.ts +24 -0
- package/gen/classes/VisualShaderNodeVec4Parameter.ts +27 -0
- package/gen/classes/VisualShaderNodeVectorBase.ts +41 -0
- package/gen/classes/VisualShaderNodeVectorCompose.ts +14 -0
- package/gen/classes/VisualShaderNodeVectorDecompose.ts +14 -0
- package/gen/classes/VisualShaderNodeVectorDistance.ts +15 -0
- package/gen/classes/VisualShaderNodeVectorFunc.ts +162 -0
- package/gen/classes/VisualShaderNodeVectorLen.ts +14 -0
- package/gen/classes/VisualShaderNodeVectorOp.ts +78 -0
- package/gen/classes/VisualShaderNodeVectorRefract.ts +14 -0
- package/gen/classes/VisualShaderNodeWorldPositionFromDepth.ts +14 -0
- package/gen/classes/VoxelGI.ts +85 -0
- package/gen/classes/VoxelGIData.ts +95 -0
- package/gen/classes/WeakRef.ts +20 -0
- package/gen/classes/WebRTCDataChannel.ts +115 -0
- package/gen/classes/WebRTCDataChannelExtension.ts +14 -0
- package/gen/classes/WebRTCMultiplayerPeer.ts +63 -0
- package/gen/classes/WebRTCPeerConnection.ts +220 -0
- package/gen/classes/WebRTCPeerConnectionExtension.ts +15 -0
- package/gen/classes/WebSocketMultiplayerPeer.ts +81 -0
- package/gen/classes/WebSocketPeer.ts +213 -0
- package/gen/classes/WebXRInterface.ts +317 -0
- package/gen/classes/Window.ts +1127 -0
- package/gen/classes/WorkerThreadPool.ts +100 -0
- package/gen/classes/World2D.ts +36 -0
- package/gen/classes/World3D.ts +56 -0
- package/gen/classes/WorldBoundaryShape2D.ts +28 -0
- package/gen/classes/WorldBoundaryShape3D.ts +22 -0
- package/gen/classes/WorldEnvironment.ts +37 -0
- package/gen/classes/X509Certificate.ts +36 -0
- package/gen/classes/XMLParser.ts +154 -0
- package/gen/classes/XRAnchor3D.ts +27 -0
- package/gen/classes/XRBodyModifier3D.ts +70 -0
- package/gen/classes/XRBodyTracker.ts +444 -0
- package/gen/classes/XRCamera3D.ts +16 -0
- package/gen/classes/XRController3D.ts +79 -0
- package/gen/classes/XRControllerTracker.ts +16 -0
- package/gen/classes/XRFaceModifier3D.ts +29 -0
- package/gen/classes/XRFaceTracker.ts +614 -0
- package/gen/classes/XRHandModifier3D.ts +47 -0
- package/gen/classes/XRHandTracker.ts +246 -0
- package/gen/classes/XRInterface.ts +282 -0
- package/gen/classes/XRInterfaceExtension.ts +33 -0
- package/gen/classes/XRNode3D.ts +67 -0
- package/gen/classes/XROrigin3D.ts +29 -0
- package/gen/classes/XRPose.ts +80 -0
- package/gen/classes/XRPositionalTracker.ts +125 -0
- package/gen/classes/XRServer.ts +226 -0
- package/gen/classes/XRTracker.ts +40 -0
- package/gen/classes/XRVRS.ts +40 -0
- package/gen/classes/ZIPPacker.ts +114 -0
- package/gen/classes/ZIPReader.ts +89 -0
- package/gen/classes/index.ts +957 -0
- package/gen/global-constants.ts +60 -0
- package/gen/global-enums.ts +2284 -0
- package/gen/heap-types/GodotArray.ts +615 -0
- package/gen/heap-types/GodotDictionary.ts +298 -0
- package/gen/heap-types/PackedByteArray.ts +400 -0
- package/gen/heap-types/PackedColorArray.ts +144 -0
- package/gen/heap-types/PackedFloat32Array.ts +151 -0
- package/gen/heap-types/PackedFloat64Array.ts +152 -0
- package/gen/heap-types/PackedInt32Array.ts +144 -0
- package/gen/heap-types/PackedInt64Array.ts +145 -0
- package/gen/heap-types/PackedStringArray.ts +153 -0
- package/gen/heap-types/PackedVector2Array.ts +151 -0
- package/gen/heap-types/PackedVector3Array.ts +151 -0
- package/gen/heap-types/PackedVector4Array.ts +151 -0
- package/gen/heap-types/Signal.ts +180 -0
- package/gen/heap-types/index.ts +24 -0
- package/gen/index.ts +11 -0
- package/gen/utility-functions.ts +1457 -0
- package/gen/value-types/AABB.ts +288 -0
- package/gen/value-types/Basis.ts +283 -0
- package/gen/value-types/Color.ts +282 -0
- package/gen/value-types/Plane.ts +134 -0
- package/gen/value-types/Projection.ts +137 -0
- package/gen/value-types/Quaternion.ts +192 -0
- package/gen/value-types/Rect2.ts +182 -0
- package/gen/value-types/Rect2i.ts +161 -0
- package/gen/value-types/Transform2D.ts +206 -0
- package/gen/value-types/Transform3D.ts +137 -0
- package/gen/value-types/Vector2.ts +365 -0
- package/gen/value-types/Vector2i.ts +201 -0
- package/gen/value-types/Vector3.ts +365 -0
- package/gen/value-types/Vector3i.ts +202 -0
- package/gen/value-types/Vector4.ts +285 -0
- package/gen/value-types/Vector4i.ts +208 -0
- package/gen/value-types/index.ts +19 -0
- package/package.json +33 -0
- package/src/debug.ts +219 -0
- package/src/index.ts +36 -0
- package/src/runtime.ts +69 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Auto-generated from extension_api.json - DO NOT EDIT
|
|
2
|
+
// Generated by dev/codegen.ts
|
|
3
|
+
|
|
4
|
+
import { _C, _R } from '../../src/runtime.ts';
|
|
5
|
+
import { Object } from './Object.ts';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Base class for any object that keeps a reference count. {@link Resource} and many other helper objects inherit this class.
|
|
9
|
+
* Unlike other {@link Object} types, {@link RefCounted}s keep an internal reference counter so that they are automatically released when no longer in use, and only then. {@link RefCounted}s therefore do not need to be freed manually with {@link Object.free}.
|
|
10
|
+
* {@link RefCounted} instances caught in a cyclic reference will **not** be freed automatically. For example, if a node holds a reference to instance `A`, which directly or indirectly holds a reference back to `A`, `A`'s reference count will be 2. Destruction of the node will leave `A` dangling with a reference count of 1, and there will be a memory leak. To prevent this, one of the references in the cycle can be made weak with {@link weakref}.
|
|
11
|
+
* In the vast majority of use cases, instantiating and using {@link RefCounted}-derived types is all you need to do. The methods provided in this class are only for advanced users, and can cause issues if misused.
|
|
12
|
+
* **Note:** In C#, reference-counted objects will not be freed instantly after they are no longer in use. Instead, garbage collection will run periodically and will free reference-counted objects that are no longer in use. This means that unused ones will remain in memory for a while before being removed.
|
|
13
|
+
*/
|
|
14
|
+
export class RefCounted extends Object {
|
|
15
|
+
constructor(name = 640) { super(name); }
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Initializes the internal reference counter. Use this only if you really know what you are doing.
|
|
19
|
+
* Returns whether the initialization was successful.
|
|
20
|
+
*/
|
|
21
|
+
initRef(): boolean { return _C(this, 7606) as boolean; }
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Increments the internal reference counter. Use this only if you really know what you are doing.
|
|
25
|
+
* Returns `true` if the increment was successful, `false` otherwise.
|
|
26
|
+
*/
|
|
27
|
+
reference(): boolean { return _C(this, 9772) as boolean; }
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Decrements the internal reference counter. Use this only if you really know what you are doing.
|
|
31
|
+
* Returns `true` if the object should be freed after the decrement, `false` otherwise.
|
|
32
|
+
*/
|
|
33
|
+
unreference(): boolean { return _C(this, 14486) as boolean; }
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Returns the current reference count.
|
|
37
|
+
*/
|
|
38
|
+
getReferenceCount(): number { return _C(this, 6099) as number; }
|
|
39
|
+
|
|
40
|
+
static readonly name = _R(640, RefCounted);
|
|
41
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Auto-generated from extension_api.json - DO NOT EDIT
|
|
2
|
+
// Generated by dev/codegen.ts
|
|
3
|
+
|
|
4
|
+
import { _C, _R } from '../../src/runtime.ts';
|
|
5
|
+
import { Control } from './Control.ts';
|
|
6
|
+
import type { Color } from '../value-types/index.ts';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* A rectangular box that displays only a colored border around its rectangle (see {@link Control.getRect}). It can be used to visualize the extents of a {@link Control} node, for testing purposes.
|
|
10
|
+
*/
|
|
11
|
+
export class ReferenceRect extends Control {
|
|
12
|
+
constructor(name = 641) { super(name); }
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Sets the border color of the {@link ReferenceRect}.
|
|
16
|
+
*/
|
|
17
|
+
get borderColor(): Color { return _C(this, 3986) as Color; }
|
|
18
|
+
set borderColor(v: Color) { _C(this, 10726, v); }
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Sets the border width of the {@link ReferenceRect}. The border grows both inwards and outwards with respect to the rectangle box.
|
|
22
|
+
*/
|
|
23
|
+
get borderWidth(): number { return _C(this, 3988) as number; }
|
|
24
|
+
set borderWidth(v: number) { _C(this, 10728, v); }
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* If `true`, the {@link ReferenceRect} will only be visible while in editor. Otherwise, {@link ReferenceRect} will be visible in the running project.
|
|
28
|
+
*/
|
|
29
|
+
get editorOnly(): boolean { return _C(this, 4605) as boolean; }
|
|
30
|
+
set editorOnly(v: boolean) { _C(this, 11221, v); }
|
|
31
|
+
|
|
32
|
+
static readonly name = _R(641, ReferenceRect);
|
|
33
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
// Auto-generated from extension_api.json - DO NOT EDIT
|
|
2
|
+
// Generated by dev/codegen.ts
|
|
3
|
+
|
|
4
|
+
import { _C, _R } from '../../src/runtime.ts';
|
|
5
|
+
import { VisualInstance3D } from './VisualInstance3D.ts';
|
|
6
|
+
import type { Color, Vector3 } from '../value-types/index.ts';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Captures its surroundings as a cubemap, and stores versions of it with increasing levels of blur to simulate different material roughnesses.
|
|
10
|
+
* The {@link ReflectionProbe} is used to create high-quality reflections at a low performance cost (when {@link updateMode} is {@link UPDATE_ONCE}). {@link ReflectionProbe}s can be blended together and with the rest of the scene smoothly. {@link ReflectionProbe}s can also be combined with {@link VoxelGI}, SDFGI ({@link Environment.sdfgiEnabled}) and screen-space reflections ({@link Environment.ssrEnabled}) to get more accurate reflections in specific areas. {@link ReflectionProbe}s render all objects within their {@link cullMask}, so updating them can be quite expensive. It is best to update them once with the important static objects and then leave them as-is.
|
|
11
|
+
* **Note:** Unlike {@link VoxelGI} and SDFGI, {@link ReflectionProbe}s only source their environment from a {@link WorldEnvironment} node. If you specify an {@link Environment} resource within a {@link Camera3D} node, it will be ignored by the {@link ReflectionProbe}. This can lead to incorrect lighting within the {@link ReflectionProbe}.
|
|
12
|
+
* **Note:** When using the Mobile rendering method, only `8` reflection probes can be displayed on each mesh resource, while the Compatibility rendering method only supports up to `2` reflection probes on each mesh. Attempting to display more than `8` reflection probes on a single mesh resource using the Mobile renderer will result in reflection probes flickering in and out as the camera moves, while the Compatibility renderer will not render any additional probes if more than `2` reflection probes are being used.
|
|
13
|
+
* **Note:** When using the Mobile rendering method, reflection probes will only correctly affect meshes whose visibility AABB intersects with the reflection probe's AABB. If using a shader to deform the mesh in a way that makes it go outside its AABB, {@link GeometryInstance3D.extraCullMargin} must be increased on the mesh. Otherwise, the reflection probe may not be visible on the mesh.
|
|
14
|
+
*/
|
|
15
|
+
export class ReflectionProbe extends VisualInstance3D {
|
|
16
|
+
constructor(name = 642) { super(name); }
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Sets how frequently the {@link ReflectionProbe} is updated. Can be {@link UPDATE_ONCE} or {@link UPDATE_ALWAYS}.
|
|
20
|
+
*/
|
|
21
|
+
get updateMode(): UpdateMode { return _C(this, 6960) as UpdateMode; }
|
|
22
|
+
set updateMode(v: UpdateMode) { _C(this, 13180, v); }
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Defines the reflection intensity. Intensity modulates the strength of the reflection.
|
|
26
|
+
*/
|
|
27
|
+
get intensity(): number { return _C(this, 5142) as number; }
|
|
28
|
+
set intensity(v: number) { _C(this, 11733, v); }
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Defines the distance in meters over which a probe blends into the scene.
|
|
32
|
+
*/
|
|
33
|
+
get blendDistance(): number { return _C(this, 3931) as number; }
|
|
34
|
+
set blendDistance(v: number) { _C(this, 10676, v); }
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The maximum distance away from the {@link ReflectionProbe} an object can be before it is culled. Decrease this to improve performance, especially when using the {@link UPDATE_ALWAYS} {@link updateMode}.
|
|
38
|
+
* **Note:** The maximum reflection distance is always at least equal to the probe's extents. This means that decreasing {@link maxDistance} will not always cull objects from reflections, especially if the reflection probe's box defined by its {@link size} is already large.
|
|
39
|
+
*/
|
|
40
|
+
get maxDistance(): number { return _C(this, 5467) as number; }
|
|
41
|
+
set maxDistance(v: number) { _C(this, 11992, v); }
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* The size of the reflection probe. The larger the size, the more space covered by the probe, which will lower the perceived resolution. It is best to keep the size only as large as you need it.
|
|
45
|
+
* **Note:** To better fit areas that are not aligned to the grid, you can rotate the {@link ReflectionProbe} node.
|
|
46
|
+
*/
|
|
47
|
+
get size(): Vector3 { return _C(this, 6399) as Vector3; }
|
|
48
|
+
set size(v: Vector3) { _C(this, 12752, v); }
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Sets the origin offset to be used when this {@link ReflectionProbe} is in {@link boxProjection} mode. This can be set to a non-zero value to ensure a reflection fits a rectangle-shaped room, while reducing the number of objects that "get in the way" of the reflection.
|
|
52
|
+
*/
|
|
53
|
+
get originOffset(): Vector3 { return _C(this, 5744) as Vector3; }
|
|
54
|
+
set originOffset(v: Vector3) { _C(this, 12205, v); }
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* If `true`, enables box projection. This makes reflections look more correct in rectangle-shaped rooms by offsetting the reflection center depending on the camera's location.
|
|
58
|
+
* **Note:** To better fit rectangle-shaped rooms that are not aligned to the grid, you can rotate the {@link ReflectionProbe} node.
|
|
59
|
+
*/
|
|
60
|
+
get boxProjection(): boolean { return _C(this, 7802) as boolean; }
|
|
61
|
+
set boxProjection(v: boolean) { _C(this, 11266, v); }
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* If `true`, reflections will ignore sky contribution.
|
|
65
|
+
*/
|
|
66
|
+
get interior(): boolean { return _C(this, 8294) as boolean; }
|
|
67
|
+
set interior(v: boolean) { _C(this, 10537, v); }
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* If `true`, computes shadows in the reflection probe. This makes the reflection probe slower to render; you may want to disable this if using the {@link UPDATE_ALWAYS} {@link updateMode}.
|
|
71
|
+
*/
|
|
72
|
+
get enableShadows(): boolean { return _C(this, 1547) as boolean; }
|
|
73
|
+
set enableShadows(v: boolean) { _C(this, 11283, v); }
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Sets the cull mask which determines what objects are drawn by this probe. Every {@link VisualInstance3D} with a layer included in this cull mask will be rendered by the probe. It is best to only include large objects which are likely to take up a lot of space in the reflection in order to save on rendering cost.
|
|
77
|
+
* This can also be used to prevent an object from reflecting upon itself (for instance, a {@link ReflectionProbe} centered on a vehicle).
|
|
78
|
+
*/
|
|
79
|
+
get cullMask(): number { return _C(this, 4339) as number; }
|
|
80
|
+
set cullMask(v: number) { _C(this, 10981, v); }
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Sets the reflection mask which determines what objects have reflections applied from this probe. Every {@link VisualInstance3D} with a layer included in this reflection mask will have reflections applied from this probe. See also {@link cullMask}, which can be used to exclude objects from appearing in the reflection while still making them affected by the {@link ReflectionProbe}.
|
|
84
|
+
*/
|
|
85
|
+
get reflectionMask(): number { return _C(this, 6108) as number; }
|
|
86
|
+
set reflectionMask(v: number) { _C(this, 12500, v); }
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The automatic LOD bias to use for meshes rendered within the {@link ReflectionProbe} (this is analog to {@link Viewport.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, especially when using the {@link UPDATE_ALWAYS} {@link updateMode}.
|
|
90
|
+
* **Note:** {@link meshLodThreshold} does not affect {@link GeometryInstance3D} visibility ranges (also known as "manual" LOD or hierarchical LOD).
|
|
91
|
+
*/
|
|
92
|
+
get meshLodThreshold(): number { return _C(this, 5515) as number; }
|
|
93
|
+
set meshLodThreshold(v: number) { _C(this, 12028, v); }
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* The ambient color to use within the {@link ReflectionProbe}'s box defined by its {@link size}. The ambient color will smoothly blend with other {@link ReflectionProbe}s and the rest of the scene (outside the {@link ReflectionProbe}'s box defined by its {@link size}).
|
|
97
|
+
*/
|
|
98
|
+
get ambientMode(): AmbientMode { return _C(this, 3739) as AmbientMode; }
|
|
99
|
+
set ambientMode(v: AmbientMode) { _C(this, 10480, v); }
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* The custom ambient color to use within the {@link ReflectionProbe}'s box defined by its {@link size}. Only effective if {@link ambientMode} is {@link AMBIENT_COLOR}.
|
|
103
|
+
*/
|
|
104
|
+
get ambientColor(): Color { return _C(this, 3734) as Color; }
|
|
105
|
+
set ambientColor(v: Color) { _C(this, 10475, v); }
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* The custom ambient color energy to use within the {@link ReflectionProbe}'s box defined by its {@link size}. Only effective if {@link ambientMode} is {@link AMBIENT_COLOR}.
|
|
109
|
+
*/
|
|
110
|
+
get ambientColorEnergy(): number { return _C(this, 3735) as number; }
|
|
111
|
+
set ambientColorEnergy(v: number) { _C(this, 10476, v); }
|
|
112
|
+
|
|
113
|
+
static readonly name = _R(642, ReflectionProbe);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export const UpdateMode = {
|
|
117
|
+
/**
|
|
118
|
+
* Update the probe once on the next frame (recommended for most objects). The corresponding radiance map will be generated over the following six frames. This takes more time to update than {@link UPDATE_ALWAYS}, but it has a lower performance cost and can result in higher-quality reflections. The ReflectionProbe is updated when its transform changes, but not when nearby geometry changes. You can force a {@link ReflectionProbe} update by moving the {@link ReflectionProbe} slightly in any direction.
|
|
119
|
+
*/
|
|
120
|
+
UPDATE_ONCE: 0,
|
|
121
|
+
/**
|
|
122
|
+
* Update the probe every frame. This provides better results for fast-moving dynamic objects (such as cars). However, it has a significant performance cost. Due to the cost, it's recommended to only use one ReflectionProbe with {@link UPDATE_ALWAYS} at most per scene. For all other use cases, use {@link UPDATE_ONCE}.
|
|
123
|
+
*/
|
|
124
|
+
UPDATE_ALWAYS: 1,
|
|
125
|
+
} as const;
|
|
126
|
+
|
|
127
|
+
export type UpdateMode = (typeof UpdateMode)[keyof typeof UpdateMode];
|
|
128
|
+
|
|
129
|
+
export const AmbientMode = {
|
|
130
|
+
/**
|
|
131
|
+
* Do not apply any ambient lighting inside the {@link ReflectionProbe}'s box defined by its {@link size}.
|
|
132
|
+
*/
|
|
133
|
+
AMBIENT_DISABLED: 0,
|
|
134
|
+
/**
|
|
135
|
+
* Apply automatically-sourced environment lighting inside the {@link ReflectionProbe}'s box defined by its {@link size}.
|
|
136
|
+
*/
|
|
137
|
+
AMBIENT_ENVIRONMENT: 1,
|
|
138
|
+
/**
|
|
139
|
+
* Apply custom ambient lighting inside the {@link ReflectionProbe}'s box defined by its {@link size}. See {@link ambientColor} and {@link ambientColorEnergy}.
|
|
140
|
+
*/
|
|
141
|
+
AMBIENT_COLOR: 2,
|
|
142
|
+
} as const;
|
|
143
|
+
|
|
144
|
+
export type AmbientMode = (typeof AmbientMode)[keyof typeof AmbientMode];
|
|
145
|
+
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
// Auto-generated from extension_api.json - DO NOT EDIT
|
|
2
|
+
// Generated by dev/codegen.ts
|
|
3
|
+
|
|
4
|
+
import { _C, _R } from '../../src/runtime.ts';
|
|
5
|
+
import { RefCounted } from './RefCounted.ts';
|
|
6
|
+
import type { Error } from '../global-enums.ts';
|
|
7
|
+
import type { GodotArray, PackedStringArray } from '../heap-types/index.ts';
|
|
8
|
+
import type { RegExMatch } from './RegExMatch.ts';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A regular expression (or regex) is a compact language that can be used to recognize strings that follow a specific pattern, such as URLs, email addresses, complete sentences, etc. For example, a regex of `ab[0-9]` would find any string that is `ab` followed by any number from `0` to `9`. For a more in-depth look, you can easily find various tutorials and detailed explanations on the Internet.
|
|
12
|
+
* To begin, the RegEx object needs to be compiled with the search pattern using {@link compile} before it can be used. Alternatively, the static method {@link createFromString} can be used to create and compile a RegEx object in a single method call.
|
|
13
|
+
*
|
|
14
|
+
* ```text
|
|
15
|
+
*
|
|
16
|
+
* var regex = RegEx.new()
|
|
17
|
+
* regex.compile("\\w-(\\d+)")
|
|
18
|
+
* # Shorthand to create and compile a regex (used in the examples below):
|
|
19
|
+
* var regex2 = RegEx.create_from_string("\\w-(\\d+)")
|
|
20
|
+
*
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* The search pattern must be escaped first for GDScript before it is escaped for the expression. For example, `compile("\\d+")` would be read by RegEx as `\d+`. Similarly, `compile("\"(?:\\\\.|[^\"])*\"")` would be read as `"(?:\\.|[^"])*"`. In GDScript, you can also use raw string literals (r-strings). For example, `compile(r'"(?:\\.|[^"])*"')` would be read the same.
|
|
24
|
+
* Using {@link search}, you can find the pattern within the given text. If a pattern is found, {@link RegExMatch} is returned and you can retrieve details of the results using methods such as {@link RegExMatch.getString} and {@link RegExMatch.getStart}.
|
|
25
|
+
*
|
|
26
|
+
* ```text
|
|
27
|
+
*
|
|
28
|
+
* var regex = RegEx.create_from_string("\\w-(\\d+)")
|
|
29
|
+
* var result = regex.search("abc n-0123")
|
|
30
|
+
* if result:
|
|
31
|
+
* print(result.get_string()) # Prints "n-0123"
|
|
32
|
+
*
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* The results of capturing groups `()` can be retrieved by passing the group number to the various methods in {@link RegExMatch}. Group 0 is the default and will always refer to the entire pattern. In the above example, calling `result.get_string(1)` would give you `0123`.
|
|
36
|
+
* This version of RegEx also supports named capturing groups, and the names can be used to retrieve the results. If two or more groups have the same name, the name would only refer to the first one with a match.
|
|
37
|
+
*
|
|
38
|
+
* ```text
|
|
39
|
+
*
|
|
40
|
+
* var regex = RegEx.create_from_string("d(?<digit>[0-9]+)|x(?<digit>[0-9a-f]+)")
|
|
41
|
+
* var result = regex.search("the number is x2f")
|
|
42
|
+
* if result:
|
|
43
|
+
* print(result.get_string("digit")) # Prints "2f"
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* If you need to process multiple results, {@link searchAll} generates a list of all non-overlapping results. This can be combined with a `for` loop for convenience.
|
|
48
|
+
*
|
|
49
|
+
* ```text
|
|
50
|
+
*
|
|
51
|
+
* # Prints "01 03 0 3f 42"
|
|
52
|
+
* for result in regex.search_all("d01, d03, d0c, x3f and x42"):
|
|
53
|
+
* print(result.get_string("digit"))
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* **Example:** Split a string using a RegEx:
|
|
58
|
+
*
|
|
59
|
+
* ```text
|
|
60
|
+
*
|
|
61
|
+
* var regex = RegEx.create_from_string("\\S+") # Negated whitespace character class.
|
|
62
|
+
* var results = []
|
|
63
|
+
* for result in regex.search_all("One Two \n\tThree"):
|
|
64
|
+
* results.push_back(result.get_string())
|
|
65
|
+
* print(results) # Prints ["One", "Two", "Three"]
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* **Note:** Godot's regex implementation is based on the [PCRE2](https://www.pcre.org/) library. You can view the full pattern reference [here](https://www.pcre.org/current/doc/html/pcre2pattern.html).
|
|
70
|
+
* **Tip:** You can use [Regexr](https://regexr.com/) to test regular expressions online.
|
|
71
|
+
*/
|
|
72
|
+
export class RegEx extends RefCounted {
|
|
73
|
+
constructor(name = 643) { super(name); }
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Creates and compiles a new {@link RegEx} object. See also {@link compile}.
|
|
77
|
+
*/
|
|
78
|
+
static createFromString(pattern: string, showError?: boolean /* = true */): RegEx { return _C(643, 2537, pattern, showError) as RegEx; }
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* This method resets the state of the object, as if it was freshly created. Namely, it unassigns the regular expression of this object.
|
|
82
|
+
*/
|
|
83
|
+
clear(): void { _C(this, 2232); }
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Compiles and assign the search pattern to use. Returns {@link OK} if the compilation is successful. If compilation fails, returns {@link FAILED} and when `showError` is `true`, details are printed to standard output.
|
|
87
|
+
*/
|
|
88
|
+
compile(pattern: string, showError?: boolean /* = true */): Error { return _C(this, 2388, pattern, showError) as Error; }
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Searches the text for the compiled pattern. Returns a {@link RegExMatch} container of the first matching result if found, otherwise `null`.
|
|
92
|
+
* The region to search within can be specified with `offset` and `end`. This is useful when searching for another match in the same `subject` by calling this method again after a previous success. Note that setting these parameters differs from passing over a shortened string. For example, the start anchor `^` is not affected by `offset`, and the character before `offset` will be checked for the word boundary `\b`.
|
|
93
|
+
*/
|
|
94
|
+
search(subject: string, offset?: number /* = 0 */, end?: number /* = -1 */): RegExMatch { return _C(this, 10324, subject, offset, end) as RegExMatch; }
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Searches the text for the compiled pattern. Returns an array of {@link RegExMatch} containers for each non-overlapping result. If no results were found, an empty array is returned instead.
|
|
98
|
+
* The region to search within can be specified with `offset` and `end`. This is useful when searching for another match in the same `subject` by calling this method again after a previous success. Note that setting these parameters differs from passing over a shortened string. For example, the start anchor `^` is not affected by `offset`, and the character before `offset` will be checked for the word boundary `\b`.
|
|
99
|
+
*/
|
|
100
|
+
searchAll(subject: string, offset?: number /* = 0 */, end?: number /* = -1 */): GodotArray<RegExMatch> { return _C(this, 10325, subject, offset, end) as GodotArray<RegExMatch>; }
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Searches the text for the compiled pattern and replaces it with the specified string. Escapes and backreferences such as `$1` and `$name` are expanded and resolved. By default, only the first instance is replaced, but it can be changed for all instances (global replacement).
|
|
104
|
+
* The region to search within can be specified with `offset` and `end`. This is useful when searching for another match in the same `subject` by calling this method again after a previous success. Note that setting these parameters differs from passing over a shortened string. For example, the start anchor `^` is not affected by `offset`, and the character before `offset` will be checked for the word boundary `\b`.
|
|
105
|
+
*/
|
|
106
|
+
sub(subject: string, replacement: string, all?: boolean /* = false */, offset?: number /* = 0 */, end?: number /* = -1 */): string { return _C(this, 13982, subject, replacement, all, offset, end) as string; }
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Returns whether this object has a valid search pattern assigned.
|
|
110
|
+
*/
|
|
111
|
+
isValid(): boolean { return _C(this, 8432) as boolean; }
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Returns the original search pattern that was compiled.
|
|
115
|
+
*/
|
|
116
|
+
getPattern(): string { return _C(this, 5867) as string; }
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Returns the number of capturing groups in compiled pattern.
|
|
120
|
+
*/
|
|
121
|
+
getGroupCount(): number { return _C(this, 4986) as number; }
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Returns an array of names of named capturing groups in the compiled pattern. They are ordered by appearance.
|
|
125
|
+
*/
|
|
126
|
+
getNames(): PackedStringArray { return _C(this, 5606) as PackedStringArray; }
|
|
127
|
+
|
|
128
|
+
static readonly name = _R(643, RegEx);
|
|
129
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// Auto-generated from extension_api.json - DO NOT EDIT
|
|
2
|
+
// Generated by dev/codegen.ts
|
|
3
|
+
|
|
4
|
+
import { _C, _R } from '../../src/runtime.ts';
|
|
5
|
+
import { RefCounted } from './RefCounted.ts';
|
|
6
|
+
import type { GodotDictionary, PackedStringArray, Variant } from '../heap-types/index.ts';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Contains the results of a single {@link RegEx} match returned by {@link RegEx.search} and {@link RegEx.searchAll}. It can be used to find the position and range of the match and its capturing groups, and it can extract its substring for you.
|
|
10
|
+
*/
|
|
11
|
+
export class RegExMatch extends RefCounted {
|
|
12
|
+
constructor(name = 644) { super(name); }
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Returns the number of capturing groups.
|
|
16
|
+
*/
|
|
17
|
+
getGroupCount(): number { return _C(this, 4986) as number; }
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Returns the substring of the match from the source string. Capturing groups can be retrieved by providing its group number as an integer or its string name (if it's a named group). The default value of 0 refers to the whole pattern.
|
|
21
|
+
* Returns an empty string if the group did not match or doesn't exist.
|
|
22
|
+
*/
|
|
23
|
+
getString(name?: Variant /* = 0 */): string { return _C(this, 6574, name) as string; }
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Returns the starting position of the match within the source string. The starting position of capturing groups can be retrieved by providing its group number as an integer or its string name (if it's a named group). The default value of 0 refers to the whole pattern.
|
|
27
|
+
* Returns -1 if the group did not match or doesn't exist.
|
|
28
|
+
*/
|
|
29
|
+
getStart(name?: Variant /* = 0 */): number { return _C(this, 6533, name) as number; }
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Returns the end position of the match within the source string. The end position of capturing groups can be retrieved by providing its group number as an integer or its string name (if it's a named group). The default value of 0 refers to the whole pattern.
|
|
33
|
+
* Returns -1 if the group did not match or doesn't exist.
|
|
34
|
+
*/
|
|
35
|
+
getEnd(name?: Variant /* = 0 */): number { return _C(this, 4660, name) as number; }
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The source string used with the search pattern to find this matching result.
|
|
39
|
+
*/
|
|
40
|
+
get subject(): string { return _C(this, 6601) as string; }
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* A dictionary of named groups and its corresponding group number. Only groups that were matched are included. If multiple groups have the same name, that name would refer to the first matching one.
|
|
44
|
+
*/
|
|
45
|
+
get names(): GodotDictionary { return _C(this, 5606) as GodotDictionary; }
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* An {@link Array} of the match and its capturing groups.
|
|
49
|
+
*/
|
|
50
|
+
get strings(): PackedStringArray { return _C(this, 6583) as PackedStringArray; }
|
|
51
|
+
|
|
52
|
+
static readonly name = _R(644, RegExMatch);
|
|
53
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Auto-generated from extension_api.json - DO NOT EDIT
|
|
2
|
+
// Generated by dev/codegen.ts
|
|
3
|
+
|
|
4
|
+
import { _C, _R } from '../../src/runtime.ts';
|
|
5
|
+
import { Node2D } from './Node2D.ts';
|
|
6
|
+
import type { NodePath } from '../heap-types/index.ts';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* RemoteTransform2D pushes its own {@link Transform2D} to another {@link Node2D} derived node (called the remote node) in the scene.
|
|
10
|
+
* It can be set to update another node's position, rotation and/or scale. It can use either global or local coordinates.
|
|
11
|
+
*/
|
|
12
|
+
export class RemoteTransform2D extends Node2D {
|
|
13
|
+
constructor(name = 645) { super(name); }
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* {@link RemoteTransform2D} caches the remote node. It may not notice if the remote node disappears; {@link forceUpdateCache} forces it to update the cache again.
|
|
17
|
+
*/
|
|
18
|
+
forceUpdateCache(): void { _C(this, 3540); }
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* The {@link NodePath} to the remote node, relative to the RemoteTransform2D's position in the scene.
|
|
22
|
+
*/
|
|
23
|
+
get remotePath(): NodePath { return _C(this, 6126) as NodePath; }
|
|
24
|
+
set remotePath(v: NodePath) { _C(this, 12517, v); }
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* If `true`, global coordinates are used. If `false`, local coordinates are used.
|
|
28
|
+
*/
|
|
29
|
+
get useGlobalCoordinates(): boolean { return _C(this, 6978) as boolean; }
|
|
30
|
+
set useGlobalCoordinates(v: boolean) { _C(this, 13217, v); }
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* If `true`, the remote node's position is updated.
|
|
34
|
+
*/
|
|
35
|
+
get updatePosition(): boolean { return _C(this, 6962) as boolean; }
|
|
36
|
+
set updatePosition(v: boolean) { _C(this, 13182, v); }
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* If `true`, the remote node's rotation is updated.
|
|
40
|
+
*/
|
|
41
|
+
get updateRotation(): boolean { return _C(this, 6963) as boolean; }
|
|
42
|
+
set updateRotation(v: boolean) { _C(this, 13183, v); }
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* If `true`, the remote node's scale is updated.
|
|
46
|
+
*/
|
|
47
|
+
get updateScale(): boolean { return _C(this, 6964) as boolean; }
|
|
48
|
+
set updateScale(v: boolean) { _C(this, 13184, v); }
|
|
49
|
+
|
|
50
|
+
static readonly name = _R(645, RemoteTransform2D);
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Auto-generated from extension_api.json - DO NOT EDIT
|
|
2
|
+
// Generated by dev/codegen.ts
|
|
3
|
+
|
|
4
|
+
import { _C, _R } from '../../src/runtime.ts';
|
|
5
|
+
import { Node3D } from './Node3D.ts';
|
|
6
|
+
import type { NodePath } from '../heap-types/index.ts';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* RemoteTransform3D pushes its own {@link Transform3D} to another {@link Node3D} derived Node (called the remote node) in the scene.
|
|
10
|
+
* It can be set to update another Node's position, rotation and/or scale. It can use either global or local coordinates.
|
|
11
|
+
*/
|
|
12
|
+
export class RemoteTransform3D extends Node3D {
|
|
13
|
+
constructor(name = 646) { super(name); }
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* {@link RemoteTransform3D} caches the remote node. It may not notice if the remote node disappears; {@link forceUpdateCache} forces it to update the cache again.
|
|
17
|
+
*/
|
|
18
|
+
forceUpdateCache(): void { _C(this, 3540); }
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* The {@link NodePath} to the remote node, relative to the RemoteTransform3D's position in the scene.
|
|
22
|
+
*/
|
|
23
|
+
get remotePath(): NodePath { return _C(this, 6126) as NodePath; }
|
|
24
|
+
set remotePath(v: NodePath) { _C(this, 12517, v); }
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* If `true`, global coordinates are used. If `false`, local coordinates are used.
|
|
28
|
+
*/
|
|
29
|
+
get useGlobalCoordinates(): boolean { return _C(this, 6978) as boolean; }
|
|
30
|
+
set useGlobalCoordinates(v: boolean) { _C(this, 13217, v); }
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* If `true`, the remote node's position is updated.
|
|
34
|
+
*/
|
|
35
|
+
get updatePosition(): boolean { return _C(this, 6962) as boolean; }
|
|
36
|
+
set updatePosition(v: boolean) { _C(this, 13182, v); }
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* If `true`, the remote node's rotation is updated.
|
|
40
|
+
*/
|
|
41
|
+
get updateRotation(): boolean { return _C(this, 6963) as boolean; }
|
|
42
|
+
set updateRotation(v: boolean) { _C(this, 13183, v); }
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* If `true`, the remote node's scale is updated.
|
|
46
|
+
*/
|
|
47
|
+
get updateScale(): boolean { return _C(this, 6964) as boolean; }
|
|
48
|
+
set updateScale(v: boolean) { _C(this, 13184, v); }
|
|
49
|
+
|
|
50
|
+
static readonly name = _R(646, RemoteTransform3D);
|
|
51
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Auto-generated from extension_api.json - DO NOT EDIT
|
|
2
|
+
// Generated by dev/codegen.ts
|
|
3
|
+
|
|
4
|
+
import { _C, _R } from '../../src/runtime.ts';
|
|
5
|
+
import { Object } from './Object.ts';
|
|
6
|
+
import type { RID } from '../heap-types/index.ts';
|
|
7
|
+
import type { RenderSceneBuffers } from './RenderSceneBuffers.ts';
|
|
8
|
+
import type { RenderSceneData } from './RenderSceneData.ts';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Abstract render data object, exists for the duration of rendering a single viewport. See also {@link RenderDataRD}, {@link RenderSceneData}, and {@link RenderSceneDataRD}.
|
|
12
|
+
* **Note:** This is an internal rendering server object. Do not instantiate this class from a script.
|
|
13
|
+
*/
|
|
14
|
+
export class RenderData extends Object {
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Returns the {@link RenderSceneBuffers} object managing the scene buffers for rendering this viewport.
|
|
18
|
+
*/
|
|
19
|
+
getRenderSceneBuffers(): RenderSceneBuffers { return _C(this, 6132) as RenderSceneBuffers; }
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Returns the {@link RenderSceneData} object managing this frames scene data.
|
|
23
|
+
*/
|
|
24
|
+
getRenderSceneData(): RenderSceneData { return _C(this, 6133) as RenderSceneData; }
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Returns the {@link RID} of the environment object in the {@link RenderingServer} being used to render this viewport.
|
|
28
|
+
*/
|
|
29
|
+
getEnvironment(): RID { return _C(this, 4678) as RID; }
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Returns the {@link RID} of the camera attributes object in the {@link RenderingServer} being used to render this viewport.
|
|
33
|
+
*/
|
|
34
|
+
getCameraAttributes(): RID { return _C(this, 4063) as RID; }
|
|
35
|
+
|
|
36
|
+
static readonly name = _R(647, RenderData);
|
|
37
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Auto-generated from extension_api.json - DO NOT EDIT
|
|
2
|
+
// Generated by dev/codegen.ts
|
|
3
|
+
|
|
4
|
+
import { _C, _R } from '../../src/runtime.ts';
|
|
5
|
+
import { RenderData } from './RenderData.ts';
|
|
6
|
+
import type { RID } from '../heap-types/index.ts';
|
|
7
|
+
import type { RenderSceneBuffers } from './RenderSceneBuffers.ts';
|
|
8
|
+
import type { RenderSceneData } from './RenderSceneData.ts';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* This class allows for a RenderData implementation to be made in GDExtension.
|
|
12
|
+
*/
|
|
13
|
+
export class RenderDataExtension extends RenderData {
|
|
14
|
+
constructor(name = 648) { super(name); }
|
|
15
|
+
|
|
16
|
+
static readonly name = _R(648, RenderDataExtension);
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Auto-generated from extension_api.json - DO NOT EDIT
|
|
2
|
+
// Generated by dev/codegen.ts
|
|
3
|
+
|
|
4
|
+
import { _C, _R } from '../../src/runtime.ts';
|
|
5
|
+
import { RenderData } from './RenderData.ts';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* This object manages all render data for the {@link RenderingDevice}-based renderers. See also {@link RenderData}, {@link RenderSceneData}, and {@link RenderSceneDataRD}.
|
|
9
|
+
* **Note:** This is an internal rendering server object. Do not instantiate this class from a script.
|
|
10
|
+
*/
|
|
11
|
+
export class RenderDataRD extends RenderData {
|
|
12
|
+
constructor(name = 649) { super(name); }
|
|
13
|
+
|
|
14
|
+
static readonly name = _R(649, RenderDataRD);
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Auto-generated from extension_api.json - DO NOT EDIT
|
|
2
|
+
// Generated by dev/codegen.ts
|
|
3
|
+
|
|
4
|
+
import { _C, _R } from '../../src/runtime.ts';
|
|
5
|
+
import { RefCounted } from './RefCounted.ts';
|
|
6
|
+
import type { RenderSceneBuffersConfiguration } from './RenderSceneBuffersConfiguration.ts';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Abstract scene buffers object, created for each viewport for which 3D rendering is done. It manages any additional buffers used during rendering and will discard buffers when the viewport is resized. See also {@link RenderSceneBuffersRD}.
|
|
10
|
+
* **Note:** This is an internal rendering server object. Do not instantiate this class from a script.
|
|
11
|
+
*/
|
|
12
|
+
export class RenderSceneBuffers extends RefCounted {
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* This method is called by the rendering server when the associated viewport's configuration is changed. It will discard the old buffers and recreate the internal buffers used.
|
|
16
|
+
*/
|
|
17
|
+
configure(config: RenderSceneBuffersConfiguration): void { _C(this, 2430, config); }
|
|
18
|
+
|
|
19
|
+
static readonly name = _R(650, RenderSceneBuffers);
|
|
20
|
+
}
|