@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
|
@@ -14,244 +14,244 @@ export class BaseMaterial3D extends Material {
|
|
|
14
14
|
/**
|
|
15
15
|
* The material's transparency mode. Some transparency modes will disable shadow casting. Any transparency mode other than {@link TRANSPARENCY_DISABLED} has a greater performance impact compared to opaque rendering. See also {@link blendMode}.
|
|
16
16
|
*/
|
|
17
|
-
get transparency(): Transparency { return _C(this,
|
|
18
|
-
set transparency(v: Transparency) { _C(this,
|
|
17
|
+
get transparency(): Transparency { return _C(this, 7038) as Transparency; }
|
|
18
|
+
set transparency(v: Transparency) { _C(this, 13420, v); }
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Threshold at which the alpha scissor will discard values. Higher values will result in more pixels being discarded. If the material becomes too opaque at a distance, try increasing {@link alphaScissorThreshold}. If the material disappears at a distance, try decreasing {@link alphaScissorThreshold}.
|
|
22
22
|
*/
|
|
23
|
-
get alphaScissorThreshold(): number { return _C(this,
|
|
24
|
-
set alphaScissorThreshold(v: number) { _C(this,
|
|
23
|
+
get alphaScissorThreshold(): number { return _C(this, 3796) as number; }
|
|
24
|
+
set alphaScissorThreshold(v: number) { _C(this, 10688, v); }
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* The hashing scale for Alpha Hash. Recommended values between `0` and `2`.
|
|
28
28
|
*/
|
|
29
|
-
get alphaHashScale(): number { return _C(this,
|
|
30
|
-
set alphaHashScale(v: number) { _C(this,
|
|
29
|
+
get alphaHashScale(): number { return _C(this, 3795) as number; }
|
|
30
|
+
set alphaHashScale(v: number) { _C(this, 10687, v); }
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* The type of alpha antialiasing to apply.
|
|
34
34
|
*/
|
|
35
|
-
get alphaAntialiasingMode(): AlphaAntiAliasing { return _C(this,
|
|
36
|
-
set alphaAntialiasingMode(v: AlphaAntiAliasing) { _C(this,
|
|
35
|
+
get alphaAntialiasingMode(): AlphaAntiAliasing { return _C(this, 3789) as AlphaAntiAliasing; }
|
|
36
|
+
set alphaAntialiasingMode(v: AlphaAntiAliasing) { _C(this, 10681, v); }
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Threshold at which antialiasing will be applied on the alpha channel.
|
|
40
40
|
*/
|
|
41
|
-
get alphaAntialiasingEdge(): number { return _C(this,
|
|
42
|
-
set alphaAntialiasingEdge(v: number) { _C(this,
|
|
41
|
+
get alphaAntialiasingEdge(): number { return _C(this, 3790) as number; }
|
|
42
|
+
set alphaAntialiasingEdge(v: number) { _C(this, 10682, v); }
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* The material's blend mode.
|
|
46
46
|
* **Note:** Values other than `Mix` force the object into the transparent pipeline.
|
|
47
47
|
*/
|
|
48
|
-
get blendMode(): BlendMode { return _C(this,
|
|
49
|
-
set blendMode(v: BlendMode) { _C(this,
|
|
48
|
+
get blendMode(): BlendMode { return _C(this, 4000) as BlendMode; }
|
|
49
|
+
set blendMode(v: BlendMode) { _C(this, 10897, v); }
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* Determines which side of the triangle to cull depending on whether the triangle faces towards or away from the camera.
|
|
53
53
|
*/
|
|
54
|
-
get cullMode(): CullMode { return _C(this,
|
|
55
|
-
set cullMode(v: CullMode) { _C(this,
|
|
54
|
+
get cullMode(): CullMode { return _C(this, 4418) as CullMode; }
|
|
55
|
+
set cullMode(v: CullMode) { _C(this, 11209, v); }
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* Determines when depth rendering takes place. See also {@link transparency}.
|
|
59
59
|
*/
|
|
60
|
-
get depthDrawMode(): DepthDrawMode { return _C(this,
|
|
61
|
-
set depthDrawMode(v: DepthDrawMode) { _C(this,
|
|
60
|
+
get depthDrawMode(): DepthDrawMode { return _C(this, 4554) as DepthDrawMode; }
|
|
61
|
+
set depthDrawMode(v: DepthDrawMode) { _C(this, 11318, v); }
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* If `true`, depth testing is disabled and the object will be drawn in render order.
|
|
65
65
|
*/
|
|
66
|
-
get noDepthTest(): boolean { return _C(this,
|
|
67
|
-
set noDepthTest(v: boolean) { _C(this,
|
|
66
|
+
get noDepthTest(): boolean { return _C(this, 4888, 0) as boolean; }
|
|
67
|
+
set noDepthTest(v: boolean) { _C(this, 11642, 0, v); }
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
70
|
* Determines which comparison operator is used when testing depth.
|
|
71
71
|
* **Note:** Changing {@link depthTest} to a non-default value only has a visible effect when used on a transparent material, or a material that has {@link depthDrawMode} set to {@link DEPTH_DRAW_DISABLED}.
|
|
72
72
|
*/
|
|
73
|
-
get depthTest(): DepthTest { return _C(this,
|
|
74
|
-
set depthTest(v: DepthTest) { _C(this,
|
|
73
|
+
get depthTest(): DepthTest { return _C(this, 4560) as DepthTest; }
|
|
74
|
+
set depthTest(v: DepthTest) { _C(this, 11323, v); }
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* Sets whether the shading takes place, per-pixel, per-vertex or unshaded. Per-vertex lighting is faster, making it the best choice for mobile applications, however it looks considerably worse than per-pixel. Unshaded rendering is the fastest, but disables all interactions with lights.
|
|
78
78
|
*/
|
|
79
|
-
get shadingMode(): ShadingMode { return _C(this,
|
|
80
|
-
set shadingMode(v: ShadingMode) { _C(this,
|
|
79
|
+
get shadingMode(): ShadingMode { return _C(this, 6483) as ShadingMode; }
|
|
80
|
+
set shadingMode(v: ShadingMode) { _C(this, 12970, v); }
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* The algorithm used for diffuse light scattering.
|
|
84
84
|
*/
|
|
85
|
-
get diffuseMode(): DiffuseMode { return _C(this,
|
|
86
|
-
set diffuseMode(v: DiffuseMode) { _C(this,
|
|
85
|
+
get diffuseMode(): DiffuseMode { return _C(this, 4583) as DiffuseMode; }
|
|
86
|
+
set diffuseMode(v: DiffuseMode) { _C(this, 11339, v); }
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
89
|
* The method for rendering the specular blob.
|
|
90
90
|
* **Note:** {@link specularMode} only applies to the specular blob. It does not affect specular reflections from the sky, screen-space reflections, {@link VoxelGI}, SDFGI or {@link ReflectionProbe}s. To disable reflections from these sources as well, set {@link metallicSpecular} to `0.0` instead.
|
|
91
91
|
*/
|
|
92
|
-
get specularMode(): SpecularMode { return _C(this,
|
|
93
|
-
set specularMode(v: SpecularMode) { _C(this,
|
|
92
|
+
get specularMode(): SpecularMode { return _C(this, 6624) as SpecularMode; }
|
|
93
|
+
set specularMode(v: SpecularMode) { _C(this, 13105, v); }
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* If `true`, the object receives no ambient light.
|
|
97
97
|
*/
|
|
98
|
-
get disableAmbientLight(): boolean { return _C(this,
|
|
99
|
-
set disableAmbientLight(v: boolean) { _C(this,
|
|
98
|
+
get disableAmbientLight(): boolean { return _C(this, 4888, 14) as boolean; }
|
|
99
|
+
set disableAmbientLight(v: boolean) { _C(this, 11642, 14, v); }
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* If `true`, the object will not be affected by fog (neither volumetric nor depth fog). This is useful for unshaded or transparent materials (e.g. particles), which without this setting will be affected even if fully transparent.
|
|
103
103
|
*/
|
|
104
|
-
get disableFog(): boolean { return _C(this,
|
|
105
|
-
set disableFog(v: boolean) { _C(this,
|
|
104
|
+
get disableFog(): boolean { return _C(this, 4888, 21) as boolean; }
|
|
105
|
+
set disableFog(v: boolean) { _C(this, 11642, 21, v); }
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
108
|
* If `true`, disables specular occlusion even if {@link ProjectSettings.rendering/reflections/specularOcclusion/enabled} is `false`.
|
|
109
109
|
*/
|
|
110
|
-
get disableSpecularOcclusion(): boolean { return _C(this,
|
|
111
|
-
set disableSpecularOcclusion(v: boolean) { _C(this,
|
|
110
|
+
get disableSpecularOcclusion(): boolean { return _C(this, 4888, 22) as boolean; }
|
|
111
|
+
set disableSpecularOcclusion(v: boolean) { _C(this, 11642, 22, v); }
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* If `true`, the vertex color is used as albedo color.
|
|
115
115
|
*/
|
|
116
|
-
get vertexColorUseAsAlbedo(): boolean { return _C(this,
|
|
117
|
-
set vertexColorUseAsAlbedo(v: boolean) { _C(this,
|
|
116
|
+
get vertexColorUseAsAlbedo(): boolean { return _C(this, 4888, 1) as boolean; }
|
|
117
|
+
set vertexColorUseAsAlbedo(v: boolean) { _C(this, 11642, 1, v); }
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* If `true`, vertex colors are considered to be stored in nonlinear sRGB encoding and are converted to linear encoding during rendering. If `false`, vertex colors are considered to be stored in linear encoding and are rendered as-is. See also {@link albedoTextureForceSrgb}.
|
|
121
121
|
* **Note:** Only effective when using the Forward+ and Mobile rendering methods, not Compatibility.
|
|
122
122
|
*/
|
|
123
|
-
get vertexColorIsSrgb(): boolean { return _C(this,
|
|
124
|
-
set vertexColorIsSrgb(v: boolean) { _C(this,
|
|
123
|
+
get vertexColorIsSrgb(): boolean { return _C(this, 4888, 2) as boolean; }
|
|
124
|
+
set vertexColorIsSrgb(v: boolean) { _C(this, 11642, 2, v); }
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* The material's base color.
|
|
128
128
|
* **Note:** If {@link detailEnabled} is `true` and a {@link detailAlbedo} texture is specified, {@link albedoColor} will *not* modulate the detail texture. This can be used to color partial areas of a material by not specifying an albedo texture and using a transparent {@link detailAlbedo} texture instead.
|
|
129
129
|
*/
|
|
130
|
-
get albedoColor(): Color { return _C(this,
|
|
131
|
-
set albedoColor(v: Color) { _C(this,
|
|
130
|
+
get albedoColor(): Color { return _C(this, 3776) as Color; }
|
|
131
|
+
set albedoColor(v: Color) { _C(this, 10663, v); }
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* Texture to multiply by {@link albedoColor}. Used for basic texturing of objects.
|
|
135
135
|
* If the texture appears unexpectedly too dark or too bright, check {@link albedoTextureForceSrgb}.
|
|
136
136
|
*/
|
|
137
|
-
get albedoTexture(): Texture2D { return _C(this,
|
|
138
|
-
set albedoTexture(v: Texture2D) { _C(this,
|
|
137
|
+
get albedoTexture(): Texture2D { return _C(this, 6860, 0) as Texture2D; }
|
|
138
|
+
set albedoTexture(v: Texture2D) { _C(this, 13294, 0, v); }
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* If `true`, forces a conversion of the {@link albedoTexture} from nonlinear sRGB encoding to linear encoding. See also {@link vertexColorIsSrgb}.
|
|
142
142
|
* This should only be enabled when needed (typically when using a {@link ViewportTexture} as {@link albedoTexture}). If {@link albedoTextureForceSrgb} is `true` when it shouldn't be, the texture will appear to be too dark. If {@link albedoTextureForceSrgb} is `false` when it shouldn't be, the texture will appear to be too bright.
|
|
143
143
|
*/
|
|
144
|
-
get albedoTextureForceSrgb(): boolean { return _C(this,
|
|
145
|
-
set albedoTextureForceSrgb(v: boolean) { _C(this,
|
|
144
|
+
get albedoTextureForceSrgb(): boolean { return _C(this, 4888, 12) as boolean; }
|
|
145
|
+
set albedoTextureForceSrgb(v: boolean) { _C(this, 11642, 12, v); }
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* Enables multichannel signed distance field rendering shader. Use {@link msdfPixelRange} and {@link msdfOutlineSize} to configure MSDF parameters.
|
|
149
149
|
*/
|
|
150
|
-
get albedoTextureMsdf(): boolean { return _C(this,
|
|
151
|
-
set albedoTextureMsdf(v: boolean) { _C(this,
|
|
150
|
+
get albedoTextureMsdf(): boolean { return _C(this, 4888, 20) as boolean; }
|
|
151
|
+
set albedoTextureMsdf(v: boolean) { _C(this, 11642, 20, v); }
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* The Occlusion/Roughness/Metallic texture to use. This is a more efficient replacement of {@link aoTexture}, {@link roughnessTexture} and {@link metallicTexture} in {@link ORMMaterial3D}. Ambient occlusion is stored in the red channel. Roughness map is stored in the green channel. Metallic map is stored in the blue channel. The alpha channel is ignored.
|
|
155
155
|
*/
|
|
156
|
-
get ormTexture(): Texture2D { return _C(this,
|
|
157
|
-
set ormTexture(v: Texture2D) { _C(this,
|
|
156
|
+
get ormTexture(): Texture2D { return _C(this, 6860, 17) as Texture2D; }
|
|
157
|
+
set ormTexture(v: Texture2D) { _C(this, 13294, 17, v); }
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* A high value makes the material appear more like a metal. Non-metals use their albedo as the diffuse color and add diffuse to the specular reflection. With non-metals, the reflection appears on top of the albedo color. Metals use their albedo as a multiplier to the specular reflection and set the diffuse color to black resulting in a tinted reflection. Materials work better when fully metal or fully non-metal, values between `0` and `1` should only be used for blending between metal and non-metal sections. To alter the amount of reflection use {@link roughness}.
|
|
161
161
|
*/
|
|
162
|
-
get metallic(): number { return _C(this,
|
|
163
|
-
set metallic(v: number) { _C(this,
|
|
162
|
+
get metallic(): number { return _C(this, 5630) as number; }
|
|
163
|
+
set metallic(v: number) { _C(this, 12291, v); }
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* Adjusts the strength of specular reflections. Specular reflections are composed of scene reflections and the specular lobe which is the bright spot that is reflected from light sources. When set to `0.0`, no specular reflections will be visible. This differs from the {@link SPECULAR_DISABLED} {@link SpecularMode} as {@link SPECULAR_DISABLED} only applies to the specular lobe from the light source.
|
|
167
167
|
* **Note:** Unlike {@link metallic}, this is not energy-conserving, so it should be left at `0.5` in most cases. See also {@link roughness}.
|
|
168
168
|
*/
|
|
169
|
-
get metallicSpecular(): number { return _C(this,
|
|
170
|
-
set metallicSpecular(v: number) { _C(this,
|
|
169
|
+
get metallicSpecular(): number { return _C(this, 6620) as number; }
|
|
170
|
+
set metallicSpecular(v: number) { _C(this, 13101, v); }
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* Texture used to specify metallic for an object. This is multiplied by {@link metallic}.
|
|
174
174
|
*/
|
|
175
|
-
get metallicTexture(): Texture2D { return _C(this,
|
|
176
|
-
set metallicTexture(v: Texture2D) { _C(this,
|
|
175
|
+
get metallicTexture(): Texture2D { return _C(this, 6860, 1) as Texture2D; }
|
|
176
|
+
set metallicTexture(v: Texture2D) { _C(this, 13294, 1, v); }
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
179
|
* Specifies the channel of the {@link metallicTexture} in which the metallic information is stored. This is useful when you store the information for multiple effects in a single texture. For example if you stored metallic in the red channel, roughness in the blue, and ambient occlusion in the green you could reduce the number of textures you use.
|
|
180
180
|
*/
|
|
181
|
-
get metallicTextureChannel(): TextureChannel { return _C(this,
|
|
182
|
-
set metallicTextureChannel(v: TextureChannel) { _C(this,
|
|
181
|
+
get metallicTextureChannel(): TextureChannel { return _C(this, 5631) as TextureChannel; }
|
|
182
|
+
set metallicTextureChannel(v: TextureChannel) { _C(this, 12292, v); }
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
185
|
* Surface reflection. A value of `0` represents a perfect mirror while a value of `1` completely blurs the reflection. See also {@link metallic}.
|
|
186
186
|
*/
|
|
187
|
-
get roughness(): number { return _C(this,
|
|
188
|
-
set roughness(v: number) { _C(this,
|
|
187
|
+
get roughness(): number { return _C(this, 6341) as number; }
|
|
188
|
+
set roughness(v: number) { _C(this, 12858, v); }
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* Texture used to control the roughness per-pixel. Multiplied by {@link roughness}.
|
|
192
192
|
*/
|
|
193
|
-
get roughnessTexture(): Texture2D { return _C(this,
|
|
194
|
-
set roughnessTexture(v: Texture2D) { _C(this,
|
|
193
|
+
get roughnessTexture(): Texture2D { return _C(this, 6860, 2) as Texture2D; }
|
|
194
|
+
set roughnessTexture(v: Texture2D) { _C(this, 13294, 2, v); }
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
197
|
* Specifies the channel of the {@link roughnessTexture} in which the roughness information is stored. This is useful when you store the information for multiple effects in a single texture. For example if you stored metallic in the red channel, roughness in the blue, and ambient occlusion in the green you could reduce the number of textures you use.
|
|
198
198
|
*/
|
|
199
|
-
get roughnessTextureChannel(): TextureChannel { return _C(this,
|
|
200
|
-
set roughnessTextureChannel(v: TextureChannel) { _C(this,
|
|
199
|
+
get roughnessTextureChannel(): TextureChannel { return _C(this, 6342) as TextureChannel; }
|
|
200
|
+
set roughnessTextureChannel(v: TextureChannel) { _C(this, 12859, v); }
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* If `true`, the body emits light. Emitting light makes the object appear brighter. The object can also cast light on other objects if a {@link VoxelGI}, SDFGI, or {@link LightmapGI} is used and this object is used in baked lighting.
|
|
204
204
|
*/
|
|
205
|
-
get emissionEnabled(): boolean { return _C(this,
|
|
206
|
-
set emissionEnabled(v: boolean) { _C(this,
|
|
205
|
+
get emissionEnabled(): boolean { return _C(this, 4843, 0) as boolean; }
|
|
206
|
+
set emissionEnabled(v: boolean) { _C(this, 11602, 0, v); }
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
209
|
* The emitted light's color. See {@link emissionEnabled}.
|
|
210
210
|
*/
|
|
211
|
-
get emission(): Color { return _C(this,
|
|
212
|
-
set emission(v: Color) { _C(this,
|
|
211
|
+
get emission(): Color { return _C(this, 4694) as Color; }
|
|
212
|
+
set emission(v: Color) { _C(this, 11459, v); }
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* Multiplier for emitted light. See {@link emissionEnabled}.
|
|
216
216
|
*/
|
|
217
|
-
get emissionEnergyMultiplier(): number { return _C(this,
|
|
218
|
-
set emissionEnergyMultiplier(v: number) { _C(this,
|
|
217
|
+
get emissionEnergyMultiplier(): number { return _C(this, 4702) as number; }
|
|
218
|
+
set emissionEnergyMultiplier(v: number) { _C(this, 11468, v); }
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
221
|
* Luminance of emitted light, measured in nits (candela per square meter). Only available when {@link ProjectSettings.rendering/lightsAndShadows/usePhysicalLightUnits} is enabled. The default is roughly equivalent to an indoor lightbulb.
|
|
222
222
|
*/
|
|
223
|
-
get emissionIntensity(): number { return _C(this,
|
|
224
|
-
set emissionIntensity(v: number) { _C(this,
|
|
223
|
+
get emissionIntensity(): number { return _C(this, 4703) as number; }
|
|
224
|
+
set emissionIntensity(v: number) { _C(this, 11469, v); }
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Sets how {@link emission} interacts with {@link emissionTexture}. Can either add or multiply.
|
|
228
228
|
*/
|
|
229
|
-
get emissionOperator(): EmissionOperator { return _C(this,
|
|
230
|
-
set emissionOperator(v: EmissionOperator) { _C(this,
|
|
229
|
+
get emissionOperator(): EmissionOperator { return _C(this, 4706) as EmissionOperator; }
|
|
230
|
+
set emissionOperator(v: EmissionOperator) { _C(this, 11472, v); }
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
233
|
* Use `UV2` to read from the {@link emissionTexture}.
|
|
234
234
|
*/
|
|
235
|
-
get emissionOnUv2(): boolean { return _C(this,
|
|
236
|
-
set emissionOnUv2(v: boolean) { _C(this,
|
|
235
|
+
get emissionOnUv2(): boolean { return _C(this, 4888, 11) as boolean; }
|
|
236
|
+
set emissionOnUv2(v: boolean) { _C(this, 11642, 11, v); }
|
|
237
237
|
|
|
238
238
|
/**
|
|
239
239
|
* Texture that specifies how much surface emits light at a given point.
|
|
240
240
|
*/
|
|
241
|
-
get emissionTexture(): Texture2D { return _C(this,
|
|
242
|
-
set emissionTexture(v: Texture2D) { _C(this,
|
|
241
|
+
get emissionTexture(): Texture2D { return _C(this, 6860, 3) as Texture2D; }
|
|
242
|
+
set emissionTexture(v: Texture2D) { _C(this, 13294, 3, v); }
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
245
|
* If `true`, normal mapping is enabled. This has a slight performance cost, especially on mobile GPUs.
|
|
246
246
|
*/
|
|
247
|
-
get normalEnabled(): boolean { return _C(this,
|
|
248
|
-
set normalEnabled(v: boolean) { _C(this,
|
|
247
|
+
get normalEnabled(): boolean { return _C(this, 4843, 1) as boolean; }
|
|
248
|
+
set normalEnabled(v: boolean) { _C(this, 11602, 1, v); }
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
251
|
* The strength of the normal map's effect.
|
|
252
252
|
*/
|
|
253
|
-
get normalScale(): number { return _C(this,
|
|
254
|
-
set normalScale(v: number) { _C(this,
|
|
253
|
+
get normalScale(): number { return _C(this, 5786) as number; }
|
|
254
|
+
set normalScale(v: number) { _C(this, 12405, v); }
|
|
255
255
|
|
|
256
256
|
/**
|
|
257
257
|
* Texture used to specify the normal at a given pixel. The {@link normalTexture} only uses the red and green channels; the blue and alpha channels are ignored. The normal read from {@link normalTexture} is oriented around the surface normal provided by the {@link Mesh}.
|
|
@@ -259,14 +259,14 @@ export class BaseMaterial3D extends Material {
|
|
|
259
259
|
* **Note:** Godot expects the normal map to use X+, Y+, and Z+ coordinates. See [this page](http://wiki.polycount.com/wiki/Normal_Map_Technical_Details#Common_Swizzle_Coordinates) for a comparison of normal map coordinates expected by popular engines.
|
|
260
260
|
* **Note:** If {@link detailEnabled} is `true`, the {@link detailAlbedo} texture is drawn *below* the {@link normalTexture}. To display a normal map *above* the {@link detailAlbedo} texture, use {@link detailNormal} instead.
|
|
261
261
|
*/
|
|
262
|
-
get normalTexture(): Texture2D { return _C(this,
|
|
263
|
-
set normalTexture(v: Texture2D) { _C(this,
|
|
262
|
+
get normalTexture(): Texture2D { return _C(this, 6860, 4) as Texture2D; }
|
|
263
|
+
set normalTexture(v: Texture2D) { _C(this, 13294, 4, v); }
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
266
|
* If `true`, the bent normal map is enabled. This allows for more accurate indirect lighting and specular occlusion.
|
|
267
267
|
*/
|
|
268
|
-
get bentNormalEnabled(): boolean { return _C(this,
|
|
269
|
-
set bentNormalEnabled(v: boolean) { _C(this,
|
|
268
|
+
get bentNormalEnabled(): boolean { return _C(this, 4843, 12) as boolean; }
|
|
269
|
+
set bentNormalEnabled(v: boolean) { _C(this, 11602, 12, v); }
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
272
|
* Texture that specifies the average direction of incoming ambient light at a given pixel. The {@link bentNormalTexture} only uses the red and green channels; the blue and alpha channels are ignored. The normal read from {@link bentNormalTexture} is oriented around the surface normal provided by the {@link Mesh}.
|
|
@@ -274,569 +274,579 @@ export class BaseMaterial3D extends Material {
|
|
|
274
274
|
* **Note:** The mesh must have both normals and tangents defined in its vertex data. Otherwise, the shading produced by the bent normal map will not look correct. If creating geometry with {@link SurfaceTool}, you can use {@link SurfaceTool.generateNormals} and {@link SurfaceTool.generateTangents} to automatically generate normals and tangents respectively.
|
|
275
275
|
* **Note:** Godot expects the bent normal map to use X+, Y+, and Z+ coordinates. See [this page](http://wiki.polycount.com/wiki/Normal_Map_Technical_Details#Common_Swizzle_Coordinates) for a comparison of normal map coordinates expected by popular engines.
|
|
276
276
|
*/
|
|
277
|
-
get bentNormalTexture(): Texture2D { return _C(this,
|
|
278
|
-
set bentNormalTexture(v: Texture2D) { _C(this,
|
|
277
|
+
get bentNormalTexture(): Texture2D { return _C(this, 6860, 18) as Texture2D; }
|
|
278
|
+
set bentNormalTexture(v: Texture2D) { _C(this, 13294, 18, v); }
|
|
279
279
|
|
|
280
280
|
/**
|
|
281
281
|
* If `true`, rim effect is enabled. Rim lighting increases the brightness at glancing angles on an object.
|
|
282
282
|
* **Note:** Rim lighting is not visible if the material's {@link shadingMode} is {@link SHADING_MODE_UNSHADED}.
|
|
283
283
|
*/
|
|
284
|
-
get rimEnabled(): boolean { return _C(this,
|
|
285
|
-
set rimEnabled(v: boolean) { _C(this,
|
|
284
|
+
get rimEnabled(): boolean { return _C(this, 4843, 2) as boolean; }
|
|
285
|
+
set rimEnabled(v: boolean) { _C(this, 11602, 2, v); }
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* Sets the strength of the rim lighting effect.
|
|
289
289
|
*/
|
|
290
|
-
get rim(): number { return _C(this,
|
|
291
|
-
set rim(v: number) { _C(this,
|
|
290
|
+
get rim(): number { return _C(this, 6303) as number; }
|
|
291
|
+
set rim(v: number) { _C(this, 12822, v); }
|
|
292
292
|
|
|
293
293
|
/**
|
|
294
294
|
* The amount of to blend light and albedo color when rendering rim effect. If `0` the light color is used, while `1` means albedo color is used. An intermediate value generally works best.
|
|
295
295
|
*/
|
|
296
|
-
get rimTint(): number { return _C(this,
|
|
297
|
-
set rimTint(v: number) { _C(this,
|
|
296
|
+
get rimTint(): number { return _C(this, 6304) as number; }
|
|
297
|
+
set rimTint(v: number) { _C(this, 12823, v); }
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
300
|
* Texture used to set the strength of the rim lighting effect per-pixel. Multiplied by {@link rim}.
|
|
301
301
|
*/
|
|
302
|
-
get rimTexture(): Texture2D { return _C(this,
|
|
303
|
-
set rimTexture(v: Texture2D) { _C(this,
|
|
302
|
+
get rimTexture(): Texture2D { return _C(this, 6860, 5) as Texture2D; }
|
|
303
|
+
set rimTexture(v: Texture2D) { _C(this, 13294, 5, v); }
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* If `true`, clearcoat rendering is enabled. Adds a secondary transparent pass to the lighting calculation resulting in an added specular blob. This makes materials appear as if they have a clear layer on them that can be either glossy or rough.
|
|
307
307
|
* **Note:** Clearcoat rendering is not visible if the material's {@link shadingMode} is {@link SHADING_MODE_UNSHADED}.
|
|
308
308
|
*/
|
|
309
|
-
get clearcoatEnabled(): boolean { return _C(this,
|
|
310
|
-
set clearcoatEnabled(v: boolean) { _C(this,
|
|
309
|
+
get clearcoatEnabled(): boolean { return _C(this, 4843, 3) as boolean; }
|
|
310
|
+
set clearcoatEnabled(v: boolean) { _C(this, 11602, 3, v); }
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
313
|
* Sets the strength of the clearcoat effect. Setting to `0` looks the same as disabling the clearcoat effect.
|
|
314
314
|
*/
|
|
315
|
-
get clearcoat(): number { return _C(this,
|
|
316
|
-
set clearcoat(v: number) { _C(this,
|
|
315
|
+
get clearcoat(): number { return _C(this, 4229) as number; }
|
|
316
|
+
set clearcoat(v: number) { _C(this, 11082, v); }
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
319
|
* Sets the roughness of the clearcoat pass. A higher value results in a rougher clearcoat while a lower value results in a smoother clearcoat.
|
|
320
320
|
*/
|
|
321
|
-
get clearcoatRoughness(): number { return _C(this,
|
|
322
|
-
set clearcoatRoughness(v: number) { _C(this,
|
|
321
|
+
get clearcoatRoughness(): number { return _C(this, 4230) as number; }
|
|
322
|
+
set clearcoatRoughness(v: number) { _C(this, 11083, v); }
|
|
323
323
|
|
|
324
324
|
/**
|
|
325
325
|
* Texture that defines the strength of the clearcoat effect and the glossiness of the clearcoat. Strength is specified in the red channel while glossiness is specified in the green channel.
|
|
326
326
|
*/
|
|
327
|
-
get clearcoatTexture(): Texture2D { return _C(this,
|
|
328
|
-
set clearcoatTexture(v: Texture2D) { _C(this,
|
|
327
|
+
get clearcoatTexture(): Texture2D { return _C(this, 6860, 6) as Texture2D; }
|
|
328
|
+
set clearcoatTexture(v: Texture2D) { _C(this, 13294, 6, v); }
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
331
|
* If `true`, anisotropy is enabled. Anisotropy changes the shape of the specular blob and aligns it to tangent space. This is useful for brushed aluminum and hair reflections.
|
|
332
332
|
* **Note:** Mesh tangents are needed for anisotropy to work. If the mesh does not contain tangents, the anisotropy effect will appear broken.
|
|
333
333
|
* **Note:** Material anisotropy should not to be confused with anisotropic texture filtering, which can be enabled by setting {@link textureFilter} to {@link TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC}.
|
|
334
334
|
*/
|
|
335
|
-
get anisotropyEnabled(): boolean { return _C(this,
|
|
336
|
-
set anisotropyEnabled(v: boolean) { _C(this,
|
|
335
|
+
get anisotropyEnabled(): boolean { return _C(this, 4843, 4) as boolean; }
|
|
336
|
+
set anisotropyEnabled(v: boolean) { _C(this, 11602, 4, v); }
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
339
|
* The strength of the anisotropy effect. This is multiplied by {@link anisotropyFlowmap}'s alpha channel if a texture is defined there and the texture contains an alpha channel.
|
|
340
340
|
*/
|
|
341
|
-
get anisotropy(): number { return _C(this,
|
|
342
|
-
set anisotropy(v: number) { _C(this,
|
|
341
|
+
get anisotropy(): number { return _C(this, 3841) as number; }
|
|
342
|
+
set anisotropy(v: number) { _C(this, 10729, v); }
|
|
343
343
|
|
|
344
344
|
/**
|
|
345
345
|
* Texture that offsets the tangent map for anisotropy calculations and optionally controls the anisotropy effect (if an alpha channel is present). The flowmap texture is expected to be a derivative map, with the red channel representing distortion on the X axis and green channel representing distortion on the Y axis. Values below 0.5 will result in negative distortion, whereas values above 0.5 will result in positive distortion.
|
|
346
346
|
* If present, the texture's alpha channel will be used to multiply the strength of the {@link anisotropy} effect. Fully opaque pixels will keep the anisotropy effect's original strength while fully transparent pixels will disable the anisotropy effect entirely. The flowmap texture's blue channel is ignored.
|
|
347
347
|
*/
|
|
348
|
-
get anisotropyFlowmap(): Texture2D { return _C(this,
|
|
349
|
-
set anisotropyFlowmap(v: Texture2D) { _C(this,
|
|
348
|
+
get anisotropyFlowmap(): Texture2D { return _C(this, 6860, 7) as Texture2D; }
|
|
349
|
+
set anisotropyFlowmap(v: Texture2D) { _C(this, 13294, 7, v); }
|
|
350
350
|
|
|
351
351
|
/**
|
|
352
352
|
* If `true`, ambient occlusion is enabled. Ambient occlusion darkens areas based on the {@link aoTexture}.
|
|
353
353
|
*/
|
|
354
|
-
get aoEnabled(): boolean { return _C(this,
|
|
355
|
-
set aoEnabled(v: boolean) { _C(this,
|
|
354
|
+
get aoEnabled(): boolean { return _C(this, 4843, 5) as boolean; }
|
|
355
|
+
set aoEnabled(v: boolean) { _C(this, 11602, 5, v); }
|
|
356
356
|
|
|
357
357
|
/**
|
|
358
358
|
* Amount that ambient occlusion affects lighting from lights. If `0`, ambient occlusion only affects ambient light. If `1`, ambient occlusion affects lights just as much as it affects ambient light. This can be used to impact the strength of the ambient occlusion effect, but typically looks unrealistic.
|
|
359
359
|
*/
|
|
360
|
-
get aoLightAffect(): number { return _C(this,
|
|
361
|
-
set aoLightAffect(v: number) { _C(this,
|
|
360
|
+
get aoLightAffect(): number { return _C(this, 3846) as number; }
|
|
361
|
+
set aoLightAffect(v: number) { _C(this, 10735, v); }
|
|
362
362
|
|
|
363
363
|
/**
|
|
364
364
|
* Texture that defines the amount of ambient occlusion for a given point on the object.
|
|
365
365
|
*/
|
|
366
|
-
get aoTexture(): Texture2D { return _C(this,
|
|
367
|
-
set aoTexture(v: Texture2D) { _C(this,
|
|
366
|
+
get aoTexture(): Texture2D { return _C(this, 6860, 8) as Texture2D; }
|
|
367
|
+
set aoTexture(v: Texture2D) { _C(this, 13294, 8, v); }
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
370
|
* If `true`, use `UV2` coordinates to look up from the {@link aoTexture}.
|
|
371
371
|
*/
|
|
372
|
-
get aoOnUv2(): boolean { return _C(this,
|
|
373
|
-
set aoOnUv2(v: boolean) { _C(this,
|
|
372
|
+
get aoOnUv2(): boolean { return _C(this, 4888, 10) as boolean; }
|
|
373
|
+
set aoOnUv2(v: boolean) { _C(this, 11642, 10, v); }
|
|
374
374
|
|
|
375
375
|
/**
|
|
376
376
|
* Specifies the channel of the {@link aoTexture} in which the ambient occlusion information is stored. This is useful when you store the information for multiple effects in a single texture. For example if you stored metallic in the red channel, roughness in the blue, and ambient occlusion in the green you could reduce the number of textures you use.
|
|
377
377
|
*/
|
|
378
|
-
get aoTextureChannel(): TextureChannel { return _C(this,
|
|
379
|
-
set aoTextureChannel(v: TextureChannel) { _C(this,
|
|
378
|
+
get aoTextureChannel(): TextureChannel { return _C(this, 3847) as TextureChannel; }
|
|
379
|
+
set aoTextureChannel(v: TextureChannel) { _C(this, 10736, v); }
|
|
380
380
|
|
|
381
381
|
/**
|
|
382
382
|
* If `true`, height mapping is enabled (also called "parallax mapping" or "depth mapping"). See also {@link normalEnabled}. Height mapping is a demanding feature on the GPU, so it should only be used on materials where it makes a significant visual difference.
|
|
383
383
|
* **Note:** Height mapping is not supported if triplanar mapping is used on the same material. The value of {@link heightmapEnabled} will be ignored if {@link uv1Triplanar} is enabled.
|
|
384
384
|
*/
|
|
385
|
-
get heightmapEnabled(): boolean { return _C(this,
|
|
386
|
-
set heightmapEnabled(v: boolean) { _C(this,
|
|
385
|
+
get heightmapEnabled(): boolean { return _C(this, 4843, 6) as boolean; }
|
|
386
|
+
set heightmapEnabled(v: boolean) { _C(this, 11602, 6, v); }
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
389
|
* The heightmap scale to use for the parallax effect (see {@link heightmapEnabled}). The default value is tuned so that the highest point (value = 255) appears to be 5 cm higher than the lowest point (value = 0). Higher values result in a deeper appearance, but may result in artifacts appearing when looking at the material from oblique angles, especially when the camera moves. Negative values can be used to invert the parallax effect, but this is different from inverting the texture using {@link heightmapFlipTexture} as the material will also appear to be "closer" to the camera. In most cases, {@link heightmapScale} should be kept to a positive value.
|
|
390
390
|
* **Note:** If the height map effect looks strange regardless of this value, try adjusting {@link heightmapFlipBinormal} and {@link heightmapFlipTangent}. See also {@link heightmapTexture} for recommendations on authoring heightmap textures, as the way the heightmap texture is authored affects how {@link heightmapScale} behaves.
|
|
391
391
|
*/
|
|
392
|
-
get heightmapScale(): number { return _C(this,
|
|
393
|
-
set heightmapScale(v: number) { _C(this,
|
|
392
|
+
get heightmapScale(): number { return _C(this, 5119) as number; }
|
|
393
|
+
set heightmapScale(v: number) { _C(this, 11855, v); }
|
|
394
394
|
|
|
395
395
|
/**
|
|
396
396
|
* If `true`, uses parallax occlusion mapping to represent depth in the material instead of simple offset mapping (see {@link heightmapEnabled}). This results in a more convincing depth effect, but is much more expensive on the GPU. Only enable this on materials where it makes a significant visual difference.
|
|
397
397
|
*/
|
|
398
|
-
get heightmapDeepParallax(): boolean { return _C(this,
|
|
399
|
-
set heightmapDeepParallax(v: boolean) { _C(this,
|
|
398
|
+
get heightmapDeepParallax(): boolean { return _C(this, 8153) as boolean; }
|
|
399
|
+
set heightmapDeepParallax(v: boolean) { _C(this, 11850, v); }
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* The number of layers to use for parallax occlusion mapping when the camera is far away from the material. Higher values result in a more convincing depth effect, especially in materials that have steep height changes. Higher values have a significant cost on the GPU, so it should only be increased on materials where it makes a significant visual difference.
|
|
403
403
|
* **Note:** Only effective if {@link heightmapDeepParallax} is `true`.
|
|
404
404
|
*/
|
|
405
|
-
get heightmapMinLayers(): number { return _C(this,
|
|
406
|
-
set heightmapMinLayers(v: number) { _C(this,
|
|
405
|
+
get heightmapMinLayers(): number { return _C(this, 5118) as number; }
|
|
406
|
+
set heightmapMinLayers(v: number) { _C(this, 11854, v); }
|
|
407
407
|
|
|
408
408
|
/**
|
|
409
409
|
* The number of layers to use for parallax occlusion mapping when the camera is up close to the material. Higher values result in a more convincing depth effect, especially in materials that have steep height changes. Higher values have a significant cost on the GPU, so it should only be increased on materials where it makes a significant visual difference.
|
|
410
410
|
* **Note:** Only effective if {@link heightmapDeepParallax} is `true`.
|
|
411
411
|
*/
|
|
412
|
-
get heightmapMaxLayers(): number { return _C(this,
|
|
413
|
-
set heightmapMaxLayers(v: number) { _C(this,
|
|
412
|
+
get heightmapMaxLayers(): number { return _C(this, 5117) as number; }
|
|
413
|
+
set heightmapMaxLayers(v: number) { _C(this, 11853, v); }
|
|
414
414
|
|
|
415
415
|
/**
|
|
416
416
|
* If `true`, flips the mesh's tangent vectors when interpreting the height map. If the heightmap effect looks strange when the camera moves (even with a reasonable {@link heightmapScale}), try setting this to `true`.
|
|
417
417
|
*/
|
|
418
|
-
get heightmapFlipTangent(): boolean { return _C(this,
|
|
419
|
-
set heightmapFlipTangent(v: boolean) { _C(this,
|
|
418
|
+
get heightmapFlipTangent(): boolean { return _C(this, 5116) as boolean; }
|
|
419
|
+
set heightmapFlipTangent(v: boolean) { _C(this, 11852, v); }
|
|
420
420
|
|
|
421
421
|
/**
|
|
422
422
|
* If `true`, flips the mesh's binormal vectors when interpreting the height map. If the heightmap effect looks strange when the camera moves (even with a reasonable {@link heightmapScale}), try setting this to `true`.
|
|
423
423
|
*/
|
|
424
|
-
get heightmapFlipBinormal(): boolean { return _C(this,
|
|
425
|
-
set heightmapFlipBinormal(v: boolean) { _C(this,
|
|
424
|
+
get heightmapFlipBinormal(): boolean { return _C(this, 5115) as boolean; }
|
|
425
|
+
set heightmapFlipBinormal(v: boolean) { _C(this, 11851, v); }
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
428
|
* The texture to use as a height map. See also {@link heightmapEnabled}.
|
|
429
429
|
* For best results, the texture should be normalized (with {@link heightmapScale} reduced to compensate). In [GIMP](https://gimp.org), this can be done using **Colors > Auto > Equalize**. If the texture only uses a small part of its available range, the parallax effect may look strange, especially when the camera moves.
|
|
430
430
|
* **Note:** To reduce memory usage and improve loading times, you may be able to use a lower-resolution heightmap texture as most heightmaps are only comprised of low-frequency data.
|
|
431
431
|
*/
|
|
432
|
-
get heightmapTexture(): Texture2D { return _C(this,
|
|
433
|
-
set heightmapTexture(v: Texture2D) { _C(this,
|
|
432
|
+
get heightmapTexture(): Texture2D { return _C(this, 6860, 9) as Texture2D; }
|
|
433
|
+
set heightmapTexture(v: Texture2D) { _C(this, 13294, 9, v); }
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
436
|
* If `true`, interprets the height map texture as a depth map, with brighter values appearing to be "lower" in altitude compared to darker values.
|
|
437
437
|
* This can be enabled for compatibility with some materials authored for Godot 3.x. This is not necessary if the Invert import option was used to invert the depth map in Godot 3.x, in which case {@link heightmapFlipTexture} should remain `false`.
|
|
438
438
|
*/
|
|
439
|
-
get heightmapFlipTexture(): boolean { return _C(this,
|
|
440
|
-
set heightmapFlipTexture(v: boolean) { _C(this,
|
|
439
|
+
get heightmapFlipTexture(): boolean { return _C(this, 4888, 17) as boolean; }
|
|
440
|
+
set heightmapFlipTexture(v: boolean) { _C(this, 11642, 17, v); }
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
443
|
* If `true`, subsurface scattering is enabled. Emulates light that penetrates an object's surface, is scattered, and then emerges. Subsurface scattering quality is controlled by {@link ProjectSettings.rendering/environment/subsurfaceScattering/subsurfaceScatteringQuality}.
|
|
444
444
|
* **Note:** Subsurface scattering is not supported on viewports that have a transparent background (where {@link Viewport.transparentBg} is `true`).
|
|
445
445
|
*/
|
|
446
|
-
get subsurfScatterEnabled(): boolean { return _C(this,
|
|
447
|
-
set subsurfScatterEnabled(v: boolean) { _C(this,
|
|
446
|
+
get subsurfScatterEnabled(): boolean { return _C(this, 4843, 7) as boolean; }
|
|
447
|
+
set subsurfScatterEnabled(v: boolean) { _C(this, 11602, 7, v); }
|
|
448
448
|
|
|
449
449
|
/**
|
|
450
450
|
* The strength of the subsurface scattering effect. The depth of the effect is also controlled by {@link ProjectSettings.rendering/environment/subsurfaceScattering/subsurfaceScatteringScale}, which is set globally.
|
|
451
451
|
*/
|
|
452
|
-
get subsurfScatterStrength(): number { return _C(this,
|
|
453
|
-
set subsurfScatterStrength(v: number) { _C(this,
|
|
452
|
+
get subsurfScatterStrength(): number { return _C(this, 6738) as number; }
|
|
453
|
+
set subsurfScatterStrength(v: number) { _C(this, 13199, v); }
|
|
454
454
|
|
|
455
455
|
/**
|
|
456
456
|
* If `true`, subsurface scattering will use a special mode optimized for the color and density of human skin, such as boosting the intensity of the red channel in subsurface scattering.
|
|
457
457
|
*/
|
|
458
|
-
get subsurfScatterSkinMode(): boolean { return _C(this,
|
|
459
|
-
set subsurfScatterSkinMode(v: boolean) { _C(this,
|
|
458
|
+
get subsurfScatterSkinMode(): boolean { return _C(this, 4888, 18) as boolean; }
|
|
459
|
+
set subsurfScatterSkinMode(v: boolean) { _C(this, 11642, 18, v); }
|
|
460
460
|
|
|
461
461
|
/**
|
|
462
462
|
* Texture used to control the subsurface scattering strength. Stored in the red texture channel. Multiplied by {@link subsurfScatterStrength}.
|
|
463
463
|
*/
|
|
464
|
-
get subsurfScatterTexture(): Texture2D { return _C(this,
|
|
465
|
-
set subsurfScatterTexture(v: Texture2D) { _C(this,
|
|
464
|
+
get subsurfScatterTexture(): Texture2D { return _C(this, 6860, 10) as Texture2D; }
|
|
465
|
+
set subsurfScatterTexture(v: Texture2D) { _C(this, 13294, 10, v); }
|
|
466
466
|
|
|
467
467
|
/**
|
|
468
468
|
* If `true`, enables subsurface scattering transmittance. Only effective if {@link subsurfScatterEnabled} is `true`. See also {@link backlightEnabled}.
|
|
469
469
|
*/
|
|
470
|
-
get subsurfScatterTransmittanceEnabled(): boolean { return _C(this,
|
|
471
|
-
set subsurfScatterTransmittanceEnabled(v: boolean) { _C(this,
|
|
470
|
+
get subsurfScatterTransmittanceEnabled(): boolean { return _C(this, 4843, 8) as boolean; }
|
|
471
|
+
set subsurfScatterTransmittanceEnabled(v: boolean) { _C(this, 11602, 8, v); }
|
|
472
472
|
|
|
473
473
|
/**
|
|
474
474
|
* The color to multiply the subsurface scattering transmittance effect with. Ignored if {@link subsurfScatterSkinMode} is `true`.
|
|
475
475
|
*/
|
|
476
|
-
get subsurfScatterTransmittanceColor(): Color { return _C(this,
|
|
477
|
-
set subsurfScatterTransmittanceColor(v: Color) { _C(this,
|
|
476
|
+
get subsurfScatterTransmittanceColor(): Color { return _C(this, 7036) as Color; }
|
|
477
|
+
set subsurfScatterTransmittanceColor(v: Color) { _C(this, 13418, v); }
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
480
|
* The texture to use for multiplying the intensity of the subsurface scattering transmittance intensity. See also {@link subsurfScatterTexture}. Ignored if {@link subsurfScatterSkinMode} is `true`.
|
|
481
481
|
*/
|
|
482
|
-
get subsurfScatterTransmittanceTexture(): Texture2D { return _C(this,
|
|
483
|
-
set subsurfScatterTransmittanceTexture(v: Texture2D) { _C(this,
|
|
482
|
+
get subsurfScatterTransmittanceTexture(): Texture2D { return _C(this, 6860, 11) as Texture2D; }
|
|
483
|
+
set subsurfScatterTransmittanceTexture(v: Texture2D) { _C(this, 13294, 11, v); }
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
486
|
* The depth of the subsurface scattering transmittance effect.
|
|
487
487
|
*/
|
|
488
|
-
get subsurfScatterTransmittanceDepth(): number { return _C(this,
|
|
489
|
-
set subsurfScatterTransmittanceDepth(v: number) { _C(this,
|
|
488
|
+
get subsurfScatterTransmittanceDepth(): number { return _C(this, 7037) as number; }
|
|
489
|
+
set subsurfScatterTransmittanceDepth(v: number) { _C(this, 13419, v); }
|
|
490
490
|
|
|
491
491
|
/**
|
|
492
492
|
* The intensity of the subsurface scattering transmittance effect.
|
|
493
493
|
*/
|
|
494
|
-
get subsurfScatterTransmittanceBoost(): number { return _C(this,
|
|
495
|
-
set subsurfScatterTransmittanceBoost(v: number) { _C(this,
|
|
494
|
+
get subsurfScatterTransmittanceBoost(): number { return _C(this, 7035) as number; }
|
|
495
|
+
set subsurfScatterTransmittanceBoost(v: number) { _C(this, 13417, v); }
|
|
496
496
|
|
|
497
497
|
/**
|
|
498
498
|
* If `true`, the backlight effect is enabled. See also {@link subsurfScatterTransmittanceEnabled}.
|
|
499
499
|
*/
|
|
500
|
-
get backlightEnabled(): boolean { return _C(this,
|
|
501
|
-
set backlightEnabled(v: boolean) { _C(this,
|
|
500
|
+
get backlightEnabled(): boolean { return _C(this, 4843, 9) as boolean; }
|
|
501
|
+
set backlightEnabled(v: boolean) { _C(this, 11602, 9, v); }
|
|
502
502
|
|
|
503
503
|
/**
|
|
504
504
|
* The color used by the backlight effect. Represents the light passing through an object.
|
|
505
505
|
*/
|
|
506
|
-
get backlight(): Color { return _C(this,
|
|
507
|
-
set backlight(v: Color) { _C(this,
|
|
506
|
+
get backlight(): Color { return _C(this, 3940) as Color; }
|
|
507
|
+
set backlight(v: Color) { _C(this, 10845, v); }
|
|
508
508
|
|
|
509
509
|
/**
|
|
510
510
|
* Texture used to control the backlight effect per-pixel. Added to {@link backlight}.
|
|
511
511
|
*/
|
|
512
|
-
get backlightTexture(): Texture2D { return _C(this,
|
|
513
|
-
set backlightTexture(v: Texture2D) { _C(this,
|
|
512
|
+
get backlightTexture(): Texture2D { return _C(this, 6860, 12) as Texture2D; }
|
|
513
|
+
set backlightTexture(v: Texture2D) { _C(this, 13294, 12, v); }
|
|
514
514
|
|
|
515
515
|
/**
|
|
516
516
|
* If `true`, the refraction effect is enabled. Distorts transparency based on light from behind the object.
|
|
517
517
|
* **Note:** Refraction is implemented using the screen texture. Only opaque materials will appear in the refraction, since transparent materials do not appear in the screen texture.
|
|
518
518
|
*/
|
|
519
|
-
get refractionEnabled(): boolean { return _C(this,
|
|
520
|
-
set refractionEnabled(v: boolean) { _C(this,
|
|
519
|
+
get refractionEnabled(): boolean { return _C(this, 4843, 10) as boolean; }
|
|
520
|
+
set refractionEnabled(v: boolean) { _C(this, 11602, 10, v); }
|
|
521
521
|
|
|
522
522
|
/**
|
|
523
523
|
* The strength of the refraction effect.
|
|
524
524
|
*/
|
|
525
|
-
get refractionScale(): number { return _C(this,
|
|
526
|
-
set refractionScale(v: number) { _C(this,
|
|
525
|
+
get refractionScale(): number { return _C(this, 6228) as number; }
|
|
526
|
+
set refractionScale(v: number) { _C(this, 12763, v); }
|
|
527
527
|
|
|
528
528
|
/**
|
|
529
529
|
* Texture that controls the strength of the refraction per-pixel. Multiplied by {@link refractionScale}.
|
|
530
530
|
*/
|
|
531
|
-
get refractionTexture(): Texture2D { return _C(this,
|
|
532
|
-
set refractionTexture(v: Texture2D) { _C(this,
|
|
531
|
+
get refractionTexture(): Texture2D { return _C(this, 6860, 13) as Texture2D; }
|
|
532
|
+
set refractionTexture(v: Texture2D) { _C(this, 13294, 13, v); }
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
535
|
* Specifies the channel of the {@link refractionTexture} in which the refraction information is stored. This is useful when you store the information for multiple effects in a single texture. For example if you stored refraction in the red channel, roughness in the blue, and ambient occlusion in the green you could reduce the number of textures you use.
|
|
536
536
|
*/
|
|
537
|
-
get refractionTextureChannel(): TextureChannel { return _C(this,
|
|
538
|
-
set refractionTextureChannel(v: TextureChannel) { _C(this,
|
|
537
|
+
get refractionTextureChannel(): TextureChannel { return _C(this, 6229) as TextureChannel; }
|
|
538
|
+
set refractionTextureChannel(v: TextureChannel) { _C(this, 12764, v); }
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
541
|
* If `true`, enables the detail overlay. Detail is a second texture that gets mixed over the surface of the object based on {@link detailMask} and {@link detailAlbedo}'s alpha channel. This can be used to add variation to objects, or to blend between two different albedo/normal textures.
|
|
542
542
|
*/
|
|
543
|
-
get detailEnabled(): boolean { return _C(this,
|
|
544
|
-
set detailEnabled(v: boolean) { _C(this,
|
|
543
|
+
get detailEnabled(): boolean { return _C(this, 4843, 11) as boolean; }
|
|
544
|
+
set detailEnabled(v: boolean) { _C(this, 11602, 11, v); }
|
|
545
545
|
|
|
546
546
|
/**
|
|
547
547
|
* Texture used to specify how the detail textures get blended with the base textures. {@link detailMask} can be used together with {@link detailAlbedo}'s alpha channel (if any).
|
|
548
548
|
*/
|
|
549
|
-
get detailMask(): Texture2D { return _C(this,
|
|
550
|
-
set detailMask(v: Texture2D) { _C(this,
|
|
549
|
+
get detailMask(): Texture2D { return _C(this, 6860, 14) as Texture2D; }
|
|
550
|
+
set detailMask(v: Texture2D) { _C(this, 13294, 14, v); }
|
|
551
551
|
|
|
552
552
|
/**
|
|
553
553
|
* Specifies how the {@link detailAlbedo} should blend with the current `ALBEDO`.
|
|
554
554
|
*/
|
|
555
|
-
get detailBlendMode(): BlendMode { return _C(this,
|
|
556
|
-
set detailBlendMode(v: BlendMode) { _C(this,
|
|
555
|
+
get detailBlendMode(): BlendMode { return _C(this, 4566) as BlendMode; }
|
|
556
|
+
set detailBlendMode(v: BlendMode) { _C(this, 11329, v); }
|
|
557
557
|
|
|
558
558
|
/**
|
|
559
559
|
* Specifies whether to use `UV` or `UV2` for the detail layer.
|
|
560
560
|
*/
|
|
561
|
-
get detailUvLayer(): DetailUV { return _C(this,
|
|
562
|
-
set detailUvLayer(v: DetailUV) { _C(this,
|
|
561
|
+
get detailUvLayer(): DetailUV { return _C(this, 4569) as DetailUV; }
|
|
562
|
+
set detailUvLayer(v: DetailUV) { _C(this, 11332, v); }
|
|
563
563
|
|
|
564
564
|
/**
|
|
565
565
|
* Texture that specifies the color of the detail overlay. {@link detailAlbedo}'s alpha channel is used as a mask, even when the material is opaque. To use a dedicated texture as a mask, see {@link detailMask}.
|
|
566
566
|
* **Note:** {@link detailAlbedo} is *not* modulated by {@link albedoColor}.
|
|
567
567
|
*/
|
|
568
|
-
get detailAlbedo(): Texture2D { return _C(this,
|
|
569
|
-
set detailAlbedo(v: Texture2D) { _C(this,
|
|
568
|
+
get detailAlbedo(): Texture2D { return _C(this, 6860, 15) as Texture2D; }
|
|
569
|
+
set detailAlbedo(v: Texture2D) { _C(this, 13294, 15, v); }
|
|
570
570
|
|
|
571
571
|
/**
|
|
572
572
|
* Texture that specifies the per-pixel normal of the detail overlay. The {@link detailNormal} texture only uses the red and green channels; the blue and alpha channels are ignored. The normal read from {@link detailNormal} is oriented around the surface normal provided by the {@link Mesh}.
|
|
573
573
|
* **Note:** Godot expects the normal map to use X+, Y+, and Z+ coordinates. See [this page](http://wiki.polycount.com/wiki/Normal_Map_Technical_Details#Common_Swizzle_Coordinates) for a comparison of normal map coordinates expected by popular engines.
|
|
574
574
|
*/
|
|
575
|
-
get detailNormal(): Texture2D { return _C(this,
|
|
576
|
-
set detailNormal(v: Texture2D) { _C(this,
|
|
575
|
+
get detailNormal(): Texture2D { return _C(this, 6860, 16) as Texture2D; }
|
|
576
|
+
set detailNormal(v: Texture2D) { _C(this, 13294, 16, v); }
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
579
|
* How much to scale the `UV` coordinates. This is multiplied by `UV` in the vertex function. The Z component is used when {@link uv1Triplanar} is enabled, but it is not used anywhere else.
|
|
580
580
|
*/
|
|
581
|
-
get uv1Scale(): Vector3 { return _C(this,
|
|
582
|
-
set uv1Scale(v: Vector3) { _C(this,
|
|
581
|
+
get uv1Scale(): Vector3 { return _C(this, 7145) as Vector3; }
|
|
582
|
+
set uv1Scale(v: Vector3) { _C(this, 13529, v); }
|
|
583
583
|
|
|
584
584
|
/**
|
|
585
585
|
* How much to offset the `UV` coordinates. This amount will be added to `UV` in the vertex function. This can be used to offset a texture. The Z component is used when {@link uv1Triplanar} is enabled, but it is not used anywhere else.
|
|
586
586
|
*/
|
|
587
|
-
get uv1Offset(): Vector3 { return _C(this,
|
|
588
|
-
set uv1Offset(v: Vector3) { _C(this,
|
|
587
|
+
get uv1Offset(): Vector3 { return _C(this, 7144) as Vector3; }
|
|
588
|
+
set uv1Offset(v: Vector3) { _C(this, 13528, v); }
|
|
589
589
|
|
|
590
590
|
/**
|
|
591
591
|
* If `true`, instead of using `UV` textures will use a triplanar texture lookup to determine how to apply textures. Triplanar uses the orientation of the object's surface to blend between texture coordinates. It reads from the source texture 3 times, once for each axis and then blends between the results based on how closely the pixel aligns with each axis. This is often used for natural features to get a realistic blend of materials. Because triplanar texturing requires many more texture reads per-pixel it is much slower than normal UV texturing. Additionally, because it is blending the texture between the three axes, it is unsuitable when you are trying to achieve crisp texturing.
|
|
592
592
|
*/
|
|
593
|
-
get uv1Triplanar(): boolean { return _C(this,
|
|
594
|
-
set uv1Triplanar(v: boolean) { _C(this,
|
|
593
|
+
get uv1Triplanar(): boolean { return _C(this, 4888, 6) as boolean; }
|
|
594
|
+
set uv1Triplanar(v: boolean) { _C(this, 11642, 6, v); }
|
|
595
595
|
|
|
596
596
|
/**
|
|
597
597
|
* A lower number blends the texture more softly while a higher number blends the texture more sharply.
|
|
598
598
|
* **Note:** {@link uv1TriplanarSharpness} is clamped between `0.0` and `150.0` (inclusive) as values outside that range can look broken depending on the mesh.
|
|
599
599
|
*/
|
|
600
|
-
get uv1TriplanarSharpness(): number { return _C(this,
|
|
601
|
-
set uv1TriplanarSharpness(v: number) { _C(this,
|
|
600
|
+
get uv1TriplanarSharpness(): number { return _C(this, 7146) as number; }
|
|
601
|
+
set uv1TriplanarSharpness(v: number) { _C(this, 13530, v); }
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
604
|
* If `true`, triplanar mapping for `UV` is calculated in world space rather than object local space. See also {@link uv1Triplanar}.
|
|
605
605
|
*/
|
|
606
|
-
get uv1WorldTriplanar(): boolean { return _C(this,
|
|
607
|
-
set uv1WorldTriplanar(v: boolean) { _C(this,
|
|
606
|
+
get uv1WorldTriplanar(): boolean { return _C(this, 4888, 8) as boolean; }
|
|
607
|
+
set uv1WorldTriplanar(v: boolean) { _C(this, 11642, 8, v); }
|
|
608
608
|
|
|
609
609
|
/**
|
|
610
610
|
* How much to scale the `UV2` coordinates. This is multiplied by `UV2` in the vertex function. The Z component is used when {@link uv2Triplanar} is enabled, but it is not used anywhere else.
|
|
611
611
|
*/
|
|
612
|
-
get uv2Scale(): Vector3 { return _C(this,
|
|
613
|
-
set uv2Scale(v: Vector3) { _C(this,
|
|
612
|
+
get uv2Scale(): Vector3 { return _C(this, 7149) as Vector3; }
|
|
613
|
+
set uv2Scale(v: Vector3) { _C(this, 13534, v); }
|
|
614
614
|
|
|
615
615
|
/**
|
|
616
616
|
* How much to offset the `UV2` coordinates. This amount will be added to `UV2` in the vertex function. This can be used to offset a texture. The Z component is used when {@link uv2Triplanar} is enabled, but it is not used anywhere else.
|
|
617
617
|
*/
|
|
618
|
-
get uv2Offset(): Vector3 { return _C(this,
|
|
619
|
-
set uv2Offset(v: Vector3) { _C(this,
|
|
618
|
+
get uv2Offset(): Vector3 { return _C(this, 7147) as Vector3; }
|
|
619
|
+
set uv2Offset(v: Vector3) { _C(this, 13532, v); }
|
|
620
620
|
|
|
621
621
|
/**
|
|
622
622
|
* If `true`, instead of using `UV2` textures will use a triplanar texture lookup to determine how to apply textures. Triplanar uses the orientation of the object's surface to blend between texture coordinates. It reads from the source texture 3 times, once for each axis and then blends between the results based on how closely the pixel aligns with each axis. This is often used for natural features to get a realistic blend of materials. Because triplanar texturing requires many more texture reads per-pixel it is much slower than normal UV texturing. Additionally, because it is blending the texture between the three axes, it is unsuitable when you are trying to achieve crisp texturing.
|
|
623
623
|
*/
|
|
624
|
-
get uv2Triplanar(): boolean { return _C(this,
|
|
625
|
-
set uv2Triplanar(v: boolean) { _C(this,
|
|
624
|
+
get uv2Triplanar(): boolean { return _C(this, 4888, 7) as boolean; }
|
|
625
|
+
set uv2Triplanar(v: boolean) { _C(this, 11642, 7, v); }
|
|
626
626
|
|
|
627
627
|
/**
|
|
628
628
|
* A lower number blends the texture more softly while a higher number blends the texture more sharply.
|
|
629
629
|
* **Note:** {@link uv2TriplanarSharpness} is clamped between `0.0` and `150.0` (inclusive) as values outside that range can look broken depending on the mesh.
|
|
630
630
|
*/
|
|
631
|
-
get uv2TriplanarSharpness(): number { return _C(this,
|
|
632
|
-
set uv2TriplanarSharpness(v: number) { _C(this,
|
|
631
|
+
get uv2TriplanarSharpness(): number { return _C(this, 7150) as number; }
|
|
632
|
+
set uv2TriplanarSharpness(v: number) { _C(this, 13535, v); }
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
635
|
* If `true`, triplanar mapping for `UV2` is calculated in world space rather than object local space. See also {@link uv2Triplanar}.
|
|
636
636
|
*/
|
|
637
|
-
get uv2WorldTriplanar(): boolean { return _C(this,
|
|
638
|
-
set uv2WorldTriplanar(v: boolean) { _C(this,
|
|
637
|
+
get uv2WorldTriplanar(): boolean { return _C(this, 4888, 9) as boolean; }
|
|
638
|
+
set uv2WorldTriplanar(v: boolean) { _C(this, 11642, 9, v); }
|
|
639
639
|
|
|
640
640
|
/**
|
|
641
641
|
* Filter flags for the texture.
|
|
642
642
|
* **Note:** {@link heightmapTexture} is always sampled with linear filtering, even if nearest-neighbor filtering is selected here. This is to ensure the heightmap effect looks as intended. If you need sharper height transitions between pixels, resize the heightmap texture in an image editor with nearest-neighbor filtering.
|
|
643
643
|
*/
|
|
644
|
-
get textureFilter(): TextureFilter { return _C(this,
|
|
645
|
-
set textureFilter(v: TextureFilter) { _C(this,
|
|
644
|
+
get textureFilter(): TextureFilter { return _C(this, 6864) as TextureFilter; }
|
|
645
|
+
set textureFilter(v: TextureFilter) { _C(this, 13297, v); }
|
|
646
646
|
|
|
647
647
|
/**
|
|
648
648
|
* If `true`, the texture repeats when exceeding the texture's size. See {@link FLAG_USE_TEXTURE_REPEAT}.
|
|
649
649
|
*/
|
|
650
|
-
get textureRepeat(): boolean { return _C(this,
|
|
651
|
-
set textureRepeat(v: boolean) { _C(this,
|
|
650
|
+
get textureRepeat(): boolean { return _C(this, 4888, 16) as boolean; }
|
|
651
|
+
set textureRepeat(v: boolean) { _C(this, 11642, 16, v); }
|
|
652
652
|
|
|
653
653
|
/**
|
|
654
654
|
* If `true`, the object receives no shadow that would otherwise be cast onto it.
|
|
655
655
|
*/
|
|
656
|
-
get disableReceiveShadows(): boolean { return _C(this,
|
|
657
|
-
set disableReceiveShadows(v: boolean) { _C(this,
|
|
656
|
+
get disableReceiveShadows(): boolean { return _C(this, 4888, 13) as boolean; }
|
|
657
|
+
set disableReceiveShadows(v: boolean) { _C(this, 11642, 13, v); }
|
|
658
658
|
|
|
659
659
|
/**
|
|
660
660
|
* If `true`, enables the "shadow to opacity" render mode where lighting modifies the alpha so shadowed areas are opaque and non-shadowed areas are transparent. Useful for overlaying shadows onto a camera feed in AR.
|
|
661
661
|
*/
|
|
662
|
-
get shadowToOpacity(): boolean { return _C(this,
|
|
663
|
-
set shadowToOpacity(v: boolean) { _C(this,
|
|
662
|
+
get shadowToOpacity(): boolean { return _C(this, 4888, 15) as boolean; }
|
|
663
|
+
set shadowToOpacity(v: boolean) { _C(this, 11642, 15, v); }
|
|
664
664
|
|
|
665
665
|
/**
|
|
666
666
|
* Controls how the object faces the camera.
|
|
667
667
|
* **Note:** Billboard mode is not suitable for VR because the left-right vector of the camera is not horizontal when the screen is attached to your head instead of on the table. See [GitHub issue #41567](https://github.com/godotengine/godot/issues/41567) for details.
|
|
668
668
|
*/
|
|
669
|
-
get billboardMode(): BillboardMode { return _C(this,
|
|
670
|
-
set billboardMode(v: BillboardMode) { _C(this,
|
|
669
|
+
get billboardMode(): BillboardMode { return _C(this, 3981) as BillboardMode; }
|
|
670
|
+
set billboardMode(v: BillboardMode) { _C(this, 10879, v); }
|
|
671
671
|
|
|
672
672
|
/**
|
|
673
673
|
* If `true`, the shader will keep the scale set for the mesh. Otherwise, the scale is lost when billboarding. Only applies when {@link billboardMode} is not {@link BILLBOARD_DISABLED}.
|
|
674
674
|
*/
|
|
675
|
-
get billboardKeepScale(): boolean { return _C(this,
|
|
676
|
-
set billboardKeepScale(v: boolean) { _C(this,
|
|
675
|
+
get billboardKeepScale(): boolean { return _C(this, 4888, 5) as boolean; }
|
|
676
|
+
set billboardKeepScale(v: boolean) { _C(this, 11642, 5, v); }
|
|
677
677
|
|
|
678
678
|
/**
|
|
679
|
-
*
|
|
679
|
+
* If `true`, enables `particles_anim_*` properties. The {@link ParticleProcessMaterial.animSpeedMin} or {@link CPUParticles3D.animSpeedMin} should also be set to a value bigger than zero for the animation to play.
|
|
680
|
+
* **Note:** For compatibility reasons, this property is ignored and always enabled when {@link billboardMode} is set to {@link BILLBOARD_PARTICLES}.
|
|
680
681
|
*/
|
|
681
|
-
get
|
|
682
|
-
set
|
|
682
|
+
get particlesAnimEnabled(): boolean { return _C(this, 4843, 13) as boolean; }
|
|
683
|
+
set particlesAnimEnabled(v: boolean) { _C(this, 11602, 13, v); }
|
|
683
684
|
|
|
684
685
|
/**
|
|
685
|
-
* The number of
|
|
686
|
+
* The number of horizontal frames in the particle sprite sheet.
|
|
687
|
+
* Only enabled when {@link particlesAnimEnabled} is `true` or {@link billboardMode} is set to {@link BILLBOARD_PARTICLES}.
|
|
686
688
|
*/
|
|
687
|
-
get
|
|
688
|
-
set
|
|
689
|
+
get particlesAnimHFrames(): number { return _C(this, 5943) as number; }
|
|
690
|
+
set particlesAnimHFrames(v: number) { _C(this, 12523, v); }
|
|
689
691
|
|
|
690
692
|
/**
|
|
691
|
-
*
|
|
693
|
+
* The number of vertical frames in the particle sprite sheet.
|
|
694
|
+
* Only enabled when {@link particlesAnimEnabled} is `true` or {@link billboardMode} is set to {@link BILLBOARD_PARTICLES}.
|
|
692
695
|
*/
|
|
693
|
-
get
|
|
694
|
-
set
|
|
696
|
+
get particlesAnimVFrames(): number { return _C(this, 5945) as number; }
|
|
697
|
+
set particlesAnimVFrames(v: number) { _C(this, 12525, v); }
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* If `true`, particle animations are looped.
|
|
701
|
+
* Only enabled when {@link particlesAnimEnabled} is `true` or {@link billboardMode} is set to {@link BILLBOARD_PARTICLES}.
|
|
702
|
+
*/
|
|
703
|
+
get particlesAnimLoop(): boolean { return _C(this, 5944) as boolean; }
|
|
704
|
+
set particlesAnimLoop(v: boolean) { _C(this, 12524, v); }
|
|
695
705
|
|
|
696
706
|
/**
|
|
697
707
|
* If `true`, enables the vertex grow setting. This can be used to create mesh-based outlines using a second material pass and its {@link cullMode} set to {@link CULL_FRONT}. See also {@link growAmount}.
|
|
698
708
|
* **Note:** Vertex growth cannot create new vertices, which means that visible gaps may occur in sharp corners. This can be alleviated by designing the mesh to use smooth normals exclusively using [face weighted normals](http://wiki.polycount.com/wiki/Face_weighted_normals) in the 3D authoring software. In this case, grow will be able to join every outline together, just like in the original mesh.
|
|
699
709
|
*/
|
|
700
|
-
get grow(): boolean { return _C(this,
|
|
701
|
-
set grow(v: boolean) { _C(this,
|
|
710
|
+
get grow(): boolean { return _C(this, 8144) as boolean; }
|
|
711
|
+
set grow(v: boolean) { _C(this, 11811, v); }
|
|
702
712
|
|
|
703
713
|
/**
|
|
704
714
|
* Grows object vertices in the direction of their normals. Only effective if {@link grow} is `true`.
|
|
705
715
|
*/
|
|
706
|
-
get growAmount(): number { return _C(this,
|
|
707
|
-
set growAmount(v: number) { _C(this,
|
|
716
|
+
get growAmount(): number { return _C(this, 5077) as number; }
|
|
717
|
+
set growAmount(v: number) { _C(this, 11809, v); }
|
|
708
718
|
|
|
709
719
|
/**
|
|
710
720
|
* If `true`, the object is rendered at the same size regardless of distance. The object's size on screen is the same as if the camera was `1.0` units away from the object's origin, regardless of the actual distance from the camera. The {@link Camera3D}'s field of view (or {@link Camera3D.size} when in orthogonal/frustum mode) still affects the size the object is drawn at.
|
|
711
721
|
*/
|
|
712
|
-
get fixedSize(): boolean { return _C(this,
|
|
713
|
-
set fixedSize(v: boolean) { _C(this,
|
|
722
|
+
get fixedSize(): boolean { return _C(this, 4888, 4) as boolean; }
|
|
723
|
+
set fixedSize(v: boolean) { _C(this, 11642, 4, v); }
|
|
714
724
|
|
|
715
725
|
/**
|
|
716
726
|
* If `true`, render point size can be changed.
|
|
717
727
|
* **Note:** This is only effective for objects whose geometry is point-based rather than triangle-based. See also {@link pointSize}.
|
|
718
728
|
*/
|
|
719
|
-
get usePointSize(): boolean { return _C(this,
|
|
720
|
-
set usePointSize(v: boolean) { _C(this,
|
|
729
|
+
get usePointSize(): boolean { return _C(this, 4888, 3) as boolean; }
|
|
730
|
+
set usePointSize(v: boolean) { _C(this, 11642, 3, v); }
|
|
721
731
|
|
|
722
732
|
/**
|
|
723
733
|
* The point size in pixels. See {@link usePointSize}.
|
|
724
734
|
*/
|
|
725
|
-
get pointSize(): number { return _C(this,
|
|
726
|
-
set pointSize(v: number) { _C(this,
|
|
735
|
+
get pointSize(): number { return _C(this, 6069) as number; }
|
|
736
|
+
set pointSize(v: number) { _C(this, 12625, v); }
|
|
727
737
|
|
|
728
738
|
/**
|
|
729
739
|
* If `true`, enables parts of the shader required for {@link GPUParticles3D} trails to function. This also requires using a mesh with appropriate skinning, such as {@link RibbonTrailMesh} or {@link TubeTrailMesh}. Enabling this feature outside of materials used in {@link GPUParticles3D} meshes will break material rendering.
|
|
730
740
|
*/
|
|
731
|
-
get useParticleTrails(): boolean { return _C(this,
|
|
732
|
-
set useParticleTrails(v: boolean) { _C(this,
|
|
741
|
+
get useParticleTrails(): boolean { return _C(this, 4888, 19) as boolean; }
|
|
742
|
+
set useParticleTrails(v: boolean) { _C(this, 11642, 19, v); }
|
|
733
743
|
|
|
734
744
|
/**
|
|
735
745
|
* If `true` use {@link zClipScale} to scale the object being rendered towards the camera to avoid clipping into things like walls.
|
|
736
746
|
*/
|
|
737
|
-
get useZClipScale(): boolean { return _C(this,
|
|
738
|
-
set useZClipScale(v: boolean) { _C(this,
|
|
747
|
+
get useZClipScale(): boolean { return _C(this, 4888, 23) as boolean; }
|
|
748
|
+
set useZClipScale(v: boolean) { _C(this, 11642, 23, v); }
|
|
739
749
|
|
|
740
750
|
/**
|
|
741
751
|
* Scales the object being rendered towards the camera to avoid clipping into things like walls. This is intended to be used for objects that are fixed with respect to the camera like player arms, tools, etc. Lighting and shadows will continue to work correctly when this setting is adjusted, but screen-space effects like SSAO and SSR may break with lower scales. Therefore, try to keep this setting as close to `1.0` as possible.
|
|
742
752
|
*/
|
|
743
|
-
get zClipScale(): number { return _C(this,
|
|
744
|
-
set zClipScale(v: number) { _C(this,
|
|
753
|
+
get zClipScale(): number { return _C(this, 7323) as number; }
|
|
754
|
+
set zClipScale(v: number) { _C(this, 13681, v); }
|
|
745
755
|
|
|
746
756
|
/**
|
|
747
757
|
* If `true` use {@link fovOverride} to override the {@link Camera3D}'s field of view angle.
|
|
748
758
|
*/
|
|
749
|
-
get useFovOverride(): boolean { return _C(this,
|
|
750
|
-
set useFovOverride(v: boolean) { _C(this,
|
|
759
|
+
get useFovOverride(): boolean { return _C(this, 4888, 24) as boolean; }
|
|
760
|
+
set useFovOverride(v: boolean) { _C(this, 11642, 24, v); }
|
|
751
761
|
|
|
752
762
|
/**
|
|
753
763
|
* Overrides the {@link Camera3D}'s field of view angle (in degrees).
|
|
754
764
|
* **Note:** This behaves as if the field of view is set on a {@link Camera3D} with {@link Camera3D.keepAspect} set to {@link Camera3D.KEEP_HEIGHT}. Additionally, it may not look correct on a non-perspective camera where the field of view setting is ignored.
|
|
755
765
|
*/
|
|
756
|
-
get fovOverride(): number { return _C(this,
|
|
757
|
-
set fovOverride(v: number) { _C(this,
|
|
766
|
+
get fovOverride(): number { return _C(this, 4952) as number; }
|
|
767
|
+
set fovOverride(v: number) { _C(this, 11704, v); }
|
|
758
768
|
|
|
759
769
|
/**
|
|
760
770
|
* If `true`, the proximity fade effect is enabled. The proximity fade effect fades out each pixel based on its distance to another object.
|
|
761
771
|
*/
|
|
762
|
-
get proximityFadeEnabled(): boolean { return _C(this,
|
|
763
|
-
set proximityFadeEnabled(v: boolean) { _C(this,
|
|
772
|
+
get proximityFadeEnabled(): boolean { return _C(this, 8384) as boolean; }
|
|
773
|
+
set proximityFadeEnabled(v: boolean) { _C(this, 12709, v); }
|
|
764
774
|
|
|
765
775
|
/**
|
|
766
776
|
* Distance over which the fade effect takes place. The larger the distance the longer it takes for an object to fade.
|
|
767
777
|
*/
|
|
768
|
-
get proximityFadeDistance(): number { return _C(this,
|
|
769
|
-
set proximityFadeDistance(v: number) { _C(this,
|
|
778
|
+
get proximityFadeDistance(): number { return _C(this, 6170) as number; }
|
|
779
|
+
set proximityFadeDistance(v: number) { _C(this, 12708, v); }
|
|
770
780
|
|
|
771
781
|
/**
|
|
772
782
|
* The width of the range around the shape between the minimum and maximum representable signed distance.
|
|
773
783
|
*/
|
|
774
|
-
get msdfPixelRange(): number { return _C(this,
|
|
775
|
-
set msdfPixelRange(v: number) { _C(this,
|
|
784
|
+
get msdfPixelRange(): number { return _C(this, 5703) as number; }
|
|
785
|
+
set msdfPixelRange(v: number) { _C(this, 12360, v); }
|
|
776
786
|
|
|
777
787
|
/**
|
|
778
788
|
* The width of the shape outline.
|
|
779
789
|
*/
|
|
780
|
-
get msdfOutlineSize(): number { return _C(this,
|
|
781
|
-
set msdfOutlineSize(v: number) { _C(this,
|
|
790
|
+
get msdfOutlineSize(): number { return _C(this, 5702) as number; }
|
|
791
|
+
set msdfOutlineSize(v: number) { _C(this, 12359, v); }
|
|
782
792
|
|
|
783
793
|
/**
|
|
784
794
|
* Specifies which type of fade to use. Can be any of the {@link DistanceFadeMode}s.
|
|
785
795
|
*/
|
|
786
|
-
get distanceFadeMode(): DistanceFadeMode { return _C(this,
|
|
787
|
-
set distanceFadeMode(v: DistanceFadeMode) { _C(this,
|
|
796
|
+
get distanceFadeMode(): DistanceFadeMode { return _C(this, 4605) as DistanceFadeMode; }
|
|
797
|
+
set distanceFadeMode(v: DistanceFadeMode) { _C(this, 11364, v); }
|
|
788
798
|
|
|
789
799
|
/**
|
|
790
800
|
* Distance at which the object starts to become visible. If the object is less than this distance away, it will be invisible.
|
|
791
801
|
* **Note:** If {@link distanceFadeMinDistance} is greater than {@link distanceFadeMaxDistance}, the behavior will be reversed. The object will start to fade away at {@link distanceFadeMaxDistance} and will fully disappear once it reaches {@link distanceFadeMinDistance}.
|
|
792
802
|
*/
|
|
793
|
-
get distanceFadeMinDistance(): number { return _C(this,
|
|
794
|
-
set distanceFadeMinDistance(v: number) { _C(this,
|
|
803
|
+
get distanceFadeMinDistance(): number { return _C(this, 4609) as number; }
|
|
804
|
+
set distanceFadeMinDistance(v: number) { _C(this, 11368, v); }
|
|
795
805
|
|
|
796
806
|
/**
|
|
797
807
|
* Distance at which the object appears fully opaque.
|
|
798
808
|
* **Note:** If {@link distanceFadeMaxDistance} is less than {@link distanceFadeMinDistance}, the behavior will be reversed. The object will start to fade away at {@link distanceFadeMaxDistance} and will fully disappear once it reaches {@link distanceFadeMinDistance}.
|
|
799
809
|
*/
|
|
800
|
-
get distanceFadeMaxDistance(): number { return _C(this,
|
|
801
|
-
set distanceFadeMaxDistance(v: number) { _C(this,
|
|
810
|
+
get distanceFadeMaxDistance(): number { return _C(this, 4608) as number; }
|
|
811
|
+
set distanceFadeMaxDistance(v: number) { _C(this, 11367, v); }
|
|
802
812
|
|
|
803
813
|
/**
|
|
804
814
|
* The stencil effect mode.
|
|
805
815
|
*/
|
|
806
|
-
get stencilMode(): StencilMode { return _C(this,
|
|
807
|
-
set stencilMode(v: StencilMode) { _C(this,
|
|
816
|
+
get stencilMode(): StencilMode { return _C(this, 6683) as StencilMode; }
|
|
817
|
+
set stencilMode(v: StencilMode) { _C(this, 13158, v); }
|
|
808
818
|
|
|
809
819
|
/**
|
|
810
820
|
* The flags dictating how the stencil operation behaves.
|
|
811
821
|
*/
|
|
812
|
-
get stencilFlags(): number { return _C(this,
|
|
813
|
-
set stencilFlags(v: number) { _C(this,
|
|
822
|
+
get stencilFlags(): number { return _C(this, 6682) as number; }
|
|
823
|
+
set stencilFlags(v: number) { _C(this, 13157, v); }
|
|
814
824
|
|
|
815
825
|
/**
|
|
816
826
|
* The comparison operator to use for stencil masking operations.
|
|
817
827
|
*/
|
|
818
|
-
get stencilCompare(): StencilCompare { return _C(this,
|
|
819
|
-
set stencilCompare(v: StencilCompare) { _C(this,
|
|
828
|
+
get stencilCompare(): StencilCompare { return _C(this, 6679) as StencilCompare; }
|
|
829
|
+
set stencilCompare(v: StencilCompare) { _C(this, 13154, v); }
|
|
820
830
|
|
|
821
831
|
/**
|
|
822
832
|
* The stencil reference value (0-255). Typically a power of 2.
|
|
823
833
|
*/
|
|
824
|
-
get stencilReference(): number { return _C(this,
|
|
825
|
-
set stencilReference(v: number) { _C(this,
|
|
834
|
+
get stencilReference(): number { return _C(this, 6684) as number; }
|
|
835
|
+
set stencilReference(v: number) { _C(this, 13159, v); }
|
|
826
836
|
|
|
827
837
|
/**
|
|
828
838
|
* The primary color of the stencil effect.
|
|
829
839
|
*/
|
|
830
|
-
get stencilColor(): Color { return _C(this,
|
|
831
|
-
set stencilColor(v: Color) { _C(this,
|
|
840
|
+
get stencilColor(): Color { return _C(this, 6680) as Color; }
|
|
841
|
+
set stencilColor(v: Color) { _C(this, 13155, v); }
|
|
832
842
|
|
|
833
843
|
/**
|
|
834
844
|
* The outline thickness for {@link STENCIL_MODE_OUTLINE}.
|
|
835
845
|
*/
|
|
836
|
-
get stencilOutlineThickness(): number { return _C(this,
|
|
837
|
-
set stencilOutlineThickness(v: number) { _C(this,
|
|
846
|
+
get stencilOutlineThickness(): number { return _C(this, 6681) as number; }
|
|
847
|
+
set stencilOutlineThickness(v: number) { _C(this, 13156, v); }
|
|
838
848
|
|
|
839
|
-
static readonly name = _R(
|
|
849
|
+
static readonly name = _R(151, BaseMaterial3D);
|
|
840
850
|
}
|
|
841
851
|
|
|
842
852
|
export const TextureParam = {
|
|
@@ -980,7 +990,7 @@ export const Transparency = {
|
|
|
980
990
|
*/
|
|
981
991
|
TRANSPARENCY_ALPHA: 1,
|
|
982
992
|
/**
|
|
983
|
-
* The material will cut off all values below a threshold, the rest will remain opaque. The opaque portions will be rendered in the depth prepass. This is faster to render than alpha blending, but slower than opaque rendering. This also supports casting shadows.
|
|
993
|
+
* The material will cut off all values below a threshold, the rest will remain opaque. The opaque portions will be rendered in the depth prepass. This is faster to render than alpha blending, but slower than opaque rendering. This also supports casting shadows. For textures using this mode see the `Preserve Alpha Test Coverage` option in the texture import settings to improve distant rendering and popping.
|
|
984
994
|
*/
|
|
985
995
|
TRANSPARENCY_ALPHA_SCISSOR: 2,
|
|
986
996
|
/**
|
|
@@ -1073,10 +1083,14 @@ export const Feature = {
|
|
|
1073
1083
|
* Constant for setting {@link bentNormalEnabled}.
|
|
1074
1084
|
*/
|
|
1075
1085
|
FEATURE_BENT_NORMAL_MAPPING: 12,
|
|
1086
|
+
/**
|
|
1087
|
+
* Constant for setting {@link particlesAnimEnabled}.
|
|
1088
|
+
*/
|
|
1089
|
+
FEATURE_PARTICLES_ANIMATION: 13,
|
|
1076
1090
|
/**
|
|
1077
1091
|
* Represents the size of the {@link Feature} enum.
|
|
1078
1092
|
*/
|
|
1079
|
-
FEATURE_MAX:
|
|
1093
|
+
FEATURE_MAX: 14,
|
|
1080
1094
|
} as const;
|
|
1081
1095
|
|
|
1082
1096
|
export type Feature = (typeof Feature)[keyof typeof Feature];
|
|
@@ -1337,6 +1351,7 @@ export const BillboardMode = {
|
|
|
1337
1351
|
/**
|
|
1338
1352
|
* Used for particle systems when assigned to {@link GPUParticles3D} and {@link CPUParticles3D} nodes (flipbook animation). Enables `particles_anim_*` properties.
|
|
1339
1353
|
* The {@link ParticleProcessMaterial.animSpeedMin} or {@link CPUParticles3D.animSpeedMin} should also be set to a value bigger than zero for the animation to play.
|
|
1354
|
+
* For animations without bilboarding, see {@link particlesAnimEnabled}.
|
|
1340
1355
|
*/
|
|
1341
1356
|
BILLBOARD_PARTICLES: 3,
|
|
1342
1357
|
} as const;
|