@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.
Files changed (1026) hide show
  1. package/README.md +185 -185
  2. package/gen/classes/AESContext.ts +6 -6
  3. package/gen/classes/AStar2D.ts +25 -25
  4. package/gen/classes/AStar3D.ts +25 -25
  5. package/gen/classes/AStarGrid2D.ts +33 -33
  6. package/gen/classes/AcceptDialog.ts +23 -22
  7. package/gen/classes/AccessibilityServer.ts +79 -75
  8. package/gen/classes/AimModifier3D.ts +12 -12
  9. package/gen/classes/AnimatableBody2D.ts +2 -2
  10. package/gen/classes/AnimatableBody3D.ts +2 -2
  11. package/gen/classes/AnimatedSprite2D.ts +37 -37
  12. package/gen/classes/AnimatedSprite3D.ts +29 -29
  13. package/gen/classes/AnimatedTexture.ts +14 -14
  14. package/gen/classes/Animation.ts +102 -86
  15. package/gen/classes/AnimationLibrary.ts +15 -15
  16. package/gen/classes/AnimationMixer.ts +54 -54
  17. package/gen/classes/AnimationNode.ts +27 -27
  18. package/gen/classes/AnimationNodeAnimation.ts +16 -16
  19. package/gen/classes/AnimationNodeBlendSpace1D.ts +37 -27
  20. package/gen/classes/AnimationNodeBlendSpace2D.ts +48 -41
  21. package/gen/classes/AnimationNodeBlendTree.ts +14 -14
  22. package/gen/classes/AnimationNodeExtension.ts +2 -2
  23. package/gen/classes/AnimationNodeObserver.ts +10 -0
  24. package/gen/classes/AnimationNodeObserverBlendSpace.ts +18 -0
  25. package/gen/classes/AnimationNodeObserverOneShot.ts +36 -0
  26. package/gen/classes/AnimationNodeObserverTransition.ts +24 -0
  27. package/gen/classes/AnimationNodeOneShot.ts +34 -22
  28. package/gen/classes/AnimationNodeOutput.ts +2 -2
  29. package/gen/classes/AnimationNodeStateMachine.ts +28 -28
  30. package/gen/classes/AnimationNodeStateMachinePlayback.ts +20 -20
  31. package/gen/classes/AnimationNodeStateMachineTransition.ts +22 -22
  32. package/gen/classes/AnimationNodeSub2.ts +2 -2
  33. package/gen/classes/AnimationNodeSync.ts +4 -4
  34. package/gen/classes/AnimationNodeTimeScale.ts +2 -2
  35. package/gen/classes/AnimationNodeTimeSeek.ts +4 -4
  36. package/gen/classes/AnimationNodeTransition.ts +28 -16
  37. package/gen/classes/AnimationPlayer.ts +67 -60
  38. package/gen/classes/AnimationRootNode.ts +2 -2
  39. package/gen/classes/AnimationTree.ts +12 -12
  40. package/gen/classes/Area2D.ts +55 -55
  41. package/gen/classes/Area3D.ts +69 -69
  42. package/gen/classes/AreaLight3D.ts +13 -13
  43. package/gen/classes/ArrayMesh.ts +28 -28
  44. package/gen/classes/ArrayOccluder3D.ts +7 -7
  45. package/gen/classes/AspectRatioContainer.ts +10 -10
  46. package/gen/classes/AtlasTexture.ts +10 -10
  47. package/gen/classes/AudioBusLayout.ts +2 -2
  48. package/gen/classes/AudioEffect.ts +2 -2
  49. package/gen/classes/AudioEffectAmplify.ts +6 -6
  50. package/gen/classes/AudioEffectBandLimitFilter.ts +2 -2
  51. package/gen/classes/AudioEffectBandPassFilter.ts +2 -2
  52. package/gen/classes/AudioEffectCapture.ts +11 -11
  53. package/gen/classes/AudioEffectChorus.ts +20 -20
  54. package/gen/classes/AudioEffectCompressor.ts +16 -16
  55. package/gen/classes/AudioEffectDelay.ts +28 -28
  56. package/gen/classes/AudioEffectDistortion.ts +12 -12
  57. package/gen/classes/AudioEffectEQ.ts +5 -5
  58. package/gen/classes/AudioEffectEQ10.ts +2 -2
  59. package/gen/classes/AudioEffectEQ21.ts +2 -2
  60. package/gen/classes/AudioEffectEQ6.ts +2 -2
  61. package/gen/classes/AudioEffectFilter.ts +10 -10
  62. package/gen/classes/AudioEffectHardLimiter.ts +8 -8
  63. package/gen/classes/AudioEffectHighPassFilter.ts +2 -2
  64. package/gen/classes/AudioEffectHighShelfFilter.ts +2 -2
  65. package/gen/classes/AudioEffectInstance.ts +2 -2
  66. package/gen/classes/AudioEffectLimiter.ts +10 -10
  67. package/gen/classes/AudioEffectLowPassFilter.ts +2 -2
  68. package/gen/classes/AudioEffectLowShelfFilter.ts +2 -2
  69. package/gen/classes/AudioEffectNotchFilter.ts +2 -2
  70. package/gen/classes/AudioEffectPanner.ts +4 -4
  71. package/gen/classes/AudioEffectPhaser.ts +12 -12
  72. package/gen/classes/AudioEffectPitchShift.ts +8 -8
  73. package/gen/classes/AudioEffectRecord.ts +7 -7
  74. package/gen/classes/AudioEffectReverb.ts +18 -18
  75. package/gen/classes/AudioEffectSpectrumAnalyzer.ts +6 -6
  76. package/gen/classes/AudioEffectSpectrumAnalyzerInstance.ts +2 -2
  77. package/gen/classes/AudioEffectStereoEnhance.ts +8 -8
  78. package/gen/classes/AudioListener2D.ts +5 -5
  79. package/gen/classes/AudioListener3D.ts +8 -8
  80. package/gen/classes/AudioSample.ts +2 -2
  81. package/gen/classes/AudioSamplePlayback.ts +2 -2
  82. package/gen/classes/AudioServer.ts +63 -63
  83. package/gen/classes/AudioStream.ts +10 -10
  84. package/gen/classes/AudioStreamGenerator.ts +8 -8
  85. package/gen/classes/AudioStreamGeneratorPlayback.ts +7 -7
  86. package/gen/classes/AudioStreamInteractive.ts +25 -25
  87. package/gen/classes/AudioStreamMP3.ts +16 -16
  88. package/gen/classes/AudioStreamMicrophone.ts +2 -2
  89. package/gen/classes/AudioStreamOggVorbis.ts +18 -18
  90. package/gen/classes/AudioStreamPlayback.ts +11 -11
  91. package/gen/classes/AudioStreamPlaybackInteractive.ts +4 -4
  92. package/gen/classes/AudioStreamPlaybackOggVorbis.ts +2 -2
  93. package/gen/classes/AudioStreamPlaybackPlaylist.ts +1 -1
  94. package/gen/classes/AudioStreamPlaybackPolyphonic.ts +6 -6
  95. package/gen/classes/AudioStreamPlaybackResampled.ts +3 -3
  96. package/gen/classes/AudioStreamPlaybackSynchronized.ts +1 -1
  97. package/gen/classes/AudioStreamPlayer.ts +32 -32
  98. package/gen/classes/AudioStreamPlayer2D.ts +38 -38
  99. package/gen/classes/AudioStreamPlayer3D.ts +54 -54
  100. package/gen/classes/AudioStreamPlaylist.ts +139 -139
  101. package/gen/classes/AudioStreamPolyphonic.ts +4 -4
  102. package/gen/classes/AudioStreamRandomizer.ts +19 -19
  103. package/gen/classes/AudioStreamSynchronized.ts +8 -8
  104. package/gen/classes/AudioStreamWAV.ts +21 -21
  105. package/gen/classes/AwaitTweener.ts +3 -3
  106. package/gen/classes/BackBufferCopy.ts +6 -6
  107. package/gen/classes/BaseButton.ts +39 -33
  108. package/gen/classes/BaseMaterial3D.ts +283 -268
  109. package/gen/classes/BitMap.ts +17 -17
  110. package/gen/classes/BlitMaterial.ts +8 -4
  111. package/gen/classes/Bone2D.ts +13 -13
  112. package/gen/classes/BoneAttachment3D.ts +14 -14
  113. package/gen/classes/BoneConstraint3D.ts +26 -26
  114. package/gen/classes/BoneMap.ts +11 -11
  115. package/gen/classes/BoneSpaceAdjuster3D.ts +76 -0
  116. package/gen/classes/BoneTwistDisperser3D.ts +36 -36
  117. package/gen/classes/BoxContainer.ts +13 -7
  118. package/gen/classes/BoxMesh.ts +10 -10
  119. package/gen/classes/BoxOccluder3D.ts +4 -4
  120. package/gen/classes/BoxShape3D.ts +4 -4
  121. package/gen/classes/Button.ts +28 -28
  122. package/gen/classes/ButtonGroup.ts +8 -8
  123. package/gen/classes/CCDIK3D.ts +2 -2
  124. package/gen/classes/CPUParticles2D.ts +145 -145
  125. package/gen/classes/CPUParticles3D.ts +162 -162
  126. package/gen/classes/CSGBox3D.ts +6 -6
  127. package/gen/classes/CSGCombiner3D.ts +2 -2
  128. package/gen/classes/CSGCylinder3D.ts +14 -14
  129. package/gen/classes/CSGMesh3D.ts +6 -6
  130. package/gen/classes/CSGPolygon3D.ts +36 -36
  131. package/gen/classes/CSGPrimitive3D.ts +3 -3
  132. package/gen/classes/CSGShape3D.ts +27 -27
  133. package/gen/classes/CSGSphere3D.ts +12 -12
  134. package/gen/classes/CSGTorus3D.ts +14 -14
  135. package/gen/classes/CallbackTweener.ts +3 -3
  136. package/gen/classes/Camera2D.ts +66 -66
  137. package/gen/classes/Camera3D.ts +53 -53
  138. package/gen/classes/CameraAttributes.ts +12 -12
  139. package/gen/classes/CameraAttributesPhysical.ts +21 -21
  140. package/gen/classes/CameraAttributesPractical.ts +20 -20
  141. package/gen/classes/CameraFeed.ts +23 -23
  142. package/gen/classes/CameraServer.ts +15 -15
  143. package/gen/classes/CameraTexture.ts +8 -8
  144. package/gen/classes/CanvasGroup.ts +8 -8
  145. package/gen/classes/CanvasItem.ts +115 -113
  146. package/gen/classes/CanvasItemMaterial.ts +14 -14
  147. package/gen/classes/CanvasLayer.ts +27 -27
  148. package/gen/classes/CanvasModulate.ts +4 -4
  149. package/gen/classes/CanvasTexture.ts +16 -16
  150. package/gen/classes/CapsuleMesh.ts +10 -10
  151. package/gen/classes/CapsuleShape2D.ts +8 -8
  152. package/gen/classes/CapsuleShape3D.ts +8 -8
  153. package/gen/classes/CenterContainer.ts +4 -4
  154. package/gen/classes/ChainIK3D.ts +18 -18
  155. package/gen/classes/CharFXTransform.ts +28 -28
  156. package/gen/classes/CharacterBody2D.ts +50 -50
  157. package/gen/classes/CharacterBody3D.ts +51 -51
  158. package/gen/classes/CheckBox.ts +2 -2
  159. package/gen/classes/CheckButton.ts +2 -2
  160. package/gen/classes/CircleShape2D.ts +4 -4
  161. package/gen/classes/ClassDB.ts +38 -32
  162. package/gen/classes/CodeEdit.ts +126 -126
  163. package/gen/classes/CodeHighlighter.ts +30 -30
  164. package/gen/classes/CollisionObject2D.ts +52 -52
  165. package/gen/classes/CollisionObject3D.ts +44 -44
  166. package/gen/classes/CollisionPolygon2D.ts +14 -14
  167. package/gen/classes/CollisionPolygon3D.ts +14 -14
  168. package/gen/classes/CollisionShape2D.ts +14 -14
  169. package/gen/classes/CollisionShape3D.ts +12 -12
  170. package/gen/classes/ColorPalette.ts +4 -4
  171. package/gen/classes/ColorPicker.ts +38 -38
  172. package/gen/classes/ColorPickerButton.ts +16 -16
  173. package/gen/classes/ColorRect.ts +4 -4
  174. package/gen/classes/Compositor.ts +4 -4
  175. package/gen/classes/CompositorEffect.ts +16 -16
  176. package/gen/classes/CompressedCubemap.ts +2 -2
  177. package/gen/classes/CompressedCubemapArray.ts +2 -2
  178. package/gen/classes/CompressedTexture2D.ts +4 -4
  179. package/gen/classes/CompressedTexture2DArray.ts +2 -2
  180. package/gen/classes/CompressedTexture3D.ts +4 -4
  181. package/gen/classes/CompressedTextureLayered.ts +3 -3
  182. package/gen/classes/ConcavePolygonShape2D.ts +4 -4
  183. package/gen/classes/ConcavePolygonShape3D.ts +6 -6
  184. package/gen/classes/ConeTwistJoint3D.ts +12 -12
  185. package/gen/classes/ConfigFile.ts +19 -19
  186. package/gen/classes/ConfirmationDialog.ts +6 -5
  187. package/gen/classes/Container.ts +10 -10
  188. package/gen/classes/Control.ts +280 -240
  189. package/gen/classes/ConvertTransformModifier3D.ts +42 -29
  190. package/gen/classes/ConvexPolygonShape2D.ts +5 -5
  191. package/gen/classes/ConvexPolygonShape3D.ts +4 -4
  192. package/gen/classes/CopyTransformModifier3D.ts +59 -46
  193. package/gen/classes/Crypto.ts +11 -11
  194. package/gen/classes/CryptoKey.ts +7 -7
  195. package/gen/classes/Cubemap.ts +3 -3
  196. package/gen/classes/CubemapArray.ts +3 -3
  197. package/gen/classes/Curve.ts +38 -38
  198. package/gen/classes/Curve2D.ts +25 -25
  199. package/gen/classes/Curve3D.ts +34 -34
  200. package/gen/classes/CurveTexture.ts +8 -8
  201. package/gen/classes/CurveXYZTexture.ts +10 -10
  202. package/gen/classes/CylinderMesh.ts +16 -16
  203. package/gen/classes/CylinderShape3D.ts +6 -6
  204. package/gen/classes/DPITexture.ts +17 -17
  205. package/gen/classes/DTLSServer.ts +4 -4
  206. package/gen/classes/DampedSpringJoint2D.ts +10 -10
  207. package/gen/classes/Decal.ts +32 -32
  208. package/gen/classes/DirAccess.ts +43 -43
  209. package/gen/classes/DirectionalLight2D.ts +6 -6
  210. package/gen/classes/DirectionalLight3D.ts +24 -24
  211. package/gen/classes/DisplayServer.ts +392 -326
  212. package/gen/classes/DrawableTexture2D.ts +10 -10
  213. package/gen/classes/ENetConnection.ts +20 -20
  214. package/gen/classes/ENetMultiplayerPeer.ts +9 -9
  215. package/gen/classes/ENetPacketPeer.ts +18 -18
  216. package/gen/classes/EncodedObjectAsID.ts +4 -4
  217. package/gen/classes/Engine.ts +43 -43
  218. package/gen/classes/EngineDebugger.ts +25 -25
  219. package/gen/classes/EngineProfiler.ts +2 -2
  220. package/gen/classes/Environment.ts +190 -190
  221. package/gen/classes/Expression.ts +6 -6
  222. package/gen/classes/ExternalTexture.ts +6 -6
  223. package/gen/classes/FABRIK3D.ts +2 -2
  224. package/gen/classes/FBXDocument.ts +2 -2
  225. package/gen/classes/FBXState.ts +4 -4
  226. package/gen/classes/FastNoiseLite.ts +44 -44
  227. package/gen/classes/FileAccess.ts +69 -69
  228. package/gen/classes/FileDialog.ts +113 -79
  229. package/gen/classes/FlowContainer.ts +11 -11
  230. package/gen/classes/FogMaterial.ts +14 -14
  231. package/gen/classes/FogVolume.ts +8 -8
  232. package/gen/classes/FoldableContainer.ts +35 -24
  233. package/gen/classes/FoldableGroup.ts +8 -8
  234. package/gen/classes/Font.ts +38 -38
  235. package/gen/classes/FontFile.ts +113 -113
  236. package/gen/classes/FontVariation.ts +28 -28
  237. package/gen/classes/FramebufferCacheRD.ts +3 -3
  238. package/gen/classes/FuzzySearch.ts +86 -0
  239. package/gen/classes/FuzzySearchMatch.ts +36 -0
  240. package/gen/classes/GDExtension.ts +4 -4
  241. package/gen/classes/GDExtensionManager.ts +15 -15
  242. package/gen/classes/GDScript.ts +3 -3
  243. package/gen/classes/GLTFAccessor.ts +34 -34
  244. package/gen/classes/GLTFAnimation.ts +8 -8
  245. package/gen/classes/GLTFBufferView.ts +17 -17
  246. package/gen/classes/GLTFCamera.ts +16 -16
  247. package/gen/classes/GLTFDocument.ts +27 -27
  248. package/gen/classes/GLTFDocumentExtension.ts +2 -2
  249. package/gen/classes/GLTFDocumentExtensionConvertImporterMesh.ts +2 -2
  250. package/gen/classes/GLTFLight.ts +20 -20
  251. package/gen/classes/GLTFMesh.ts +12 -12
  252. package/gen/classes/GLTFNode.ts +34 -34
  253. package/gen/classes/GLTFObjectModelProperty.ts +20 -20
  254. package/gen/classes/GLTFPhysicsBody.ts +22 -22
  255. package/gen/classes/GLTFPhysicsShape.ts +25 -25
  256. package/gen/classes/GLTFSkeleton.ts +13 -13
  257. package/gen/classes/GLTFSkin.ts +22 -22
  258. package/gen/classes/GLTFSpecGloss.ts +12 -12
  259. package/gen/classes/GLTFState.ts +74 -74
  260. package/gen/classes/GLTFTexture.ts +6 -6
  261. package/gen/classes/GLTFTextureSampler.ts +10 -10
  262. package/gen/classes/GPUParticles2D.ts +63 -62
  263. package/gen/classes/GPUParticles3D.ts +81 -76
  264. package/gen/classes/GPUParticlesAttractor3D.ts +9 -9
  265. package/gen/classes/GPUParticlesAttractorBox3D.ts +4 -4
  266. package/gen/classes/GPUParticlesAttractorSphere3D.ts +4 -4
  267. package/gen/classes/GPUParticlesAttractorVectorField3D.ts +6 -6
  268. package/gen/classes/GPUParticlesCollision3D.ts +3 -3
  269. package/gen/classes/GPUParticlesCollisionBox3D.ts +4 -4
  270. package/gen/classes/GPUParticlesCollisionHeightField3D.ts +14 -14
  271. package/gen/classes/GPUParticlesCollisionSDF3D.ts +14 -14
  272. package/gen/classes/GPUParticlesCollisionSphere3D.ts +4 -4
  273. package/gen/classes/Generic6DOFJoint3D.ts +54 -16
  274. package/gen/classes/Geometry2D.ts +26 -26
  275. package/gen/classes/Geometry3D.ts +17 -17
  276. package/gen/classes/GeometryInstance3D.ts +36 -36
  277. package/gen/classes/GodotInstance.ts +8 -8
  278. package/gen/classes/Gradient.ts +19 -19
  279. package/gen/classes/GradientTexture1D.ts +8 -8
  280. package/gen/classes/GradientTexture2D.ts +18 -18
  281. package/gen/classes/GraphEdit.ts +116 -116
  282. package/gen/classes/GraphElement.ts +30 -30
  283. package/gen/classes/GraphFrame.ts +17 -17
  284. package/gen/classes/GraphNode.ts +48 -48
  285. package/gen/classes/GridContainer.ts +4 -4
  286. package/gen/classes/GridMap.ts +76 -64
  287. package/gen/classes/GrooveJoint2D.ts +6 -6
  288. package/gen/classes/HBoxContainer.ts +2 -2
  289. package/gen/classes/HFlowContainer.ts +2 -2
  290. package/gen/classes/HMACContext.ts +5 -5
  291. package/gen/classes/HScrollBar.ts +2 -2
  292. package/gen/classes/HSeparator.ts +2 -2
  293. package/gen/classes/HSlider.ts +2 -2
  294. package/gen/classes/HSplitContainer.ts +2 -2
  295. package/gen/classes/HTTPClient.ts +25 -25
  296. package/gen/classes/HTTPRequest.ts +42 -28
  297. package/gen/classes/HashingContext.ts +5 -5
  298. package/gen/classes/HeightMapShape3D.ts +12 -12
  299. package/gen/classes/HingeJoint3D.ts +6 -6
  300. package/gen/classes/IKModifier3D.ts +8 -7
  301. package/gen/classes/IP.ts +12 -12
  302. package/gen/classes/Image.ts +124 -88
  303. package/gen/classes/ImageFormatLoader.ts +1 -1
  304. package/gen/classes/ImageFormatLoaderExtension.ts +4 -4
  305. package/gen/classes/ImageTexture.ts +8 -8
  306. package/gen/classes/ImageTexture3D.ts +4 -4
  307. package/gen/classes/ImageTextureLayered.ts +3 -3
  308. package/gen/classes/ImmediateMesh.ts +12 -12
  309. package/gen/classes/ImporterMesh.ts +27 -27
  310. package/gen/classes/ImporterMeshInstance3D.ts +22 -22
  311. package/gen/classes/Input.ts +174 -109
  312. package/gen/classes/InputEvent.ts +17 -17
  313. package/gen/classes/InputEventAction.ts +10 -10
  314. package/gen/classes/InputEventFromWindow.ts +3 -3
  315. package/gen/classes/InputEventGesture.ts +3 -3
  316. package/gen/classes/InputEventJoypadButton.ts +8 -8
  317. package/gen/classes/InputEventJoypadMotion.ts +6 -6
  318. package/gen/classes/InputEventKey.ts +31 -31
  319. package/gen/classes/InputEventMIDI.ts +18 -18
  320. package/gen/classes/InputEventMagnifyGesture.ts +4 -4
  321. package/gen/classes/InputEventMouse.ts +7 -7
  322. package/gen/classes/InputEventMouseButton.ts +12 -12
  323. package/gen/classes/InputEventMouseMotion.ts +16 -16
  324. package/gen/classes/InputEventPanGesture.ts +4 -4
  325. package/gen/classes/InputEventScreenDrag.ts +20 -20
  326. package/gen/classes/InputEventScreenTouch.ts +19 -12
  327. package/gen/classes/InputEventShortcut.ts +4 -4
  328. package/gen/classes/InputEventWithModifiers.ts +13 -13
  329. package/gen/classes/InputMap.ts +18 -18
  330. package/gen/classes/InstancePlaceholder.ts +4 -4
  331. package/gen/classes/IntervalTweener.ts +2 -2
  332. package/gen/classes/ItemList.ts +97 -97
  333. package/gen/classes/IterateIK3D.ts +40 -26
  334. package/gen/classes/JNISingleton.ts +3 -3
  335. package/gen/classes/JSON.ts +17 -17
  336. package/gen/classes/JSONRPC.ts +9 -9
  337. package/gen/classes/JacobianIK3D.ts +2 -2
  338. package/gen/classes/JavaClass.ts +6 -6
  339. package/gen/classes/JavaClassWrapper.ts +6 -6
  340. package/gen/classes/JavaObject.ts +4 -4
  341. package/gen/classes/JavaScriptBridge.ts +14 -14
  342. package/gen/classes/JavaScriptObject.ts +1 -1
  343. package/gen/classes/Joint2D.ts +10 -10
  344. package/gen/classes/Joint3D.ts +14 -12
  345. package/gen/classes/JointLimitation3D.ts +2 -2
  346. package/gen/classes/JointLimitationCone3D.ts +4 -4
  347. package/gen/classes/KinematicCollision2D.ts +15 -15
  348. package/gen/classes/KinematicCollision3D.ts +16 -16
  349. package/gen/classes/Label.ts +74 -51
  350. package/gen/classes/Label3D.ts +69 -69
  351. package/gen/classes/LabelSettings.ts +43 -43
  352. package/gen/classes/Light2D.ts +33 -33
  353. package/gen/classes/Light3D.ts +73 -57
  354. package/gen/classes/LightOccluder2D.ts +8 -8
  355. package/gen/classes/LightmapGI.ts +59 -47
  356. package/gen/classes/LightmapGIData.ts +20 -20
  357. package/gen/classes/LightmapProbe.ts +2 -2
  358. package/gen/classes/Lightmapper.ts +1 -1
  359. package/gen/classes/LightmapperRD.ts +2 -2
  360. package/gen/classes/LimitAngularVelocityModifier3D.ts +19 -19
  361. package/gen/classes/Line2D.ts +36 -36
  362. package/gen/classes/LineBase3D.ts +67 -0
  363. package/gen/classes/LineEdit.ts +108 -108
  364. package/gen/classes/LinkButton.ts +20 -20
  365. package/gen/classes/Logger.ts +2 -2
  366. package/gen/classes/LookAtModifier3D.ts +76 -68
  367. package/gen/classes/MainLoop.ts +4 -4
  368. package/gen/classes/MarginContainer.ts +2 -2
  369. package/gen/classes/Marker2D.ts +5 -5
  370. package/gen/classes/Marker3D.ts +5 -5
  371. package/gen/classes/Marshalls.ts +8 -8
  372. package/gen/classes/Material.ts +8 -8
  373. package/gen/classes/MenuBar.ts +26 -26
  374. package/gen/classes/MenuButton.ts +11 -11
  375. package/gen/classes/Mesh.ts +27 -23
  376. package/gen/classes/MeshConvexDecompositionSettings.ts +28 -28
  377. package/gen/classes/MeshDataTool.ts +40 -40
  378. package/gen/classes/MeshInstance2D.ts +8 -8
  379. package/gen/classes/MeshInstance3D.ts +23 -23
  380. package/gen/classes/MeshLibrary.ts +38 -28
  381. package/gen/classes/MeshTexture.ts +8 -8
  382. package/gen/classes/MethodTweener.ts +5 -5
  383. package/gen/classes/MissingNode.ts +10 -10
  384. package/gen/classes/MissingResource.ts +6 -6
  385. package/gen/classes/MobileVRInterface.ts +22 -22
  386. package/gen/classes/ModifierBoneTarget3D.ts +6 -6
  387. package/gen/classes/MovieWriter.ts +3 -3
  388. package/gen/classes/MultiMesh.ts +40 -40
  389. package/gen/classes/MultiMeshInstance2D.ts +8 -8
  390. package/gen/classes/MultiMeshInstance3D.ts +4 -4
  391. package/gen/classes/MultiplayerAPI.ts +25 -25
  392. package/gen/classes/MultiplayerAPIExtension.ts +2 -2
  393. package/gen/classes/MultiplayerPeer.ts +23 -23
  394. package/gen/classes/MultiplayerPeerExtension.ts +2 -2
  395. package/gen/classes/MultiplayerSpawner.ts +17 -17
  396. package/gen/classes/MultiplayerSynchronizer.ts +25 -25
  397. package/gen/classes/Mutex.ts +5 -5
  398. package/gen/classes/NativeMenu.ts +84 -71
  399. package/gen/classes/NavigationAgent2D.ts +98 -98
  400. package/gen/classes/NavigationAgent3D.ts +104 -104
  401. package/gen/classes/NavigationLink2D.ts +26 -26
  402. package/gen/classes/NavigationLink3D.ts +26 -26
  403. package/gen/classes/NavigationMesh.ts +62 -62
  404. package/gen/classes/NavigationMeshGenerator.ts +6 -6
  405. package/gen/classes/NavigationMeshSourceGeometryData2D.ts +18 -18
  406. package/gen/classes/NavigationMeshSourceGeometryData3D.ts +18 -18
  407. package/gen/classes/NavigationObstacle2D.ts +24 -23
  408. package/gen/classes/NavigationObstacle3D.ts +31 -30
  409. package/gen/classes/NavigationPathQueryParameters2D.ts +34 -34
  410. package/gen/classes/NavigationPathQueryParameters3D.ts +34 -34
  411. package/gen/classes/NavigationPathQueryResult2D.ts +13 -13
  412. package/gen/classes/NavigationPathQueryResult3D.ts +13 -13
  413. package/gen/classes/NavigationPolygon.ts +44 -44
  414. package/gen/classes/NavigationRegion2D.ts +28 -28
  415. package/gen/classes/NavigationRegion3D.ts +28 -28
  416. package/gen/classes/NavigationServer2D.ts +157 -157
  417. package/gen/classes/NavigationServer2DManager.ts +4 -4
  418. package/gen/classes/NavigationServer3D.ts +176 -176
  419. package/gen/classes/NavigationServer3DManager.ts +4 -4
  420. package/gen/classes/NinePatchRect.ts +22 -22
  421. package/gen/classes/Node.ts +145 -145
  422. package/gen/classes/Node2D.ts +37 -37
  423. package/gen/classes/Node3D.ts +75 -75
  424. package/gen/classes/Node3DGizmo.ts +1 -1
  425. package/gen/classes/Noise.ts +10 -10
  426. package/gen/classes/NoiseTexture2D.ts +26 -26
  427. package/gen/classes/NoiseTexture3D.ts +20 -20
  428. package/gen/classes/ORMMaterial3D.ts +2 -2
  429. package/gen/classes/OS.ts +101 -90
  430. package/gen/classes/Object.ts +60 -60
  431. package/gen/classes/Occluder3D.ts +3 -3
  432. package/gen/classes/OccluderInstance3D.ts +10 -10
  433. package/gen/classes/OccluderPolygon2D.ts +8 -8
  434. package/gen/classes/OfflineMultiplayerPeer.ts +2 -2
  435. package/gen/classes/OggPacketSequence.ts +9 -9
  436. package/gen/classes/OggPacketSequencePlayback.ts +2 -2
  437. package/gen/classes/OmniLight3D.ts +8 -8
  438. package/gen/classes/OpenXRAPIExtension.ts +58 -53
  439. package/gen/classes/OpenXRAction.ts +8 -8
  440. package/gen/classes/OpenXRActionBindingModifier.ts +2 -2
  441. package/gen/classes/OpenXRActionMap.ts +17 -17
  442. package/gen/classes/OpenXRActionSet.ts +11 -11
  443. package/gen/classes/OpenXRAnalogThresholdModifier.ts +10 -10
  444. package/gen/classes/OpenXRAnchorTracker.ts +7 -7
  445. package/gen/classes/OpenXRAndroidThreadSettingsExtension.ts +3 -3
  446. package/gen/classes/OpenXRBindingModifier.ts +1 -1
  447. package/gen/classes/OpenXRCompositionLayer.ts +42 -42
  448. package/gen/classes/OpenXRCompositionLayerCylinder.ts +10 -10
  449. package/gen/classes/OpenXRCompositionLayerEquirect.ts +12 -12
  450. package/gen/classes/OpenXRCompositionLayerQuad.ts +4 -4
  451. package/gen/classes/OpenXRDpadBindingModifier.ts +20 -20
  452. package/gen/classes/OpenXRExtensionWrapper.ts +6 -5
  453. package/gen/classes/OpenXRExtensionWrapperExtension.ts +2 -2
  454. package/gen/classes/OpenXRFoveatedInsetViewport.ts +26 -0
  455. package/gen/classes/OpenXRFrameSynthesisExtension.ts +8 -8
  456. package/gen/classes/OpenXRFutureExtension.ts +5 -5
  457. package/gen/classes/OpenXRFutureResult.ts +8 -8
  458. package/gen/classes/OpenXRHand.ts +12 -12
  459. package/gen/classes/OpenXRHapticBase.ts +1 -1
  460. package/gen/classes/OpenXRHapticVibration.ts +8 -8
  461. package/gen/classes/OpenXRIPBinding.ts +16 -16
  462. package/gen/classes/OpenXRIPBindingModifier.ts +2 -2
  463. package/gen/classes/OpenXRInteractionProfile.ts +12 -12
  464. package/gen/classes/OpenXRInteractionProfileMetadata.ts +7 -7
  465. package/gen/classes/OpenXRInterface.ts +100 -63
  466. package/gen/classes/OpenXRMarkerTracker.ts +12 -12
  467. package/gen/classes/OpenXRPlaneTracker.ts +26 -16
  468. package/gen/classes/OpenXRRenderModel.ts +7 -7
  469. package/gen/classes/OpenXRRenderModelExtension.ts +21 -21
  470. package/gen/classes/OpenXRRenderModelManager.ts +10 -10
  471. package/gen/classes/OpenXRSpatialAnchorCapability.ts +15 -15
  472. package/gen/classes/OpenXRSpatialCapabilityConfigurationAnchor.ts +3 -3
  473. package/gen/classes/OpenXRSpatialCapabilityConfigurationAprilTag.ts +5 -5
  474. package/gen/classes/OpenXRSpatialCapabilityConfigurationAruco.ts +23 -23
  475. package/gen/classes/OpenXRSpatialCapabilityConfigurationBaseHeader.ts +4 -4
  476. package/gen/classes/OpenXRSpatialCapabilityConfigurationMicroQrCode.ts +3 -3
  477. package/gen/classes/OpenXRSpatialCapabilityConfigurationPlaneTracking.ts +6 -6
  478. package/gen/classes/OpenXRSpatialCapabilityConfigurationQrCode.ts +3 -3
  479. package/gen/classes/OpenXRSpatialComponentAnchorList.ts +3 -3
  480. package/gen/classes/OpenXRSpatialComponentBounded2DList.ts +4 -4
  481. package/gen/classes/OpenXRSpatialComponentBounded3DList.ts +4 -4
  482. package/gen/classes/OpenXRSpatialComponentData.ts +4 -4
  483. package/gen/classes/OpenXRSpatialComponentMarkerList.ts +7 -7
  484. package/gen/classes/OpenXRSpatialComponentMesh2DList.ts +5 -5
  485. package/gen/classes/OpenXRSpatialComponentMesh3DList.ts +4 -4
  486. package/gen/classes/OpenXRSpatialComponentParentList.ts +3 -3
  487. package/gen/classes/OpenXRSpatialComponentPersistenceList.ts +4 -4
  488. package/gen/classes/OpenXRSpatialComponentPlaneAlignmentList.ts +3 -3
  489. package/gen/classes/OpenXRSpatialComponentPlaneSemanticLabelList.ts +3 -3
  490. package/gen/classes/OpenXRSpatialComponentPolygon2DList.ts +4 -4
  491. package/gen/classes/OpenXRSpatialContainerExtension.ts +92 -0
  492. package/gen/classes/OpenXRSpatialContainerSelfRenderingExtension.ts +19 -0
  493. package/gen/classes/OpenXRSpatialContainerState.ts +43 -0
  494. package/gen/classes/OpenXRSpatialContextPersistenceConfig.ts +5 -5
  495. package/gen/classes/OpenXRSpatialEntityExtension.ts +63 -32
  496. package/gen/classes/OpenXRSpatialEntityTracker.ts +15 -15
  497. package/gen/classes/OpenXRSpatialMarkerTrackingCapability.ts +47 -9
  498. package/gen/classes/OpenXRSpatialPlaneTrackingCapability.ts +20 -4
  499. package/gen/classes/OpenXRSpatialQueryResultData.ts +5 -5
  500. package/gen/classes/OpenXRStructureBase.ts +10 -5
  501. package/gen/classes/OpenXRVisibilityMask.ts +2 -2
  502. package/gen/classes/OptimizedTranslation.ts +3 -3
  503. package/gen/classes/OptionButton.ts +51 -51
  504. package/gen/classes/PCKPacker.ts +7 -7
  505. package/gen/classes/PackedDataContainer.ts +4 -4
  506. package/gen/classes/PackedDataContainerRef.ts +2 -2
  507. package/gen/classes/PackedScene.ts +6 -6
  508. package/gen/classes/PacketPeer.ts +10 -10
  509. package/gen/classes/PacketPeerDTLS.ts +7 -7
  510. package/gen/classes/PacketPeerExtension.ts +2 -2
  511. package/gen/classes/PacketPeerStream.ts +9 -9
  512. package/gen/classes/PacketPeerUDP.ts +16 -16
  513. package/gen/classes/Panel.ts +2 -2
  514. package/gen/classes/PanelContainer.ts +2 -2
  515. package/gen/classes/PanoramaSkyMaterial.ts +8 -8
  516. package/gen/classes/Parallax2D.ts +22 -22
  517. package/gen/classes/ParallaxBackground.ts +14 -14
  518. package/gen/classes/ParallaxLayer.ts +9 -9
  519. package/gen/classes/ParticleProcessMaterial.ts +269 -253
  520. package/gen/classes/Path2D.ts +4 -4
  521. package/gen/classes/Path3D.ts +10 -10
  522. package/gen/classes/PathFollow2D.ts +16 -16
  523. package/gen/classes/PathFollow3D.ts +21 -21
  524. package/gen/classes/Performance.ts +15 -11
  525. package/gen/classes/PhysicalBone2D.ts +14 -14
  526. package/gen/classes/PhysicalBone3D.ts +45 -39
  527. package/gen/classes/PhysicalBoneSimulator3D.ts +7 -7
  528. package/gen/classes/PhysicalSkyMaterial.ts +24 -24
  529. package/gen/classes/PhysicsBody2D.ts +7 -7
  530. package/gen/classes/PhysicsBody3D.ts +19 -19
  531. package/gen/classes/PhysicsCastMotionResult2D.ts +25 -0
  532. package/gen/classes/PhysicsCastMotionResult3D.ts +25 -0
  533. package/gen/classes/PhysicsCollideShapeResult2D.ts +38 -0
  534. package/gen/classes/PhysicsCollideShapeResult3D.ts +38 -0
  535. package/gen/classes/PhysicsDirectBodyState2D.ts +49 -49
  536. package/gen/classes/PhysicsDirectBodyState2DExtension.ts +2 -2
  537. package/gen/classes/PhysicsDirectBodyState3D.ts +51 -51
  538. package/gen/classes/PhysicsDirectBodyState3DExtension.ts +2 -2
  539. package/gen/classes/PhysicsDirectSpaceState2D.ts +61 -14
  540. package/gen/classes/PhysicsDirectSpaceState2DExtension.ts +3 -3
  541. package/gen/classes/PhysicsDirectSpaceState3D.ts +64 -15
  542. package/gen/classes/PhysicsDirectSpaceState3DExtension.ts +3 -3
  543. package/gen/classes/PhysicsGetRestInfoResult2D.ts +48 -0
  544. package/gen/classes/PhysicsGetRestInfoResult3D.ts +48 -0
  545. package/gen/classes/PhysicsIntersectPointResult2D.ts +49 -0
  546. package/gen/classes/PhysicsIntersectPointResult3D.ts +49 -0
  547. package/gen/classes/PhysicsIntersectRayResult2D.ts +49 -0
  548. package/gen/classes/PhysicsIntersectRayResult3D.ts +55 -0
  549. package/gen/classes/PhysicsIntersectShapeResult2D.ts +49 -0
  550. package/gen/classes/PhysicsIntersectShapeResult3D.ts +49 -0
  551. package/gen/classes/PhysicsMaterial.ts +10 -10
  552. package/gen/classes/PhysicsPointQueryParameters2D.ts +15 -14
  553. package/gen/classes/PhysicsPointQueryParameters3D.ts +13 -12
  554. package/gen/classes/PhysicsRayQueryParameters2D.ts +18 -17
  555. package/gen/classes/PhysicsRayQueryParameters3D.ts +20 -19
  556. package/gen/classes/PhysicsServer2D.ts +122 -122
  557. package/gen/classes/PhysicsServer2DExtension.ts +4 -4
  558. package/gen/classes/PhysicsServer2DManager.ts +4 -4
  559. package/gen/classes/PhysicsServer3D.ts +210 -182
  560. package/gen/classes/PhysicsServer3DExtension.ts +5 -5
  561. package/gen/classes/PhysicsServer3DManager.ts +4 -4
  562. package/gen/classes/PhysicsServer3DRenderingServerHandler.ts +5 -5
  563. package/gen/classes/PhysicsShapeQueryParameters2D.ts +21 -20
  564. package/gen/classes/PhysicsShapeQueryParameters3D.ts +21 -20
  565. package/gen/classes/PhysicsTestMotionParameters2D.ts +17 -16
  566. package/gen/classes/PhysicsTestMotionParameters3D.ts +19 -18
  567. package/gen/classes/PhysicsTestMotionResult2D.ts +16 -15
  568. package/gen/classes/PhysicsTestMotionResult3D.ts +17 -16
  569. package/gen/classes/PinJoint2D.ts +14 -14
  570. package/gen/classes/PinJoint3D.ts +4 -4
  571. package/gen/classes/PlaceholderCubemap.ts +2 -2
  572. package/gen/classes/PlaceholderCubemapArray.ts +2 -2
  573. package/gen/classes/PlaceholderMaterial.ts +2 -2
  574. package/gen/classes/PlaceholderMesh.ts +4 -4
  575. package/gen/classes/PlaceholderTexture2D.ts +4 -4
  576. package/gen/classes/PlaceholderTexture2DArray.ts +2 -2
  577. package/gen/classes/PlaceholderTexture3D.ts +4 -4
  578. package/gen/classes/PlaceholderTextureLayered.ts +5 -5
  579. package/gen/classes/PlaneMesh.ts +12 -12
  580. package/gen/classes/PointLight2D.ts +10 -10
  581. package/gen/classes/PointMesh.ts +2 -2
  582. package/gen/classes/Polygon2D.ts +42 -42
  583. package/gen/classes/PolygonOccluder3D.ts +4 -4
  584. package/gen/classes/PolygonPathFinder.ts +12 -12
  585. package/gen/classes/Popup.ts +4 -4
  586. package/gen/classes/PopupMenu.ts +125 -112
  587. package/gen/classes/PopupPanel.ts +2 -2
  588. package/gen/classes/PortableCompressedTexture2D.ts +11 -11
  589. package/gen/classes/PrimitiveMesh.ts +15 -15
  590. package/gen/classes/PrismMesh.ts +12 -12
  591. package/gen/classes/ProceduralSkyMaterial.ts +30 -30
  592. package/gen/classes/ProgressBar.ts +10 -10
  593. package/gen/classes/ProjectSettings.ts +26 -26
  594. package/gen/classes/PropertyTweener.ts +9 -9
  595. package/gen/classes/QuadMesh.ts +2 -2
  596. package/gen/classes/QuadOccluder3D.ts +4 -4
  597. package/gen/classes/RDAccelerationStructureGeometry.ts +20 -20
  598. package/gen/classes/RDAccelerationStructureInstance.ts +14 -14
  599. package/gen/classes/RDAttachmentFormat.ts +8 -8
  600. package/gen/classes/RDFramebufferPass.ts +12 -12
  601. package/gen/classes/RDHitGroup.ts +8 -8
  602. package/gen/classes/RDPipelineColorBlendState.ts +10 -10
  603. package/gen/classes/RDPipelineColorBlendStateAttachment.ts +25 -25
  604. package/gen/classes/RDPipelineDepthStencilState.ts +44 -44
  605. package/gen/classes/RDPipelineMultisampleState.ts +14 -14
  606. package/gen/classes/RDPipelineRasterizationState.ts +25 -25
  607. package/gen/classes/RDPipelineShader.ts +6 -6
  608. package/gen/classes/RDPipelineSpecializationConstant.ts +6 -6
  609. package/gen/classes/RDSamplerState.ts +32 -32
  610. package/gen/classes/RDShaderFile.ts +7 -7
  611. package/gen/classes/RDShaderSPIRV.ts +42 -42
  612. package/gen/classes/RDShaderSource.ts +24 -24
  613. package/gen/classes/RDTextureFormat.ts +26 -26
  614. package/gen/classes/RDTextureView.ts +12 -12
  615. package/gen/classes/RDUniform.ts +9 -9
  616. package/gen/classes/RDVertexAttribute.ts +14 -14
  617. package/gen/classes/RandomNumberGenerator.ts +13 -13
  618. package/gen/classes/Range.ts +29 -29
  619. package/gen/classes/RayCast2D.ts +30 -30
  620. package/gen/classes/RayCast3D.ts +37 -37
  621. package/gen/classes/RectangleShape2D.ts +4 -4
  622. package/gen/classes/RefCounted.ts +6 -6
  623. package/gen/classes/ReferenceRect.ts +8 -8
  624. package/gen/classes/ReflectionProbe.ts +32 -32
  625. package/gen/classes/RegEx.ts +13 -13
  626. package/gen/classes/RegExMatch.ts +9 -9
  627. package/gen/classes/RemoteTransform2D.ts +13 -13
  628. package/gen/classes/RemoteTransform3D.ts +13 -13
  629. package/gen/classes/RenderData.ts +5 -5
  630. package/gen/classes/RenderDataExtension.ts +2 -2
  631. package/gen/classes/RenderDataRD.ts +2 -2
  632. package/gen/classes/RenderSceneBuffers.ts +2 -2
  633. package/gen/classes/RenderSceneBuffersConfiguration.ts +22 -22
  634. package/gen/classes/RenderSceneBuffersExtension.ts +2 -2
  635. package/gen/classes/RenderSceneBuffersRD.ts +29 -29
  636. package/gen/classes/RenderSceneData.ts +7 -7
  637. package/gen/classes/RenderSceneDataExtension.ts +2 -2
  638. package/gen/classes/RenderSceneDataRD.ts +2 -2
  639. package/gen/classes/RenderingDevice.ts +152 -140
  640. package/gen/classes/RenderingServer.ts +603 -550
  641. package/gen/classes/Resource.ts +29 -29
  642. package/gen/classes/ResourceFormatLoader.ts +2 -2
  643. package/gen/classes/ResourceFormatSaver.ts +2 -2
  644. package/gen/classes/ResourceImporter.ts +1 -1
  645. package/gen/classes/ResourceLoader.ts +21 -16
  646. package/gen/classes/ResourcePreloader.ts +10 -10
  647. package/gen/classes/ResourceSaver.ts +8 -8
  648. package/gen/classes/ResourceUID.ts +11 -11
  649. package/gen/classes/RetargetModifier3D.ts +22 -14
  650. package/gen/classes/RibbonTrailMesh.ts +14 -14
  651. package/gen/classes/RichTextEffect.ts +2 -2
  652. package/gen/classes/RichTextLabel.ts +236 -181
  653. package/gen/classes/RigidBody2D.ts +84 -70
  654. package/gen/classes/RigidBody3D.ts +85 -71
  655. package/gen/classes/RootMotionView.ts +12 -12
  656. package/gen/classes/SceneMultiplayer.ts +31 -31
  657. package/gen/classes/SceneReplicationConfig.ts +15 -15
  658. package/gen/classes/SceneState.ts +24 -24
  659. package/gen/classes/SceneTree.ts +67 -68
  660. package/gen/classes/SceneTreeTimer.ts +5 -5
  661. package/gen/classes/Script.ts +21 -20
  662. package/gen/classes/ScriptBacktrace.ts +18 -18
  663. package/gen/classes/ScriptExtension.ts +2 -2
  664. package/gen/classes/ScriptLanguage.ts +16 -1
  665. package/gen/classes/ScriptLanguageExtension.ts +2 -2
  666. package/gen/classes/ScrollBar.ts +5 -5
  667. package/gen/classes/ScrollContainer.ts +58 -34
  668. package/gen/classes/SegmentShape2D.ts +6 -6
  669. package/gen/classes/Semaphore.ts +5 -5
  670. package/gen/classes/SeparationRayShape2D.ts +6 -6
  671. package/gen/classes/SeparationRayShape3D.ts +6 -6
  672. package/gen/classes/Separator.ts +1 -1
  673. package/gen/classes/Shader.ts +14 -9
  674. package/gen/classes/ShaderGlobalsOverride.ts +2 -2
  675. package/gen/classes/ShaderInclude.ts +4 -4
  676. package/gen/classes/ShaderIncludeDB.ts +5 -5
  677. package/gen/classes/ShaderMaterial.ts +6 -6
  678. package/gen/classes/Shape2D.ts +9 -9
  679. package/gen/classes/Shape3D.ts +6 -6
  680. package/gen/classes/ShapeCast2D.ts +38 -38
  681. package/gen/classes/ShapeCast3D.ts +41 -41
  682. package/gen/classes/Shortcut.ts +7 -7
  683. package/gen/classes/Skeleton2D.ts +12 -12
  684. package/gen/classes/Skeleton3D.ts +82 -70
  685. package/gen/classes/SkeletonIK3D.ts +27 -27
  686. package/gen/classes/SkeletonModification2D.ts +12 -12
  687. package/gen/classes/SkeletonModification2DCCDIK.ts +22 -22
  688. package/gen/classes/SkeletonModification2DFABRIK.ts +14 -14
  689. package/gen/classes/SkeletonModification2DJiggle.ts +37 -37
  690. package/gen/classes/SkeletonModification2DLookAt.ts +18 -18
  691. package/gen/classes/SkeletonModification2DPhysicalBones.ts +9 -9
  692. package/gen/classes/SkeletonModification2DStackHolder.ts +4 -4
  693. package/gen/classes/SkeletonModification2DTwoBoneIK.ts +18 -18
  694. package/gen/classes/SkeletonModificationStack2D.ts +18 -18
  695. package/gen/classes/SkeletonModifier3D.ts +9 -9
  696. package/gen/classes/SkeletonProfile.ts +34 -34
  697. package/gen/classes/SkeletonProfileHumanoid.ts +2 -2
  698. package/gen/classes/Skin.ts +49 -13
  699. package/gen/classes/SkinReference.ts +3 -3
  700. package/gen/classes/Sky.ts +8 -8
  701. package/gen/classes/Slider.ts +15 -15
  702. package/gen/classes/SliderJoint3D.ts +4 -4
  703. package/gen/classes/SocketServer.ts +5 -5
  704. package/gen/classes/SoftBody3D.ts +47 -42
  705. package/gen/classes/SphereMesh.ts +12 -12
  706. package/gen/classes/SphereOccluder3D.ts +4 -4
  707. package/gen/classes/SphereShape3D.ts +4 -4
  708. package/gen/classes/SpinBox.ts +50 -27
  709. package/gen/classes/SplineIK3D.ts +12 -12
  710. package/gen/classes/SplitContainer.ts +35 -35
  711. package/gen/classes/SpotLight3D.ts +10 -10
  712. package/gen/classes/SpringArm3D.ts +14 -14
  713. package/gen/classes/SpringBoneCollision3D.ts +11 -11
  714. package/gen/classes/SpringBoneCollisionCapsule3D.ts +10 -10
  715. package/gen/classes/SpringBoneCollisionPlane3D.ts +2 -2
  716. package/gen/classes/SpringBoneCollisionSphere3D.ts +6 -6
  717. package/gen/classes/SpringBoneSimulator3D.ts +86 -86
  718. package/gen/classes/Sprite2D.ts +32 -32
  719. package/gen/classes/Sprite3D.ts +20 -20
  720. package/gen/classes/SpriteBase3D.ts +43 -43
  721. package/gen/classes/SpriteFrames.ts +24 -24
  722. package/gen/classes/StandardMaterial3D.ts +2 -2
  723. package/gen/classes/StaticBody2D.ts +8 -8
  724. package/gen/classes/StaticBody3D.ts +8 -8
  725. package/gen/classes/StatusIndicator.ts +17 -13
  726. package/gen/classes/StreamPeer.ts +37 -37
  727. package/gen/classes/StreamPeerBuffer.ts +10 -10
  728. package/gen/classes/StreamPeerExtension.ts +2 -2
  729. package/gen/classes/StreamPeerGZIP.ts +6 -6
  730. package/gen/classes/StreamPeerSocket.ts +4 -4
  731. package/gen/classes/StreamPeerTCP.ts +9 -9
  732. package/gen/classes/StreamPeerTLS.ts +9 -9
  733. package/gen/classes/StreamPeerUDS.ts +5 -5
  734. package/gen/classes/StreamedTexture2D.ts +34 -0
  735. package/gen/classes/StyleBox.ts +17 -17
  736. package/gen/classes/StyleBoxEmpty.ts +2 -2
  737. package/gen/classes/StyleBoxFlat.ts +52 -52
  738. package/gen/classes/StyleBoxLine.ts +12 -12
  739. package/gen/classes/StyleBoxTexture.ts +32 -32
  740. package/gen/classes/SubViewport.ts +14 -14
  741. package/gen/classes/SubViewportContainer.ts +9 -9
  742. package/gen/classes/SubtweenTweener.ts +3 -3
  743. package/gen/classes/SurfaceTool.ts +35 -35
  744. package/gen/classes/SyntaxHighlighter.ts +30 -6
  745. package/gen/classes/SystemFont.ts +36 -36
  746. package/gen/classes/TCPServer.ts +6 -6
  747. package/gen/classes/TLSOptions.ts +10 -10
  748. package/gen/classes/TabBar.ts +109 -78
  749. package/gen/classes/TabContainer.ts +75 -68
  750. package/gen/classes/TextEdit.ts +275 -269
  751. package/gen/classes/TextLine.ts +41 -41
  752. package/gen/classes/TextMesh.ts +38 -38
  753. package/gen/classes/TextParagraph.ts +64 -64
  754. package/gen/classes/TextServer.ts +250 -245
  755. package/gen/classes/TextServerAdvanced.ts +2 -2
  756. package/gen/classes/TextServerDummy.ts +2 -2
  757. package/gen/classes/TextServerExtension.ts +2 -2
  758. package/gen/classes/TextServerManager.ts +14 -14
  759. package/gen/classes/Texture.ts +2 -2
  760. package/gen/classes/Texture2D.ts +14 -14
  761. package/gen/classes/Texture2DArray.ts +3 -3
  762. package/gen/classes/Texture2DArrayRD.ts +2 -2
  763. package/gen/classes/Texture2DRD.ts +4 -4
  764. package/gen/classes/Texture3D.ts +9 -9
  765. package/gen/classes/Texture3DRD.ts +4 -4
  766. package/gen/classes/TextureButton.ts +22 -22
  767. package/gen/classes/TextureCubemapArrayRD.ts +2 -2
  768. package/gen/classes/TextureCubemapRD.ts +2 -2
  769. package/gen/classes/TextureLayered.ts +9 -9
  770. package/gen/classes/TextureLayeredRD.ts +3 -3
  771. package/gen/classes/TextureProgressBar.ts +34 -34
  772. package/gen/classes/TextureRect.ts +13 -12
  773. package/gen/classes/TextureStreaming.ts +54 -0
  774. package/gen/classes/Theme.ts +116 -73
  775. package/gen/classes/ThemeDB.ts +23 -16
  776. package/gen/classes/Thread.ts +9 -9
  777. package/gen/classes/TileData.ts +58 -58
  778. package/gen/classes/TileMap.ts +65 -65
  779. package/gen/classes/TileMapLayer.ts +60 -60
  780. package/gen/classes/TileMapPattern.ts +12 -12
  781. package/gen/classes/TileSet.ts +93 -93
  782. package/gen/classes/TileSetAtlasSource.ts +43 -43
  783. package/gen/classes/TileSetScenesCollectionSource.ts +13 -13
  784. package/gen/classes/TileSetSource.ts +7 -7
  785. package/gen/classes/Time.ts +23 -23
  786. package/gen/classes/Timer.ts +20 -20
  787. package/gen/classes/TorusMesh.ts +10 -10
  788. package/gen/classes/TouchScreenButton.ts +25 -25
  789. package/gen/classes/Trail3D.ts +173 -0
  790. package/gen/classes/Translation.ts +16 -16
  791. package/gen/classes/TranslationDomain.ts +35 -35
  792. package/gen/classes/TranslationServer.ts +36 -36
  793. package/gen/classes/Tree.ts +104 -104
  794. package/gen/classes/TreeItem.ts +126 -126
  795. package/gen/classes/TriangleMesh.ts +6 -6
  796. package/gen/classes/TubeTrailMesh.ts +18 -18
  797. package/gen/classes/Tween.ts +58 -43
  798. package/gen/classes/Tweener.ts +3 -3
  799. package/gen/classes/TwoBoneIK3D.ts +32 -32
  800. package/gen/classes/UDPServer.ts +11 -11
  801. package/gen/classes/UDSServer.ts +4 -4
  802. package/gen/classes/UPNP.ts +19 -19
  803. package/gen/classes/UPNPDevice.ts +18 -18
  804. package/gen/classes/UndoRedo.ts +28 -28
  805. package/gen/classes/UniformSetCacheRD.ts +3 -3
  806. package/gen/classes/VBoxContainer.ts +2 -2
  807. package/gen/classes/VFlowContainer.ts +2 -2
  808. package/gen/classes/VScrollBar.ts +2 -2
  809. package/gen/classes/VSeparator.ts +2 -2
  810. package/gen/classes/VSlider.ts +2 -2
  811. package/gen/classes/VSplitContainer.ts +2 -2
  812. package/gen/classes/VehicleBody3D.ts +8 -8
  813. package/gen/classes/VehicleWheel3D.ts +36 -36
  814. package/gen/classes/VideoStream.ts +4 -4
  815. package/gen/classes/VideoStreamPlayback.ts +3 -3
  816. package/gen/classes/VideoStreamPlayer.ts +38 -36
  817. package/gen/classes/VideoStreamTheora.ts +2 -2
  818. package/gen/classes/Viewport.ts +148 -148
  819. package/gen/classes/ViewportTexture.ts +5 -13
  820. package/gen/classes/VirtualJoystick.ts +34 -34
  821. package/gen/classes/VisibleOnScreenEnabler2D.ts +6 -6
  822. package/gen/classes/VisibleOnScreenEnabler3D.ts +6 -6
  823. package/gen/classes/VisibleOnScreenNotifier2D.ts +11 -11
  824. package/gen/classes/VisibleOnScreenNotifier3D.ts +9 -9
  825. package/gen/classes/VisualInstance3D.ts +14 -14
  826. package/gen/classes/VisualShader.ts +25 -25
  827. package/gen/classes/VisualShaderGroup.ts +190 -0
  828. package/gen/classes/VisualShaderNode.ts +15 -15
  829. package/gen/classes/VisualShaderNodeBillboard.ts +6 -6
  830. package/gen/classes/VisualShaderNodeBooleanConstant.ts +4 -4
  831. package/gen/classes/VisualShaderNodeBooleanParameter.ts +6 -6
  832. package/gen/classes/VisualShaderNodeClamp.ts +4 -4
  833. package/gen/classes/VisualShaderNodeColorConstant.ts +4 -4
  834. package/gen/classes/VisualShaderNodeColorFunc.ts +4 -4
  835. package/gen/classes/VisualShaderNodeColorOp.ts +4 -4
  836. package/gen/classes/VisualShaderNodeColorParameter.ts +6 -6
  837. package/gen/classes/VisualShaderNodeComment.ts +4 -4
  838. package/gen/classes/VisualShaderNodeCompare.ts +8 -8
  839. package/gen/classes/VisualShaderNodeConstant.ts +1 -1
  840. package/gen/classes/VisualShaderNodeCubemap.ts +8 -8
  841. package/gen/classes/VisualShaderNodeCubemapParameter.ts +2 -2
  842. package/gen/classes/VisualShaderNodeCurveTexture.ts +4 -4
  843. package/gen/classes/VisualShaderNodeCurveXYZTexture.ts +4 -4
  844. package/gen/classes/VisualShaderNodeCustom.ts +7 -7
  845. package/gen/classes/VisualShaderNodeDerivativeFunc.ts +8 -8
  846. package/gen/classes/VisualShaderNodeDeterminant.ts +2 -2
  847. package/gen/classes/VisualShaderNodeDistanceFade.ts +2 -2
  848. package/gen/classes/VisualShaderNodeDotProduct.ts +2 -2
  849. package/gen/classes/VisualShaderNodeExpression.ts +4 -4
  850. package/gen/classes/VisualShaderNodeFaceForward.ts +2 -2
  851. package/gen/classes/VisualShaderNodeFloatConstant.ts +4 -4
  852. package/gen/classes/VisualShaderNodeFloatFunc.ts +4 -4
  853. package/gen/classes/VisualShaderNodeFloatOp.ts +4 -4
  854. package/gen/classes/VisualShaderNodeFloatParameter.ts +14 -14
  855. package/gen/classes/VisualShaderNodeFrame.ts +14 -14
  856. package/gen/classes/VisualShaderNodeFresnel.ts +2 -2
  857. package/gen/classes/VisualShaderNodeGlobalExpression.ts +2 -2
  858. package/gen/classes/VisualShaderNodeGroup.ts +22 -0
  859. package/gen/classes/VisualShaderNodeGroupBase.ts +22 -22
  860. package/gen/classes/VisualShaderNodeGroupInput.ts +14 -0
  861. package/gen/classes/VisualShaderNodeGroupOutput.ts +14 -0
  862. package/gen/classes/VisualShaderNodeIf.ts +2 -2
  863. package/gen/classes/VisualShaderNodeInput.ts +7 -7
  864. package/gen/classes/VisualShaderNodeIntConstant.ts +4 -4
  865. package/gen/classes/VisualShaderNodeIntFunc.ts +4 -4
  866. package/gen/classes/VisualShaderNodeIntOp.ts +4 -4
  867. package/gen/classes/VisualShaderNodeIntParameter.ts +16 -16
  868. package/gen/classes/VisualShaderNodeIs.ts +4 -4
  869. package/gen/classes/VisualShaderNodeLinearSceneDepth.ts +2 -2
  870. package/gen/classes/VisualShaderNodeMix.ts +4 -4
  871. package/gen/classes/VisualShaderNodeMultiplyAdd.ts +4 -4
  872. package/gen/classes/VisualShaderNodeOuterProduct.ts +2 -2
  873. package/gen/classes/VisualShaderNodeOutput.ts +1 -1
  874. package/gen/classes/VisualShaderNodeParameter.ts +7 -7
  875. package/gen/classes/VisualShaderNodeParameterRef.ts +6 -6
  876. package/gen/classes/VisualShaderNodeParticleAccelerator.ts +4 -4
  877. package/gen/classes/VisualShaderNodeParticleBoxEmitter.ts +2 -2
  878. package/gen/classes/VisualShaderNodeParticleConeVelocity.ts +2 -2
  879. package/gen/classes/VisualShaderNodeParticleEmit.ts +5 -5
  880. package/gen/classes/VisualShaderNodeParticleEmitter.ts +3 -3
  881. package/gen/classes/VisualShaderNodeParticleMeshEmitter.ts +8 -8
  882. package/gen/classes/VisualShaderNodeParticleMultiplyByAxisAngle.ts +4 -4
  883. package/gen/classes/VisualShaderNodeParticleOutput.ts +2 -2
  884. package/gen/classes/VisualShaderNodeParticleRandomness.ts +4 -4
  885. package/gen/classes/VisualShaderNodeParticleRingEmitter.ts +2 -2
  886. package/gen/classes/VisualShaderNodeParticleSphereEmitter.ts +2 -2
  887. package/gen/classes/VisualShaderNodeProximityFade.ts +2 -2
  888. package/gen/classes/VisualShaderNodeRandomRange.ts +2 -2
  889. package/gen/classes/VisualShaderNodeRemap.ts +4 -4
  890. package/gen/classes/VisualShaderNodeReroute.ts +4 -4
  891. package/gen/classes/VisualShaderNodeResizableBase.ts +3 -3
  892. package/gen/classes/VisualShaderNodeRotationByAxis.ts +2 -2
  893. package/gen/classes/VisualShaderNodeSDFRaymarch.ts +2 -2
  894. package/gen/classes/VisualShaderNodeSDFToScreenUV.ts +2 -2
  895. package/gen/classes/VisualShaderNodeSample3D.ts +3 -3
  896. package/gen/classes/VisualShaderNodeScreenNormalWorldSpace.ts +2 -2
  897. package/gen/classes/VisualShaderNodeScreenUVToSDF.ts +2 -2
  898. package/gen/classes/VisualShaderNodeSmoothStep.ts +4 -4
  899. package/gen/classes/VisualShaderNodeStep.ts +4 -4
  900. package/gen/classes/VisualShaderNodeSwitch.ts +4 -4
  901. package/gen/classes/VisualShaderNodeTexture.ts +8 -8
  902. package/gen/classes/VisualShaderNodeTexture2DArray.ts +4 -4
  903. package/gen/classes/VisualShaderNodeTexture2DArrayParameter.ts +2 -2
  904. package/gen/classes/VisualShaderNodeTexture2DParameter.ts +2 -2
  905. package/gen/classes/VisualShaderNodeTexture3D.ts +4 -4
  906. package/gen/classes/VisualShaderNodeTexture3DParameter.ts +2 -2
  907. package/gen/classes/VisualShaderNodeTextureParameter.ts +11 -11
  908. package/gen/classes/VisualShaderNodeTextureParameterTriplanar.ts +2 -2
  909. package/gen/classes/VisualShaderNodeTextureSDF.ts +2 -2
  910. package/gen/classes/VisualShaderNodeTextureSDFNormal.ts +2 -2
  911. package/gen/classes/VisualShaderNodeTransformCompose.ts +2 -2
  912. package/gen/classes/VisualShaderNodeTransformConstant.ts +4 -4
  913. package/gen/classes/VisualShaderNodeTransformDecompose.ts +2 -2
  914. package/gen/classes/VisualShaderNodeTransformFunc.ts +4 -4
  915. package/gen/classes/VisualShaderNodeTransformOp.ts +4 -4
  916. package/gen/classes/VisualShaderNodeTransformParameter.ts +6 -6
  917. package/gen/classes/VisualShaderNodeTransformVecMult.ts +4 -4
  918. package/gen/classes/VisualShaderNodeUIntConstant.ts +4 -4
  919. package/gen/classes/VisualShaderNodeUIntFunc.ts +4 -4
  920. package/gen/classes/VisualShaderNodeUIntOp.ts +4 -4
  921. package/gen/classes/VisualShaderNodeUIntParameter.ts +6 -6
  922. package/gen/classes/VisualShaderNodeUVFunc.ts +4 -4
  923. package/gen/classes/VisualShaderNodeUVPolarCoord.ts +2 -2
  924. package/gen/classes/VisualShaderNodeVarying.ts +5 -5
  925. package/gen/classes/VisualShaderNodeVaryingGetter.ts +2 -2
  926. package/gen/classes/VisualShaderNodeVaryingSetter.ts +2 -2
  927. package/gen/classes/VisualShaderNodeVec2Constant.ts +4 -4
  928. package/gen/classes/VisualShaderNodeVec2Parameter.ts +6 -6
  929. package/gen/classes/VisualShaderNodeVec3Constant.ts +4 -4
  930. package/gen/classes/VisualShaderNodeVec3Parameter.ts +6 -6
  931. package/gen/classes/VisualShaderNodeVec4Constant.ts +6 -6
  932. package/gen/classes/VisualShaderNodeVec4Parameter.ts +6 -6
  933. package/gen/classes/VisualShaderNodeVectorBase.ts +3 -3
  934. package/gen/classes/VisualShaderNodeVectorCompose.ts +2 -2
  935. package/gen/classes/VisualShaderNodeVectorDecompose.ts +2 -2
  936. package/gen/classes/VisualShaderNodeVectorDistance.ts +2 -2
  937. package/gen/classes/VisualShaderNodeVectorFunc.ts +4 -4
  938. package/gen/classes/VisualShaderNodeVectorLen.ts +2 -2
  939. package/gen/classes/VisualShaderNodeVectorOp.ts +4 -4
  940. package/gen/classes/VisualShaderNodeVectorRefract.ts +2 -2
  941. package/gen/classes/VisualShaderNodeWorldPositionFromDepth.ts +2 -2
  942. package/gen/classes/VoxelGI.ts +12 -12
  943. package/gen/classes/VoxelGIData.ts +23 -23
  944. package/gen/classes/WeakRef.ts +3 -3
  945. package/gen/classes/WebRTCDataChannel.ts +15 -15
  946. package/gen/classes/WebRTCDataChannelExtension.ts +2 -2
  947. package/gen/classes/WebRTCMultiplayerPeer.ts +12 -12
  948. package/gen/classes/WebRTCPeerConnection.ts +21 -21
  949. package/gen/classes/WebRTCPeerConnectionExtension.ts +2 -2
  950. package/gen/classes/WebSocketMultiplayerPeer.ts +20 -20
  951. package/gen/classes/WebSocketPeer.ts +32 -32
  952. package/gen/classes/WebXRInterface.ts +57 -49
  953. package/gen/classes/Window.ts +245 -202
  954. package/gen/classes/WorkerThreadPool.ts +11 -11
  955. package/gen/classes/World2D.ts +6 -6
  956. package/gen/classes/World3D.ts +12 -12
  957. package/gen/classes/WorldBoundaryShape2D.ts +6 -6
  958. package/gen/classes/WorldBoundaryShape3D.ts +4 -4
  959. package/gen/classes/WorldEnvironment.ts +8 -8
  960. package/gen/classes/X509Certificate.ts +6 -6
  961. package/gen/classes/XMLParser.ts +19 -19
  962. package/gen/classes/XRAnchor3D.ts +4 -4
  963. package/gen/classes/XRBodyModifier3D.ts +8 -8
  964. package/gen/classes/XRBodyTracker.ts +10 -10
  965. package/gen/classes/XRCamera3D.ts +11 -4
  966. package/gen/classes/XRController3D.ts +17 -17
  967. package/gen/classes/XRControllerTracker.ts +2 -2
  968. package/gen/classes/XRFaceModifier3D.ts +6 -6
  969. package/gen/classes/XRFaceTracker.ts +6 -6
  970. package/gen/classes/XRHandModifier3D.ts +6 -6
  971. package/gen/classes/XRHandTracker.ts +16 -16
  972. package/gen/classes/XRInterface.ts +45 -31
  973. package/gen/classes/XRInterfaceExtension.ts +9 -9
  974. package/gen/classes/XRNode3D.ts +14 -14
  975. package/gen/classes/XROrigin3D.ts +6 -6
  976. package/gen/classes/XRPose.ts +15 -15
  977. package/gen/classes/XRPositionalTracker.ts +26 -26
  978. package/gen/classes/XRServer.ts +57 -41
  979. package/gen/classes/XRTracker.ts +7 -7
  980. package/gen/classes/XRVRS.ts +9 -9
  981. package/gen/classes/ZIPPacker.ts +10 -10
  982. package/gen/classes/ZIPReader.ts +8 -8
  983. package/gen/classes/index.ts +31 -0
  984. package/gen/global-enums.ts +7 -3
  985. package/gen/heap-types/GodotArray.ts +65 -65
  986. package/gen/heap-types/GodotDictionary.ts +38 -38
  987. package/gen/heap-types/PackedByteArray.ts +76 -76
  988. package/gen/heap-types/PackedColorArray.ts +27 -27
  989. package/gen/heap-types/PackedFloat32Array.ts +27 -27
  990. package/gen/heap-types/PackedFloat64Array.ts +27 -27
  991. package/gen/heap-types/PackedInt32Array.ts +27 -27
  992. package/gen/heap-types/PackedInt64Array.ts +27 -27
  993. package/gen/heap-types/PackedStringArray.ts +27 -27
  994. package/gen/heap-types/PackedVector2Array.ts +27 -27
  995. package/gen/heap-types/PackedVector3Array.ts +27 -27
  996. package/gen/heap-types/PackedVector4Array.ts +27 -27
  997. package/gen/heap-types/Signal.ts +13 -13
  998. package/gen/utility-functions.ts +116 -116
  999. package/gen/value-types/AABB.ts +25 -25
  1000. package/gen/value-types/Basis.ts +24 -24
  1001. package/gen/value-types/Color.ts +26 -26
  1002. package/gen/value-types/Plane.ts +11 -11
  1003. package/gen/value-types/Projection.ts +26 -26
  1004. package/gen/value-types/Quaternion.ts +21 -21
  1005. package/gen/value-types/Rect2.ts +16 -16
  1006. package/gen/value-types/Rect2i.ts +13 -13
  1007. package/gen/value-types/Transform2D.ts +21 -21
  1008. package/gen/value-types/Transform3D.ts +13 -13
  1009. package/gen/value-types/Vector2.ts +55 -50
  1010. package/gen/value-types/Vector2i.ts +17 -17
  1011. package/gen/value-types/Vector3.ts +52 -51
  1012. package/gen/value-types/Vector3i.ts +16 -16
  1013. package/gen/value-types/Vector4.ts +36 -35
  1014. package/gen/value-types/Vector4i.ts +16 -16
  1015. package/package.json +8 -8
  1016. package/src/assets.d.ts +167 -167
  1017. package/src/boot.ts +1 -0
  1018. package/src/debug.ts +357 -357
  1019. package/src/editor.ts +102 -122
  1020. package/src/export_presets.example.cfg +41 -41
  1021. package/src/index.ts +54 -54
  1022. package/src/load.ts +480 -479
  1023. package/src/preload.ts +164 -164
  1024. package/src/runtime.ts +107 -107
  1025. package/src/serve.ts +67 -67
  1026. package/src/web-image.ts +302 -388
@@ -4,13 +4,13 @@
4
4
  import { _C, _R, GodotVar, _G } from '../../src/runtime.ts';
5
5
  import { Object } from './Object.ts';
6
6
  import type { Callable, GodotArray, GodotDictionary, PackedByteArray, PackedColorArray, PackedFloat32Array, PackedInt32Array, PackedInt64Array, PackedVector2Array, PackedVector3Array, RID, Signal, StringName, Variant } from '../heap-types/index.ts';
7
- import type { AABB, Basis, Color, Plane, Rect2, Rect2i, Transform2D, Transform3D, Vector2, Vector2i, Vector3, Vector3i } from '../value-types/index.ts';
7
+ import type { AABB, Basis, Color, Plane, Projection, Rect2, Rect2i, Transform2D, Transform3D, Vector2, Vector2i, Vector3, Vector3i } from '../value-types/index.ts';
8
8
  import type { Format } from './AudioStreamWAV.ts';
9
9
  import type { Image } from './Image.ts';
10
10
  import type { DeviceType, RenderingDevice } from './RenderingDevice.ts';
11
11
 
12
12
  let _$: any;
13
- const $ = () => _$ ?? (_$ = _C(null, 40, 658));
13
+ const $ = () => _$ ?? (_$ = _C(null, 40, 682));
14
14
 
15
15
  /**
16
16
  * The rendering server is the API backend for everything visible. The whole scene system mounts on it to display. The rendering server is completely opaque: the internals are entirely implementation-specific and cannot be accessed.
@@ -31,80 +31,80 @@ export class RenderingServer extends GodotVar {
31
31
  * **Note:** The equivalent resource is {@link Texture2D}.
32
32
  * **Note:** Not to be confused with {@link RenderingDevice.textureCreate}, which creates the graphics API's own texture type as opposed to the Godot-specific {@link Texture2D} resource.
33
33
  */
34
- static texture2dCreate(image: Image): RID { return _C($(), 14161, image) as RID; }
34
+ static texture2dCreate(image: Image): RID { return _C($(), 14452, image) as RID; }
35
35
 
36
36
  /**
37
37
  * Creates a 2-dimensional layered texture and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `texture_2d_layered_*` RenderingServer functions.
38
38
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
39
39
  * **Note:** The equivalent resource is {@link TextureLayered}.
40
40
  */
41
- static texture2dLayeredCreate(layers: GodotArray<Image>, layeredType: TextureLayeredType): RID { return _C($(), 14164, layers, layeredType) as RID; }
41
+ static texture2dLayeredCreate(layers: GodotArray<Image>, layeredType: TextureLayeredType): RID { return _C($(), 14455, layers, layeredType) as RID; }
42
42
 
43
43
  /**
44
44
  * **Note:** The equivalent resource is {@link Texture3D}.
45
45
  */
46
- static texture3dCreate(format: Format, width: number, height: number, depth: number, mipmaps: boolean, data: GodotArray<Image>): RID { return _C($(), 14168, format, width, height, depth, mipmaps, data) as RID; }
46
+ static texture3dCreate(format: Format, width: number, height: number, depth: number, mipmaps: boolean, data: GodotArray<Image>): RID { return _C($(), 14459, format, width, height, depth, mipmaps, data) as RID; }
47
47
 
48
48
  /**
49
49
  * This method does nothing and always returns an invalid {@link RID}.
50
50
  */
51
- static textureProxyCreate(base: RID): RID { return _C($(), 14218, base) as RID; }
51
+ static textureProxyCreate(base: RID): RID { return _C($(), 14510, base) as RID; }
52
52
 
53
53
  /**
54
54
  * Creates a texture based on a native handle that was created outside of Godot's renderer.
55
55
  * **Note:** If using only the rendering device renderer, it's recommend to use {@link RenderingDevice.textureCreateFromExtension} together with {@link RenderingServer.textureRdCreate}, rather than this method. This way, the texture's format and usage can be controlled more effectively.
56
56
  */
57
- static textureCreateFromNativeHandle(type: TextureType, format: Format, nativeHandle: number /* uint64 */, width: number, height: number, depth: number, layers?: number /* = 1 */, layeredType?: TextureLayeredType /* = 0 */): RID { return _C($(), 14181, type, format, nativeHandle, width, height, depth, layers, layeredType) as RID; }
57
+ static textureCreateFromNativeHandle(type: TextureType, format: Format, nativeHandle: number /* uint64 */, width: number, height: number, depth: number, layers?: number /* = 1 */, layeredType?: TextureLayeredType /* = 0 */): RID { return _C($(), 14472, type, format, nativeHandle, width, height, depth, layers, layeredType) as RID; }
58
58
 
59
59
  /**
60
60
  * Creates a 2-dimensional texture and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `texture_drawable*` RenderingServer functions.
61
61
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
62
62
  * **Note:** The equivalent resource is {@link DrawableTexture2D}.
63
63
  */
64
- static textureDrawableCreate(width: number, height: number, format: TextureDrawableFormat, color?: Color /* = Color(1, 1, 1, 1) */, withMipmaps?: boolean /* = false */): RID { return _C($(), 14186, width, height, format, color, withMipmaps) as RID; }
64
+ static textureDrawableCreate(width: number, height: number, format: TextureDrawableFormat, color?: Color /* = Color(1, 1, 1, 1) */, withMipmaps?: boolean /* = false */): RID { return _C($(), 14477, width, height, format, color, withMipmaps) as RID; }
65
65
 
66
66
  /**
67
67
  * Updates the texture specified by the `texture` {@link RID} with the data in `image`. A `layer` must also be specified, which should be `0` when updating a single-layer texture ({@link Texture2D}).
68
68
  * **Note:** The `image` must have the same width, height and format as the current `texture` data. Otherwise, an error will be printed and the original texture won't be modified. If you need to use different width, height or format, use {@link textureReplace} instead.
69
69
  */
70
- static texture2dUpdate(texture: RID, image: Image, layer: number): void { _C($(), 14167, texture, image, layer); }
70
+ static texture2dUpdate(texture: RID, image: Image, layer: number): void { _C($(), 14458, texture, image, layer); }
71
71
 
72
72
  /**
73
73
  * Updates the texture specified by the `texture` {@link RID}'s data with the data in `data`. All the texture's layers must be replaced at once.
74
74
  * **Note:** The `texture` must have the same width, height, depth and format as the current texture data. Otherwise, an error will be printed and the original texture won't be modified. If you need to use different width, height, depth or format, use {@link textureReplace} instead.
75
75
  */
76
- static texture3dUpdate(texture: RID, data: GodotArray<Image>): void { _C($(), 14171, texture, data); }
76
+ static texture3dUpdate(texture: RID, data: GodotArray<Image>): void { _C($(), 14462, texture, data); }
77
77
 
78
78
  /**
79
79
  * This method does nothing.
80
80
  */
81
- static textureProxyUpdate(texture: RID, proxyTo: RID): void { _C($(), 14219, texture, proxyTo); }
81
+ static textureProxyUpdate(texture: RID, proxyTo: RID): void { _C($(), 14511, texture, proxyTo); }
82
82
 
83
83
  /**
84
84
  * Draws to `rect` on up to 4 given Drawable `textures`, using a TextureBlit Shader from `material`. `modulate` and up to 4 `sourceTextures` are uniforms for the Shader to process with. `toMipmap` can specify to perform this draw to a lower mipmap level.
85
85
  * **Note:** All `textures` must be the same size and format.
86
86
  */
87
- static textureDrawableBlitRect(textures: GodotArray<RID>, rect: Rect2i, material: RID, modulate: Color, sourceTextures: GodotArray<RID>, toMipmap?: number /* = 0 */): void { _C($(), 14185, textures, rect, material, modulate, sourceTextures, toMipmap); }
87
+ static textureDrawableBlitRect(textures: GodotArray<RID>, rect: Rect2i, material: RID, modulate: Color, sourceTextures: GodotArray<RID>, toMipmap?: number /* = 0 */): void { _C($(), 14476, textures, rect, material, modulate, sourceTextures, toMipmap); }
88
88
 
89
89
  /**
90
90
  * Creates a placeholder for a 2-dimensional layered texture and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `texture_2d_layered_*` RenderingServer functions, although it does nothing when used. See also {@link texture2dLayeredPlaceholderCreate}.
91
91
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
92
92
  * **Note:** The equivalent resource is {@link PlaceholderTexture2D}.
93
93
  */
94
- static texture2dPlaceholderCreate(): RID { return _C($(), 14166) as RID; }
94
+ static texture2dPlaceholderCreate(): RID { return _C($(), 14457) as RID; }
95
95
 
96
96
  /**
97
97
  * Creates a placeholder for a 2-dimensional layered texture and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `texture_2d_layered_*` RenderingServer functions, although it does nothing when used. See also {@link texture2dPlaceholderCreate}.
98
98
  * **Note:** The equivalent resource is {@link PlaceholderTextureLayered}.
99
99
  */
100
- static texture2dLayeredPlaceholderCreate(layeredType: TextureLayeredType): RID { return _C($(), 14165, layeredType) as RID; }
100
+ static texture2dLayeredPlaceholderCreate(layeredType: TextureLayeredType): RID { return _C($(), 14456, layeredType) as RID; }
101
101
 
102
102
  /**
103
103
  * Creates a placeholder for a 3-dimensional texture and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `texture_3d_*` RenderingServer functions, although it does nothing when used.
104
104
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
105
105
  * **Note:** The equivalent resource is {@link PlaceholderTexture3D}.
106
106
  */
107
- static texture3dPlaceholderCreate(): RID { return _C($(), 14170) as RID; }
107
+ static texture3dPlaceholderCreate(): RID { return _C($(), 14461) as RID; }
108
108
 
109
109
  /**
110
110
  * Returns an {@link Image} instance from the given `texture` {@link RID}.
@@ -118,161 +118,168 @@ export class RenderingServer extends GodotVar {
118
118
  *
119
119
  * ```
120
120
  */
121
- static texture2dGet(texture: RID): Image { return _C($(), 14162, texture) as Image; }
121
+ static texture2dGet(texture: RID): Image { return _C($(), 14453, texture) as Image; }
122
122
 
123
123
  /**
124
124
  * Returns an {@link Image} instance from the given `texture` {@link RID} and `layer`.
125
125
  */
126
- static texture2dLayerGet(texture: RID, layer: number): Image { return _C($(), 14163, texture, layer) as Image; }
126
+ static texture2dLayerGet(texture: RID, layer: number): Image { return _C($(), 14454, texture, layer) as Image; }
127
127
 
128
128
  /**
129
129
  * Returns 3D texture data as an array of {@link Image}s for the specified texture {@link RID}.
130
130
  */
131
- static texture3dGet(texture: RID): GodotArray<Image> { return _C($(), 14169, texture) as GodotArray<Image>; }
131
+ static texture3dGet(texture: RID): GodotArray<Image> { return _C($(), 14460, texture) as GodotArray<Image>; }
132
132
 
133
133
  /**
134
134
  * Calculates new MipMaps for the given Drawable `texture`.
135
135
  */
136
- static textureDrawableGenerateMipmaps(texture: RID): void { _C($(), 14187, texture); }
136
+ static textureDrawableGenerateMipmaps(texture: RID): void { _C($(), 14478, texture); }
137
137
 
138
138
  /**
139
139
  * Returns a ShaderMaterial with the default texture_blit Shader.
140
140
  */
141
- static textureDrawableGetDefaultMaterial(): RID { return _C($(), 14188) as RID; }
141
+ static textureDrawableGetDefaultMaterial(): RID { return _C($(), 14479) as RID; }
142
142
 
143
143
  /**
144
144
  * Replaces `texture`'s texture data by the texture specified by the `byTexture` RID, without changing `texture`'s RID.
145
145
  */
146
- static textureReplace(texture: RID, byTexture: RID): void { _C($(), 14224, texture, byTexture); }
146
+ static textureReplace(texture: RID, byTexture: RID): void { _C($(), 14516, texture, byTexture); }
147
+
148
+ /**
149
+ * Replaces `texture`'s texture data by the texture specified by the `byTexture` RID, without changing `texture`'s RID.
150
+ * Unlike {@link textureReplace}, this method automatically patches any uniform sets that reference `texture` so they point to the new underlying resource. This makes it suitable for replacing textures that are already bound in materials or shaders without invalidating existing draw state. The new texture may have different dimensions (e.g. for texture streaming mip level changes).
151
+ * Textures that are not compatible will likely cause rendering errors, so it's recommended to only use this method on textures that are compatible with each other (e.g. same format and usage flags).
152
+ */
153
+ static textureReplaceCompatible(texture: RID, byTexture: RID): void { _C($(), 14517, texture, byTexture); }
147
154
 
148
155
  /**
149
156
  * Sets the size at which the texture should be *displayed* in 2D, ignoring its original size. This does not rescale the texture data itself, only how it is drawn in 2D. Set `width` and `height` to 0 to disable the size override.
150
157
  */
151
- static textureSetSizeOverride(texture: RID, width: number, height: number): void { _C($(), 14232, texture, width, height); }
158
+ static textureSetSizeOverride(texture: RID, width: number, height: number): void { _C($(), 14525, texture, width, height); }
152
159
 
153
160
  /**
154
161
  * Sets the resource path for this texture RID. See also {@link textureGetPath}.
155
162
  * **Note:** This is purely a hint and does not cause the texture to be automatically saved when set to a `res://` path.
156
163
  */
157
- static textureSetPath(texture: RID, path: string): void { _C($(), 14231, texture, path); }
164
+ static textureSetPath(texture: RID, path: string): void { _C($(), 14524, texture, path); }
158
165
 
159
166
  /**
160
167
  * Returns the resource path (starting with `res://` or `uid://`) for the specified texture RID. Returns an empty {@link String} if the resource is built-in. See also {@link textureSetPath}.
161
168
  */
162
- static textureGetPath(texture: RID): string { return _C($(), 14196, texture) as string; }
169
+ static textureGetPath(texture: RID): string { return _C($(), 14488, texture) as string; }
163
170
 
164
171
  /**
165
172
  * Returns the format for the texture.
166
173
  */
167
- static textureGetFormat(texture: RID): Format { return _C($(), 14194, texture) as Format; }
174
+ static textureGetFormat(texture: RID): Format { return _C($(), 14485, texture) as Format; }
168
175
 
169
176
  /**
170
177
  * Sets whether the texture RID should force redrawing when it's visible on screen when {@link OS.lowProcessorUsageMode} is `true`. This is used by {@link AnimatedTexture} to force redrawing.
171
178
  */
172
- static textureSetForceRedrawIfVisible(texture: RID, enable: boolean): void { _C($(), 14230, texture, enable); }
179
+ static textureSetForceRedrawIfVisible(texture: RID, enable: boolean): void { _C($(), 14523, texture, enable); }
173
180
 
174
181
  /**
175
182
  * Creates a new texture object based on a texture created directly on the {@link RenderingDevice}. If the texture contains layers, `layerType` is used to define the layer type.
176
183
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
177
184
  * **Note:** The RenderingServer's {@link freeRid} won't free the underlying `rdTexture`, you will want to free the `rdTexture` using {@link RenderingDevice.freeRid}.
178
185
  */
179
- static textureRdCreate(rdTexture: RID, layerType?: TextureLayeredType /* = 0 */): RID { return _C($(), 14220, rdTexture, layerType) as RID; }
186
+ static textureRdCreate(rdTexture: RID, layerType?: TextureLayeredType /* = 0 */): RID { return _C($(), 14512, rdTexture, layerType) as RID; }
180
187
 
181
188
  /**
182
189
  * Returns a texture {@link RID} that can be used with {@link RenderingDevice}.
183
190
  * `srgb` should be `true` when the texture uses nonlinear sRGB encoding and `false` when the texture uses linear encoding.
184
191
  */
185
- static textureGetRdTexture(texture: RID, srgb?: boolean /* = false */): RID { return _C($(), 14197, texture, srgb) as RID; }
192
+ static textureGetRdTexture(texture: RID, srgb?: boolean /* = false */): RID { return _C($(), 14489, texture, srgb) as RID; }
186
193
 
187
194
  /**
188
195
  * Returns the internal graphics handle for this texture object. For use when communicating with third-party APIs mostly with GDExtension.
189
196
  * `srgb` should be `true` when the texture uses nonlinear sRGB encoding and `false` when the texture uses linear encoding.
190
197
  * **Note:** This function returns a `uint64_t` which internally maps to a `GLuint` (OpenGL) or `VkImage` (Vulkan).
191
198
  */
192
- static textureGetNativeHandle(texture: RID, srgb?: boolean /* = false */): number { return _C($(), 14195, texture, srgb) as number; }
199
+ static textureGetNativeHandle(texture: RID, srgb?: boolean /* = false */): number { return _C($(), 14486, texture, srgb) as number; }
193
200
 
194
201
  /**
195
202
  * Creates an empty shader and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `shader_*` RenderingServer functions.
196
203
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
197
204
  * **Note:** The equivalent resource is {@link Shader}.
198
205
  */
199
- static shaderCreate(): RID { return _C($(), 13426) as RID; }
206
+ static shaderCreate(): RID { return _C($(), 13704) as RID; }
200
207
 
201
208
  /**
202
209
  * Sets the shader's source code (which triggers recompilation after being changed).
203
210
  */
204
- static shaderSetCode(shader: RID, code: string): void { _C($(), 13434, shader, code); }
211
+ static shaderSetCode(shader: RID, code: string): void { _C($(), 13712, shader, code); }
205
212
 
206
213
  /**
207
214
  * Sets the path hint for the specified shader. This should generally match the {@link Shader} resource's {@link Resource.resourcePath}.
208
215
  */
209
- static shaderSetPathHint(shader: RID, path: string): void { _C($(), 13436, shader, path); }
216
+ static shaderSetPathHint(shader: RID, path: string): void { _C($(), 13714, shader, path); }
210
217
 
211
218
  /**
212
219
  * Returns a shader's source code as a string.
213
220
  */
214
- static shaderGetCode(shader: RID): string { return _C($(), 13430, shader) as string; }
221
+ static shaderGetCode(shader: RID): string { return _C($(), 13708, shader) as string; }
215
222
 
216
223
  /**
217
224
  * Returns the parameters of a shader.
218
225
  */
219
- static getShaderParameterList(shader: RID): GodotArray<GodotDictionary> { return _C($(), 6356, shader) as GodotArray<GodotDictionary>; }
226
+ static getShaderParameterList(shader: RID): GodotArray<GodotDictionary> { return _C($(), 6481, shader) as GodotArray<GodotDictionary>; }
220
227
 
221
228
  /**
222
229
  * Returns the default value for the specified shader uniform. This is usually the value written in the shader source code.
223
230
  */
224
- static shaderGetParameterDefault(shader: RID, name: StringName): Variant { return _C($(), 13432, shader, name) as Variant; }
231
+ static shaderGetParameterDefault(shader: RID, name: StringName): Variant { return _C($(), 13710, shader, name) as Variant; }
225
232
 
226
233
  /**
227
234
  * Sets a shader's default texture. Overwrites the texture given by name.
228
235
  * **Note:** If the sampler array is used use `index` to access the specified texture.
229
236
  */
230
- static shaderSetDefaultTextureParameter(shader: RID, name: StringName, texture: RID, index?: number /* = 0 */): void { _C($(), 13435, shader, name, texture, index); }
237
+ static shaderSetDefaultTextureParameter(shader: RID, name: StringName, texture: RID, index?: number /* = 0 */): void { _C($(), 13713, shader, name, texture, index); }
231
238
 
232
239
  /**
233
240
  * Returns a default texture from a shader searched by name.
234
241
  * **Note:** If the sampler array is used use `index` to access the specified texture.
235
242
  */
236
- static shaderGetDefaultTextureParameter(shader: RID, name: StringName, index?: number /* = 0 */): RID { return _C($(), 13431, shader, name, index) as RID; }
243
+ static shaderGetDefaultTextureParameter(shader: RID, name: StringName, index?: number /* = 0 */): RID { return _C($(), 13709, shader, name, index) as RID; }
237
244
 
238
245
  /**
239
246
  * Creates an empty material and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `material_*` RenderingServer functions.
240
247
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
241
248
  * **Note:** The equivalent resource is {@link Material}.
242
249
  */
243
- static materialCreate(): RID { return _C($(), 8794) as RID; }
250
+ static materialCreate(): RID { return _C($(), 8974) as RID; }
244
251
 
245
252
  /**
246
253
  * Sets a shader material's shader.
247
254
  */
248
- static materialSetShader(shaderMaterial: RID, shader: RID): void { _C($(), 8801, shaderMaterial, shader); }
255
+ static materialSetShader(shaderMaterial: RID, shader: RID): void { _C($(), 8982, shaderMaterial, shader); }
249
256
 
250
257
  /**
251
258
  * Sets a material's parameter.
252
259
  */
253
- static materialSetParam(material: RID, parameter: StringName, value: Variant): void { _C($(), 8799, material, parameter, value); }
260
+ static materialSetParam(material: RID, parameter: StringName, value: Variant): void { _C($(), 8980, material, parameter, value); }
254
261
 
255
262
  /**
256
263
  * Returns the value of a certain material's parameter.
257
264
  */
258
- static materialGetParam(material: RID, parameter: StringName): Variant { return _C($(), 8795, material, parameter) as Variant; }
265
+ static materialGetParam(material: RID, parameter: StringName): Variant { return _C($(), 8975, material, parameter) as Variant; }
259
266
 
260
267
  /**
261
268
  * Sets a material's render priority.
262
269
  */
263
- static materialSetRenderPriority(material: RID, priority: number): void { _C($(), 8800, material, priority); }
270
+ static materialSetRenderPriority(material: RID, priority: number): void { _C($(), 8981, material, priority); }
264
271
 
265
272
  /**
266
273
  * Sets an object's next material.
267
274
  */
268
- static materialSetNextPass(material: RID, nextMaterial: RID): void { _C($(), 8798, material, nextMaterial); }
275
+ static materialSetNextPass(material: RID, nextMaterial: RID): void { _C($(), 8979, material, nextMaterial); }
269
276
 
270
277
  /**
271
278
  * When using the Mobile renderer, {@link materialSetUseDebanding} can be used to enable or disable the debanding feature of 3D materials ({@link BaseMaterial3D} and {@link ShaderMaterial}).
272
279
  * {@link materialSetUseDebanding} has no effect when using the Compatibility or Forward+ renderer. In Forward+, {@link Viewport} debanding can be used instead.
273
280
  * See also {@link ProjectSettings.rendering/antiAliasing/quality/useDebanding} and {@link RenderingServer.viewportSetUseDebanding}.
274
281
  */
275
- static materialSetUseDebanding(enable: boolean): void { _C($(), 8802, enable); }
282
+ static materialSetUseDebanding(enable: boolean): void { _C($(), 8983, enable); }
276
283
 
277
284
  /**
278
285
  * Creates a new mesh with predefined surfaces for it and adds the mesh to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `mesh_*` RenderingServer functions. This method is more efficient for creating meshes with multiple surfaces compared to creating an empty mesh with {@link meshCreate} and adding surfaces one by one with {@link meshAddSurface}.
@@ -281,7 +288,7 @@ export class RenderingServer extends GodotVar {
281
288
  * To place in a scene, attach this mesh to an instance using {@link instanceSetBase} using the returned RID.
282
289
  * **Note:** The equivalent resource is {@link Mesh}.
283
290
  */
284
- static meshCreateFromSurfaces(surfaces: GodotArray<GodotDictionary>, blendShapeCount?: number /* = 0 */): RID { return _C($(), 8863, surfaces, blendShapeCount) as RID; }
291
+ static meshCreateFromSurfaces(surfaces: GodotArray<GodotDictionary>, blendShapeCount?: number /* = 0 */): RID { return _C($(), 9050, surfaces, blendShapeCount) as RID; }
285
292
 
286
293
  /**
287
294
  * Creates a new mesh and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `mesh_*` RenderingServer functions.
@@ -289,37 +296,37 @@ export class RenderingServer extends GodotVar {
289
296
  * To place in a scene, attach this mesh to an instance using {@link instanceSetBase} using the returned RID.
290
297
  * **Note:** The equivalent resource is {@link Mesh}.
291
298
  */
292
- static meshCreate(): RID { return _C($(), 8862) as RID; }
299
+ static meshCreate(): RID { return _C($(), 9049) as RID; }
293
300
 
294
301
  /**
295
302
  * Returns the offset of a given attribute by `arrayIndex` in the start of its respective buffer.
296
303
  */
297
- static meshSurfaceGetFormatOffset(format: ArrayFormat, vertexCount: number, arrayIndex: number): number { return _C($(), 8880, format, vertexCount, arrayIndex) as number; }
304
+ static meshSurfaceGetFormatOffset(format: ArrayFormat, vertexCount: number, arrayIndex: number): number { return _C($(), 9068, format, vertexCount, arrayIndex) as number; }
298
305
 
299
306
  /**
300
307
  * Returns the stride of the vertex positions for a mesh with given `format`. Note importantly that vertex positions are stored consecutively and are not interleaved with the other attributes in the vertex buffer (normals and tangents).
301
308
  */
302
- static meshSurfaceGetFormatVertexStride(format: ArrayFormat, vertexCount: number): number { return _C($(), 8882, format, vertexCount) as number; }
309
+ static meshSurfaceGetFormatVertexStride(format: ArrayFormat, vertexCount: number): number { return _C($(), 9070, format, vertexCount) as number; }
303
310
 
304
311
  /**
305
312
  * Returns the stride of the combined normals and tangents for a mesh with given `format`. Note importantly that, while normals and tangents are in the vertex buffer with vertices, they are only interleaved with each other and so have a different stride than vertex positions.
306
313
  */
307
- static meshSurfaceGetFormatNormalTangentStride(format: ArrayFormat, vertexCount: number): number { return _C($(), 8879, format, vertexCount) as number; }
314
+ static meshSurfaceGetFormatNormalTangentStride(format: ArrayFormat, vertexCount: number): number { return _C($(), 9067, format, vertexCount) as number; }
308
315
 
309
316
  /**
310
317
  * Returns the stride of the attribute buffer for a mesh with given `format`.
311
318
  */
312
- static meshSurfaceGetFormatAttributeStride(format: ArrayFormat, vertexCount: number): number { return _C($(), 8877, format, vertexCount) as number; }
319
+ static meshSurfaceGetFormatAttributeStride(format: ArrayFormat, vertexCount: number): number { return _C($(), 9065, format, vertexCount) as number; }
313
320
 
314
321
  /**
315
322
  * Returns the stride of the skin buffer for a mesh with given `format`.
316
323
  */
317
- static meshSurfaceGetFormatSkinStride(format: ArrayFormat, vertexCount: number): number { return _C($(), 8881, format, vertexCount) as number; }
324
+ static meshSurfaceGetFormatSkinStride(format: ArrayFormat, vertexCount: number): number { return _C($(), 9069, format, vertexCount) as number; }
318
325
 
319
326
  /**
320
327
  * Returns the stride of the index buffer for a mesh with the given `format`.
321
328
  */
322
- static meshSurfaceGetFormatIndexStride(format: ArrayFormat, vertexCount: number): number { return _C($(), 8878, format, vertexCount) as number; }
329
+ static meshSurfaceGetFormatIndexStride(format: ArrayFormat, vertexCount: number): number { return _C($(), 9066, format, vertexCount) as number; }
323
330
 
324
331
  /**
325
332
  * Creates a new surface on the given `mesh`. Equivalent to {@link meshAddSurfaceFromArrays}, but takes a single {@link Dictionary} argument instead of separate arguments. The dictionary must follow this structure:
@@ -328,11 +335,11 @@ export class RenderingServer extends GodotVar {
328
335
  *
329
336
  * {
330
337
  * # Required:
331
- * "primitive": RenderingServer.PrimitiveType,
332
- * "format": RenderingServer.ArrayFormat,
333
- * "vertex_data": PackedByteArray,
334
- * "vertex_count": int,
335
- * "aabb": AABB,
338
+ * "primitive": RenderingServer.PrimitiveType,
339
+ * "format": RenderingServer.ArrayFormat,
340
+ * "vertex_data": PackedByteArray,
341
+ * "vertex_count": int,
342
+ * "aabb": AABB,
336
343
  *
337
344
  * # Optional:
338
345
  * "attribute_data": PackedByteArray,
@@ -356,7 +363,7 @@ export class RenderingServer extends GodotVar {
356
363
  *
357
364
  * See also {@link meshGetSurface}, which returns data in the same structure defined above.
358
365
  */
359
- static meshAddSurface(mesh: RID, surface: GodotDictionary): void { _C($(), 8858, mesh, surface); }
366
+ static meshAddSurface(mesh: RID, surface: GodotDictionary): void { _C($(), 9044, mesh, surface); }
360
367
 
361
368
  /**
362
369
  * Creates a new surface on the given `mesh`. {@link meshGetSurfaceCount} will become the surface index for this new surface.
@@ -368,104 +375,132 @@ export class RenderingServer extends GodotVar {
368
375
  * See {@link ArrayMesh.addSurfaceFromArrays} and {@link ImporterMesh.addSurface} for higher-level equivalents of this method.
369
376
  * **Note:** When using indices, it is recommended to only use points, lines, or triangles.
370
377
  */
371
- static meshAddSurfaceFromArrays(mesh: RID, primitive: PrimitiveType, arrays: GodotArray, blendShapes?: GodotArray /* = [] */, lods?: GodotDictionary /* = {} */, compressFormat?: ArrayFormat /* = 0 */): void { _C($(), 8859, mesh, primitive, arrays, blendShapes, lods, compressFormat); }
378
+ static meshAddSurfaceFromArrays(mesh: RID, primitive: PrimitiveType, arrays: GodotArray, blendShapes?: GodotArray /* = [] */, lods?: GodotDictionary /* = {} */, compressFormat?: ArrayFormat /* = 0 */): void { _C($(), 9045, mesh, primitive, arrays, blendShapes, lods, compressFormat); }
372
379
 
373
380
  /**
374
381
  * Returns a mesh's blend shape count.
375
382
  */
376
- static meshGetBlendShapeCount(mesh: RID): number { return _C($(), 8864, mesh) as number; }
383
+ static meshGetBlendShapeCount(mesh: RID): number { return _C($(), 9051, mesh) as number; }
377
384
 
378
385
  /**
379
386
  * Sets a mesh's blend shape mode.
380
387
  */
381
- static meshSetBlendShapeMode(mesh: RID, mode: BlendShapeMode): void { _C($(), 8872, mesh, mode); }
388
+ static meshSetBlendShapeMode(mesh: RID, mode: BlendShapeMode): void { _C($(), 9059, mesh, mode); }
382
389
 
383
390
  /**
384
391
  * Returns a mesh's blend shape mode.
385
392
  */
386
- static meshGetBlendShapeMode(mesh: RID): BlendShapeMode { return _C($(), 8865, mesh) as BlendShapeMode; }
393
+ static meshGetBlendShapeMode(mesh: RID): BlendShapeMode { return _C($(), 9052, mesh) as BlendShapeMode; }
387
394
 
388
395
  /**
389
396
  * Sets a mesh's surface's material.
390
397
  */
391
- static meshSurfaceSetMaterial(mesh: RID, surface: number, material: RID): void { _C($(), 8885, mesh, surface, material); }
398
+ static meshSurfaceSetMaterial(mesh: RID, surface: number, material: RID): void { _C($(), 9076, mesh, surface, material); }
392
399
 
393
400
  /**
394
401
  * Returns a mesh's surface's material.
395
402
  */
396
- static meshSurfaceGetMaterial(mesh: RID, surface: number): RID { return _C($(), 8883, mesh, surface) as RID; }
403
+ static meshSurfaceGetMaterial(mesh: RID, surface: number): RID { return _C($(), 9072, mesh, surface) as RID; }
397
404
 
398
405
  /**
399
406
  * Returns a mesh's surface as a dictionary following the same structure as described in {@link meshAddSurface}.
400
407
  */
401
- static meshGetSurface(mesh: RID, surface: number): GodotDictionary { return _C($(), 8867, mesh, surface) as GodotDictionary; }
408
+ static meshGetSurface(mesh: RID, surface: number): GodotDictionary { return _C($(), 9054, mesh, surface) as GodotDictionary; }
402
409
 
403
410
  /**
404
411
  * Returns a mesh's surface's buffer arrays.
405
412
  */
406
- static meshSurfaceGetArrays(mesh: RID, surface: number): GodotArray { return _C($(), 8875, mesh, surface) as GodotArray; }
413
+ static meshSurfaceGetArrays(mesh: RID, surface: number): GodotArray { return _C($(), 9062, mesh, surface) as GodotArray; }
407
414
 
408
415
  /**
409
416
  * Returns a mesh's surface's arrays for blend shapes.
410
417
  */
411
- static meshSurfaceGetBlendShapeArrays(mesh: RID, surface: number): GodotArray<GodotArray> { return _C($(), 8876, mesh, surface) as GodotArray<GodotArray>; }
418
+ static meshSurfaceGetBlendShapeArrays(mesh: RID, surface: number): GodotArray<GodotArray> { return _C($(), 9064, mesh, surface) as GodotArray<GodotArray>; }
412
419
 
413
420
  /**
414
421
  * Returns a mesh's number of surfaces.
415
422
  */
416
- static meshGetSurfaceCount(mesh: RID): number { return _C($(), 8868, mesh) as number; }
423
+ static meshGetSurfaceCount(mesh: RID): number { return _C($(), 9055, mesh) as number; }
417
424
 
418
425
  /**
419
426
  * Sets a mesh's custom aabb.
420
427
  */
421
- static meshSetCustomAabb(mesh: RID, aabb: AABB): void { _C($(), 8873, mesh, aabb); }
428
+ static meshSetCustomAabb(mesh: RID, aabb: AABB): void { _C($(), 9060, mesh, aabb); }
422
429
 
423
430
  /**
424
431
  * Returns a mesh's custom aabb.
425
432
  */
426
- static meshGetCustomAabb(mesh: RID): AABB { return _C($(), 8866, mesh) as AABB; }
433
+ static meshGetCustomAabb(mesh: RID): AABB { return _C($(), 9053, mesh) as AABB; }
427
434
 
428
435
  /**
429
436
  * Removes the surface at the given index from the Mesh, shifting surfaces with higher index down by one.
430
437
  */
431
- static meshSurfaceRemove(mesh: RID, surface: number): void { _C($(), 8884, mesh, surface); }
438
+ static meshSurfaceRemove(mesh: RID, surface: number): void { _C($(), 9075, mesh, surface); }
432
439
 
433
440
  /**
434
441
  * Removes all surfaces from a mesh.
435
442
  */
436
- static meshClear(mesh: RID): void { _C($(), 8861, mesh); }
443
+ static meshClear(mesh: RID): void { _C($(), 9048, mesh); }
437
444
 
438
445
  /**
439
446
  * Updates the vertex buffer of the mesh surface with the given `data`. The expected data per vertex is 8 or 12 bytes (4 bytes per float, 2 floats per {@link Vector2}, and 3 floats per {@link Vector3}) depending on if the mesh is using {@link Vector2} or {@link Vector3} vertices. This value can be determined with {@link meshSurfaceGetFormatVertexStride} instead.
440
447
  * The starting point of the updates can be changed with `offset`. The value of `offset` should be a multiple of 12 bytes in most cases to align to each vertex.
441
448
  * A {@link PackedVector3Array} of vertex locations can be converted into a {@link PackedByteArray} using {@link PackedVector3Array.toByteArray} for use in `data`.
442
449
  */
443
- static meshSurfaceUpdateVertexRegion(mesh: RID, surface: number, offset: number, data: PackedByteArray): void { _C($(), 8889, mesh, surface, offset, data); }
450
+ static meshSurfaceUpdateVertexRegion(mesh: RID, surface: number, offset: number, data: PackedByteArray): void { _C($(), 9080, mesh, surface, offset, data); }
444
451
 
445
452
  /**
446
453
  * Updates the attribute buffer of the mesh surface with the given `data`. The expected data per attribute is 8 or 12 bytes (4 bytes per float, 2 floats per {@link Vector2}, and 3 floats per {@link Vector3}) depending on if the mesh is using {@link Vector2} or {@link Vector3} vertices. This value can be determined with {@link meshSurfaceGetFormatAttributeStride} instead.
447
454
  * The starting point of the updates can be changed with `offset`. The value of `offset` should be a multiple of 12 bytes in most cases to align to each attribute.
448
455
  * A {@link PackedVector3Array} of attribute locations can be converted into a {@link PackedByteArray} using {@link PackedVector3Array.toByteArray} for use in `data`.
449
456
  */
450
- static meshSurfaceUpdateAttributeRegion(mesh: RID, surface: number, offset: number, data: PackedByteArray): void { _C($(), 8886, mesh, surface, offset, data); }
457
+ static meshSurfaceUpdateAttributeRegion(mesh: RID, surface: number, offset: number, data: PackedByteArray): void { _C($(), 9077, mesh, surface, offset, data); }
451
458
 
452
459
  /**
453
460
  * Updates the skin buffer of the mesh surface with the given `data`. The expected data per skin is 8 or 12 bytes (4 bytes per float, 2 floats per {@link Vector2}, and 3 floats per {@link Vector3}) depending on if the mesh is using {@link Vector2} or {@link Vector3} vertices. This value can be determined with {@link meshSurfaceGetFormatSkinStride} instead.
454
461
  * The starting point of the updates can be changed with `offset`. The value of `offset` should be a multiple of 12 bytes in most cases to align to each skin.
455
462
  * A {@link PackedVector3Array} of skin locations can be converted into a {@link PackedByteArray} using {@link PackedVector3Array.toByteArray} for use in `data`.
456
463
  */
457
- static meshSurfaceUpdateSkinRegion(mesh: RID, surface: number, offset: number, data: PackedByteArray): void { _C($(), 8888, mesh, surface, offset, data); }
464
+ static meshSurfaceUpdateSkinRegion(mesh: RID, surface: number, offset: number, data: PackedByteArray): void { _C($(), 9079, mesh, surface, offset, data); }
458
465
 
459
466
  /**
460
467
  * Updates the index buffer of the mesh surface with the given `data`. The expected data are 16 or 32-bit unsigned integers, which can be determined with {@link meshSurfaceGetFormatIndexStride}.
461
468
  */
462
- static meshSurfaceUpdateIndexRegion(mesh: RID, surface: number, offset: number, data: PackedByteArray): void { _C($(), 8887, mesh, surface, offset, data); }
469
+ static meshSurfaceUpdateIndexRegion(mesh: RID, surface: number, offset: number, data: PackedByteArray): void { _C($(), 9078, mesh, surface, offset, data); }
470
+
471
+ /**
472
+ * Returns the {@link RenderingDevice} {@link RID} handle of the vertex buffer of the given mesh surface (Vertex, Normal, Tangent). The returned {@link RID} can be used like any other buffer on the {@link RenderingDevice}, so the surface vertices can be read or written from a compute shader without a CPU round-trip. This is the {@link Mesh} equivalent of {@link multimeshGetBufferRdRid} and is intended for GPU-driven mesh workflows (procedural meshes, ribbon trails, cloth, hair, grass) implemented from a {@link GDExtension}.
473
+ * To bind the buffer as a storage buffer in compute, the surface must have been created with the {@link ARRAY_FLAG_USE_STORAGE_BUFFER} flag set in its format.
474
+ * Returns an invalid {@link RID} if the surface has no vertex buffer or if the rendering backend does not expose {@link RenderingDevice} {@link RID}s (such as the OpenGL backend).
475
+ */
476
+ static meshSurfaceGetVertexBufferRdRid(mesh: RID, surface: number): RID { return _C($(), 9074, mesh, surface) as RID; }
477
+
478
+ /**
479
+ * Returns the {@link RenderingDevice} {@link RID} handle of the attribute buffer of the given mesh surface (Color, UV, UV2, Custom0-3). The returned {@link RID} can be used like any other buffer on the {@link RenderingDevice}, so the surface attributes can be read or written from a compute shader without a CPU round-trip.
480
+ * To bind the buffer as a storage buffer in compute, the surface must have been created with the {@link ARRAY_FLAG_USE_STORAGE_BUFFER} flag set in its format.
481
+ * Returns an invalid {@link RID} if the surface has no attribute buffer or if the rendering backend does not expose {@link RenderingDevice} {@link RID}s (such as the OpenGL backend).
482
+ */
483
+ static meshSurfaceGetAttributeBufferRdRid(mesh: RID, surface: number): RID { return _C($(), 9063, mesh, surface) as RID; }
484
+
485
+ /**
486
+ * Returns the {@link RenderingDevice} {@link RID} handle of the skin buffer of the given mesh surface (Bones, Weights). The returned {@link RID} can be used like any other buffer on the {@link RenderingDevice}, so the skin data can be read or written from a compute shader without a CPU round-trip.
487
+ * This buffer is created with the storage-buffer usage bit whenever the surface has skinning data, so it can be bound as a storage buffer in compute even without {@link ARRAY_FLAG_USE_STORAGE_BUFFER}.
488
+ * Returns an invalid {@link RID} if the surface has no skin buffer or if the rendering backend does not expose {@link RenderingDevice} {@link RID}s (such as the OpenGL backend).
489
+ */
490
+ static meshSurfaceGetSkinBufferRdRid(mesh: RID, surface: number): RID { return _C($(), 9073, mesh, surface) as RID; }
491
+
492
+ /**
493
+ * Returns the {@link RenderingDevice} {@link RID} handle of the index buffer of the given mesh surface. The returned {@link RID} can be used like any other buffer on the {@link RenderingDevice}, so the indices can be read or written from a compute shader without a CPU round-trip.
494
+ * To bind the buffer as a storage buffer in compute, the surface must have been created with the {@link ARRAY_FLAG_USE_STORAGE_BUFFER} flag set in its format.
495
+ * Returns an invalid {@link RID} if the surface is not indexed or if the rendering backend does not expose {@link RenderingDevice} {@link RID}s (such as the OpenGL backend).
496
+ */
497
+ static meshSurfaceGetIndexBufferRdRid(mesh: RID, surface: number): RID { return _C($(), 9071, mesh, surface) as RID; }
463
498
 
464
499
  /**
465
500
  * Sets an optional second mesh which can be used for rendering shadows and the depth prepass. Can be used to increase performance by supplying a mesh with fused vertices and only vertex position data (without normals, UVs, colors, etc.).
466
501
  * **Note:** This mesh must have exactly the same vertex positions as the source mesh (including the source mesh's LODs, if present). If vertex positions differ, then the mesh will not draw correctly.
467
502
  */
468
- static meshSetShadowMesh(mesh: RID, shadowMesh: RID): void { _C($(), 8874, mesh, shadowMesh); }
503
+ static meshSetShadowMesh(mesh: RID, shadowMesh: RID): void { _C($(), 9061, mesh, shadowMesh); }
469
504
 
470
505
  /**
471
506
  * Creates a new multimesh on the RenderingServer and returns an {@link RID} handle. This RID will be used in all `multimesh_*` RenderingServer functions.
@@ -473,92 +508,92 @@ export class RenderingServer extends GodotVar {
473
508
  * To place in a scene, attach this multimesh to an instance using {@link instanceSetBase} using the returned RID.
474
509
  * **Note:** The equivalent resource is {@link MultiMesh}.
475
510
  */
476
- static multimeshCreate(): RID { return _C($(), 9016) as RID; }
511
+ static multimeshCreate(): RID { return _C($(), 9212) as RID; }
477
512
 
478
513
  /**
479
514
  * Sets up the multimesh using the specified data. The number of instances is set by `instances`. The format of the instance transforms is set by `transformFormat`, which should be set according to whether the multimesh is meant to be rendered in 2D or 3D. If `colorFormat` is `true`, each instance will have a color associated with it. If `customDataFormat` is `true`, each instance will have a custom data vector associated with it. If `useIndirect` is `true`, an indirect command buffer will be created for this multimesh, allowing the instance count to be modified directly on the GPU. See also {@link multimeshGetCommandBufferRdRid}.
480
515
  */
481
- static multimeshAllocateData(multimesh: RID, instances: number, transformFormat: MultimeshTransformFormat, colorFormat?: boolean /* = false */, customDataFormat?: boolean /* = false */, useIndirect?: boolean /* = false */): void { _C($(), 9015, multimesh, instances, transformFormat, colorFormat, customDataFormat, useIndirect); }
516
+ static multimeshAllocateData(multimesh: RID, instances: number, transformFormat: MultimeshTransformFormat, colorFormat?: boolean /* = false */, customDataFormat?: boolean /* = false */, useIndirect?: boolean /* = false */): void { _C($(), 9211, multimesh, instances, transformFormat, colorFormat, customDataFormat, useIndirect); }
482
517
 
483
518
  /**
484
519
  * Returns the number of instances allocated for this multimesh.
485
520
  */
486
- static multimeshGetInstanceCount(multimesh: RID): number { return _C($(), 9022, multimesh) as number; }
521
+ static multimeshGetInstanceCount(multimesh: RID): number { return _C($(), 9218, multimesh) as number; }
487
522
 
488
523
  /**
489
524
  * Sets the mesh to be drawn by the multimesh. Equivalent to {@link MultiMesh.mesh}.
490
525
  */
491
- static multimeshSetMesh(multimesh: RID, mesh: RID): void { _C($(), 9038, multimesh, mesh); }
526
+ static multimeshSetMesh(multimesh: RID, mesh: RID): void { _C($(), 9234, multimesh, mesh); }
492
527
 
493
528
  /**
494
529
  * Sets the {@link Transform3D} for this instance. Equivalent to {@link MultiMesh.setInstanceTransform}.
495
530
  */
496
- static multimeshInstanceSetTransform(multimesh: RID, index: number, transform: Transform3D): void { _C($(), 9032, multimesh, index, transform); }
531
+ static multimeshInstanceSetTransform(multimesh: RID, index: number, transform: Transform3D): void { _C($(), 9228, multimesh, index, transform); }
497
532
 
498
533
  /**
499
534
  * Sets the {@link Transform2D} for this instance. For use when multimesh is used in 2D. Equivalent to {@link MultiMesh.setInstanceTransform2d}.
500
535
  */
501
- static multimeshInstanceSetTransform2d(multimesh: RID, index: number, transform: Transform2D): void { _C($(), 9033, multimesh, index, transform); }
536
+ static multimeshInstanceSetTransform2d(multimesh: RID, index: number, transform: Transform2D): void { _C($(), 9229, multimesh, index, transform); }
502
537
 
503
538
  /**
504
539
  * Sets the color by which this instance will be modulated. Equivalent to {@link MultiMesh.setInstanceColor}.
505
540
  */
506
- static multimeshInstanceSetColor(multimesh: RID, index: number, color: Color): void { _C($(), 9030, multimesh, index, color); }
541
+ static multimeshInstanceSetColor(multimesh: RID, index: number, color: Color): void { _C($(), 9226, multimesh, index, color); }
507
542
 
508
543
  /**
509
544
  * Sets the custom data for this instance. Custom data is passed as a {@link Color}, but is interpreted as a `vec4` in the shader. Equivalent to {@link MultiMesh.setInstanceCustomData}.
510
545
  */
511
- static multimeshInstanceSetCustomData(multimesh: RID, index: number, customData: Color): void { _C($(), 9031, multimesh, index, customData); }
546
+ static multimeshInstanceSetCustomData(multimesh: RID, index: number, customData: Color): void { _C($(), 9227, multimesh, index, customData); }
512
547
 
513
548
  /**
514
549
  * Returns the RID of the mesh that will be used in drawing this multimesh.
515
550
  */
516
- static multimeshGetMesh(multimesh: RID): RID { return _C($(), 9023, multimesh) as RID; }
551
+ static multimeshGetMesh(multimesh: RID): RID { return _C($(), 9219, multimesh) as RID; }
517
552
 
518
553
  /**
519
554
  * Calculates and returns the axis-aligned bounding box that encloses all instances within the multimesh.
520
555
  */
521
- static multimeshGetAabb(multimesh: RID): AABB { return _C($(), 9017, multimesh) as AABB; }
556
+ static multimeshGetAabb(multimesh: RID): AABB { return _C($(), 9213, multimesh) as AABB; }
522
557
 
523
558
  /**
524
559
  * Sets the custom AABB for this MultiMesh resource.
525
560
  */
526
- static multimeshSetCustomAabb(multimesh: RID, aabb: AABB): void { _C($(), 9037, multimesh, aabb); }
561
+ static multimeshSetCustomAabb(multimesh: RID, aabb: AABB): void { _C($(), 9233, multimesh, aabb); }
527
562
 
528
563
  /**
529
564
  * Returns the custom AABB defined for this MultiMesh resource.
530
565
  */
531
- static multimeshGetCustomAabb(multimesh: RID): AABB { return _C($(), 9021, multimesh) as AABB; }
566
+ static multimeshGetCustomAabb(multimesh: RID): AABB { return _C($(), 9217, multimesh) as AABB; }
532
567
 
533
568
  /**
534
569
  * Returns the {@link Transform3D} of the specified instance.
535
570
  */
536
- static multimeshInstanceGetTransform(multimesh: RID, index: number): Transform3D { return _C($(), 9027, multimesh, index) as Transform3D; }
571
+ static multimeshInstanceGetTransform(multimesh: RID, index: number): Transform3D { return _C($(), 9223, multimesh, index) as Transform3D; }
537
572
 
538
573
  /**
539
574
  * Returns the {@link Transform2D} of the specified instance. For use when the multimesh is set to use 2D transforms.
540
575
  */
541
- static multimeshInstanceGetTransform2d(multimesh: RID, index: number): Transform2D { return _C($(), 9028, multimesh, index) as Transform2D; }
576
+ static multimeshInstanceGetTransform2d(multimesh: RID, index: number): Transform2D { return _C($(), 9224, multimesh, index) as Transform2D; }
542
577
 
543
578
  /**
544
579
  * Returns the color by which the specified instance will be modulated.
545
580
  */
546
- static multimeshInstanceGetColor(multimesh: RID, index: number): Color { return _C($(), 9025, multimesh, index) as Color; }
581
+ static multimeshInstanceGetColor(multimesh: RID, index: number): Color { return _C($(), 9221, multimesh, index) as Color; }
547
582
 
548
583
  /**
549
584
  * Returns the custom data associated with the specified instance.
550
585
  */
551
- static multimeshInstanceGetCustomData(multimesh: RID, index: number): Color { return _C($(), 9026, multimesh, index) as Color; }
586
+ static multimeshInstanceGetCustomData(multimesh: RID, index: number): Color { return _C($(), 9222, multimesh, index) as Color; }
552
587
 
553
588
  /**
554
589
  * Sets the number of instances visible at a given time. If -1, all instances that have been allocated are drawn. Equivalent to {@link MultiMesh.visibleInstanceCount}.
555
590
  */
556
- static multimeshSetVisibleInstances(multimesh: RID, visible: number): void { _C($(), 9041, multimesh, visible); }
591
+ static multimeshSetVisibleInstances(multimesh: RID, visible: number): void { _C($(), 9237, multimesh, visible); }
557
592
 
558
593
  /**
559
594
  * Returns the number of visible instances for this multimesh.
560
595
  */
561
- static multimeshGetVisibleInstances(multimesh: RID): number { return _C($(), 9024, multimesh) as number; }
596
+ static multimeshGetVisibleInstances(multimesh: RID): number { return _C($(), 9220, multimesh) as number; }
562
597
 
563
598
  /**
564
599
  * Set the entire data to use for drawing the `multimesh` at once to `buffer` (such as instance transforms and colors). `buffer`'s size must match the number of instances multiplied by the per-instance data size (which depends on the enabled MultiMesh fields). Otherwise, an error message is printed and nothing is rendered. See also {@link multimeshGetBuffer}.
@@ -583,7 +618,7 @@ export class RenderingServer extends GodotVar {
583
618
  * - For {@link Transform2D} the float-order is: `(x.x, y.x, padding_float, origin.x, x.y, y.y, padding_float, origin.y)`.
584
619
  * - For {@link Transform3D} the float-order is: `(basis.x.x, basis.y.x, basis.z.x, origin.x, basis.x.y, basis.y.y, basis.z.y, origin.y, basis.x.z, basis.y.z, basis.z.z, origin.z)`.
585
620
  */
586
- static multimeshSetBuffer(multimesh: RID, buffer: PackedFloat32Array): void { _C($(), 9035, multimesh, buffer); }
621
+ static multimeshSetBuffer(multimesh: RID, buffer: PackedFloat32Array): void { _C($(), 9231, multimesh, buffer); }
587
622
 
588
623
  /**
589
624
  * Returns the {@link RenderingDevice} {@link RID} handle of the {@link MultiMesh} command buffer. This {@link RID} is only valid if `use_indirect` is set to `true` when allocating data through {@link multimeshAllocateData}. It can be used to directly modify the instance count via buffer.
@@ -607,88 +642,88 @@ export class RenderingServer extends GodotVar {
607
642
  *
608
643
  * ```
609
644
  */
610
- static multimeshGetCommandBufferRdRid(multimesh: RID): RID { return _C($(), 9020, multimesh) as RID; }
645
+ static multimeshGetCommandBufferRdRid(multimesh: RID): RID { return _C($(), 9216, multimesh) as RID; }
611
646
 
612
647
  /**
613
648
  * Returns the {@link RenderingDevice} {@link RID} handle of the {@link MultiMesh}, which can be used as any other buffer on the Rendering Device.
614
649
  */
615
- static multimeshGetBufferRdRid(multimesh: RID): RID { return _C($(), 9019, multimesh) as RID; }
650
+ static multimeshGetBufferRdRid(multimesh: RID): RID { return _C($(), 9215, multimesh) as RID; }
616
651
 
617
652
  /**
618
653
  * Returns the MultiMesh data (such as instance transforms, colors, etc.). See {@link multimeshSetBuffer} for details on the returned data.
619
654
  * **Note:** If the buffer is in the engine's internal cache, it will have to be fetched from GPU memory and possibly decompressed. This means {@link multimeshGetBuffer} is potentially a slow operation and should be avoided whenever possible.
620
655
  */
621
- static multimeshGetBuffer(multimesh: RID): PackedFloat32Array { return _C($(), 9018, multimesh) as PackedFloat32Array; }
656
+ static multimeshGetBuffer(multimesh: RID): PackedFloat32Array { return _C($(), 9214, multimesh) as PackedFloat32Array; }
622
657
 
623
658
  /**
624
659
  * Alternative version of {@link multimeshSetBuffer} for use with physics interpolation.
625
660
  * Takes both an array of current data and an array of data for the previous physics tick.
626
661
  */
627
- static multimeshSetBufferInterpolated(multimesh: RID, buffer: PackedFloat32Array, bufferPrevious: PackedFloat32Array): void { _C($(), 9036, multimesh, buffer, bufferPrevious); }
662
+ static multimeshSetBufferInterpolated(multimesh: RID, buffer: PackedFloat32Array, bufferPrevious: PackedFloat32Array): void { _C($(), 9232, multimesh, buffer, bufferPrevious); }
628
663
 
629
664
  /**
630
665
  * Turns on and off physics interpolation for this MultiMesh resource.
631
666
  */
632
- static multimeshSetPhysicsInterpolated(multimesh: RID, interpolated: boolean): void { _C($(), 9039, multimesh, interpolated); }
667
+ static multimeshSetPhysicsInterpolated(multimesh: RID, interpolated: boolean): void { _C($(), 9235, multimesh, interpolated); }
633
668
 
634
669
  /**
635
670
  * Sets the physics interpolation quality for the {@link MultiMesh}.
636
671
  * A value of {@link MULTIMESH_INTERP_QUALITY_FAST} gives fast but low quality interpolation, a value of {@link MULTIMESH_INTERP_QUALITY_HIGH} gives slower but higher quality interpolation.
637
672
  */
638
- static multimeshSetPhysicsInterpolationQuality(multimesh: RID, quality: MultimeshPhysicsInterpolationQuality): void { _C($(), 9040, multimesh, quality); }
673
+ static multimeshSetPhysicsInterpolationQuality(multimesh: RID, quality: MultimeshPhysicsInterpolationQuality): void { _C($(), 9236, multimesh, quality); }
639
674
 
640
675
  /**
641
676
  * Prevents physics interpolation for the specified instance during the current physics tick.
642
677
  * This is useful when moving an instance to a new location, to give an instantaneous change rather than interpolation from the previous location.
643
678
  */
644
- static multimeshInstanceResetPhysicsInterpolation(multimesh: RID, index: number): void { _C($(), 9029, multimesh, index); }
679
+ static multimeshInstanceResetPhysicsInterpolation(multimesh: RID, index: number): void { _C($(), 9225, multimesh, index); }
645
680
 
646
681
  /**
647
682
  * Prevents physics interpolation for all instances during the current physics tick.
648
683
  * This is useful when moving all instances to new locations, to give instantaneous changes rather than interpolation from the previous locations.
649
684
  */
650
- static multimeshInstancesResetPhysicsInterpolation(multimesh: RID): void { _C($(), 9034, multimesh); }
685
+ static multimeshInstancesResetPhysicsInterpolation(multimesh: RID): void { _C($(), 9230, multimesh); }
651
686
 
652
687
  /**
653
688
  * Creates a skeleton and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `skeleton_*` RenderingServer functions.
654
689
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
655
690
  */
656
- static skeletonCreate(): RID { return _C($(), 13624) as RID; }
691
+ static skeletonCreate(): RID { return _C($(), 13904) as RID; }
657
692
 
658
693
  /**
659
694
  * Allocates data for this skeleton using the number of bones specified in `bones`. If `is2dSkeleton` is `true`, the skeleton will be treated as a 2D skeleton instead of a 3D skeleton. See also {@link skeletonGetBoneCount}.
660
695
  */
661
- static skeletonAllocateData(skeleton: RID, bones: number, is2dSkeleton?: boolean /* = false */): void { _C($(), 13619, skeleton, bones, is2dSkeleton); }
696
+ static skeletonAllocateData(skeleton: RID, bones: number, is2dSkeleton?: boolean /* = false */): void { _C($(), 13899, skeleton, bones, is2dSkeleton); }
662
697
 
663
698
  /**
664
699
  * Returns the number of bones allocated for this skeleton. See also {@link skeletonAllocateData}.
665
700
  */
666
- static skeletonGetBoneCount(skeleton: RID): number { return _C($(), 13625, skeleton) as number; }
701
+ static skeletonGetBoneCount(skeleton: RID): number { return _C($(), 13905, skeleton) as number; }
667
702
 
668
703
  /**
669
704
  * Sets the {@link Transform3D} for a specific bone of this skeleton.
670
705
  */
671
- static skeletonBoneSetTransform(skeleton: RID, bone: number, transform: Transform3D): void { _C($(), 13622, skeleton, bone, transform); }
706
+ static skeletonBoneSetTransform(skeleton: RID, bone: number, transform: Transform3D): void { _C($(), 13902, skeleton, bone, transform); }
672
707
 
673
708
  /**
674
709
  * Returns the {@link Transform3D} set for a specific bone of this skeleton.
675
710
  */
676
- static skeletonBoneGetTransform(skeleton: RID, bone: number): Transform3D { return _C($(), 13620, skeleton, bone) as Transform3D; }
711
+ static skeletonBoneGetTransform(skeleton: RID, bone: number): Transform3D { return _C($(), 13900, skeleton, bone) as Transform3D; }
677
712
 
678
713
  /**
679
714
  * Sets the {@link Transform2D} for a specific bone of this skeleton.
680
715
  */
681
- static skeletonBoneSetTransform2d(skeleton: RID, bone: number, transform: Transform2D): void { _C($(), 13623, skeleton, bone, transform); }
716
+ static skeletonBoneSetTransform2d(skeleton: RID, bone: number, transform: Transform2D): void { _C($(), 13903, skeleton, bone, transform); }
682
717
 
683
718
  /**
684
719
  * Returns the {@link Transform2D} set for a specific bone of this skeleton.
685
720
  */
686
- static skeletonBoneGetTransform2d(skeleton: RID, bone: number): Transform2D { return _C($(), 13621, skeleton, bone) as Transform2D; }
721
+ static skeletonBoneGetTransform2d(skeleton: RID, bone: number): Transform2D { return _C($(), 13901, skeleton, bone) as Transform2D; }
687
722
 
688
723
  /**
689
724
  * Sets the base {@link Transform2D} to use for the specified skeleton.
690
725
  */
691
- static skeletonSetBaseTransform2d(skeleton: RID, baseTransform: Transform2D): void { _C($(), 13628, skeleton, baseTransform); }
726
+ static skeletonSetBaseTransform2d(skeleton: RID, baseTransform: Transform2D): void { _C($(), 13908, skeleton, baseTransform); }
692
727
 
693
728
  /**
694
729
  * Creates a directional light and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID can be used in most `light_*` RenderingServer functions.
@@ -696,7 +731,7 @@ export class RenderingServer extends GodotVar {
696
731
  * To place in a scene, attach this directional light to an instance using {@link instanceSetBase} using the returned RID.
697
732
  * **Note:** The equivalent node is {@link DirectionalLight3D}.
698
733
  */
699
- static directionalLightCreate(): RID { return _C($(), 2794) as RID; }
734
+ static directionalLightCreate(): RID { return _C($(), 2844) as RID; }
700
735
 
701
736
  /**
702
737
  * Creates a new omni light and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID can be used in most `light_*` RenderingServer functions.
@@ -704,14 +739,14 @@ export class RenderingServer extends GodotVar {
704
739
  * To place in a scene, attach this omni light to an instance using {@link instanceSetBase} using the returned RID.
705
740
  * **Note:** The equivalent node is {@link OmniLight3D}.
706
741
  */
707
- static omniLightCreate(): RID { return _C($(), 9176) as RID; }
742
+ static omniLightCreate(): RID { return _C($(), 9373) as RID; }
708
743
 
709
744
  /**
710
745
  * Creates a spot light and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID can be used in most `light_*` RenderingServer functions.
711
746
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
712
747
  * To place in a scene, attach this spot light to an instance using {@link instanceSetBase} using the returned RID.
713
748
  */
714
- static spotLightCreate(): RID { return _C($(), 13793) as RID; }
749
+ static spotLightCreate(): RID { return _C($(), 14080) as RID; }
715
750
 
716
751
  /**
717
752
  * Creates a new area light and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID can be used in most `light_*` RenderingServer functions.
@@ -719,117 +754,122 @@ export class RenderingServer extends GodotVar {
719
754
  * To place in a scene, attach this area light to an instance using {@link instanceSetBase} using the returned RID.
720
755
  * **Note:** The equivalent node is {@link AreaLight3D}.
721
756
  */
722
- static areaLightCreate(): RID { return _C($(), 1569) as RID; }
757
+ static areaLightCreate(): RID { return _C($(), 1601) as RID; }
723
758
 
724
759
  /**
725
760
  * Sets the color of the light. Equivalent to {@link Light3D.lightColor}.
726
761
  */
727
- static lightSetColor(light: RID, color: Color): void { _C($(), 8575, light, color); }
762
+ static lightSetColor(light: RID, color: Color): void { _C($(), 8753, light, color); }
728
763
 
729
764
  /**
730
765
  * Sets the specified 3D light parameter. Equivalent to {@link Light3D.setParam}.
731
766
  */
732
- static lightSetParam(light: RID, param: LightParam, value: number): void { _C($(), 8580, light, param, value); }
767
+ static lightSetParam(light: RID, param: LightParam, value: number): void { _C($(), 8758, light, param, value); }
733
768
 
734
769
  /**
735
770
  * If `true`, light will cast shadows. Equivalent to {@link Light3D.shadowEnabled}.
736
771
  */
737
- static lightSetShadow(light: RID, enabled: boolean): void { _C($(), 8583, light, enabled); }
772
+ static lightSetShadow(light: RID, enabled: boolean): void { _C($(), 8761, light, enabled); }
738
773
 
739
774
  /**
740
775
  * Sets the projector texture to use for the specified 3D light. Equivalent to {@link Light3D.lightProjector}.
741
776
  */
742
- static lightSetProjector(light: RID, texture: RID): void { _C($(), 8581, light, texture); }
777
+ static lightSetProjector(light: RID, texture: RID): void { _C($(), 8759, light, texture); }
743
778
 
744
779
  /**
745
780
  * If `true`, the 3D light will subtract light instead of adding light. Equivalent to {@link Light3D.lightNegative}.
746
781
  */
747
- static lightSetNegative(light: RID, enable: boolean): void { _C($(), 8579, light, enable); }
782
+ static lightSetNegative(light: RID, enable: boolean): void { _C($(), 8757, light, enable); }
748
783
 
749
784
  /**
750
785
  * Sets the cull mask for this 3D light. Lights only affect objects in the selected layers. Equivalent to {@link Light3D.lightCullMask}.
751
786
  */
752
- static lightSetCullMask(light: RID, mask: number /* uint32 */): void { _C($(), 8576, light, mask); }
787
+ static lightSetCullMask(light: RID, mask: number /* uint32 */): void { _C($(), 8754, light, mask); }
753
788
 
754
789
  /**
755
790
  * Sets the distance fade for this 3D light. This acts as a form of level of detail (LOD) and can be used to improve performance. Equivalent to {@link Light3D.distanceFadeEnabled}, {@link Light3D.distanceFadeBegin}, {@link Light3D.distanceFadeShadow}, and {@link Light3D.distanceFadeLength}.
756
791
  */
757
- static lightSetDistanceFade(decal: RID, enabled: boolean, begin: number, shadow: number, length: number): void { _C($(), 8577, decal, enabled, begin, shadow, length); }
792
+ static lightSetDistanceFade(decal: RID, enabled: boolean, begin: number, shadow: number, length: number): void { _C($(), 8755, decal, enabled, begin, shadow, length); }
758
793
 
759
794
  /**
760
795
  * If `true`, reverses the backface culling of the mesh. This can be useful when you have a flat mesh that has a light behind it. If you need to cast a shadow on both sides of the mesh, set the mesh to use double-sided shadows with {@link instanceGeometrySetCastShadowsSetting}. Equivalent to {@link Light3D.shadowReverseCullFace}.
761
796
  */
762
- static lightSetReverseCullFaceMode(light: RID, enabled: boolean): void { _C($(), 8582, light, enabled); }
797
+ static lightSetReverseCullFaceMode(light: RID, enabled: boolean): void { _C($(), 8760, light, enabled); }
763
798
 
764
799
  /**
765
800
  * Sets the shadow caster mask for this 3D light. Shadows will only be cast using objects in the selected layers. Equivalent to {@link Light3D.shadowCasterMask}.
766
801
  */
767
- static lightSetShadowCasterMask(light: RID, mask: number /* uint32 */): void { _C($(), 8584, light, mask); }
802
+ static lightSetShadowCasterMask(light: RID, mask: number /* uint32 */): void { _C($(), 8762, light, mask); }
768
803
 
769
804
  /**
770
805
  * Sets the bake mode to use for the specified 3D light. Equivalent to {@link Light3D.lightBakeMode}.
771
806
  */
772
- static lightSetBakeMode(light: RID, bakeMode: LightBakeMode): void { _C($(), 8574, light, bakeMode); }
807
+ static lightSetBakeMode(light: RID, bakeMode: LightBakeMode): void { _C($(), 8752, light, bakeMode); }
773
808
 
774
809
  /**
775
810
  * Sets the maximum SDFGI cascade in which the 3D light's indirect lighting is rendered. Higher values allow the light to be rendered in SDFGI further away from the camera.
776
811
  */
777
- static lightSetMaxSdfgiCascade(light: RID, cascade: number /* uint32 */): void { _C($(), 8578, light, cascade); }
812
+ static lightSetMaxSdfgiCascade(light: RID, cascade: number /* uint32 */): void { _C($(), 8756, light, cascade); }
813
+
814
+ /**
815
+ * If `true`, allows screen-space contact shadows for this light. Only used when {@link ProjectSettings.rendering/lightsAndShadows/contactShadow/enabled} is enabled. Equivalent to {@link Light3D.shadowContactShadowsAllow}.
816
+ */
817
+ static lightSetAllowContactShadows(light: RID, enable: boolean): void { _C($(), 8751, light, enable); }
778
818
 
779
819
  /**
780
820
  * Sets whether to use a dual paraboloid or a cubemap for the shadow map. Dual paraboloid is faster but may suffer from artifacts. Equivalent to {@link OmniLight3D.omniShadowMode}.
781
821
  */
782
- static lightOmniSetShadowMode(light: RID, mode: LightOmniShadowMode): void { _C($(), 8571, light, mode); }
822
+ static lightOmniSetShadowMode(light: RID, mode: LightOmniShadowMode): void { _C($(), 8748, light, mode); }
783
823
 
784
824
  /**
785
825
  * Sets the shadow mode for this directional light. Equivalent to {@link DirectionalLight3D.directionalShadowMode}.
786
826
  */
787
- static lightDirectionalSetShadowMode(light: RID, mode: LightDirectionalShadowMode): void { _C($(), 8562, light, mode); }
827
+ static lightDirectionalSetShadowMode(light: RID, mode: LightDirectionalShadowMode): void { _C($(), 8739, light, mode); }
788
828
 
789
829
  /**
790
830
  * If `true`, this directional light will blend between shadow map splits resulting in a smoother transition between them. Equivalent to {@link DirectionalLight3D.directionalShadowBlendSplits}.
791
831
  */
792
- static lightDirectionalSetBlendSplits(light: RID, enable: boolean): void { _C($(), 8561, light, enable); }
832
+ static lightDirectionalSetBlendSplits(light: RID, enable: boolean): void { _C($(), 8738, light, enable); }
793
833
 
794
834
  /**
795
835
  * If `true`, this light will not be used for anything except sky shaders. Use this for lights that impact your sky shader that you may want to hide from affecting the rest of the scene. For example, you may want to enable this when the sun in your sky shader falls below the horizon.
796
836
  */
797
- static lightDirectionalSetSkyMode(light: RID, mode: LightDirectionalSkyMode): void { _C($(), 8563, light, mode); }
837
+ static lightDirectionalSetSkyMode(light: RID, mode: LightDirectionalSkyMode): void { _C($(), 8740, light, mode); }
798
838
 
799
839
  /**
800
840
  * Sets the extents (width and height) in meters for this area light. Equivalent to {@link AreaLight3D.areaSize}.
801
841
  */
802
- static lightAreaSetSize(light: RID, size: Vector2): void { _C($(), 8556, light, size); }
842
+ static lightAreaSetSize(light: RID, size: Vector2): void { _C($(), 8733, light, size); }
803
843
 
804
844
  /**
805
845
  * Defines whether the energy of an {@link AreaLight3D} is normalized (divided) by its area. If set to `true`, changing the size does not affect the total energy output. Equivalent to {@link AreaLight3D.areaNormalizeEnergy}.
806
846
  */
807
- static lightAreaSetNormalizeEnergy(light: RID, enable: boolean): void { _C($(), 8555, light, enable); }
847
+ static lightAreaSetNormalizeEnergy(light: RID, enable: boolean): void { _C($(), 8732, light, enable); }
808
848
 
809
849
  /**
810
850
  * Sets the texture filter mode to use when rendering light projectors. This parameter is global and cannot be set on a per-light basis.
811
851
  */
812
- static lightProjectorsSetFilter(filter: LightProjectorFilter): void { _C($(), 8573, filter); }
852
+ static lightProjectorsSetFilter(filter: LightProjectorFilter): void { _C($(), 8750, filter); }
813
853
 
814
854
  /**
815
855
  * Toggles whether a bicubic filter should be used when lightmaps are sampled. This smoothens their appearance at a performance cost.
816
856
  */
817
- static lightmapsSetBicubicFilter(enable: boolean): void { _C($(), 8607, enable); }
857
+ static lightmapsSetBicubicFilter(enable: boolean): void { _C($(), 8785, enable); }
818
858
 
819
859
  /**
820
860
  * Sets the filter quality for omni and spot light shadows in 3D. See also {@link ProjectSettings.rendering/lightsAndShadows/positionalShadow/softShadowFilterQuality}. This parameter is global and cannot be set on a per-viewport basis.
821
861
  */
822
- static positionalSoftShadowFilterSetQuality(quality: ShadowQuality): void { _C($(), 9517, quality); }
862
+ static positionalSoftShadowFilterSetQuality(quality: ShadowQuality): void { _C($(), 9722, quality); }
823
863
 
824
864
  /**
825
865
  * Sets the filter `quality` for directional light shadows in 3D. See also {@link ProjectSettings.rendering/lightsAndShadows/directionalShadow/softShadowFilterQuality}. This parameter is global and cannot be set on a per-viewport basis.
826
866
  */
827
- static directionalSoftShadowFilterSetQuality(quality: ShadowQuality): void { _C($(), 2804, quality); }
867
+ static directionalSoftShadowFilterSetQuality(quality: ShadowQuality): void { _C($(), 2854, quality); }
828
868
 
829
869
  /**
830
870
  * Sets the `size` of the directional light shadows in 3D. See also {@link ProjectSettings.rendering/lightsAndShadows/directionalShadow/size}. This parameter is global and cannot be set on a per-viewport basis.
831
871
  */
832
- static directionalShadowAtlasSetSize(size: number, is16bits: boolean): void { _C($(), 2795, size, is16bits); }
872
+ static directionalShadowAtlasSetSize(size: number, is16bits: boolean): void { _C($(), 2845, size, is16bits); }
833
873
 
834
874
  /**
835
875
  * Creates a reflection probe and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `reflection_probe_*` RenderingServer functions.
@@ -837,87 +877,87 @@ export class RenderingServer extends GodotVar {
837
877
  * To place in a scene, attach this reflection probe to an instance using {@link instanceSetBase} using the returned RID.
838
878
  * **Note:** The equivalent node is {@link ReflectionProbe}.
839
879
  */
840
- static reflectionProbeCreate(): RID { return _C($(), 9779) as RID; }
880
+ static reflectionProbeCreate(): RID { return _C($(), 9985) as RID; }
841
881
 
842
882
  /**
843
883
  * Sets how often the reflection probe updates. Can either be once or every frame.
844
884
  */
845
- static reflectionProbeSetUpdateMode(probe: RID, mode: ReflectionProbeUpdateMode): void { _C($(), 9795, probe, mode); }
885
+ static reflectionProbeSetUpdateMode(probe: RID, mode: ReflectionProbeUpdateMode): void { _C($(), 10001, probe, mode); }
846
886
 
847
887
  /**
848
888
  * Sets the intensity of the reflection probe. Intensity modulates the strength of the reflection. Equivalent to {@link ReflectionProbe.intensity}.
849
889
  */
850
- static reflectionProbeSetIntensity(probe: RID, intensity: number): void { _C($(), 9788, probe, intensity); }
890
+ static reflectionProbeSetIntensity(probe: RID, intensity: number): void { _C($(), 9994, probe, intensity); }
851
891
 
852
892
  /**
853
893
  * Sets the distance in meters over which a probe blends into the scene.
854
894
  */
855
- static reflectionProbeSetBlendDistance(probe: RID, blendDistance: number): void { _C($(), 9784, probe, blendDistance); }
895
+ static reflectionProbeSetBlendDistance(probe: RID, blendDistance: number): void { _C($(), 9990, probe, blendDistance); }
856
896
 
857
897
  /**
858
898
  * Sets the reflection probe's ambient light mode. Equivalent to {@link ReflectionProbe.ambientMode}.
859
899
  */
860
- static reflectionProbeSetAmbientMode(probe: RID, mode: ReflectionProbeAmbientMode): void { _C($(), 9782, probe, mode); }
900
+ static reflectionProbeSetAmbientMode(probe: RID, mode: ReflectionProbeAmbientMode): void { _C($(), 9988, probe, mode); }
861
901
 
862
902
  /**
863
903
  * Sets the reflection probe's custom ambient light color. Equivalent to {@link ReflectionProbe.ambientColor}.
864
904
  */
865
- static reflectionProbeSetAmbientColor(probe: RID, color: Color): void { _C($(), 9780, probe, color); }
905
+ static reflectionProbeSetAmbientColor(probe: RID, color: Color): void { _C($(), 9986, probe, color); }
866
906
 
867
907
  /**
868
908
  * Sets the reflection probe's custom ambient light energy. Equivalent to {@link ReflectionProbe.ambientColorEnergy}.
869
909
  */
870
- static reflectionProbeSetAmbientEnergy(probe: RID, energy: number): void { _C($(), 9781, probe, energy); }
910
+ static reflectionProbeSetAmbientEnergy(probe: RID, energy: number): void { _C($(), 9987, probe, energy); }
871
911
 
872
912
  /**
873
913
  * Sets the max distance away from the probe an object can be before it is culled. Equivalent to {@link ReflectionProbe.maxDistance}.
874
914
  */
875
- static reflectionProbeSetMaxDistance(probe: RID, distance: number): void { _C($(), 9789, probe, distance); }
915
+ static reflectionProbeSetMaxDistance(probe: RID, distance: number): void { _C($(), 9995, probe, distance); }
876
916
 
877
917
  /**
878
918
  * Sets the size of the area that the reflection probe will capture. Equivalent to {@link ReflectionProbe.size}.
879
919
  */
880
- static reflectionProbeSetSize(probe: RID, size: Vector3): void { _C($(), 9794, probe, size); }
920
+ static reflectionProbeSetSize(probe: RID, size: Vector3): void { _C($(), 10000, probe, size); }
881
921
 
882
922
  /**
883
923
  * Sets the origin offset to be used when this reflection probe is in box project mode. Equivalent to {@link ReflectionProbe.originOffset}.
884
924
  */
885
- static reflectionProbeSetOriginOffset(probe: RID, offset: Vector3): void { _C($(), 9791, probe, offset); }
925
+ static reflectionProbeSetOriginOffset(probe: RID, offset: Vector3): void { _C($(), 9997, probe, offset); }
886
926
 
887
927
  /**
888
928
  * If `true`, reflections will ignore sky contribution. Equivalent to {@link ReflectionProbe.interior}.
889
929
  */
890
- static reflectionProbeSetAsInterior(probe: RID, enable: boolean): void { _C($(), 9783, probe, enable); }
930
+ static reflectionProbeSetAsInterior(probe: RID, enable: boolean): void { _C($(), 9989, probe, enable); }
891
931
 
892
932
  /**
893
933
  * If `true`, uses box projection. This can make reflections look more correct in certain situations. Equivalent to {@link ReflectionProbe.boxProjection}.
894
934
  */
895
- static reflectionProbeSetEnableBoxProjection(probe: RID, enable: boolean): void { _C($(), 9786, probe, enable); }
935
+ static reflectionProbeSetEnableBoxProjection(probe: RID, enable: boolean): void { _C($(), 9992, probe, enable); }
896
936
 
897
937
  /**
898
938
  * If `true`, computes shadows in the reflection probe. This makes the reflection much slower to compute. Equivalent to {@link ReflectionProbe.enableShadows}.
899
939
  */
900
- static reflectionProbeSetEnableShadows(probe: RID, enable: boolean): void { _C($(), 9787, probe, enable); }
940
+ static reflectionProbeSetEnableShadows(probe: RID, enable: boolean): void { _C($(), 9993, probe, enable); }
901
941
 
902
942
  /**
903
943
  * Sets the render cull mask for this reflection probe. Only instances with a matching layer will be reflected by this probe. Equivalent to {@link ReflectionProbe.cullMask}.
904
944
  */
905
- static reflectionProbeSetCullMask(probe: RID, layers: number /* uint32 */): void { _C($(), 9785, probe, layers); }
945
+ static reflectionProbeSetCullMask(probe: RID, layers: number /* uint32 */): void { _C($(), 9991, probe, layers); }
906
946
 
907
947
  /**
908
948
  * Sets the render reflection mask for this reflection probe. Only instances with a matching layer will have reflections applied from this probe. Equivalent to {@link ReflectionProbe.reflectionMask}.
909
949
  */
910
- static reflectionProbeSetReflectionMask(probe: RID, layers: number /* uint32 */): void { _C($(), 9792, probe, layers); }
950
+ static reflectionProbeSetReflectionMask(probe: RID, layers: number /* uint32 */): void { _C($(), 9998, probe, layers); }
911
951
 
912
952
  /**
913
953
  * Deprecated. This method does nothing.
914
954
  */
915
- static reflectionProbeSetResolution(probe: RID, resolution: number): void { _C($(), 9793, probe, resolution); }
955
+ static reflectionProbeSetResolution(probe: RID, resolution: number): void { _C($(), 9999, probe, resolution); }
916
956
 
917
957
  /**
918
958
  * Sets the mesh level of detail to use in the reflection probe rendering. Higher values will use less detailed versions of meshes that have LOD variations generated, which can improve performance. Equivalent to {@link ReflectionProbe.meshLodThreshold}.
919
959
  */
920
- static reflectionProbeSetMeshLodThreshold(probe: RID, pixels: number): void { _C($(), 9790, probe, pixels); }
960
+ static reflectionProbeSetMeshLodThreshold(probe: RID, pixels: number): void { _C($(), 9996, probe, pixels); }
921
961
 
922
962
  /**
923
963
  * Creates a decal and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `decal_*` RenderingServer functions.
@@ -925,206 +965,206 @@ export class RenderingServer extends GodotVar {
925
965
  * To place in a scene, attach this decal to an instance using {@link instanceSetBase} using the returned RID.
926
966
  * **Note:** The equivalent node is {@link Decal}.
927
967
  */
928
- static decalCreate(): RID { return _C($(), 2676) as RID; }
968
+ static decalCreate(): RID { return _C($(), 2726) as RID; }
929
969
 
930
970
  /**
931
971
  * Sets the `size` of the decal specified by the `decal` RID. Equivalent to {@link Decal.size}.
932
972
  */
933
- static decalSetSize(decal: RID, size: Vector3): void { _C($(), 2684, decal, size); }
973
+ static decalSetSize(decal: RID, size: Vector3): void { _C($(), 2734, decal, size); }
934
974
 
935
975
  /**
936
976
  * Sets the `texture` in the given texture `type` slot for the specified decal. Equivalent to {@link Decal.setTexture}.
937
977
  */
938
- static decalSetTexture(decal: RID, type: DecalTexture, texture: RID): void { _C($(), 2685, decal, type, texture); }
978
+ static decalSetTexture(decal: RID, type: DecalTexture, texture: RID): void { _C($(), 2735, decal, type, texture); }
939
979
 
940
980
  /**
941
981
  * Sets the emission `energy` in the decal specified by the `decal` RID. Equivalent to {@link Decal.emissionEnergy}.
942
982
  */
943
- static decalSetEmissionEnergy(decal: RID, energy: number): void { _C($(), 2680, decal, energy); }
983
+ static decalSetEmissionEnergy(decal: RID, energy: number): void { _C($(), 2730, decal, energy); }
944
984
 
945
985
  /**
946
986
  * Sets the `albedoMix` in the decal specified by the `decal` RID. Equivalent to {@link Decal.albedoMix}.
947
987
  */
948
- static decalSetAlbedoMix(decal: RID, albedoMix: number): void { _C($(), 2677, decal, albedoMix); }
988
+ static decalSetAlbedoMix(decal: RID, albedoMix: number): void { _C($(), 2727, decal, albedoMix); }
949
989
 
950
990
  /**
951
991
  * Sets the color multiplier in the decal specified by the `decal` RID to `color`. Equivalent to {@link Decal.modulate}.
952
992
  */
953
- static decalSetModulate(decal: RID, color: Color): void { _C($(), 2682, decal, color); }
993
+ static decalSetModulate(decal: RID, color: Color): void { _C($(), 2732, decal, color); }
954
994
 
955
995
  /**
956
996
  * Sets the cull `mask` in the decal specified by the `decal` RID. Equivalent to {@link Decal.cullMask}.
957
997
  */
958
- static decalSetCullMask(decal: RID, mask: number /* uint32 */): void { _C($(), 2678, decal, mask); }
998
+ static decalSetCullMask(decal: RID, mask: number /* uint32 */): void { _C($(), 2728, decal, mask); }
959
999
 
960
1000
  /**
961
1001
  * Sets the distance fade parameters in the decal specified by the `decal` RID. Equivalent to {@link Decal.distanceFadeEnabled}, {@link Decal.distanceFadeBegin} and {@link Decal.distanceFadeLength}.
962
1002
  */
963
- static decalSetDistanceFade(decal: RID, enabled: boolean, begin: number, length: number): void { _C($(), 2679, decal, enabled, begin, length); }
1003
+ static decalSetDistanceFade(decal: RID, enabled: boolean, begin: number, length: number): void { _C($(), 2729, decal, enabled, begin, length); }
964
1004
 
965
1005
  /**
966
1006
  * Sets the upper fade (`above`) and lower fade (`below`) in the decal specified by the `decal` RID. Equivalent to {@link Decal.upperFade} and {@link Decal.lowerFade}.
967
1007
  */
968
- static decalSetFade(decal: RID, above: number, below: number): void { _C($(), 2681, decal, above, below); }
1008
+ static decalSetFade(decal: RID, above: number, below: number): void { _C($(), 2731, decal, above, below); }
969
1009
 
970
1010
  /**
971
1011
  * Sets the normal `fade` in the decal specified by the `decal` RID. Equivalent to {@link Decal.normalFade}.
972
1012
  */
973
- static decalSetNormalFade(decal: RID, fade: number): void { _C($(), 2683, decal, fade); }
1013
+ static decalSetNormalFade(decal: RID, fade: number): void { _C($(), 2733, decal, fade); }
974
1014
 
975
1015
  /**
976
1016
  * Sets the texture `filter` mode to use when rendering decals. This parameter is global and cannot be set on a per-decal basis.
977
1017
  */
978
- static decalsSetFilter(filter: DecalFilter): void { _C($(), 2686, filter); }
1018
+ static decalsSetFilter(filter: DecalFilter): void { _C($(), 2736, filter); }
979
1019
 
980
1020
  /**
981
1021
  * If `halfResolution` is `true`, renders {@link VoxelGI} and SDFGI ({@link Environment.sdfgiEnabled}) buffers at halved resolution on each axis (e.g. 960×540 when the viewport size is 1920×1080). This improves performance significantly when VoxelGI or SDFGI is enabled, at the cost of artifacts that may be visible on polygon edges. The loss in quality becomes less noticeable as the viewport resolution increases. {@link LightmapGI} rendering is not affected by this setting. Equivalent to {@link ProjectSettings.rendering/globalIllumination/gi/useHalfResolution}.
982
1022
  */
983
- static giSetUseHalfResolution(halfResolution: boolean): void { _C($(), 7192, halfResolution); }
1023
+ static giSetUseHalfResolution(halfResolution: boolean): void { _C($(), 7337, halfResolution); }
984
1024
 
985
1025
  /**
986
1026
  * Creates a new voxel-based global illumination object and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `voxel_gi_*` RenderingServer functions.
987
1027
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
988
1028
  * **Note:** The equivalent node is {@link VoxelGI}.
989
1029
  */
990
- static voxelGiCreate(): RID { return _C($(), 14811) as RID; }
1030
+ static voxelGiCreate(): RID { return _C($(), 15109) as RID; }
991
1031
 
992
1032
  /**
993
1033
  * Allocates and initializes the voxel GI data for the specified `voxelGi` RID. `octreeCells` must be a multiple of 32. `octreeCells` must be double the size of `dataCells`. The allocated data can be retrieved later using the various `voxel_gi_get_*` methods.
994
1034
  */
995
- static voxelGiAllocateData(voxelGi: RID, toCellXform: Transform3D, aabb: AABB, octreeSize: Vector3i, octreeCells: PackedByteArray, dataCells: PackedByteArray, distanceField: PackedByteArray, levelCounts: PackedInt32Array): void { _C($(), 14810, voxelGi, toCellXform, aabb, octreeSize, octreeCells, dataCells, distanceField, levelCounts); }
1035
+ static voxelGiAllocateData(voxelGi: RID, toCellXform: Transform3D, aabb: AABB, octreeSize: Vector3i, octreeCells: PackedByteArray, dataCells: PackedByteArray, distanceField: PackedByteArray, levelCounts: PackedInt32Array): void { _C($(), 15108, voxelGi, toCellXform, aabb, octreeSize, octreeCells, dataCells, distanceField, levelCounts); }
996
1036
 
997
1037
  /**
998
1038
  * Returns the octree size for the specified voxel GI data instance, which corresponds to the number of subdivisions per axis. This can be viewed in the editor by hovering the **Bake VoxelGI** button at the top of the 3D editor viewport when a {@link VoxelGI} node is selected and looking at the **Subdivisions** field in the tooltip.
999
1039
  */
1000
- static voxelGiGetOctreeSize(voxelGi: RID): Vector3i { return _C($(), 14816, voxelGi) as Vector3i; }
1040
+ static voxelGiGetOctreeSize(voxelGi: RID): Vector3i { return _C($(), 15114, voxelGi) as Vector3i; }
1001
1041
 
1002
1042
  /**
1003
1043
  * Returns the octree cell data for the specified voxel GI data instance. See also {@link voxelGiAllocateData}.
1004
1044
  */
1005
- static voxelGiGetOctreeCells(voxelGi: RID): PackedByteArray { return _C($(), 14815, voxelGi) as PackedByteArray; }
1045
+ static voxelGiGetOctreeCells(voxelGi: RID): PackedByteArray { return _C($(), 15113, voxelGi) as PackedByteArray; }
1006
1046
 
1007
1047
  /**
1008
1048
  * Returns the data cells for the specified voxel GI data instance. See also {@link voxelGiAllocateData}.
1009
1049
  */
1010
- static voxelGiGetDataCells(voxelGi: RID): PackedByteArray { return _C($(), 14812, voxelGi) as PackedByteArray; }
1050
+ static voxelGiGetDataCells(voxelGi: RID): PackedByteArray { return _C($(), 15110, voxelGi) as PackedByteArray; }
1011
1051
 
1012
1052
  /**
1013
1053
  * Returns the distance field data for the specified voxel GI data instance. See also {@link voxelGiAllocateData}.
1014
1054
  */
1015
- static voxelGiGetDistanceField(voxelGi: RID): PackedByteArray { return _C($(), 14813, voxelGi) as PackedByteArray; }
1055
+ static voxelGiGetDistanceField(voxelGi: RID): PackedByteArray { return _C($(), 15111, voxelGi) as PackedByteArray; }
1016
1056
 
1017
1057
  /**
1018
1058
  * Returns the level counts for the specified voxel GI data instance. See also {@link voxelGiAllocateData}.
1019
1059
  */
1020
- static voxelGiGetLevelCounts(voxelGi: RID): PackedInt32Array { return _C($(), 14814, voxelGi) as PackedInt32Array; }
1060
+ static voxelGiGetLevelCounts(voxelGi: RID): PackedInt32Array { return _C($(), 15112, voxelGi) as PackedInt32Array; }
1021
1061
 
1022
1062
  /**
1023
1063
  * Returns the transform to cell space for the specified voxel GI data instance. See also {@link voxelGiAllocateData}.
1024
1064
  */
1025
- static voxelGiGetToCellXform(voxelGi: RID): Transform3D { return _C($(), 14817, voxelGi) as Transform3D; }
1065
+ static voxelGiGetToCellXform(voxelGi: RID): Transform3D { return _C($(), 15115, voxelGi) as Transform3D; }
1026
1066
 
1027
1067
  /**
1028
1068
  * Sets the {@link VoxelGIData.dynamicRange} value to use on the specified `voxelGi`'s {@link RID}.
1029
1069
  */
1030
- static voxelGiSetDynamicRange(voxelGi: RID, range: number): void { _C($(), 14820, voxelGi, range); }
1070
+ static voxelGiSetDynamicRange(voxelGi: RID, range: number): void { _C($(), 15118, voxelGi, range); }
1031
1071
 
1032
1072
  /**
1033
1073
  * Sets the {@link VoxelGIData.propagation} value to use on the specified `voxelGi`'s {@link RID}.
1034
1074
  */
1035
- static voxelGiSetPropagation(voxelGi: RID, amount: number): void { _C($(), 14824, voxelGi, amount); }
1075
+ static voxelGiSetPropagation(voxelGi: RID, amount: number): void { _C($(), 15122, voxelGi, amount); }
1036
1076
 
1037
1077
  /**
1038
1078
  * Sets the {@link VoxelGIData.energy} value to use on the specified `voxelGi`'s {@link RID}.
1039
1079
  */
1040
- static voxelGiSetEnergy(voxelGi: RID, energy: number): void { _C($(), 14821, voxelGi, energy); }
1080
+ static voxelGiSetEnergy(voxelGi: RID, energy: number): void { _C($(), 15119, voxelGi, energy); }
1041
1081
 
1042
1082
  /**
1043
1083
  * Used to inform the renderer what exposure normalization value was used while baking the voxel gi. This value will be used and modulated at run time to ensure that the voxel gi maintains a consistent level of exposure even if the scene-wide exposure normalization is changed at run time. For more information see {@link cameraAttributesSetExposure}.
1044
1084
  */
1045
- static voxelGiSetBakedExposureNormalization(voxelGi: RID, bakedExposure: number): void { _C($(), 14818, voxelGi, bakedExposure); }
1085
+ static voxelGiSetBakedExposureNormalization(voxelGi: RID, bakedExposure: number): void { _C($(), 15116, voxelGi, bakedExposure); }
1046
1086
 
1047
1087
  /**
1048
1088
  * Sets the {@link VoxelGIData.bias} value to use on the specified `voxelGi`'s {@link RID}.
1049
1089
  */
1050
- static voxelGiSetBias(voxelGi: RID, bias: number): void { _C($(), 14819, voxelGi, bias); }
1090
+ static voxelGiSetBias(voxelGi: RID, bias: number): void { _C($(), 15117, voxelGi, bias); }
1051
1091
 
1052
1092
  /**
1053
1093
  * Sets the {@link VoxelGIData.normalBias} value to use on the specified `voxelGi`'s {@link RID}.
1054
1094
  */
1055
- static voxelGiSetNormalBias(voxelGi: RID, bias: number): void { _C($(), 14823, voxelGi, bias); }
1095
+ static voxelGiSetNormalBias(voxelGi: RID, bias: number): void { _C($(), 15121, voxelGi, bias); }
1056
1096
 
1057
1097
  /**
1058
1098
  * Sets the {@link VoxelGIData.interior} value to use on the specified `voxelGi`'s {@link RID}.
1059
1099
  */
1060
- static voxelGiSetInterior(voxelGi: RID, enable: boolean): void { _C($(), 14822, voxelGi, enable); }
1100
+ static voxelGiSetInterior(voxelGi: RID, enable: boolean): void { _C($(), 15120, voxelGi, enable); }
1061
1101
 
1062
1102
  /**
1063
1103
  * Sets the {@link VoxelGIData.useTwoBounces} value to use on the specified `voxelGi`'s {@link RID}.
1064
1104
  */
1065
- static voxelGiSetUseTwoBounces(voxelGi: RID, enable: boolean): void { _C($(), 14826, voxelGi, enable); }
1105
+ static voxelGiSetUseTwoBounces(voxelGi: RID, enable: boolean): void { _C($(), 15124, voxelGi, enable); }
1066
1106
 
1067
1107
  /**
1068
1108
  * Sets the {@link ProjectSettings.rendering/globalIllumination/voxelGi/quality} value to use when rendering. This parameter is global and cannot be set on a per-VoxelGI basis.
1069
1109
  */
1070
- static voxelGiSetQuality(quality: VoxelGIQuality): void { _C($(), 14825, quality); }
1110
+ static voxelGiSetQuality(quality: VoxelGIQuality): void { _C($(), 15123, quality); }
1071
1111
 
1072
1112
  /**
1073
1113
  * Creates a new lightmap global illumination instance and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `lightmap_*` RenderingServer functions.
1074
1114
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
1075
1115
  * **Note:** The equivalent node is {@link LightmapGI}.
1076
1116
  */
1077
- static lightmapCreate(): RID { return _C($(), 8593) as RID; }
1117
+ static lightmapCreate(): RID { return _C($(), 8771) as RID; }
1078
1118
 
1079
1119
  /**
1080
1120
  * Set the textures on the given `lightmap` GI instance to the texture array pointed to by the `light` RID. If the lightmap texture was baked with {@link LightmapGI.directional} set to `true`, then `usesSh` must also be `true`.
1081
1121
  */
1082
- static lightmapSetTextures(lightmap: RID, light: RID, usesSh: boolean): void { _C($(), 8603, lightmap, light, usesSh); }
1122
+ static lightmapSetTextures(lightmap: RID, light: RID, usesSh: boolean): void { _C($(), 8781, lightmap, light, usesSh); }
1083
1123
 
1084
1124
  /**
1085
1125
  * Sets the bounds that this lightmap instance should visually affect, both in terms of static lightmap baking and probe-based global illumination.
1086
1126
  */
1087
- static lightmapSetProbeBounds(lightmap: RID, bounds: AABB): void { _C($(), 8599, lightmap, bounds); }
1127
+ static lightmapSetProbeBounds(lightmap: RID, bounds: AABB): void { _C($(), 8777, lightmap, bounds); }
1088
1128
 
1089
1129
  /**
1090
1130
  * Sets whether the lightmap instance should be considered as interior (when `interior` is `true`). If the lightmap is marked as interior, environment lighting is ignored when baking lightmaps.
1091
1131
  */
1092
- static lightmapSetProbeInterior(lightmap: RID, interior: boolean): void { _C($(), 8602, lightmap, interior); }
1132
+ static lightmapSetProbeInterior(lightmap: RID, interior: boolean): void { _C($(), 8780, lightmap, interior); }
1093
1133
 
1094
1134
  /**
1095
1135
  * Sets the probe capture data for the given lightmap instance. See {@link lightmapGetProbeCapturePoints}, {@link lightmapGetProbeCaptureSh}, {@link lightmapGetProbeCaptureTetrahedra}, and {@link lightmapGetProbeCaptureBspTree} for the expected data formats.
1096
1136
  */
1097
- static lightmapSetProbeCaptureData(lightmap: RID, points: PackedVector3Array, pointSh: PackedColorArray, tetrahedra: PackedInt32Array, bspTree: PackedInt32Array): void { _C($(), 8600, lightmap, points, pointSh, tetrahedra, bspTree); }
1137
+ static lightmapSetProbeCaptureData(lightmap: RID, points: PackedVector3Array, pointSh: PackedColorArray, tetrahedra: PackedInt32Array, bspTree: PackedInt32Array): void { _C($(), 8778, lightmap, points, pointSh, tetrahedra, bspTree); }
1098
1138
 
1099
1139
  /**
1100
1140
  * Returns the *local space* positions of each lightmap probe capture point. Keep in mind the lightmap instance may have a non-zero transform, which will affect the position of the probe capture points. See also {@link lightmapSetProbeCaptureData}.
1101
1141
  */
1102
- static lightmapGetProbeCapturePoints(lightmap: RID): PackedVector3Array { return _C($(), 8595, lightmap) as PackedVector3Array; }
1142
+ static lightmapGetProbeCapturePoints(lightmap: RID): PackedVector3Array { return _C($(), 8773, lightmap) as PackedVector3Array; }
1103
1143
 
1104
1144
  /**
1105
1145
  * Returns the L0, L1, and L2 [spherical harmonics](https://en.wikipedia.org/wiki/Spherical_harmonics) data for each lightmap probe capture point. This is specified as 9 {@link Color} values per probe, which means the size of the returned data is always 9 times the number of probe points. See also {@link lightmapSetProbeCaptureData}.
1106
1146
  */
1107
- static lightmapGetProbeCaptureSh(lightmap: RID): PackedColorArray { return _C($(), 8596, lightmap) as PackedColorArray; }
1147
+ static lightmapGetProbeCaptureSh(lightmap: RID): PackedColorArray { return _C($(), 8774, lightmap) as PackedColorArray; }
1108
1148
 
1109
1149
  /**
1110
1150
  * Returns the tetrahedralization data used for interpolating between lightmap probe capture points. Each tetrahedron is specified as a series of 4 numbers, each being an index into the probe capture points array returned by {@link lightmapGetProbeCapturePoints}. See also {@link lightmapSetProbeCaptureData}.
1111
1151
  */
1112
- static lightmapGetProbeCaptureTetrahedra(lightmap: RID): PackedInt32Array { return _C($(), 8597, lightmap) as PackedInt32Array; }
1152
+ static lightmapGetProbeCaptureTetrahedra(lightmap: RID): PackedInt32Array { return _C($(), 8775, lightmap) as PackedInt32Array; }
1113
1153
 
1114
1154
  /**
1115
1155
  * Returns the BSP tree data used for accelerating probe lookups. The BSP data is structured as a series of six signed 32-bit values per BSP node in this order: `float plane_x`, `float plane_y`, `float plane_z`, `float plane_distance`, `int32_t over`, `int32_t under`. An empty leaf is denoted by the value `-2147483648` (the minimum 32-bit signed integer). See also {@link lightmapSetProbeCaptureData}.
1116
1156
  */
1117
- static lightmapGetProbeCaptureBspTree(lightmap: RID): PackedInt32Array { return _C($(), 8594, lightmap) as PackedInt32Array; }
1157
+ static lightmapGetProbeCaptureBspTree(lightmap: RID): PackedInt32Array { return _C($(), 8772, lightmap) as PackedInt32Array; }
1118
1158
 
1119
1159
  /**
1120
1160
  * Used to inform the renderer what exposure normalization value was used while baking the lightmap. This value will be used and modulated at run time to ensure that the lightmap maintains a consistent level of exposure even if the scene-wide exposure normalization is changed at run time. For more information see {@link cameraAttributesSetExposure}.
1121
1161
  */
1122
- static lightmapSetBakedExposureNormalization(lightmap: RID, bakedExposure: number): void { _C($(), 8598, lightmap, bakedExposure); }
1162
+ static lightmapSetBakedExposureNormalization(lightmap: RID, bakedExposure: number): void { _C($(), 8776, lightmap, bakedExposure); }
1123
1163
 
1124
1164
  /**
1125
1165
  * The framerate-independent update speed when representing dynamic object lighting from {@link LightmapProbe}s. Higher values make dynamic object lighting update faster. Higher values can prevent fast-moving objects from having "outdated" indirect lighting displayed on them, at the cost of possible flickering when an object moves from a bright area to a shaded area. See also {@link ProjectSettings.rendering/lightmapping/probeCapture/updateSpeed}.
1126
1166
  */
1127
- static lightmapSetProbeCaptureUpdateSpeed(speed: number): void { _C($(), 8601, speed); }
1167
+ static lightmapSetProbeCaptureUpdateSpeed(speed: number): void { _C($(), 8779, speed); }
1128
1168
 
1129
1169
  /**
1130
1170
  * Creates a GPU-based particle system and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `particles_*` RenderingServer functions.
@@ -1133,272 +1173,272 @@ export class RenderingServer extends GodotVar {
1133
1173
  * **Note:** The equivalent nodes are {@link GPUParticles2D} and {@link GPUParticles3D}.
1134
1174
  * **Note:** All `particles_*` methods only apply to GPU-based particles, not CPU-based particles. {@link CPUParticles2D} and {@link CPUParticles3D} do not have equivalent RenderingServer functions available, as these use {@link MultiMeshInstance2D} and {@link MultiMeshInstance3D} under the hood (see `multimesh_*` methods).
1135
1175
  */
1136
- static particlesCreate(): RID { return _C($(), 9308) as RID; }
1176
+ static particlesCreate(): RID { return _C($(), 9509) as RID; }
1137
1177
 
1138
1178
  /**
1139
1179
  * Sets whether the GPU particles specified by the `particles` RID should be rendered in 2D or 3D according to `mode`.
1140
1180
  */
1141
- static particlesSetMode(particles: RID, mode: ParticlesMode): void { _C($(), 9332, particles, mode); }
1181
+ static particlesSetMode(particles: RID, mode: ParticlesMode): void { _C($(), 9533, particles, mode); }
1142
1182
 
1143
1183
  /**
1144
1184
  * If `true`, particles will emit over time. Setting to `false` does not reset the particles, but only stops their emission. Equivalent to {@link GPUParticles3D.emitting}.
1145
1185
  */
1146
- static particlesSetEmitting(particles: RID, emitting: boolean): void { _C($(), 9325, particles, emitting); }
1186
+ static particlesSetEmitting(particles: RID, emitting: boolean): void { _C($(), 9526, particles, emitting); }
1147
1187
 
1148
1188
  /**
1149
1189
  * Returns `true` if particles are currently set to emitting.
1150
1190
  */
1151
- static particlesGetEmitting(particles: RID): boolean { return _C($(), 9311, particles) as boolean; }
1191
+ static particlesGetEmitting(particles: RID): boolean { return _C($(), 9512, particles) as boolean; }
1152
1192
 
1153
1193
  /**
1154
1194
  * Sets the number of particles to be drawn and allocates the memory for them. Equivalent to {@link GPUParticles3D.amount}.
1155
1195
  */
1156
- static particlesSetAmount(particles: RID, amount: number): void { _C($(), 9316, particles, amount); }
1196
+ static particlesSetAmount(particles: RID, amount: number): void { _C($(), 9517, particles, amount); }
1157
1197
 
1158
1198
  /**
1159
1199
  * Sets the amount ratio for particles to be emitted. Equivalent to {@link GPUParticles3D.amountRatio}.
1160
1200
  */
1161
- static particlesSetAmountRatio(particles: RID, ratio: number): void { _C($(), 9317, particles, ratio); }
1201
+ static particlesSetAmountRatio(particles: RID, ratio: number): void { _C($(), 9518, particles, ratio); }
1162
1202
 
1163
1203
  /**
1164
1204
  * Sets the lifetime of each particle in the system. Equivalent to {@link GPUParticles3D.lifetime}.
1165
1205
  */
1166
- static particlesSetLifetime(particles: RID, lifetime: number /* double */): void { _C($(), 9331, particles, lifetime); }
1206
+ static particlesSetLifetime(particles: RID, lifetime: number /* double */): void { _C($(), 9532, particles, lifetime); }
1167
1207
 
1168
1208
  /**
1169
1209
  * If `true`, particles will emit once and then stop. Equivalent to {@link GPUParticles3D.oneShot}.
1170
1210
  */
1171
- static particlesSetOneShot(particles: RID, oneShot: boolean): void { _C($(), 9333, particles, oneShot); }
1211
+ static particlesSetOneShot(particles: RID, oneShot: boolean): void { _C($(), 9534, particles, oneShot); }
1172
1212
 
1173
1213
  /**
1174
1214
  * Sets the preprocess time for the particles' animation. This lets you delay starting an animation until after the particles have begun emitting. Equivalent to {@link GPUParticles3D.preprocess}.
1175
1215
  */
1176
- static particlesSetPreProcessTime(particles: RID, time: number /* double */): void { _C($(), 9334, particles, time); }
1216
+ static particlesSetPreProcessTime(particles: RID, time: number /* double */): void { _C($(), 9535, particles, time); }
1177
1217
 
1178
1218
  /**
1179
1219
  * Requests the particles to process for extra process time during a single frame.
1180
1220
  * `processTime` defines the time that the particles will process while emitting is on. `processTimeResidual` defines the time that particles will process with emitting turned off for the simulation. When combined with the particles' speed scale set to `0.0`, this is useful to be able to seek a particle system timeline.
1181
1221
  */
1182
- static particlesRequestProcessTime(particles: RID, processTime: number, processTimeResidual?: number /* = 0.0 */): void { _C($(), 9314, particles, processTime, processTimeResidual); }
1222
+ static particlesRequestProcessTime(particles: RID, processTime: number, processTimeResidual?: number /* = 0.0 */): void { _C($(), 9515, particles, processTime, processTimeResidual); }
1183
1223
 
1184
1224
  /**
1185
1225
  * Sets the explosiveness ratio. Equivalent to {@link GPUParticles3D.explosiveness}.
1186
1226
  */
1187
- static particlesSetExplosivenessRatio(particles: RID, ratio: number): void { _C($(), 9326, particles, ratio); }
1227
+ static particlesSetExplosivenessRatio(particles: RID, ratio: number): void { _C($(), 9527, particles, ratio); }
1188
1228
 
1189
1229
  /**
1190
1230
  * Sets the emission randomness ratio. This randomizes the emission of particles within their phase. Equivalent to {@link GPUParticles3D.randomness}.
1191
1231
  */
1192
- static particlesSetRandomnessRatio(particles: RID, ratio: number): void { _C($(), 9336, particles, ratio); }
1232
+ static particlesSetRandomnessRatio(particles: RID, ratio: number): void { _C($(), 9537, particles, ratio); }
1193
1233
 
1194
1234
  /**
1195
1235
  * Sets the value that informs a {@link ParticleProcessMaterial} to rush all particles towards the end of their lifetime.
1196
1236
  */
1197
- static particlesSetInterpToEnd(particles: RID, factor: number): void { _C($(), 9329, particles, factor); }
1237
+ static particlesSetInterpToEnd(particles: RID, factor: number): void { _C($(), 9530, particles, factor); }
1198
1238
 
1199
1239
  /**
1200
1240
  * Sets the velocity of a particle node, that will be used by {@link ParticleProcessMaterial.inheritVelocityRatio}.
1201
1241
  */
1202
- static particlesSetEmitterVelocity(particles: RID, velocity: Vector3): void { _C($(), 9324, particles, velocity); }
1242
+ static particlesSetEmitterVelocity(particles: RID, velocity: Vector3): void { _C($(), 9525, particles, velocity); }
1203
1243
 
1204
1244
  /**
1205
1245
  * Sets a custom axis-aligned bounding box for the particle system. Equivalent to {@link GPUParticles3D.visibilityAabb}.
1206
1246
  */
1207
- static particlesSetCustomAabb(particles: RID, aabb: AABB): void { _C($(), 9319, particles, aabb); }
1247
+ static particlesSetCustomAabb(particles: RID, aabb: AABB): void { _C($(), 9520, particles, aabb); }
1208
1248
 
1209
1249
  /**
1210
1250
  * Sets the speed scale of the particle system. Equivalent to {@link GPUParticles3D.speedScale}.
1211
1251
  */
1212
- static particlesSetSpeedScale(particles: RID, scale: number /* double */): void { _C($(), 9337, particles, scale); }
1252
+ static particlesSetSpeedScale(particles: RID, scale: number /* double */): void { _C($(), 9538, particles, scale); }
1213
1253
 
1214
1254
  /**
1215
1255
  * If `true`, particles use local coordinates. If `false` they use global coordinates. Equivalent to {@link GPUParticles3D.localCoords}.
1216
1256
  */
1217
- static particlesSetUseLocalCoordinates(particles: RID, enable: boolean): void { _C($(), 9344, particles, enable); }
1257
+ static particlesSetUseLocalCoordinates(particles: RID, enable: boolean): void { _C($(), 9545, particles, enable); }
1218
1258
 
1219
1259
  /**
1220
1260
  * Sets the material for processing the particles.
1221
1261
  * **Note:** This is not the material used to draw the materials. Equivalent to {@link GPUParticles3D.processMaterial}.
1222
1262
  */
1223
- static particlesSetProcessMaterial(particles: RID, material: RID): void { _C($(), 9335, particles, material); }
1263
+ static particlesSetProcessMaterial(particles: RID, material: RID): void { _C($(), 9536, particles, material); }
1224
1264
 
1225
1265
  /**
1226
1266
  * Sets the frame rate that the particle system rendering will be fixed to. Equivalent to {@link GPUParticles3D.fixedFps}.
1227
1267
  */
1228
- static particlesSetFixedFps(particles: RID, fps: number): void { _C($(), 9327, particles, fps); }
1268
+ static particlesSetFixedFps(particles: RID, fps: number): void { _C($(), 9528, particles, fps); }
1229
1269
 
1230
1270
  /**
1231
1271
  * Sets whether particles should use interpolation between fixed steps. Equivalent to {@link GPUParticles3D.interpolate}.
1232
1272
  */
1233
- static particlesSetInterpolate(particles: RID, enable: boolean): void { _C($(), 9330, particles, enable); }
1273
+ static particlesSetInterpolate(particles: RID, enable: boolean): void { _C($(), 9531, particles, enable); }
1234
1274
 
1235
1275
  /**
1236
1276
  * If `true`, uses fractional delta which smooths the movement of the particles. Equivalent to {@link GPUParticles3D.fractDelta}.
1237
1277
  */
1238
- static particlesSetFractionalDelta(particles: RID, enable: boolean): void { _C($(), 9328, particles, enable); }
1278
+ static particlesSetFractionalDelta(particles: RID, enable: boolean): void { _C($(), 9529, particles, enable); }
1239
1279
 
1240
1280
  /**
1241
1281
  * Sets the base size for particle collision. Equivalent to {@link GPUParticles3D.collisionBaseSize}.
1242
1282
  */
1243
- static particlesSetCollisionBaseSize(particles: RID, size: number): void { _C($(), 9318, particles, size); }
1283
+ static particlesSetCollisionBaseSize(particles: RID, size: number): void { _C($(), 9519, particles, size); }
1244
1284
 
1245
1285
  /**
1246
1286
  * Sets the transform alignment for the particle system. Equivalent to {@link GPUParticles3D.transformAlign}.
1247
1287
  */
1248
- static particlesSetTransformAlign(particles: RID, align: ParticlesTransformAlign): void { _C($(), 9341, particles, align); }
1288
+ static particlesSetTransformAlign(particles: RID, align: ParticlesTransformAlign): void { _C($(), 9542, particles, align); }
1249
1289
 
1250
1290
  /**
1251
1291
  * When using Z-Billboarding, which CUSTOM channel to read from.
1252
1292
  */
1253
- static particlesSetTransformAlignChannelFilter(particles: RID, channelFilter: ParticlesTransformAlignCustomSrc): void { _C($(), 9343, particles, channelFilter); }
1293
+ static particlesSetTransformAlignChannelFilter(particles: RID, channelFilter: ParticlesTransformAlignCustomSrc): void { _C($(), 9544, particles, channelFilter); }
1254
1294
 
1255
1295
  /**
1256
1296
  * Sets which axis to use for transform alignment.
1257
1297
  */
1258
- static particlesSetTransformAlignAxis(particles: RID, rotationAxis: ParticlesTransformAlignAxis): void { _C($(), 9342, particles, rotationAxis); }
1298
+ static particlesSetTransformAlignAxis(particles: RID, rotationAxis: ParticlesTransformAlignAxis): void { _C($(), 9543, particles, rotationAxis); }
1259
1299
 
1260
1300
  /**
1261
1301
  * If `enable` is `true`, enables trails for the `particles` with the specified `lengthSec` in seconds. Equivalent to {@link GPUParticles3D.trailEnabled} and {@link GPUParticles3D.trailLifetime}.
1262
1302
  */
1263
- static particlesSetTrails(particles: RID, enable: boolean, lengthSec: number): void { _C($(), 9340, particles, enable, lengthSec); }
1303
+ static particlesSetTrails(particles: RID, enable: boolean, lengthSec: number): void { _C($(), 9541, particles, enable, lengthSec); }
1264
1304
 
1265
1305
  /**
1266
1306
  * Sets the trail bind poses for the particle system. This specified as an array of {@link Transform3D}s representing the bind pose for each draw pass. See {@link GPUParticles3D.drawSkin}, {@link Skin.getBindCount}, and {@link Skin.getBindPose}. Set the value for each draw pass to {@link Transform3D.IDENTITY} to use the default behavior, which is what built-in trails use ({@link RibbonTrailMesh} and {@link TubeTrailMesh}).
1267
1307
  */
1268
- static particlesSetTrailBindPoses(particles: RID, bindPoses: GodotArray<Transform3D>): void { _C($(), 9339, particles, bindPoses); }
1308
+ static particlesSetTrailBindPoses(particles: RID, bindPoses: GodotArray<Transform3D>): void { _C($(), 9540, particles, bindPoses); }
1269
1309
 
1270
1310
  /**
1271
1311
  * Returns `true` if particles are not emitting and particles are set to inactive.
1272
1312
  */
1273
- static particlesIsInactive(particles: RID): boolean { return _C($(), 9312, particles) as boolean; }
1313
+ static particlesIsInactive(particles: RID): boolean { return _C($(), 9513, particles) as boolean; }
1274
1314
 
1275
1315
  /**
1276
1316
  * Add particle system to list of particle systems that need to be updated. Update will take place on the next frame, or on the next call to {@link instancesCullAabb}, {@link instancesCullConvex}, or {@link instancesCullRay}.
1277
1317
  */
1278
- static particlesRequestProcess(particles: RID): void { _C($(), 9313, particles); }
1318
+ static particlesRequestProcess(particles: RID): void { _C($(), 9514, particles); }
1279
1319
 
1280
1320
  /**
1281
1321
  * Reset the particles on the next update. Equivalent to {@link GPUParticles3D.restart}.
1282
1322
  */
1283
- static particlesRestart(particles: RID): void { _C($(), 9315, particles); }
1323
+ static particlesRestart(particles: RID): void { _C($(), 9516, particles); }
1284
1324
 
1285
1325
  /**
1286
1326
  * Sets the subemitter particles for the particle system. Equivalent to {@link GPUParticles3D.subEmitter}.
1287
1327
  */
1288
- static particlesSetSubemitter(particles: RID, subemitterParticles: RID): void { _C($(), 9338, particles, subemitterParticles); }
1328
+ static particlesSetSubemitter(particles: RID, subemitterParticles: RID): void { _C($(), 9539, particles, subemitterParticles); }
1289
1329
 
1290
1330
  /**
1291
1331
  * Manually emits particles from the `particles` instance.
1292
1332
  */
1293
- static particlesEmit(particles: RID, transform: Transform3D, velocity: Vector3, color: Color, custom: Color, emitFlags: number /* uint32 */): void { _C($(), 9309, particles, transform, velocity, color, custom, emitFlags); }
1333
+ static particlesEmit(particles: RID, transform: Transform3D, velocity: Vector3, color: Color, custom: Color, emitFlags: number /* uint32 */): void { _C($(), 9510, particles, transform, velocity, color, custom, emitFlags); }
1294
1334
 
1295
1335
  /**
1296
1336
  * Sets the draw order of the particles. Equivalent to {@link GPUParticles3D.drawOrder}.
1297
1337
  */
1298
- static particlesSetDrawOrder(particles: RID, order: ParticlesDrawOrder): void { _C($(), 9320, particles, order); }
1338
+ static particlesSetDrawOrder(particles: RID, order: ParticlesDrawOrder): void { _C($(), 9521, particles, order); }
1299
1339
 
1300
1340
  /**
1301
1341
  * Sets the number of draw passes to use. Equivalent to {@link GPUParticles3D.drawPasses}.
1302
1342
  */
1303
- static particlesSetDrawPasses(particles: RID, count: number): void { _C($(), 9322, particles, count); }
1343
+ static particlesSetDrawPasses(particles: RID, count: number): void { _C($(), 9523, particles, count); }
1304
1344
 
1305
1345
  /**
1306
1346
  * Sets the mesh to be used for the specified draw pass. Equivalent to {@link GPUParticles3D.drawPass1}, {@link GPUParticles3D.drawPass2}, {@link GPUParticles3D.drawPass3}, and {@link GPUParticles3D.drawPass4}.
1307
1347
  */
1308
- static particlesSetDrawPassMesh(particles: RID, pass: number, mesh: RID): void { _C($(), 9321, particles, pass, mesh); }
1348
+ static particlesSetDrawPassMesh(particles: RID, pass: number, mesh: RID): void { _C($(), 9522, particles, pass, mesh); }
1309
1349
 
1310
1350
  /**
1311
1351
  * Calculates and returns the axis-aligned bounding box that contains all the particles. Equivalent to {@link GPUParticles3D.captureAabb}.
1312
1352
  */
1313
- static particlesGetCurrentAabb(particles: RID): AABB { return _C($(), 9310, particles) as AABB; }
1353
+ static particlesGetCurrentAabb(particles: RID): AABB { return _C($(), 9511, particles) as AABB; }
1314
1354
 
1315
1355
  /**
1316
1356
  * Sets the {@link Transform3D} that will be used by the particles when they first emit.
1317
1357
  */
1318
- static particlesSetEmissionTransform(particles: RID, transform: Transform3D): void { _C($(), 9323, particles, transform); }
1358
+ static particlesSetEmissionTransform(particles: RID, transform: Transform3D): void { _C($(), 9524, particles, transform); }
1319
1359
 
1320
1360
  /**
1321
1361
  * Creates a new 3D GPU particle collision or attractor and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID can be used in most `particles_collision_*` RenderingServer functions.
1322
1362
  * **Note:** The equivalent nodes are {@link GPUParticlesCollision3D} and {@link GPUParticlesAttractor3D}.
1323
1363
  */
1324
- static particlesCollisionCreate(): RID { return _C($(), 9296) as RID; }
1364
+ static particlesCollisionCreate(): RID { return _C($(), 9497) as RID; }
1325
1365
 
1326
1366
  /**
1327
1367
  * Sets the collision or attractor shape `type` for the 3D GPU particles collision or attractor specified by the `particlesCollision` RID.
1328
1368
  */
1329
- static particlesCollisionSetCollisionType(particlesCollision: RID, type: ParticlesCollisionType): void { _C($(), 9302, particlesCollision, type); }
1369
+ static particlesCollisionSetCollisionType(particlesCollision: RID, type: ParticlesCollisionType): void { _C($(), 9503, particlesCollision, type); }
1330
1370
 
1331
1371
  /**
1332
1372
  * Sets the cull `mask` for the 3D GPU particles collision or attractor specified by the `particlesCollision` RID. Equivalent to {@link GPUParticlesCollision3D.cullMask} or {@link GPUParticlesAttractor3D.cullMask} depending on the `particlesCollision` type.
1333
1373
  */
1334
- static particlesCollisionSetCullMask(particlesCollision: RID, mask: number /* uint32 */): void { _C($(), 9303, particlesCollision, mask); }
1374
+ static particlesCollisionSetCullMask(particlesCollision: RID, mask: number /* uint32 */): void { _C($(), 9504, particlesCollision, mask); }
1335
1375
 
1336
1376
  /**
1337
1377
  * Sets the `radius` for the 3D GPU particles sphere collision or attractor specified by the `particlesCollision` RID. Equivalent to {@link GPUParticlesCollisionSphere3D.radius} or {@link GPUParticlesAttractorSphere3D.radius} depending on the `particlesCollision` type.
1338
1378
  */
1339
- static particlesCollisionSetSphereRadius(particlesCollision: RID, radius: number): void { _C($(), 9307, particlesCollision, radius); }
1379
+ static particlesCollisionSetSphereRadius(particlesCollision: RID, radius: number): void { _C($(), 9508, particlesCollision, radius); }
1340
1380
 
1341
1381
  /**
1342
1382
  * Sets the `extents` for the 3D GPU particles collision by the `particlesCollision` RID. Equivalent to {@link GPUParticlesCollisionBox3D.size}, {@link GPUParticlesCollisionSDF3D.size}, {@link GPUParticlesCollisionHeightField3D.size}, {@link GPUParticlesAttractorBox3D.size} or {@link GPUParticlesAttractorVectorField3D.size} depending on the `particlesCollision` type.
1343
1383
  */
1344
- static particlesCollisionSetBoxExtents(particlesCollision: RID, extents: Vector3): void { _C($(), 9301, particlesCollision, extents); }
1384
+ static particlesCollisionSetBoxExtents(particlesCollision: RID, extents: Vector3): void { _C($(), 9502, particlesCollision, extents); }
1345
1385
 
1346
1386
  /**
1347
1387
  * Sets the `strength` for the 3D GPU particles attractor specified by the `particlesCollision` RID. Only used for attractors, not colliders. Equivalent to {@link GPUParticlesAttractor3D.strength}.
1348
1388
  */
1349
- static particlesCollisionSetAttractorStrength(particlesCollision: RID, strength: number): void { _C($(), 9300, particlesCollision, strength); }
1389
+ static particlesCollisionSetAttractorStrength(particlesCollision: RID, strength: number): void { _C($(), 9501, particlesCollision, strength); }
1350
1390
 
1351
1391
  /**
1352
1392
  * Sets the directionality `amount` for the 3D GPU particles attractor specified by the `particlesCollision` RID. Only used for attractors, not colliders. Equivalent to {@link GPUParticlesAttractor3D.directionality}.
1353
1393
  */
1354
- static particlesCollisionSetAttractorDirectionality(particlesCollision: RID, amount: number): void { _C($(), 9299, particlesCollision, amount); }
1394
+ static particlesCollisionSetAttractorDirectionality(particlesCollision: RID, amount: number): void { _C($(), 9500, particlesCollision, amount); }
1355
1395
 
1356
1396
  /**
1357
1397
  * Sets the attenuation `curve` for the 3D GPU particles attractor specified by the `particlesCollision` RID. Only used for attractors, not colliders. Equivalent to {@link GPUParticlesAttractor3D.attenuation}.
1358
1398
  */
1359
- static particlesCollisionSetAttractorAttenuation(particlesCollision: RID, curve: number): void { _C($(), 9298, particlesCollision, curve); }
1399
+ static particlesCollisionSetAttractorAttenuation(particlesCollision: RID, curve: number): void { _C($(), 9499, particlesCollision, curve); }
1360
1400
 
1361
1401
  /**
1362
1402
  * Sets the signed distance field `texture` for the 3D GPU particles collision specified by the `particlesCollision` RID. Equivalent to {@link GPUParticlesCollisionSDF3D.texture} or {@link GPUParticlesAttractorVectorField3D.texture} depending on the `particlesCollision` type.
1363
1403
  */
1364
- static particlesCollisionSetFieldTexture(particlesCollision: RID, texture: RID): void { _C($(), 9304, particlesCollision, texture); }
1404
+ static particlesCollisionSetFieldTexture(particlesCollision: RID, texture: RID): void { _C($(), 9505, particlesCollision, texture); }
1365
1405
 
1366
1406
  /**
1367
1407
  * Requests an update for the 3D GPU particle collision heightfield. This may be automatically called by the 3D GPU particle collision heightfield depending on its {@link GPUParticlesCollisionHeightField3D.updateMode}.
1368
1408
  */
1369
- static particlesCollisionHeightFieldUpdate(particlesCollision: RID): void { _C($(), 9297, particlesCollision); }
1409
+ static particlesCollisionHeightFieldUpdate(particlesCollision: RID): void { _C($(), 9498, particlesCollision); }
1370
1410
 
1371
1411
  /**
1372
1412
  * Sets the heightmap `resolution` for the 3D GPU particles heightfield collision specified by the `particlesCollision` RID. Equivalent to {@link GPUParticlesCollisionHeightField3D.resolution}.
1373
1413
  */
1374
- static particlesCollisionSetHeightFieldResolution(particlesCollision: RID, resolution: ParticlesCollisionHeightfieldResolution): void { _C($(), 9306, particlesCollision, resolution); }
1414
+ static particlesCollisionSetHeightFieldResolution(particlesCollision: RID, resolution: ParticlesCollisionHeightfieldResolution): void { _C($(), 9507, particlesCollision, resolution); }
1375
1415
 
1376
1416
  /**
1377
1417
  * Sets the heightfield `mask` for the 3D GPU particles heightfield collision specified by the `particlesCollision` RID. Equivalent to {@link GPUParticlesCollisionHeightField3D.heightfieldMask}.
1378
1418
  */
1379
- static particlesCollisionSetHeightFieldMask(particlesCollision: RID, mask: number /* uint32 */): void { _C($(), 9305, particlesCollision, mask); }
1419
+ static particlesCollisionSetHeightFieldMask(particlesCollision: RID, mask: number /* uint32 */): void { _C($(), 9506, particlesCollision, mask); }
1380
1420
 
1381
1421
  /**
1382
1422
  * Creates a new fog volume and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `fog_volume_*` RenderingServer functions.
1383
1423
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
1384
1424
  * **Note:** The equivalent node is {@link FogVolume}.
1385
1425
  */
1386
- static fogVolumeCreate(): RID { return _C($(), 3371) as RID; }
1426
+ static fogVolumeCreate(): RID { return _C($(), 3432) as RID; }
1387
1427
 
1388
1428
  /**
1389
1429
  * Sets the shape of the fog volume to either {@link RenderingServer.FOG_VOLUME_SHAPE_ELLIPSOID}, {@link RenderingServer.FOG_VOLUME_SHAPE_CONE}, {@link RenderingServer.FOG_VOLUME_SHAPE_CYLINDER}, {@link RenderingServer.FOG_VOLUME_SHAPE_BOX} or {@link RenderingServer.FOG_VOLUME_SHAPE_WORLD}.
1390
1430
  */
1391
- static fogVolumeSetShape(fogVolume: RID, shape: FogVolumeShape): void { _C($(), 3373, fogVolume, shape); }
1431
+ static fogVolumeSetShape(fogVolume: RID, shape: FogVolumeShape): void { _C($(), 3434, fogVolume, shape); }
1392
1432
 
1393
1433
  /**
1394
1434
  * Sets the size of the fog volume when shape is {@link RenderingServer.FOG_VOLUME_SHAPE_ELLIPSOID}, {@link RenderingServer.FOG_VOLUME_SHAPE_CONE}, {@link RenderingServer.FOG_VOLUME_SHAPE_CYLINDER} or {@link RenderingServer.FOG_VOLUME_SHAPE_BOX}.
1395
1435
  */
1396
- static fogVolumeSetSize(fogVolume: RID, size: Vector3): void { _C($(), 3374, fogVolume, size); }
1436
+ static fogVolumeSetSize(fogVolume: RID, size: Vector3): void { _C($(), 3435, fogVolume, size); }
1397
1437
 
1398
1438
  /**
1399
1439
  * Sets the {@link Material} of the fog volume. Can be either a {@link FogMaterial} or a custom {@link ShaderMaterial}.
1400
1440
  */
1401
- static fogVolumeSetMaterial(fogVolume: RID, material: RID): void { _C($(), 3372, fogVolume, material); }
1441
+ static fogVolumeSetMaterial(fogVolume: RID, material: RID): void { _C($(), 3433, fogVolume, material); }
1402
1442
 
1403
1443
  /**
1404
1444
  * Creates a new 3D visibility notifier object and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `visibility_notifier_*` RenderingServer functions.
@@ -1406,108 +1446,113 @@ export class RenderingServer extends GodotVar {
1406
1446
  * To place in a scene, attach this notifier to an instance using {@link instanceSetBase} using the returned RID.
1407
1447
  * **Note:** The equivalent node is {@link VisibleOnScreenNotifier3D}.
1408
1448
  */
1409
- static visibilityNotifierCreate(): RID { return _C($(), 14775) as RID; }
1449
+ static visibilityNotifierCreate(): RID { return _C($(), 15073) as RID; }
1410
1450
 
1411
1451
  /**
1412
1452
  * Sets the AABB of the specified visibility notifier.
1413
1453
  */
1414
- static visibilityNotifierSetAabb(notifier: RID, aabb: AABB): void { _C($(), 14776, notifier, aabb); }
1454
+ static visibilityNotifierSetAabb(notifier: RID, aabb: AABB): void { _C($(), 15074, notifier, aabb); }
1415
1455
 
1416
1456
  /**
1417
1457
  * Sets the methods to be called when the notifier enters or exits the view.
1418
1458
  */
1419
- static visibilityNotifierSetCallbacks(notifier: RID, enterCallable: Callable, exitCallable: Callable): void { _C($(), 14777, notifier, enterCallable, exitCallable); }
1459
+ static visibilityNotifierSetCallbacks(notifier: RID, enterCallable: Callable, exitCallable: Callable): void { _C($(), 15075, notifier, enterCallable, exitCallable); }
1420
1460
 
1421
1461
  /**
1422
1462
  * Creates an occluder instance and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `occluder_*` RenderingServer functions.
1423
1463
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
1424
1464
  * **Note:** The equivalent resource is {@link Occluder3D} (not to be confused with the {@link OccluderInstance3D} node).
1425
1465
  */
1426
- static occluderCreate(): RID { return _C($(), 9146) as RID; }
1466
+ static occluderCreate(): RID { return _C($(), 9343) as RID; }
1427
1467
 
1428
1468
  /**
1429
1469
  * Sets the mesh data for the given occluder RID, which controls the shape of the occlusion culling that will be performed.
1430
1470
  */
1431
- static occluderSetMesh(occluder: RID, vertices: PackedVector3Array, indices: PackedInt32Array): void { _C($(), 9148, occluder, vertices, indices); }
1471
+ static occluderSetMesh(occluder: RID, vertices: PackedVector3Array, indices: PackedInt32Array): void { _C($(), 9345, occluder, vertices, indices); }
1432
1472
 
1433
1473
  /**
1434
1474
  * Creates a 3D camera and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `camera_*` RenderingServer functions.
1435
1475
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
1436
1476
  * **Note:** The equivalent node is {@link Camera3D}.
1437
1477
  */
1438
- static cameraCreate(): RID { return _C($(), 1989) as RID; }
1478
+ static cameraCreate(): RID { return _C($(), 2021) as RID; }
1439
1479
 
1440
1480
  /**
1441
1481
  * Sets camera to use perspective projection. Objects on the screen becomes smaller when they are far away.
1442
1482
  */
1443
- static cameraSetPerspective(camera: RID, fovyDegrees: number, zNear: number, zFar: number): void { _C($(), 2002, camera, fovyDegrees, zNear, zFar); }
1483
+ static cameraSetPerspective(camera: RID, fovyDegrees: number, zNear: number, zFar: number): void { _C($(), 2034, camera, fovyDegrees, zNear, zFar); }
1444
1484
 
1445
1485
  /**
1446
1486
  * Sets camera to use orthogonal projection, also known as orthographic projection. Objects remain the same size on the screen no matter how far away they are.
1447
1487
  */
1448
- static cameraSetOrthogonal(camera: RID, size: number, zNear: number, zFar: number): void { _C($(), 2001, camera, size, zNear, zFar); }
1488
+ static cameraSetOrthogonal(camera: RID, size: number, zNear: number, zFar: number): void { _C($(), 2033, camera, size, zNear, zFar); }
1449
1489
 
1450
1490
  /**
1451
1491
  * Sets camera to use frustum projection. This mode allows adjusting the `offset` argument to create "tilted frustum" effects.
1452
1492
  */
1453
- static cameraSetFrustum(camera: RID, size: number, offset: Vector2, zNear: number, zFar: number): void { _C($(), 2000, camera, size, offset, zNear, zFar); }
1493
+ static cameraSetFrustum(camera: RID, size: number, offset: Vector2, zNear: number, zFar: number): void { _C($(), 2032, camera, size, offset, zNear, zFar); }
1494
+
1495
+ /**
1496
+ * Sets camera to use any set of `projections`. You can specify one projection for each view set on the viewport. If the views are offset (e.g. ocular distance) and/or skewed, this data can be provided through `offsets`.
1497
+ */
1498
+ static cameraSetXrProjections(camera: RID, projections: GodotArray<Projection>, offsets?: GodotArray<Transform3D> /* = Array[Transform3D]([]) */): void { _C($(), 2037, camera, projections, offsets); }
1454
1499
 
1455
1500
  /**
1456
1501
  * Sets {@link Transform3D} of camera.
1457
1502
  */
1458
- static cameraSetTransform(camera: RID, transform: Transform3D): void { _C($(), 2003, camera, transform); }
1503
+ static cameraSetTransform(camera: RID, transform: Transform3D): void { _C($(), 2035, camera, transform); }
1459
1504
 
1460
1505
  /**
1461
1506
  * Sets the cull mask associated with this camera. The cull mask describes which 3D layers are rendered by this camera. Equivalent to {@link Camera3D.cullMask}.
1462
1507
  */
1463
- static cameraSetCullMask(camera: RID, layers: number /* uint32 */): void { _C($(), 1998, camera, layers); }
1508
+ static cameraSetCullMask(camera: RID, layers: number /* uint32 */): void { _C($(), 2030, camera, layers); }
1464
1509
 
1465
1510
  /**
1466
1511
  * Sets the environment used by this camera. Equivalent to {@link Camera3D.environment}.
1467
1512
  */
1468
- static cameraSetEnvironment(camera: RID, env: RID): void { _C($(), 1999, camera, env); }
1513
+ static cameraSetEnvironment(camera: RID, env: RID): void { _C($(), 2031, camera, env); }
1469
1514
 
1470
1515
  /**
1471
1516
  * Sets the camera_attributes created with {@link cameraAttributesCreate} to the given camera.
1472
1517
  */
1473
- static cameraSetCameraAttributes(camera: RID, effects: RID): void { _C($(), 1996, camera, effects); }
1518
+ static cameraSetCameraAttributes(camera: RID, effects: RID): void { _C($(), 2028, camera, effects); }
1474
1519
 
1475
1520
  /**
1476
1521
  * Sets the compositor used by this camera. Equivalent to {@link Camera3D.compositor}.
1477
1522
  */
1478
- static cameraSetCompositor(camera: RID, compositor: RID): void { _C($(), 1997, camera, compositor); }
1523
+ static cameraSetCompositor(camera: RID, compositor: RID): void { _C($(), 2029, camera, compositor); }
1479
1524
 
1480
1525
  /**
1481
1526
  * If `true`, preserves the horizontal aspect ratio which is equivalent to {@link Camera3D.KEEP_WIDTH}. If `false`, preserves the vertical aspect ratio which is equivalent to {@link Camera3D.KEEP_HEIGHT}.
1482
1527
  */
1483
- static cameraSetUseVerticalAspect(camera: RID, enable: boolean): void { _C($(), 2004, camera, enable); }
1528
+ static cameraSetUseVerticalAspect(camera: RID, enable: boolean): void { _C($(), 2036, camera, enable); }
1484
1529
 
1485
1530
  /**
1486
1531
  * Creates an empty viewport and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `viewport_*` RenderingServer functions.
1487
1532
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
1488
1533
  * **Note:** The equivalent node is {@link Viewport}.
1489
1534
  */
1490
- static viewportCreate(): RID { return _C($(), 14714) as RID; }
1535
+ static viewportCreate(): RID { return _C($(), 15012) as RID; }
1491
1536
 
1492
1537
  /**
1493
1538
  * If `true`, the viewport uses augmented or virtual reality technologies. See {@link XRInterface}.
1494
1539
  */
1495
- static viewportSetUseXr(viewport: RID, useXr: boolean): void { _C($(), 14761, viewport, useXr); }
1540
+ static viewportSetUseXr(viewport: RID, useXr: boolean): void { _C($(), 15059, viewport, useXr); }
1496
1541
 
1497
1542
  /**
1498
1543
  * Sets the viewport's `width` and `height` in pixels. Optionally the `viewCount` can be set to increase the number of view layers for stereo rendering.
1499
1544
  */
1500
- static viewportSetSize(viewport: RID, width: number, height: number, viewCount?: number /* = 1 */): void { _C($(), 14751, viewport, width, height, viewCount); }
1545
+ static viewportSetSize(viewport: RID, width: number, height: number, viewCount?: number /* = 1 */): void { _C($(), 15049, viewport, width, height, viewCount); }
1501
1546
 
1502
1547
  /**
1503
1548
  * If `true`, sets the viewport active, else sets it inactive.
1504
1549
  */
1505
- static viewportSetActive(viewport: RID, active: boolean): void { _C($(), 14723, viewport, active); }
1550
+ static viewportSetActive(viewport: RID, active: boolean): void { _C($(), 15021, viewport, active); }
1506
1551
 
1507
1552
  /**
1508
1553
  * Sets the viewport's parent to the viewport specified by the `parentViewport` RID.
1509
1554
  */
1510
- static viewportSetParentViewport(viewport: RID, parentViewport: RID): void { _C($(), 14742, viewport, parentViewport); }
1555
+ static viewportSetParentViewport(viewport: RID, parentViewport: RID): void { _C($(), 15040, viewport, parentViewport); }
1511
1556
 
1512
1557
  /**
1513
1558
  * Copies the viewport to a region of the screen specified by `rect`. If {@link viewportSetRenderDirectToScreen} is `true`, then the viewport does not use a framebuffer and the contents of the viewport are rendered directly to screen. However, note that the root viewport is drawn last, therefore it will draw over the screen. Accordingly, you must set the root viewport to an area that does not cover the area that you have attached this viewport to.
@@ -1525,40 +1570,40 @@ export class RenderingServer extends GodotVar {
1525
1570
  *
1526
1571
  * Using this can result in significant optimization, especially on lower-end devices. However, it comes at the cost of having to manage your viewports manually. For further optimization, see {@link viewportSetRenderDirectToScreen}.
1527
1572
  */
1528
- static viewportAttachToScreen(viewport: RID, rect?: Rect2 /* = Rect2(0, 0, 0, 0) */, screen?: number /* = 0 */): void { _C($(), 14713, viewport, rect, screen); }
1573
+ static viewportAttachToScreen(viewport: RID, rect?: Rect2 /* = Rect2(0, 0, 0, 0) */, screen?: number /* = 0 */): void { _C($(), 15011, viewport, rect, screen); }
1529
1574
 
1530
1575
  /**
1531
1576
  * If `true`, render the contents of the viewport directly to screen. This allows a low-level optimization where you can skip drawing a viewport to the root viewport. While this optimization can result in a significant increase in speed (especially on older devices), it comes at a cost of usability. When this is enabled, you cannot read from the viewport or from the screen_texture. You also lose the benefit of certain window settings, such as the various stretch modes. Another consequence to be aware of is that in 2D the rendering happens in window coordinates, so if you have a viewport that is double the size of the window, and you set this, then only the portion that fits within the window will be drawn, no automatic scaling is possible, even if your game scene is significantly larger than the window size.
1532
1577
  */
1533
- static viewportSetRenderDirectToScreen(viewport: RID, enabled: boolean): void { _C($(), 14745, viewport, enabled); }
1578
+ static viewportSetRenderDirectToScreen(viewport: RID, enabled: boolean): void { _C($(), 15043, viewport, enabled); }
1534
1579
 
1535
1580
  /**
1536
1581
  * Sets the rendering mask associated with this {@link Viewport}. Only {@link CanvasItem} nodes with a matching rendering visibility layer will be rendered by this {@link Viewport}.
1537
1582
  */
1538
- static viewportSetCanvasCullMask(viewport: RID, canvasCullMask: number /* uint32 */): void { _C($(), 14725, viewport, canvasCullMask); }
1583
+ static viewportSetCanvasCullMask(viewport: RID, canvasCullMask: number /* uint32 */): void { _C($(), 15023, viewport, canvasCullMask); }
1539
1584
 
1540
1585
  /**
1541
1586
  * Sets the 3D resolution scaling mode. Bilinear scaling renders at different resolution to either undersample or supersample the viewport. FidelityFX Super Resolution 1.0, abbreviated to FSR, is an upscaling technology that produces high quality images at fast framerates by using a spatially aware upscaling algorithm. FSR is slightly more expensive than bilinear, but it produces significantly higher image quality. FSR should be used where possible.
1542
1587
  */
1543
- static viewportSetScaling3dMode(viewport: RID, scaling3dMode: ViewportScaling3DMode): void { _C($(), 14746, viewport, scaling3dMode); }
1588
+ static viewportSetScaling3dMode(viewport: RID, scaling3dMode: ViewportScaling3DMode): void { _C($(), 15044, viewport, scaling3dMode); }
1544
1589
 
1545
1590
  /**
1546
1591
  * Scales the 3D render buffer based on the viewport size uses an image filter specified in {@link ViewportScaling3DMode} to scale the output image to the full viewport size. Values lower than `1.0` can be used to speed up 3D rendering at the cost of quality (undersampling). Values greater than `1.0` are only valid for bilinear mode and can be used to improve 3D rendering quality at a high performance cost (supersampling). See also {@link ViewportMSAA} for multi-sample antialiasing, which is significantly cheaper but only smoothens the edges of polygons.
1547
1592
  * When using FSR upscaling, AMD recommends exposing the following values as preset options to users "Ultra Quality: 0.77", "Quality: 0.67", "Balanced: 0.59", "Performance: 0.5" instead of exposing the entire scale.
1548
1593
  */
1549
- static viewportSetScaling3dScale(viewport: RID, scale: number): void { _C($(), 14747, viewport, scale); }
1594
+ static viewportSetScaling3dScale(viewport: RID, scale: number): void { _C($(), 15045, viewport, scale); }
1550
1595
 
1551
1596
  /**
1552
1597
  * Determines how sharp the upscaled image will be when using the FSR upscaling mode. Sharpness halves with every whole number. Values go from 0.0 (sharpest) to 2.0. Values above 2.0 won't make a visible difference.
1553
1598
  */
1554
- static viewportSetFsrSharpness(viewport: RID, sharpness: number): void { _C($(), 14735, viewport, sharpness); }
1599
+ static viewportSetFsrSharpness(viewport: RID, sharpness: number): void { _C($(), 15033, viewport, sharpness); }
1555
1600
 
1556
1601
  /**
1557
1602
  * Affects the final texture sharpness by reading from a lower or higher mipmap (also called "texture LOD bias"). Negative values make mipmapped textures sharper but grainier when viewed at a distance, while positive values make mipmapped textures blurrier (even when up close). To get sharper textures at a distance without introducing too much graininess, set this between `-0.75` and `0.0`. Enabling temporal antialiasing ({@link ProjectSettings.rendering/antiAliasing/quality/useTaa}) can help reduce the graininess visible when using negative mipmap bias.
1558
1603
  * **Note:** When the 3D scaling mode is set to FSR 1.0, this value is used to adjust the automatic mipmap bias which is calculated internally based on the scale factor. The formula for this is `-log2(1.0 / scale) + mipmap_bias`.
1559
1604
  * **Note:** This method is only supported in the Forward+ and Mobile renderers, not Compatibility. In Compatibility, this method is always treated as if `mipmapBias` was set to `0.0`.
1560
1605
  */
1561
- static viewportSetTextureMipmapBias(viewport: RID, mipmapBias: number): void { _C($(), 14754, viewport, mipmapBias); }
1606
+ static viewportSetTextureMipmapBias(viewport: RID, mipmapBias: number): void { _C($(), 15052, viewport, mipmapBias); }
1562
1607
 
1563
1608
  /**
1564
1609
  * Sets the maximum number of samples to take when using anisotropic filtering on textures (as a power of two). A higher sample count will result in sharper textures at oblique angles, but is more expensive to compute. A value of `0` forcibly disables anisotropic filtering, even on materials where it is enabled.
@@ -1566,172 +1611,172 @@ export class RenderingServer extends GodotVar {
1566
1611
  * **Note:** In 3D, for this setting to have an effect, set {@link BaseMaterial3D.textureFilter} to {@link BaseMaterial3D.TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC} or {@link BaseMaterial3D.TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC} on materials.
1567
1612
  * **Note:** In 2D, for this setting to have an effect, set {@link CanvasItem.textureFilter} to {@link CanvasItem.TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC} or {@link CanvasItem.TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC} on the {@link CanvasItem} node displaying the texture (or in {@link CanvasTexture}). However, anisotropic filtering is rarely useful in 2D, so only enable it for textures in 2D if it makes a meaningful visual difference.
1568
1613
  */
1569
- static viewportSetAnisotropicFilteringLevel(viewport: RID, anisotropicFilteringLevel: ViewportAnisotropicFiltering): void { _C($(), 14724, viewport, anisotropicFilteringLevel); }
1614
+ static viewportSetAnisotropicFilteringLevel(viewport: RID, anisotropicFilteringLevel: ViewportAnisotropicFiltering): void { _C($(), 15022, viewport, anisotropicFilteringLevel); }
1570
1615
 
1571
1616
  /**
1572
1617
  * Sets when the viewport should be updated.
1573
1618
  */
1574
- static viewportSetUpdateMode(viewport: RID, updateMode: ViewportUpdateMode): void { _C($(), 14756, viewport, updateMode); }
1619
+ static viewportSetUpdateMode(viewport: RID, updateMode: ViewportUpdateMode): void { _C($(), 15054, viewport, updateMode); }
1575
1620
 
1576
1621
  /**
1577
1622
  * Returns the viewport's update mode.
1578
1623
  * **Warning:** Calling this from any thread other than the rendering thread will be detrimental to performance.
1579
1624
  */
1580
- static viewportGetUpdateMode(viewport: RID): ViewportUpdateMode { return _C($(), 14720, viewport) as ViewportUpdateMode; }
1625
+ static viewportGetUpdateMode(viewport: RID): ViewportUpdateMode { return _C($(), 15018, viewport) as ViewportUpdateMode; }
1581
1626
 
1582
1627
  /**
1583
1628
  * Sets the clear mode of a viewport.
1584
1629
  */
1585
- static viewportSetClearMode(viewport: RID, clearMode: ViewportClearMode): void { _C($(), 14728, viewport, clearMode); }
1630
+ static viewportSetClearMode(viewport: RID, clearMode: ViewportClearMode): void { _C($(), 15026, viewport, clearMode); }
1586
1631
 
1587
1632
  /**
1588
1633
  * Returns the render target for the viewport.
1589
1634
  */
1590
- static viewportGetRenderTarget(viewport: RID): RID { return _C($(), 14718, viewport) as RID; }
1635
+ static viewportGetRenderTarget(viewport: RID): RID { return _C($(), 15016, viewport) as RID; }
1591
1636
 
1592
1637
  /**
1593
1638
  * Returns the viewport's last rendered frame.
1594
1639
  */
1595
- static viewportGetTexture(viewport: RID): RID { return _C($(), 14719, viewport) as RID; }
1640
+ static viewportGetTexture(viewport: RID): RID { return _C($(), 15017, viewport) as RID; }
1596
1641
 
1597
1642
  /**
1598
1643
  * If `true`, the viewport's 3D elements are not rendered.
1599
1644
  */
1600
- static viewportSetDisable3d(viewport: RID, disable: boolean): void { _C($(), 14733, viewport, disable); }
1645
+ static viewportSetDisable3d(viewport: RID, disable: boolean): void { _C($(), 15031, viewport, disable); }
1601
1646
 
1602
1647
  /**
1603
1648
  * If `true`, the viewport's canvas (i.e. 2D and GUI elements) is not rendered.
1604
1649
  */
1605
- static viewportSetDisable2d(viewport: RID, disable: boolean): void { _C($(), 14732, viewport, disable); }
1650
+ static viewportSetDisable2d(viewport: RID, disable: boolean): void { _C($(), 15030, viewport, disable); }
1606
1651
 
1607
1652
  /**
1608
1653
  * Sets the viewport's environment mode which allows enabling or disabling rendering of 3D environment over 2D canvas. When disabled, 2D will not be affected by the environment. When enabled, 2D will be affected by the environment if the environment background mode is {@link ENV_BG_CANVAS}. The default behavior is to inherit the setting from the viewport's parent. If the topmost parent is also set to {@link VIEWPORT_ENVIRONMENT_INHERIT}, then the behavior will be the same as if it was set to {@link VIEWPORT_ENVIRONMENT_ENABLED}.
1609
1654
  */
1610
- static viewportSetEnvironmentMode(viewport: RID, mode: ViewportEnvironmentMode): void { _C($(), 14734, viewport, mode); }
1655
+ static viewportSetEnvironmentMode(viewport: RID, mode: ViewportEnvironmentMode): void { _C($(), 15032, viewport, mode); }
1611
1656
 
1612
1657
  /**
1613
1658
  * Sets a viewport's camera.
1614
1659
  */
1615
- static viewportAttachCamera(viewport: RID, camera: RID): void { _C($(), 14711, viewport, camera); }
1660
+ static viewportAttachCamera(viewport: RID, camera: RID): void { _C($(), 15009, viewport, camera); }
1616
1661
 
1617
1662
  /**
1618
1663
  * Sets a viewport's scenario. The scenario contains information about environment information, reflection atlas, etc.
1619
1664
  */
1620
- static viewportSetScenario(viewport: RID, scenario: RID): void { _C($(), 14748, viewport, scenario); }
1665
+ static viewportSetScenario(viewport: RID, scenario: RID): void { _C($(), 15046, viewport, scenario); }
1621
1666
 
1622
1667
  /**
1623
1668
  * Sets a viewport's canvas.
1624
1669
  */
1625
- static viewportAttachCanvas(viewport: RID, canvas: RID): void { _C($(), 14712, viewport, canvas); }
1670
+ static viewportAttachCanvas(viewport: RID, canvas: RID): void { _C($(), 15010, viewport, canvas); }
1626
1671
 
1627
1672
  /**
1628
1673
  * Detaches a viewport from a canvas.
1629
1674
  */
1630
- static viewportRemoveCanvas(viewport: RID, canvas: RID): void { _C($(), 14722, viewport, canvas); }
1675
+ static viewportRemoveCanvas(viewport: RID, canvas: RID): void { _C($(), 15020, viewport, canvas); }
1631
1676
 
1632
1677
  /**
1633
1678
  * If `true`, canvas item transforms (i.e. origin position) are snapped to the nearest pixel when rendering. This can lead to a crisper appearance at the cost of less smooth movement, especially when {@link Camera2D} smoothing is enabled. Equivalent to {@link ProjectSettings.rendering/2d/snap/snap2dTransformsToPixel}.
1634
1679
  */
1635
- static viewportSetSnap2dTransformsToPixel(viewport: RID, enabled: boolean): void { _C($(), 14752, viewport, enabled); }
1680
+ static viewportSetSnap2dTransformsToPixel(viewport: RID, enabled: boolean): void { _C($(), 15050, viewport, enabled); }
1636
1681
 
1637
1682
  /**
1638
1683
  * If `true`, canvas item vertices (i.e. polygon points) are snapped to the nearest pixel when rendering. This can lead to a crisper appearance at the cost of less smooth movement, especially when {@link Camera2D} smoothing is enabled. Equivalent to {@link ProjectSettings.rendering/2d/snap/snap2dVerticesToPixel}.
1639
1684
  */
1640
- static viewportSetSnap2dVerticesToPixel(viewport: RID, enabled: boolean): void { _C($(), 14753, viewport, enabled); }
1685
+ static viewportSetSnap2dVerticesToPixel(viewport: RID, enabled: boolean): void { _C($(), 15051, viewport, enabled); }
1641
1686
 
1642
1687
  /**
1643
1688
  * Sets the default texture filtering mode for the specified `viewport` RID.
1644
1689
  */
1645
- static viewportSetDefaultCanvasItemTextureFilter(viewport: RID, filter: CanvasItemTextureFilter): void { _C($(), 14730, viewport, filter); }
1690
+ static viewportSetDefaultCanvasItemTextureFilter(viewport: RID, filter: CanvasItemTextureFilter): void { _C($(), 15028, viewport, filter); }
1646
1691
 
1647
1692
  /**
1648
1693
  * Sets the default texture repeat mode for the specified `viewport` RID.
1649
1694
  */
1650
- static viewportSetDefaultCanvasItemTextureRepeat(viewport: RID, repeat: CanvasItemTextureRepeat): void { _C($(), 14731, viewport, repeat); }
1695
+ static viewportSetDefaultCanvasItemTextureRepeat(viewport: RID, repeat: CanvasItemTextureRepeat): void { _C($(), 15029, viewport, repeat); }
1651
1696
 
1652
1697
  /**
1653
1698
  * Sets the transformation of a viewport's canvas.
1654
1699
  */
1655
- static viewportSetCanvasTransform(viewport: RID, canvas: RID, offset: Transform2D): void { _C($(), 14727, viewport, canvas, offset); }
1700
+ static viewportSetCanvasTransform(viewport: RID, canvas: RID, offset: Transform2D): void { _C($(), 15025, viewport, canvas, offset); }
1656
1701
 
1657
1702
  /**
1658
1703
  * Sets the stacking order for a viewport's canvas.
1659
1704
  * `layer` is the actual canvas layer, while `sublayer` specifies the stacking order of the canvas among those in the same layer.
1660
1705
  * **Note:** `layer` should be between {@link CANVAS_LAYER_MIN} and {@link CANVAS_LAYER_MAX} (inclusive). Any other value will wrap around.
1661
1706
  */
1662
- static viewportSetCanvasStacking(viewport: RID, canvas: RID, layer: number, sublayer: number): void { _C($(), 14726, viewport, canvas, layer, sublayer); }
1707
+ static viewportSetCanvasStacking(viewport: RID, canvas: RID, layer: number, sublayer: number): void { _C($(), 15024, viewport, canvas, layer, sublayer); }
1663
1708
 
1664
1709
  /**
1665
1710
  * If `true`, the viewport renders its background as transparent.
1666
1711
  */
1667
- static viewportSetTransparentBackground(viewport: RID, enabled: boolean): void { _C($(), 14755, viewport, enabled); }
1712
+ static viewportSetTransparentBackground(viewport: RID, enabled: boolean): void { _C($(), 15053, viewport, enabled); }
1668
1713
 
1669
1714
  /**
1670
1715
  * Sets the viewport's global transformation matrix.
1671
1716
  */
1672
- static viewportSetGlobalCanvasTransform(viewport: RID, transform: Transform2D): void { _C($(), 14736, viewport, transform); }
1717
+ static viewportSetGlobalCanvasTransform(viewport: RID, transform: Transform2D): void { _C($(), 15034, viewport, transform); }
1673
1718
 
1674
1719
  /**
1675
1720
  * Sets the viewport's 2D signed distance field {@link ProjectSettings.rendering/2d/sdf/oversize} and {@link ProjectSettings.rendering/2d/sdf/scale}. This is used when sampling the signed distance field in {@link CanvasItem} shaders as well as {@link GPUParticles2D} collision. This is *not* used by SDFGI in 3D rendering.
1676
1721
  */
1677
- static viewportSetSdfOversizeAndScale(viewport: RID, oversize: ViewportSDFOversize, scale: ViewportSDFScale): void { _C($(), 14750, viewport, oversize, scale); }
1722
+ static viewportSetSdfOversizeAndScale(viewport: RID, oversize: ViewportSDFOversize, scale: ViewportSDFScale): void { _C($(), 15048, viewport, oversize, scale); }
1678
1723
 
1679
1724
  /**
1680
1725
  * Sets the `size` of the shadow atlas's images (used for omni and spot lights) on the viewport specified by the `viewport` RID. The value is rounded up to the nearest power of 2. If `use16Bits` is `true`, use 16 bits for the omni/spot shadow depth map. Enabling this results in shadows having less precision and may result in shadow acne, but can lead to performance improvements on some devices.
1681
1726
  * **Note:** If this is set to `0`, no positional shadows will be visible at all. This can improve performance significantly on low-end systems by reducing both the CPU and GPU load (as fewer draw calls are needed to draw the scene without shadows).
1682
1727
  */
1683
- static viewportSetPositionalShadowAtlasSize(viewport: RID, size: number, use16Bits?: boolean /* = false */): void { _C($(), 14744, viewport, size, use16Bits); }
1728
+ static viewportSetPositionalShadowAtlasSize(viewport: RID, size: number, use16Bits?: boolean /* = false */): void { _C($(), 15042, viewport, size, use16Bits); }
1684
1729
 
1685
1730
  /**
1686
1731
  * Sets the number of subdivisions to use in the specified shadow atlas `quadrant` for omni and spot shadows. See also {@link Viewport.setPositionalShadowAtlasQuadrantSubdiv}.
1687
1732
  */
1688
- static viewportSetPositionalShadowAtlasQuadrantSubdivision(viewport: RID, quadrant: number, subdivision: number): void { _C($(), 14743, viewport, quadrant, subdivision); }
1733
+ static viewportSetPositionalShadowAtlasQuadrantSubdivision(viewport: RID, quadrant: number, subdivision: number): void { _C($(), 15041, viewport, quadrant, subdivision); }
1689
1734
 
1690
1735
  /**
1691
1736
  * Sets the multisample antialiasing mode for 3D on the specified `viewport` RID. Equivalent to {@link ProjectSettings.rendering/antiAliasing/quality/msaa3d} or {@link Viewport.msaa3d}.
1692
1737
  */
1693
- static viewportSetMsaa3d(viewport: RID, msaa: ViewportMSAA): void { _C($(), 14739, viewport, msaa); }
1738
+ static viewportSetMsaa3d(viewport: RID, msaa: ViewportMSAA): void { _C($(), 15037, viewport, msaa); }
1694
1739
 
1695
1740
  /**
1696
1741
  * Sets the multisample antialiasing mode for 2D/Canvas on the specified `viewport` RID. Equivalent to {@link ProjectSettings.rendering/antiAliasing/quality/msaa2d} or {@link Viewport.msaa2d}.
1697
1742
  */
1698
- static viewportSetMsaa2d(viewport: RID, msaa: ViewportMSAA): void { _C($(), 14738, viewport, msaa); }
1743
+ static viewportSetMsaa2d(viewport: RID, msaa: ViewportMSAA): void { _C($(), 15036, viewport, msaa); }
1699
1744
 
1700
1745
  /**
1701
1746
  * If `true`, 2D rendering will use a high dynamic range (HDR) `RGBA16` format framebuffer. Additionally, 2D rendering will be performed on linear values and will be converted using the appropriate transfer function immediately before blitting to the screen (if the Viewport is attached to the screen).
1702
1747
  * Practically speaking, this means that the end result of the Viewport will not be clamped to the `0-1` range and can be used in 3D rendering without color encoding adjustments. This allows 2D rendering to take advantage of effects requiring high dynamic range (e.g. 2D glow) as well as substantially improves the appearance of effects requiring highly detailed gradients. This setting has the same effect as {@link Viewport.useHdr2d}.
1703
1748
  */
1704
- static viewportSetUseHdr2d(viewport: RID, enabled: boolean): void { _C($(), 14758, viewport, enabled); }
1749
+ static viewportSetUseHdr2d(viewport: RID, enabled: boolean): void { _C($(), 15056, viewport, enabled); }
1705
1750
 
1706
1751
  /**
1707
1752
  * Sets the viewport's screen-space antialiasing mode. Equivalent to {@link ProjectSettings.rendering/antiAliasing/quality/screenSpaceAa} or {@link Viewport.screenSpaceAa}.
1708
1753
  */
1709
- static viewportSetScreenSpaceAa(viewport: RID, mode: ViewportScreenSpaceAA): void { _C($(), 14749, viewport, mode); }
1754
+ static viewportSetScreenSpaceAa(viewport: RID, mode: ViewportScreenSpaceAA): void { _C($(), 15047, viewport, mode); }
1710
1755
 
1711
1756
  /**
1712
1757
  * If `true`, use temporal antialiasing. Equivalent to {@link ProjectSettings.rendering/antiAliasing/quality/useTaa} or {@link Viewport.useTaa}.
1713
1758
  */
1714
- static viewportSetUseTaa(viewport: RID, enable: boolean): void { _C($(), 14760, viewport, enable); }
1759
+ static viewportSetUseTaa(viewport: RID, enable: boolean): void { _C($(), 15058, viewport, enable); }
1715
1760
 
1716
1761
  /**
1717
1762
  * Equivalent to {@link Viewport.useDebanding}. See also {@link ProjectSettings.rendering/antiAliasing/quality/useDebanding}.
1718
1763
  */
1719
- static viewportSetUseDebanding(viewport: RID, enable: boolean): void { _C($(), 14757, viewport, enable); }
1764
+ static viewportSetUseDebanding(viewport: RID, enable: boolean): void { _C($(), 15055, viewport, enable); }
1720
1765
 
1721
1766
  /**
1722
1767
  * If `true`, enables occlusion culling on the specified viewport. Equivalent to {@link ProjectSettings.rendering/occlusionCulling/useOcclusionCulling}.
1723
1768
  */
1724
- static viewportSetUseOcclusionCulling(viewport: RID, enable: boolean): void { _C($(), 14759, viewport, enable); }
1769
+ static viewportSetUseOcclusionCulling(viewport: RID, enable: boolean): void { _C($(), 15057, viewport, enable); }
1725
1770
 
1726
1771
  /**
1727
1772
  * Sets the {@link ProjectSettings.rendering/occlusionCulling/occlusionRaysPerThread} to use for occlusion culling. This parameter is global and cannot be set on a per-viewport basis.
1728
1773
  */
1729
- static viewportSetOcclusionRaysPerThread(raysPerThread: number): void { _C($(), 14741, raysPerThread); }
1774
+ static viewportSetOcclusionRaysPerThread(raysPerThread: number): void { _C($(), 15039, raysPerThread); }
1730
1775
 
1731
1776
  /**
1732
1777
  * Sets the {@link ProjectSettings.rendering/occlusionCulling/bvhBuildQuality} to use for occlusion culling. This parameter is global and cannot be set on a per-viewport basis.
1733
1778
  */
1734
- static viewportSetOcclusionCullingBuildQuality(quality: ViewportOcclusionCullingBuildQuality): void { _C($(), 14740, quality); }
1779
+ static viewportSetOcclusionCullingBuildQuality(quality: ViewportOcclusionCullingBuildQuality): void { _C($(), 15038, quality); }
1735
1780
 
1736
1781
  /**
1737
1782
  * Returns a statistic about the rendering engine which can be used for performance profiling. This is separated into render pass `type`s, each of them having the same `info`s you can query (different passes will return different values).
@@ -1752,300 +1797,300 @@ export class RenderingServer extends GodotVar {
1752
1797
  *
1753
1798
  * ```
1754
1799
  */
1755
- static viewportGetRenderInfo(viewport: RID, type: ViewportRenderInfoType, info: ViewportRenderInfo): number { return _C($(), 14717, viewport, type, info) as number; }
1800
+ static viewportGetRenderInfo(viewport: RID, type: ViewportRenderInfoType, info: ViewportRenderInfo): number { return _C($(), 15015, viewport, type, info) as number; }
1756
1801
 
1757
1802
  /**
1758
1803
  * Sets the debug draw mode of a viewport.
1759
1804
  */
1760
- static viewportSetDebugDraw(viewport: RID, draw: ViewportDebugDraw): void { _C($(), 14729, viewport, draw); }
1805
+ static viewportSetDebugDraw(viewport: RID, draw: ViewportDebugDraw): void { _C($(), 15027, viewport, draw); }
1761
1806
 
1762
1807
  /**
1763
1808
  * Sets the measurement for the given `viewport` RID (obtained using {@link Viewport.getViewportRid}). Once enabled, {@link viewportGetMeasuredRenderTimeCpu} and {@link viewportGetMeasuredRenderTimeGpu} will return values greater than `0.0` when queried with the given `viewport`.
1764
1809
  */
1765
- static viewportSetMeasureRenderTime(viewport: RID, enable: boolean): void { _C($(), 14737, viewport, enable); }
1810
+ static viewportSetMeasureRenderTime(viewport: RID, enable: boolean): void { _C($(), 15035, viewport, enable); }
1766
1811
 
1767
1812
  /**
1768
1813
  * Returns the CPU time taken to render the last frame in milliseconds. This *only* includes time spent in rendering-related operations; scripts' `_process` functions and other engine subsystems are not included in this readout. To get a complete readout of CPU time spent to render the scene, sum the render times of all viewports that are drawn every frame plus {@link getFrameSetupTimeCpu}. Unlike {@link Engine.getFramesPerSecond}, this method will accurately reflect CPU utilization even if framerate is capped via V-Sync or {@link Engine.maxFps}. See also {@link viewportGetMeasuredRenderTimeGpu}.
1769
1814
  * **Note:** Requires measurements to be enabled on the specified `viewport` using {@link viewportSetMeasureRenderTime}. Otherwise, this method returns `0.0`.
1770
1815
  */
1771
- static viewportGetMeasuredRenderTimeCpu(viewport: RID): number { return _C($(), 14715, viewport) as number; }
1816
+ static viewportGetMeasuredRenderTimeCpu(viewport: RID): number { return _C($(), 15013, viewport) as number; }
1772
1817
 
1773
1818
  /**
1774
1819
  * Returns the GPU time taken to render the last frame in milliseconds. To get a complete readout of GPU time spent to render the scene, sum the render times of all viewports that are drawn every frame. Unlike {@link Engine.getFramesPerSecond}, this method accurately reflects GPU utilization even if framerate is capped via V-Sync or {@link Engine.maxFps}. See also {@link viewportGetMeasuredRenderTimeCpu}.
1775
1820
  * **Note:** Requires measurements to be enabled on the specified `viewport` using {@link viewportSetMeasureRenderTime}. Otherwise, this method returns `0.0`.
1776
1821
  * **Note:** When GPU utilization is low enough during a certain period of time, GPUs will decrease their power state (which in turn decreases core and memory clock speeds). This can cause the reported GPU time to increase if GPU utilization is kept low enough by a framerate cap (compared to what it would be at the GPU's highest power state). Keep this in mind when benchmarking using {@link viewportGetMeasuredRenderTimeGpu}. This behavior can be overridden in the graphics driver settings at the cost of higher power usage.
1777
1822
  */
1778
- static viewportGetMeasuredRenderTimeGpu(viewport: RID): number { return _C($(), 14716, viewport) as number; }
1823
+ static viewportGetMeasuredRenderTimeGpu(viewport: RID): number { return _C($(), 15014, viewport) as number; }
1779
1824
 
1780
1825
  /**
1781
1826
  * Sets the Variable Rate Shading (VRS) mode for the viewport. If the GPU does not support VRS, this property is ignored. Equivalent to {@link ProjectSettings.rendering/vrs/mode}.
1782
1827
  */
1783
- static viewportSetVrsMode(viewport: RID, mode: ViewportVRSMode): void { _C($(), 14762, viewport, mode); }
1828
+ static viewportSetVrsMode(viewport: RID, mode: ViewportVRSMode): void { _C($(), 15060, viewport, mode); }
1784
1829
 
1785
1830
  /**
1786
1831
  * Sets the update mode for Variable Rate Shading (VRS) for the viewport. VRS requires the input texture to be converted to the format usable by the VRS method supported by the hardware. The update mode defines how often this happens. If the GPU does not support VRS, or VRS is not enabled, this property is ignored.
1787
1832
  * If set to {@link RenderingServer.VIEWPORT_VRS_UPDATE_ONCE}, the input texture is copied once and the mode is changed to {@link RenderingServer.VIEWPORT_VRS_UPDATE_DISABLED}.
1788
1833
  */
1789
- static viewportSetVrsUpdateMode(viewport: RID, mode: ViewportVRSUpdateMode): void { _C($(), 14764, viewport, mode); }
1834
+ static viewportSetVrsUpdateMode(viewport: RID, mode: ViewportVRSUpdateMode): void { _C($(), 15062, viewport, mode); }
1790
1835
 
1791
1836
  /**
1792
1837
  * The texture to use when the VRS mode is set to {@link RenderingServer.VIEWPORT_VRS_TEXTURE}. Equivalent to {@link ProjectSettings.rendering/vrs/texture}.
1793
1838
  */
1794
- static viewportSetVrsTexture(viewport: RID, texture: RID): void { _C($(), 14763, viewport, texture); }
1839
+ static viewportSetVrsTexture(viewport: RID, texture: RID): void { _C($(), 15061, viewport, texture); }
1795
1840
 
1796
1841
  /**
1797
1842
  * Creates an empty sky and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `sky_*` RenderingServer functions.
1798
1843
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
1799
1844
  */
1800
- static skyCreate(): RID { return _C($(), 13642) as RID; }
1845
+ static skyCreate(): RID { return _C($(), 13922) as RID; }
1801
1846
 
1802
1847
  /**
1803
1848
  * Sets the `radianceSize` of the sky specified by the `sky` RID (in pixels). Equivalent to {@link Sky.radianceSize}.
1804
1849
  */
1805
- static skySetRadianceSize(sky: RID, radianceSize: number): void { _C($(), 13652, sky, radianceSize); }
1850
+ static skySetRadianceSize(sky: RID, radianceSize: number): void { _C($(), 13932, sky, radianceSize); }
1806
1851
 
1807
1852
  /**
1808
1853
  * Sets the process `mode` of the sky specified by the `sky` RID. Equivalent to {@link Sky.processMode}.
1809
1854
  */
1810
- static skySetMode(sky: RID, mode: SkyMode): void { _C($(), 13651, sky, mode); }
1855
+ static skySetMode(sky: RID, mode: SkyMode): void { _C($(), 13931, sky, mode); }
1811
1856
 
1812
1857
  /**
1813
1858
  * Sets the material that the sky uses to render the background, ambient and reflection maps.
1814
1859
  */
1815
- static skySetMaterial(sky: RID, material: RID): void { _C($(), 13650, sky, material); }
1860
+ static skySetMaterial(sky: RID, material: RID): void { _C($(), 13930, sky, material); }
1816
1861
 
1817
1862
  /**
1818
1863
  * Generates and returns an {@link Image} containing the radiance map for the specified `sky` RID. This supports built-in sky material and custom sky shaders. If `bakeIrradiance` is `true`, the irradiance map is saved instead of the radiance map. The radiance map is used to render reflected light, while the irradiance map is used to render ambient light. See also {@link environmentBakePanorama}.
1819
1864
  * **Note:** The image is saved using linear encoding without any tonemapping performed, which means it will look too dark if viewed directly in an image editor. `energy` values above `1.0` can be used to brighten the resulting image.
1820
1865
  * **Note:** `size` should be a 2:1 aspect ratio for the generated panorama to have square pixels. For radiance maps, there is no point in using a height greater than {@link Sky.radianceSize}, as it won't increase detail. Irradiance maps only contain low-frequency data, so there is usually no point in going past a size of 128×64 pixels when saving an irradiance map.
1821
1866
  */
1822
- static skyBakePanorama(sky: RID, energy: number, bakeIrradiance: boolean, size: Vector2i): Image { return _C($(), 13639, sky, energy, bakeIrradiance, size) as Image; }
1867
+ static skyBakePanorama(sky: RID, energy: number, bakeIrradiance: boolean, size: Vector2i): Image { return _C($(), 13919, sky, energy, bakeIrradiance, size) as Image; }
1823
1868
 
1824
1869
  /**
1825
1870
  * Creates a new rendering effect and adds it to the RenderingServer. It can be accessed with the RID that is returned.
1826
1871
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
1827
1872
  */
1828
- static compositorEffectCreate(): RID { return _C($(), 2404) as RID; }
1873
+ static compositorEffectCreate(): RID { return _C($(), 2451) as RID; }
1829
1874
 
1830
1875
  /**
1831
1876
  * Enables/disables this rendering effect.
1832
1877
  */
1833
- static compositorEffectSetEnabled(effect: RID, enabled: boolean): void { _C($(), 2406, effect, enabled); }
1878
+ static compositorEffectSetEnabled(effect: RID, enabled: boolean): void { _C($(), 2453, effect, enabled); }
1834
1879
 
1835
1880
  /**
1836
1881
  * Sets the callback type (`callbackType`) and callback method(`callback`) for this rendering effect.
1837
1882
  */
1838
- static compositorEffectSetCallback(effect: RID, callbackType: CompositorEffectCallbackType, callback: Callable): void { _C($(), 2405, effect, callbackType, callback); }
1883
+ static compositorEffectSetCallback(effect: RID, callbackType: CompositorEffectCallbackType, callback: Callable): void { _C($(), 2452, effect, callbackType, callback); }
1839
1884
 
1840
1885
  /**
1841
1886
  * Sets the flag (`flag`) for this rendering effect to `true` or `false` (`set`).
1842
1887
  */
1843
- static compositorEffectSetFlag(effect: RID, flag: CompositorEffectFlags, set: boolean): void { _C($(), 2407, effect, flag, set); }
1888
+ static compositorEffectSetFlag(effect: RID, flag: CompositorEffectFlags, set: boolean): void { _C($(), 2454, effect, flag, set); }
1844
1889
 
1845
1890
  /**
1846
1891
  * Creates a new compositor and adds it to the RenderingServer. It can be accessed with the RID that is returned.
1847
1892
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
1848
1893
  */
1849
- static compositorCreate(): RID { return _C($(), 2403) as RID; }
1894
+ static compositorCreate(): RID { return _C($(), 2450) as RID; }
1850
1895
 
1851
1896
  /**
1852
1897
  * Sets the compositor effects for the specified compositor RID. `effects` should be an array containing RIDs created with {@link compositorEffectCreate}.
1853
1898
  */
1854
- static compositorSetCompositorEffects(compositor: RID, effects: GodotArray<RID>): void { _C($(), 2409, compositor, effects); }
1899
+ static compositorSetCompositorEffects(compositor: RID, effects: GodotArray<RID>): void { _C($(), 2456, compositor, effects); }
1855
1900
 
1856
1901
  /**
1857
1902
  * Creates an environment and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `environment_*` RenderingServer functions.
1858
1903
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
1859
1904
  * **Note:** The equivalent resource is {@link Environment}.
1860
1905
  */
1861
- static environmentCreate(): RID { return _C($(), 3119) as RID; }
1906
+ static environmentCreate(): RID { return _C($(), 3171) as RID; }
1862
1907
 
1863
1908
  /**
1864
1909
  * Sets the environment's background mode. Equivalent to {@link Environment.backgroundMode}.
1865
1910
  */
1866
- static environmentSetBackground(env: RID, bg: EnvironmentBG): void { _C($(), 3127, env, bg); }
1911
+ static environmentSetBackground(env: RID, bg: EnvironmentBG): void { _C($(), 3179, env, bg); }
1867
1912
 
1868
1913
  /**
1869
1914
  * Sets the camera ID to be used as environment background.
1870
1915
  */
1871
- static environmentSetCameraId(env: RID, id: number): void { _C($(), 3130, env, id); }
1916
+ static environmentSetCameraId(env: RID, id: number): void { _C($(), 3182, env, id); }
1872
1917
 
1873
1918
  /**
1874
1919
  * Sets the {@link Sky} to be used as the environment's background when using *BGMode* sky. Equivalent to {@link Environment.sky}.
1875
1920
  */
1876
- static environmentSetSky(env: RID, sky: RID): void { _C($(), 3139, env, sky); }
1921
+ static environmentSetSky(env: RID, sky: RID): void { _C($(), 3191, env, sky); }
1877
1922
 
1878
1923
  /**
1879
1924
  * Sets a custom field of view for the background {@link Sky}. Equivalent to {@link Environment.skyCustomFov}.
1880
1925
  */
1881
- static environmentSetSkyCustomFov(env: RID, scale: number): void { _C($(), 3140, env, scale); }
1926
+ static environmentSetSkyCustomFov(env: RID, scale: number): void { _C($(), 3192, env, scale); }
1882
1927
 
1883
1928
  /**
1884
1929
  * Sets the rotation of the background {@link Sky} expressed as a {@link Basis}. Equivalent to {@link Environment.skyRotation}, where the rotation vector is used to construct the {@link Basis}.
1885
1930
  */
1886
- static environmentSetSkyOrientation(env: RID, orientation: Basis): void { _C($(), 3141, env, orientation); }
1931
+ static environmentSetSkyOrientation(env: RID, orientation: Basis): void { _C($(), 3193, env, orientation); }
1887
1932
 
1888
1933
  /**
1889
1934
  * Color displayed for clear areas of the scene. Only effective if using the {@link ENV_BG_COLOR} background mode.
1890
1935
  */
1891
- static environmentSetBgColor(env: RID, color: Color): void { _C($(), 3128, env, color); }
1936
+ static environmentSetBgColor(env: RID, color: Color): void { _C($(), 3180, env, color); }
1892
1937
 
1893
1938
  /**
1894
1939
  * Sets the intensity of the background color.
1895
1940
  */
1896
- static environmentSetBgEnergy(env: RID, multiplier: number, exposureValue: number): void { _C($(), 3129, env, multiplier, exposureValue); }
1941
+ static environmentSetBgEnergy(env: RID, multiplier: number, exposureValue: number): void { _C($(), 3181, env, multiplier, exposureValue); }
1897
1942
 
1898
1943
  /**
1899
1944
  * Sets the maximum layer to use if using Canvas background mode.
1900
1945
  */
1901
- static environmentSetCanvasMaxLayer(env: RID, maxLayer: number): void { _C($(), 3131, env, maxLayer); }
1946
+ static environmentSetCanvasMaxLayer(env: RID, maxLayer: number): void { _C($(), 3183, env, maxLayer); }
1902
1947
 
1903
1948
  /**
1904
1949
  * Sets the values to be used for ambient light rendering. See {@link Environment} for more details.
1905
1950
  */
1906
- static environmentSetAmbientLight(env: RID, color: Color, ambient?: EnvironmentAmbientSource /* = 0 */, energy?: number /* = 1.0 */, skyContribution?: number /* = 0.0 */, reflectionSource?: EnvironmentReflectionSource /* = 0 */): void { _C($(), 3126, env, color, ambient, energy, skyContribution, reflectionSource); }
1951
+ static environmentSetAmbientLight(env: RID, color: Color, ambient?: EnvironmentAmbientSource /* = 0 */, energy?: number /* = 1.0 */, skyContribution?: number /* = 0.0 */, reflectionSource?: EnvironmentReflectionSource /* = 0 */): void { _C($(), 3178, env, color, ambient, energy, skyContribution, reflectionSource); }
1907
1952
 
1908
1953
  /**
1909
1954
  * Configures glow for the specified environment RID. See `glow_*` properties in {@link Environment} for more information.
1910
1955
  */
1911
- static environmentSetGlow(env: RID, enable: boolean, levels: PackedFloat32Array, intensity: number, strength: number, mix: number, bloomThreshold: number, blendMode: EnvironmentGlowBlendMode, hdrBleedThreshold: number, hdrBleedScale: number, hdrLuminanceCap: number, glowMapStrength: number, glowMap: RID): void { _C($(), 3134, env, enable, levels, intensity, strength, mix, bloomThreshold, blendMode, hdrBleedThreshold, hdrBleedScale, hdrLuminanceCap, glowMapStrength, glowMap); }
1956
+ static environmentSetGlow(env: RID, enable: boolean, levels: PackedFloat32Array, intensity: number, strength: number, mix: number, bloomThreshold: number, blendMode: EnvironmentGlowBlendMode, hdrBleedThreshold: number, hdrBleedScale: number, hdrLuminanceCap: number, glowMapStrength: number, glowMap: RID): void { _C($(), 3186, env, enable, levels, intensity, strength, mix, bloomThreshold, blendMode, hdrBleedThreshold, hdrBleedScale, hdrLuminanceCap, glowMapStrength, glowMap); }
1912
1957
 
1913
1958
  /**
1914
1959
  * Sets the variables to be used with the "tonemap" post-process effect. See {@link Environment} for more details.
1915
1960
  */
1916
- static environmentSetTonemap(env: RID, toneMapper: EnvironmentToneMapper, exposure: number, white: number): void { _C($(), 3148, env, toneMapper, exposure, white); }
1961
+ static environmentSetTonemap(env: RID, toneMapper: EnvironmentToneMapper, exposure: number, white: number): void { _C($(), 3200, env, toneMapper, exposure, white); }
1917
1962
 
1918
1963
  /**
1919
1964
  * See {@link Environment.tonemapAgxContrast} for more details.
1920
1965
  */
1921
- static environmentSetTonemapAgxContrast(env: RID, agxContrast: number): void { _C($(), 3149, env, agxContrast); }
1966
+ static environmentSetTonemapAgxContrast(env: RID, agxContrast: number): void { _C($(), 3201, env, agxContrast); }
1922
1967
 
1923
1968
  /**
1924
1969
  * Sets the values to be used with the "adjustments" post-process effect. See {@link Environment} for more details.
1925
1970
  */
1926
- static environmentSetAdjustment(env: RID, enable: boolean, brightness: number, contrast: number, saturation: number, use1dColorCorrection: boolean, colorCorrection: RID): void { _C($(), 3125, env, enable, brightness, contrast, saturation, use1dColorCorrection, colorCorrection); }
1971
+ static environmentSetAdjustment(env: RID, enable: boolean, brightness: number, contrast: number, saturation: number, use1dColorCorrection: boolean, colorCorrection: RID): void { _C($(), 3177, env, enable, brightness, contrast, saturation, use1dColorCorrection, colorCorrection); }
1927
1972
 
1928
1973
  /**
1929
1974
  * Sets the variables to be used with the screen-space reflections (SSR) post-process effect. See {@link Environment} for more details.
1930
1975
  */
1931
- static environmentSetSsr(env: RID, enable: boolean, maxSteps: number, fadeIn: number, fadeOut: number, depthTolerance: number): void { _C($(), 3145, env, enable, maxSteps, fadeIn, fadeOut, depthTolerance); }
1976
+ static environmentSetSsr(env: RID, enable: boolean, maxSteps: number, fadeIn: number, fadeOut: number, depthTolerance: number): void { _C($(), 3197, env, enable, maxSteps, fadeIn, fadeOut, depthTolerance); }
1932
1977
 
1933
1978
  /**
1934
1979
  * Sets the variables to be used with the screen-space ambient occlusion (SSAO) post-process effect. See {@link Environment} for more details.
1935
1980
  */
1936
- static environmentSetSsao(env: RID, enable: boolean, radius: number, intensity: number, power: number, detail: number, horizon: number, sharpness: number, lightAffect: number, aoChannelAffect: number): void { _C($(), 3142, env, enable, radius, intensity, power, detail, horizon, sharpness, lightAffect, aoChannelAffect); }
1981
+ static environmentSetSsao(env: RID, enable: boolean, radius: number, intensity: number, power: number, detail: number, horizon: number, sharpness: number, lightAffect: number, aoChannelAffect: number): void { _C($(), 3194, env, enable, radius, intensity, power, detail, horizon, sharpness, lightAffect, aoChannelAffect); }
1937
1982
 
1938
1983
  /**
1939
1984
  * Configures fog for the specified environment RID. See `fog_*` properties in {@link Environment} for more information.
1940
1985
  */
1941
- static environmentSetFog(env: RID, enable: boolean, lightColor: Color, lightEnergy: number, sunScatter: number, density: number, height: number, heightDensity: number, aerialPerspective: number, skyAffect: number, fogMode?: EnvironmentFogMode /* = 0 */): void { _C($(), 3132, env, enable, lightColor, lightEnergy, sunScatter, density, height, heightDensity, aerialPerspective, skyAffect, fogMode); }
1986
+ static environmentSetFog(env: RID, enable: boolean, lightColor: Color, lightEnergy: number, sunScatter: number, density: number, height: number, heightDensity: number, aerialPerspective: number, skyAffect: number, fogMode?: EnvironmentFogMode /* = 0 */): void { _C($(), 3184, env, enable, lightColor, lightEnergy, sunScatter, density, height, heightDensity, aerialPerspective, skyAffect, fogMode); }
1942
1987
 
1943
1988
  /**
1944
1989
  * Configures fog depth for the specified environment RID. Only has an effect when the fog mode of the environment is {@link ENV_FOG_MODE_DEPTH}. See `fog_depth_*` properties in {@link Environment} for more information.
1945
1990
  */
1946
- static environmentSetFogDepth(env: RID, curve: number, begin: number, end: number): void { _C($(), 3133, env, curve, begin, end); }
1991
+ static environmentSetFogDepth(env: RID, curve: number, begin: number, end: number): void { _C($(), 3185, env, curve, begin, end); }
1947
1992
 
1948
1993
  /**
1949
1994
  * Configures signed distance field global illumination for the specified environment RID. See `sdfgi_*` properties in {@link Environment} for more information.
1950
1995
  */
1951
- static environmentSetSdfgi(env: RID, enable: boolean, cascades: number, minCellSize: number, yScale: EnvironmentSDFGIYScale, useOcclusion: boolean, bounceFeedback: number, readSky: boolean, energy: number, normalBias: number, probeBias: number): void { _C($(), 3135, env, enable, cascades, minCellSize, yScale, useOcclusion, bounceFeedback, readSky, energy, normalBias, probeBias); }
1996
+ static environmentSetSdfgi(env: RID, enable: boolean, cascades: number, minCellSize: number, yScale: EnvironmentSDFGIYScale, useOcclusion: boolean, bounceFeedback: number, readSky: boolean, energy: number, normalBias: number, probeBias: number): void { _C($(), 3187, env, enable, cascades, minCellSize, yScale, useOcclusion, bounceFeedback, readSky, energy, normalBias, probeBias); }
1952
1997
 
1953
1998
  /**
1954
1999
  * Sets the variables to be used with the volumetric fog post-process effect. See {@link Environment} for more details.
1955
2000
  */
1956
- static environmentSetVolumetricFog(env: RID, enable: boolean, density: number, albedo: Color, emission: Color, emissionEnergy: number, anisotropy: number, length: number, detailSpread: number, giInject: number, temporalReprojection: boolean, temporalReprojectionAmount: number, ambientInject: number, skyAffect: number): void { _C($(), 3150, env, enable, density, albedo, emission, emissionEnergy, anisotropy, length, detailSpread, giInject, temporalReprojection, temporalReprojectionAmount, ambientInject, skyAffect); }
2001
+ static environmentSetVolumetricFog(env: RID, enable: boolean, density: number, albedo: Color, emission: Color, emissionEnergy: number, anisotropy: number, length: number, detailSpread: number, giInject: number, temporalReprojection: boolean, temporalReprojectionAmount: number, ambientInject: number, skyAffect: number): void { _C($(), 3202, env, enable, density, albedo, emission, emissionEnergy, anisotropy, length, detailSpread, giInject, temporalReprojection, temporalReprojectionAmount, ambientInject, skyAffect); }
1957
2002
 
1958
2003
  /**
1959
2004
  * If `enable` is `true`, enables bicubic upscaling for glow which improves quality at the cost of performance. Equivalent to {@link ProjectSettings.rendering/environment/glow/upscaleMode}.
1960
2005
  * **Note:** This setting is only effective when using the Forward+ or Mobile rendering methods, as Compatibility uses a different glow implementation.
1961
2006
  */
1962
- static environmentGlowSetUseBicubicUpscale(enable: boolean): void { _C($(), 3123, enable); }
2007
+ static environmentGlowSetUseBicubicUpscale(enable: boolean): void { _C($(), 3175, enable); }
1963
2008
 
1964
2009
  /**
1965
2010
  * Sets whether screen-space reflections will be rendered at full or half size. Half size is faster, but may look pixelated or cause flickering.
1966
2011
  */
1967
- static environmentSetSsrHalfSize(halfSize: boolean): void { _C($(), 3146, halfSize); }
2012
+ static environmentSetSsrHalfSize(halfSize: boolean): void { _C($(), 3198, halfSize); }
1968
2013
 
1969
- static environmentSetSsrRoughnessQuality(quality: EnvironmentSSRRoughnessQuality): void { _C($(), 3147, quality); }
2014
+ static environmentSetSsrRoughnessQuality(quality: EnvironmentSSRRoughnessQuality): void { _C($(), 3199, quality); }
1970
2015
 
1971
2016
  /**
1972
2017
  * Sets the quality level of the screen-space ambient occlusion (SSAO) post-process effect. See {@link Environment} for more details.
1973
2018
  */
1974
- static environmentSetSsaoQuality(quality: EnvironmentSSAOQuality, halfSize: boolean, adaptiveTarget: number, blurPasses: number, fadeoutFrom: number, fadeoutTo: number): void { _C($(), 3143, quality, halfSize, adaptiveTarget, blurPasses, fadeoutFrom, fadeoutTo); }
2019
+ static environmentSetSsaoQuality(quality: EnvironmentSSAOQuality, halfSize: boolean, adaptiveTarget: number, blurPasses: number, fadeoutFrom: number, fadeoutTo: number): void { _C($(), 3195, quality, halfSize, adaptiveTarget, blurPasses, fadeoutFrom, fadeoutTo); }
1975
2020
 
1976
2021
  /**
1977
2022
  * Sets the quality level of the screen-space indirect lighting (SSIL) post-process effect. See {@link Environment} for more details.
1978
2023
  */
1979
- static environmentSetSsilQuality(quality: EnvironmentSSILQuality, halfSize: boolean, adaptiveTarget: number, blurPasses: number, fadeoutFrom: number, fadeoutTo: number): void { _C($(), 3144, quality, halfSize, adaptiveTarget, blurPasses, fadeoutFrom, fadeoutTo); }
2024
+ static environmentSetSsilQuality(quality: EnvironmentSSILQuality, halfSize: boolean, adaptiveTarget: number, blurPasses: number, fadeoutFrom: number, fadeoutTo: number): void { _C($(), 3196, quality, halfSize, adaptiveTarget, blurPasses, fadeoutFrom, fadeoutTo); }
1980
2025
 
1981
2026
  /**
1982
2027
  * Sets the number of rays to throw per frame when computing signed distance field global illumination. Equivalent to {@link ProjectSettings.rendering/globalIllumination/sdfgi/probeRayCount}.
1983
2028
  */
1984
- static environmentSetSdfgiRayCount(rayCount: EnvironmentSDFGIRayCount): void { _C($(), 3138, rayCount); }
2029
+ static environmentSetSdfgiRayCount(rayCount: EnvironmentSDFGIRayCount): void { _C($(), 3190, rayCount); }
1985
2030
 
1986
2031
  /**
1987
2032
  * Sets the number of frames to use for converging signed distance field global illumination. Equivalent to {@link ProjectSettings.rendering/globalIllumination/sdfgi/framesToConverge}.
1988
2033
  */
1989
- static environmentSetSdfgiFramesToConverge(frames: EnvironmentSDFGIFramesToConverge): void { _C($(), 3136, frames); }
2034
+ static environmentSetSdfgiFramesToConverge(frames: EnvironmentSDFGIFramesToConverge): void { _C($(), 3188, frames); }
1990
2035
 
1991
2036
  /**
1992
2037
  * Sets the update speed for dynamic lights' indirect lighting when computing signed distance field global illumination. Equivalent to {@link ProjectSettings.rendering/globalIllumination/sdfgi/framesToUpdateLights}.
1993
2038
  */
1994
- static environmentSetSdfgiFramesToUpdateLight(frames: EnvironmentSDFGIFramesToUpdateLight): void { _C($(), 3137, frames); }
2039
+ static environmentSetSdfgiFramesToUpdateLight(frames: EnvironmentSDFGIFramesToUpdateLight): void { _C($(), 3189, frames); }
1995
2040
 
1996
2041
  /**
1997
2042
  * Sets the resolution of the volumetric fog's froxel buffer. `size` is modified by the screen's aspect ratio and then used to set the width and height of the buffer. While `depth` is directly used to set the depth of the buffer.
1998
2043
  */
1999
- static environmentSetVolumetricFogVolumeSize(size: number, depth: number): void { _C($(), 3152, size, depth); }
2044
+ static environmentSetVolumetricFogVolumeSize(size: number, depth: number): void { _C($(), 3204, size, depth); }
2000
2045
 
2001
2046
  /**
2002
2047
  * Enables filtering of the volumetric fog scattering buffer. This results in much smoother volumes with very few under-sampling artifacts.
2003
2048
  */
2004
- static environmentSetVolumetricFogFilterActive(active: boolean): void { _C($(), 3151, active); }
2049
+ static environmentSetVolumetricFogFilterActive(active: boolean): void { _C($(), 3203, active); }
2005
2050
 
2006
2051
  /**
2007
2052
  * Generates and returns an {@link Image} containing the radiance map for the specified `environment` RID's sky. This supports built-in sky material and custom sky shaders. If `bakeIrradiance` is `true`, the irradiance map is saved instead of the radiance map. The radiance map is used to render reflected light, while the irradiance map is used to render ambient light. See also {@link skyBakePanorama}.
2008
2053
  * **Note:** The image is saved using linear encoding without any tonemapping performed, which means it will look too dark if viewed directly in an image editor.
2009
2054
  * **Note:** `size` should be a 2:1 aspect ratio for the generated panorama to have square pixels. For radiance maps, there is no point in using a height greater than {@link Sky.radianceSize}, as it won't increase detail. Irradiance maps only contain low-frequency data, so there is usually no point in going past a size of 128×64 pixels when saving an irradiance map.
2010
2055
  */
2011
- static environmentBakePanorama(environment: RID, bakeIrradiance: boolean, size: Vector2i): Image { return _C($(), 3117, environment, bakeIrradiance, size) as Image; }
2056
+ static environmentBakePanorama(environment: RID, bakeIrradiance: boolean, size: Vector2i): Image { return _C($(), 3169, environment, bakeIrradiance, size) as Image; }
2012
2057
 
2013
2058
  /**
2014
2059
  * Sets the screen-space roughness limiter parameters, such as whether it should be enabled and its thresholds. Equivalent to {@link ProjectSettings.rendering/antiAliasing/screenSpaceRoughnessLimiter/enabled}, {@link ProjectSettings.rendering/antiAliasing/screenSpaceRoughnessLimiter/amount} and {@link ProjectSettings.rendering/antiAliasing/screenSpaceRoughnessLimiter/limit}.
2015
2060
  */
2016
- static screenSpaceRoughnessLimiterSetActive(enable: boolean, amount: number, limit: number): void { _C($(), 10268, enable, amount, limit); }
2061
+ static screenSpaceRoughnessLimiterSetActive(enable: boolean, amount: number, limit: number): void { _C($(), 10483, enable, amount, limit); }
2017
2062
 
2018
2063
  /**
2019
2064
  * Sets {@link ProjectSettings.rendering/environment/subsurfaceScattering/subsurfaceScatteringQuality} to use when rendering materials that have subsurface scattering enabled.
2020
2065
  */
2021
- static subSurfaceScatteringSetQuality(quality: SubSurfaceScatteringQuality): void { _C($(), 13990, quality); }
2066
+ static subSurfaceScatteringSetQuality(quality: SubSurfaceScatteringQuality): void { _C($(), 14280, quality); }
2022
2067
 
2023
2068
  /**
2024
2069
  * Sets the {@link ProjectSettings.rendering/environment/subsurfaceScattering/subsurfaceScatteringScale} and {@link ProjectSettings.rendering/environment/subsurfaceScattering/subsurfaceScatteringDepthScale} to use when rendering materials that have subsurface scattering enabled.
2025
2070
  */
2026
- static subSurfaceScatteringSetScale(scale: number, depthScale: number): void { _C($(), 13991, scale, depthScale); }
2071
+ static subSurfaceScatteringSetScale(scale: number, depthScale: number): void { _C($(), 14281, scale, depthScale); }
2027
2072
 
2028
2073
  /**
2029
2074
  * Creates a camera attributes object and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `camera_attributes_` RenderingServer functions.
2030
2075
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
2031
2076
  * **Note:** The equivalent resource is {@link CameraAttributes}.
2032
2077
  */
2033
- static cameraAttributesCreate(): RID { return _C($(), 1983) as RID; }
2078
+ static cameraAttributesCreate(): RID { return _C($(), 2015) as RID; }
2034
2079
 
2035
2080
  /**
2036
2081
  * Sets the quality level of the DOF blur effect to `quality`. `useJitter` can be used to jitter samples taken during the blur pass to hide artifacts at the cost of looking more fuzzy.
2037
2082
  */
2038
- static cameraAttributesSetDofBlurQuality(quality: DOFBlurQuality, useJitter: boolean): void { _C($(), 1987, quality, useJitter); }
2083
+ static cameraAttributesSetDofBlurQuality(quality: DOFBlurQuality, useJitter: boolean): void { _C($(), 2019, quality, useJitter); }
2039
2084
 
2040
2085
  /**
2041
2086
  * Sets the shape of the DOF bokeh pattern to `shape`. Different shapes may be used to achieve artistic effect, or to meet performance targets.
2042
2087
  */
2043
- static cameraAttributesSetDofBlurBokehShape(shape: DOFBokehShape): void { _C($(), 1986, shape); }
2088
+ static cameraAttributesSetDofBlurBokehShape(shape: DOFBokehShape): void { _C($(), 2018, shape); }
2044
2089
 
2045
2090
  /**
2046
2091
  * Sets the parameters to use with the DOF blur effect. These parameters take on the same meaning as their counterparts in {@link CameraAttributesPractical}.
2047
2092
  */
2048
- static cameraAttributesSetDofBlur(cameraAttributes: RID, farEnable: boolean, farDistance: number, farTransition: number, nearEnable: boolean, nearDistance: number, nearTransition: number, amount: number): void { _C($(), 1985, cameraAttributes, farEnable, farDistance, farTransition, nearEnable, nearDistance, nearTransition, amount); }
2093
+ static cameraAttributesSetDofBlur(cameraAttributes: RID, farEnable: boolean, farDistance: number, farTransition: number, nearEnable: boolean, nearDistance: number, nearTransition: number, amount: number): void { _C($(), 2017, cameraAttributes, farEnable, farDistance, farTransition, nearEnable, nearDistance, nearTransition, amount); }
2049
2094
 
2050
2095
  /**
2051
2096
  * Sets the exposure values that will be used by the renderers. The normalization amount is used to bake a given Exposure Value (EV) into rendering calculations to reduce the dynamic range of the scene.
@@ -2067,45 +2112,45 @@ export class RenderingServer extends GodotVar {
2067
2112
  *
2068
2113
  * ```
2069
2114
  */
2070
- static cameraAttributesSetExposure(cameraAttributes: RID, multiplier: number, normalization: number): void { _C($(), 1988, cameraAttributes, multiplier, normalization); }
2115
+ static cameraAttributesSetExposure(cameraAttributes: RID, multiplier: number, normalization: number): void { _C($(), 2020, cameraAttributes, multiplier, normalization); }
2071
2116
 
2072
2117
  /**
2073
2118
  * Sets the parameters to use with the auto-exposure effect. These parameters take on the same meaning as their counterparts in {@link CameraAttributes} and {@link CameraAttributesPractical}.
2074
2119
  */
2075
- static cameraAttributesSetAutoExposure(cameraAttributes: RID, enable: boolean, minSensitivity: number, maxSensitivity: number, speed: number, scale: number): void { _C($(), 1984, cameraAttributes, enable, minSensitivity, maxSensitivity, speed, scale); }
2120
+ static cameraAttributesSetAutoExposure(cameraAttributes: RID, enable: boolean, minSensitivity: number, maxSensitivity: number, speed: number, scale: number): void { _C($(), 2016, cameraAttributes, enable, minSensitivity, maxSensitivity, speed, scale); }
2076
2121
 
2077
2122
  /**
2078
2123
  * Creates a scenario and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `scenario_*` RenderingServer functions.
2079
2124
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
2080
2125
  * The scenario is the 3D world that all the visual instances exist in.
2081
2126
  */
2082
- static scenarioCreate(): RID { return _C($(), 10238) as RID; }
2127
+ static scenarioCreate(): RID { return _C($(), 10452) as RID; }
2083
2128
 
2084
2129
  /**
2085
2130
  * Sets the environment that will be used with this scenario. See also {@link Environment}.
2086
2131
  */
2087
- static scenarioSetEnvironment(scenario: RID, environment: RID): void { _C($(), 10241, scenario, environment); }
2132
+ static scenarioSetEnvironment(scenario: RID, environment: RID): void { _C($(), 10455, scenario, environment); }
2088
2133
 
2089
2134
  /**
2090
2135
  * Sets the fallback environment to be used by this scenario. The fallback environment is used if no environment is set. Internally, this is used by the editor to provide a default environment.
2091
2136
  */
2092
- static scenarioSetFallbackEnvironment(scenario: RID, environment: RID): void { _C($(), 10242, scenario, environment); }
2137
+ static scenarioSetFallbackEnvironment(scenario: RID, environment: RID): void { _C($(), 10456, scenario, environment); }
2093
2138
 
2094
2139
  /**
2095
2140
  * Sets the camera attributes (`effects`) that will be used with this scenario. See also {@link CameraAttributes}.
2096
2141
  */
2097
- static scenarioSetCameraAttributes(scenario: RID, effects: RID): void { _C($(), 10239, scenario, effects); }
2142
+ static scenarioSetCameraAttributes(scenario: RID, effects: RID): void { _C($(), 10453, scenario, effects); }
2098
2143
 
2099
2144
  /**
2100
2145
  * Sets the compositor (`compositor`) that will be used with this scenario. See also {@link Compositor}.
2101
2146
  */
2102
- static scenarioSetCompositor(scenario: RID, compositor: RID): void { _C($(), 10240, scenario, compositor); }
2147
+ static scenarioSetCompositor(scenario: RID, compositor: RID): void { _C($(), 10454, scenario, compositor); }
2103
2148
 
2104
2149
  /**
2105
2150
  * Creates a visual instance, adds it to the RenderingServer, and sets both base and scenario. It can be accessed with the RID that is returned. This RID will be used in all `instance_*` RenderingServer functions.
2106
2151
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method. This is a shorthand for using {@link instanceCreate} and setting the base and scenario manually.
2107
2152
  */
2108
- static instanceCreate2(base: RID, scenario: RID): RID { return _C($(), 7644, base, scenario) as RID; }
2153
+ static instanceCreate2(base: RID, scenario: RID): RID { return _C($(), 7799, base, scenario) as RID; }
2109
2154
 
2110
2155
  /**
2111
2156
  * Creates a visual instance and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `instance_*` RenderingServer functions.
@@ -2113,52 +2158,52 @@ export class RenderingServer extends GodotVar {
2113
2158
  * An instance is a way of placing a 3D object in the scenario. Objects like particles, meshes, reflection probes and decals need to be associated with an instance to be visible in the scenario using {@link instanceSetBase}.
2114
2159
  * **Note:** The equivalent node is {@link VisualInstance3D}.
2115
2160
  */
2116
- static instanceCreate(): RID { return _C($(), 7643) as RID; }
2161
+ static instanceCreate(): RID { return _C($(), 7798) as RID; }
2117
2162
 
2118
2163
  /**
2119
2164
  * Sets the base of the instance. A base can be any of the 3D objects that are created in the RenderingServer that can be displayed. For example, any of the light types, mesh, multimesh, particle system, reflection probe, decal, lightmap, voxel GI and visibility notifiers are all types that can be set as the base of an instance in order to be displayed in the scenario.
2120
2165
  */
2121
- static instanceSetBase(instance: RID, base: RID): void { _C($(), 7662, instance, base); }
2166
+ static instanceSetBase(instance: RID, base: RID): void { _C($(), 7817, instance, base); }
2122
2167
 
2123
2168
  /**
2124
2169
  * Sets the scenario that the instance is in. The scenario is the 3D world that the objects will be displayed in.
2125
2170
  */
2126
- static instanceSetScenario(instance: RID, scenario: RID): void { _C($(), 7669, instance, scenario); }
2171
+ static instanceSetScenario(instance: RID, scenario: RID): void { _C($(), 7824, instance, scenario); }
2127
2172
 
2128
2173
  /**
2129
2174
  * Sets the render layers that this instance will be drawn to. Equivalent to {@link VisualInstance3D.layers}.
2130
2175
  */
2131
- static instanceSetLayerMask(instance: RID, mask: number /* uint32 */): void { _C($(), 7667, instance, mask); }
2176
+ static instanceSetLayerMask(instance: RID, mask: number /* uint32 */): void { _C($(), 7822, instance, mask); }
2132
2177
 
2133
2178
  /**
2134
2179
  * Sets the sorting offset and switches between using the bounding box or instance origin for depth sorting.
2135
2180
  */
2136
- static instanceSetPivotData(instance: RID, sortingOffset: number, useAabbCenter: boolean): void { _C($(), 7668, instance, sortingOffset, useAabbCenter); }
2181
+ static instanceSetPivotData(instance: RID, sortingOffset: number, useAabbCenter: boolean): void { _C($(), 7823, instance, sortingOffset, useAabbCenter); }
2137
2182
 
2138
2183
  /**
2139
2184
  * Sets the world space transform of the instance. Equivalent to {@link Node3D.globalTransform}.
2140
2185
  */
2141
- static instanceSetTransform(instance: RID, transform: Transform3D): void { _C($(), 7671, instance, transform); }
2186
+ static instanceSetTransform(instance: RID, transform: Transform3D): void { _C($(), 7826, instance, transform); }
2142
2187
 
2143
2188
  /**
2144
2189
  * Attaches a unique Object ID to instance. Object ID must be attached to instance for proper culling with {@link instancesCullAabb}, {@link instancesCullConvex}, and {@link instancesCullRay}.
2145
2190
  */
2146
- static instanceAttachObjectInstanceId(instance: RID, id: number /* uint64 */): void { _C($(), 7640, instance, id); }
2191
+ static instanceAttachObjectInstanceId(instance: RID, id: number /* uint64 */): void { _C($(), 7795, instance, id); }
2147
2192
 
2148
2193
  /**
2149
2194
  * Sets the weight for a given blend shape associated with this instance.
2150
2195
  */
2151
- static instanceSetBlendShapeWeight(instance: RID, shape: number, weight: number): void { _C($(), 7663, instance, shape, weight); }
2196
+ static instanceSetBlendShapeWeight(instance: RID, shape: number, weight: number): void { _C($(), 7818, instance, shape, weight); }
2152
2197
 
2153
2198
  /**
2154
2199
  * Sets the override material of a specific surface. Equivalent to {@link MeshInstance3D.setSurfaceOverrideMaterial}.
2155
2200
  */
2156
- static instanceSetSurfaceOverrideMaterial(instance: RID, surface: number, material: RID): void { _C($(), 7670, instance, surface, material); }
2201
+ static instanceSetSurfaceOverrideMaterial(instance: RID, surface: number, material: RID): void { _C($(), 7825, instance, surface, material); }
2157
2202
 
2158
2203
  /**
2159
2204
  * Sets whether an instance is drawn or not. Equivalent to {@link Node3D.visible}.
2160
2205
  */
2161
- static instanceSetVisible(instance: RID, visible: boolean): void { _C($(), 7673, instance, visible); }
2206
+ static instanceSetVisible(instance: RID, visible: boolean): void { _C($(), 7828, instance, visible); }
2162
2207
 
2163
2208
  /**
2164
2209
  * Sets the transparency for the given geometry instance. Equivalent to {@link GeometryInstance3D.transparency}.
@@ -2166,698 +2211,698 @@ export class RenderingServer extends GodotVar {
2166
2211
  * In spatial shaders, `1.0 - transparency` is set as the default value of the `ALPHA` built-in.
2167
2212
  * **Note:** `transparency` is clamped between `0.0` and `1.0`, so this property cannot be used to make transparent materials more opaque than they originally are.
2168
2213
  */
2169
- static instanceGeometrySetTransparency(instance: RID, transparency: number): void { _C($(), 7657, instance, transparency); }
2214
+ static instanceGeometrySetTransparency(instance: RID, transparency: number): void { _C($(), 7812, instance, transparency); }
2170
2215
 
2171
2216
  /**
2172
2217
  * Resets motion vectors and other interpolated values. Use this *after* teleporting a mesh from one position to another to avoid ghosting artifacts.
2173
2218
  */
2174
- static instanceTeleport(instance: RID): void { _C($(), 7674, instance); }
2219
+ static instanceTeleport(instance: RID): void { _C($(), 7829, instance); }
2175
2220
 
2176
2221
  /**
2177
2222
  * Sets a custom AABB to use when culling objects from the view frustum. Equivalent to setting {@link GeometryInstance3D.customAabb}.
2178
2223
  */
2179
- static instanceSetCustomAabb(instance: RID, aabb: AABB): void { _C($(), 7664, instance, aabb); }
2224
+ static instanceSetCustomAabb(instance: RID, aabb: AABB): void { _C($(), 7819, instance, aabb); }
2180
2225
 
2181
2226
  /**
2182
2227
  * Attaches a skeleton to an instance. Removes the previous skeleton from the instance.
2183
2228
  */
2184
- static instanceAttachSkeleton(instance: RID, skeleton: RID): void { _C($(), 7641, instance, skeleton); }
2229
+ static instanceAttachSkeleton(instance: RID, skeleton: RID): void { _C($(), 7796, instance, skeleton); }
2185
2230
 
2186
2231
  /**
2187
2232
  * Sets a margin to increase the size of the AABB when culling objects from the view frustum. This allows you to avoid culling objects that fall outside the view frustum. Equivalent to {@link GeometryInstance3D.extraCullMargin}.
2188
2233
  */
2189
- static instanceSetExtraVisibilityMargin(instance: RID, margin: number): void { _C($(), 7665, instance, margin); }
2234
+ static instanceSetExtraVisibilityMargin(instance: RID, margin: number): void { _C($(), 7820, instance, margin); }
2190
2235
 
2191
2236
  /**
2192
2237
  * Sets the visibility parent for the given instance. Equivalent to {@link Node3D.visibilityParent}.
2193
2238
  */
2194
- static instanceSetVisibilityParent(instance: RID, parent: RID): void { _C($(), 7672, instance, parent); }
2239
+ static instanceSetVisibilityParent(instance: RID, parent: RID): void { _C($(), 7827, instance, parent); }
2195
2240
 
2196
2241
  /**
2197
2242
  * If `true`, ignores all culling on the specified 3D geometry instance, including frustum culling, occlusion culling, and layer culling. This is not the same as {@link GeometryInstance3D.ignoreOcclusionCulling}, which only ignores occlusion culling but leaves frustum and layer culling intact.
2198
2243
  */
2199
- static instanceSetIgnoreCulling(instance: RID, enabled: boolean): void { _C($(), 7666, instance, enabled); }
2244
+ static instanceSetIgnoreCulling(instance: RID, enabled: boolean): void { _C($(), 7821, instance, enabled); }
2200
2245
 
2201
2246
  /**
2202
2247
  * Sets the `flag` for a given `instance` to `enabled`.
2203
2248
  */
2204
- static instanceGeometrySetFlag(instance: RID, flag: InstanceFlags, enabled: boolean): void { _C($(), 7651, instance, flag, enabled); }
2249
+ static instanceGeometrySetFlag(instance: RID, flag: InstanceFlags, enabled: boolean): void { _C($(), 7806, instance, flag, enabled); }
2205
2250
 
2206
2251
  /**
2207
2252
  * Sets the shadow casting setting. Equivalent to {@link GeometryInstance3D.castShadow}.
2208
2253
  */
2209
- static instanceGeometrySetCastShadowsSetting(instance: RID, shadowCastingSetting: ShadowCastingSetting): void { _C($(), 7650, instance, shadowCastingSetting); }
2254
+ static instanceGeometrySetCastShadowsSetting(instance: RID, shadowCastingSetting: ShadowCastingSetting): void { _C($(), 7805, instance, shadowCastingSetting); }
2210
2255
 
2211
2256
  /**
2212
2257
  * Sets a material that will override the material for all surfaces on the mesh associated with this instance. Equivalent to {@link GeometryInstance3D.materialOverride}.
2213
2258
  */
2214
- static instanceGeometrySetMaterialOverride(instance: RID, material: RID): void { _C($(), 7655, instance, material); }
2259
+ static instanceGeometrySetMaterialOverride(instance: RID, material: RID): void { _C($(), 7810, instance, material); }
2215
2260
 
2216
2261
  /**
2217
2262
  * Sets a material that will be rendered for all surfaces on top of active materials for the mesh associated with this instance. Equivalent to {@link GeometryInstance3D.materialOverlay}.
2218
2263
  */
2219
- static instanceGeometrySetMaterialOverlay(instance: RID, material: RID): void { _C($(), 7654, instance, material); }
2264
+ static instanceGeometrySetMaterialOverlay(instance: RID, material: RID): void { _C($(), 7809, instance, material); }
2220
2265
 
2221
2266
  /**
2222
2267
  * Sets the visibility range values for the given geometry instance. Equivalent to {@link GeometryInstance3D.visibilityRangeBegin} and related properties.
2223
2268
  */
2224
- static instanceGeometrySetVisibilityRange(instance: RID, min: number, max: number, minMargin: number, maxMargin: number, fadeMode: VisibilityRangeFadeMode): void { _C($(), 7658, instance, min, max, minMargin, maxMargin, fadeMode); }
2269
+ static instanceGeometrySetVisibilityRange(instance: RID, min: number, max: number, minMargin: number, maxMargin: number, fadeMode: VisibilityRangeFadeMode): void { _C($(), 7813, instance, min, max, minMargin, maxMargin, fadeMode); }
2225
2270
 
2226
2271
  /**
2227
2272
  * Sets the lightmap GI instance to use for the specified 3D geometry instance. The lightmap UV scale for the specified instance (equivalent to {@link GeometryInstance3D.giLightmapScale}) and lightmap atlas slice must also be specified.
2228
2273
  */
2229
- static instanceGeometrySetLightmap(instance: RID, lightmap: RID, lightmapUvScale: Rect2, lightmapSlice: number): void { _C($(), 7652, instance, lightmap, lightmapUvScale, lightmapSlice); }
2274
+ static instanceGeometrySetLightmap(instance: RID, lightmap: RID, lightmapUvScale: Rect2, lightmapSlice: number): void { _C($(), 7807, instance, lightmap, lightmapUvScale, lightmapSlice); }
2230
2275
 
2231
2276
  /**
2232
2277
  * Sets the level of detail bias to use when rendering the specified 3D geometry instance. Higher values result in higher detail from further away. Equivalent to {@link GeometryInstance3D.lodBias}.
2233
2278
  */
2234
- static instanceGeometrySetLodBias(instance: RID, lodBias: number): void { _C($(), 7653, instance, lodBias); }
2279
+ static instanceGeometrySetLodBias(instance: RID, lodBias: number): void { _C($(), 7808, instance, lodBias); }
2235
2280
 
2236
2281
  /**
2237
2282
  * Sets the per-instance shader uniform on the specified 3D geometry instance. Equivalent to {@link GeometryInstance3D.setInstanceShaderParameter}.
2238
2283
  */
2239
- static instanceGeometrySetShaderParameter(instance: RID, parameter: StringName, value: Variant): void { _C($(), 7656, instance, parameter, value); }
2284
+ static instanceGeometrySetShaderParameter(instance: RID, parameter: StringName, value: Variant): void { _C($(), 7811, instance, parameter, value); }
2240
2285
 
2241
2286
  /**
2242
2287
  * Returns the value of the per-instance shader uniform from the specified 3D geometry instance. Equivalent to {@link GeometryInstance3D.getInstanceShaderParameter}.
2243
2288
  * **Note:** Per-instance shader parameter names are case-sensitive.
2244
2289
  */
2245
- static instanceGeometryGetShaderParameter(instance: RID, parameter: StringName): Variant { return _C($(), 7647, instance, parameter) as Variant; }
2290
+ static instanceGeometryGetShaderParameter(instance: RID, parameter: StringName): Variant { return _C($(), 7802, instance, parameter) as Variant; }
2246
2291
 
2247
2292
  /**
2248
2293
  * Returns the default value of the per-instance shader uniform from the specified 3D geometry instance. Equivalent to {@link GeometryInstance3D.getInstanceShaderParameter}.
2249
2294
  */
2250
- static instanceGeometryGetShaderParameterDefaultValue(instance: RID, parameter: StringName): Variant { return _C($(), 7648, instance, parameter) as Variant; }
2295
+ static instanceGeometryGetShaderParameterDefaultValue(instance: RID, parameter: StringName): Variant { return _C($(), 7803, instance, parameter) as Variant; }
2251
2296
 
2252
2297
  /**
2253
2298
  * Returns a dictionary of per-instance shader uniform names of the per-instance shader uniform from the specified 3D geometry instance. The returned dictionary is in PropertyInfo format, with the keys `name`, `class_name`, `type`, `hint`, `hint_string` and `usage`. Equivalent to {@link GeometryInstance3D.getInstanceShaderParameter}.
2254
2299
  */
2255
- static instanceGeometryGetShaderParameterList(instance: RID): GodotArray<GodotDictionary> { return _C($(), 7649, instance) as GodotArray<GodotDictionary>; }
2300
+ static instanceGeometryGetShaderParameterList(instance: RID): GodotArray<GodotDictionary> { return _C($(), 7804, instance) as GodotArray<GodotDictionary>; }
2256
2301
 
2257
2302
  /**
2258
2303
  * Returns an array of object IDs intersecting with the provided AABB. Only 3D nodes that inherit from {@link VisualInstance3D} are considered, such as {@link MeshInstance3D} or {@link DirectionalLight3D}. Use {@link instanceFromId} to obtain the actual nodes. A scenario RID must be provided, which is available in the {@link World3D} you want to query. This forces an update for all resources queued to update.
2259
2304
  * **Warning:** This function is primarily intended for editor usage. For in-game use cases, prefer physics collision.
2260
2305
  */
2261
- static instancesCullAabb(aabb: AABB, scenario?: RID /* = RID() */): PackedInt64Array { return _C($(), 7675, aabb, scenario) as PackedInt64Array; }
2306
+ static instancesCullAabb(aabb: AABB, scenario?: RID /* = RID() */): PackedInt64Array { return _C($(), 7830, aabb, scenario) as PackedInt64Array; }
2262
2307
 
2263
2308
  /**
2264
2309
  * Returns an array of object IDs intersecting with the provided 3D ray. Only 3D nodes that inherit from {@link VisualInstance3D} are considered, such as {@link MeshInstance3D} or {@link DirectionalLight3D}. Use {@link instanceFromId} to obtain the actual nodes. A scenario RID must be provided, which is available in the {@link World3D} you want to query. This forces an update for all resources queued to update.
2265
2310
  * **Warning:** This function is primarily intended for editor usage. For in-game use cases, prefer physics collision.
2266
2311
  */
2267
- static instancesCullRay(from: Vector3, to: Vector3, scenario?: RID /* = RID() */): PackedInt64Array { return _C($(), 7677, from, to, scenario) as PackedInt64Array; }
2312
+ static instancesCullRay(from: Vector3, to: Vector3, scenario?: RID /* = RID() */): PackedInt64Array { return _C($(), 7832, from, to, scenario) as PackedInt64Array; }
2268
2313
 
2269
2314
  /**
2270
2315
  * Returns an array of object IDs intersecting with the provided convex shape. Only 3D nodes that inherit from {@link VisualInstance3D} are considered, such as {@link MeshInstance3D} or {@link DirectionalLight3D}. Use {@link instanceFromId} to obtain the actual nodes. A scenario RID must be provided, which is available in the {@link World3D} you want to query. This forces an update for all resources queued to update.
2271
2316
  * **Warning:** This function is primarily intended for editor usage. For in-game use cases, prefer physics collision.
2272
2317
  */
2273
- static instancesCullConvex(convex: GodotArray<Plane>, scenario?: RID /* = RID() */): PackedInt64Array { return _C($(), 7676, convex, scenario) as PackedInt64Array; }
2318
+ static instancesCullConvex(convex: GodotArray<Plane>, scenario?: RID /* = RID() */): PackedInt64Array { return _C($(), 7831, convex, scenario) as PackedInt64Array; }
2274
2319
 
2275
2320
  /**
2276
2321
  * Bakes the material data of the Mesh passed in the `base` parameter with optional `materialOverrides` to a set of {@link Image}s of size `imageSize`. Returns an array of {@link Image}s containing material properties as specified in {@link BakeChannels}.
2277
2322
  */
2278
- static bakeRenderUv2(base: RID, materialOverrides: GodotArray<RID>, imageSize: Vector2i): GodotArray<Image> { return _C($(), 1721, base, materialOverrides, imageSize) as GodotArray<Image>; }
2323
+ static bakeRenderUv2(base: RID, materialOverrides: GodotArray<RID>, imageSize: Vector2i): GodotArray<Image> { return _C($(), 1753, base, materialOverrides, imageSize) as GodotArray<Image>; }
2279
2324
 
2280
2325
  /**
2281
2326
  * Creates a canvas and returns the assigned {@link RID}. It can be accessed with the RID that is returned. This RID will be used in all `canvas_*` RenderingServer functions.
2282
2327
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
2283
2328
  * Canvas has no {@link Resource} or {@link Node} equivalent.
2284
2329
  */
2285
- static canvasCreate(): RID { return _C($(), 2027) as RID; }
2330
+ static canvasCreate(): RID { return _C($(), 2060) as RID; }
2286
2331
 
2287
2332
  /**
2288
2333
  * A copy of the canvas item will be drawn with a local offset of the `mirroring`.
2289
2334
  * **Note:** This is equivalent to calling {@link canvasSetItemRepeat} like `canvas_set_item_repeat(item, mirroring, 1)`, with an additional check ensuring `canvas` is a parent of `item`.
2290
2335
  */
2291
- static canvasSetItemMirroring(canvas: RID, item: RID, mirroring: Vector2): void { _C($(), 2121, canvas, item, mirroring); }
2336
+ static canvasSetItemMirroring(canvas: RID, item: RID, mirroring: Vector2): void { _C($(), 2154, canvas, item, mirroring); }
2292
2337
 
2293
2338
  /**
2294
2339
  * A copy of the canvas item will be drawn with a local offset of the `repeatSize` by the number of times of the `repeatTimes`. As the `repeatTimes` increases, the copies will spread away from the origin texture.
2295
2340
  */
2296
- static canvasSetItemRepeat(item: RID, repeatSize: Vector2, repeatTimes: number): void { _C($(), 2122, item, repeatSize, repeatTimes); }
2341
+ static canvasSetItemRepeat(item: RID, repeatSize: Vector2, repeatTimes: number): void { _C($(), 2155, item, repeatSize, repeatTimes); }
2297
2342
 
2298
2343
  /**
2299
2344
  * Modulates all colors in the given canvas.
2300
2345
  */
2301
- static canvasSetModulate(canvas: RID, color: Color): void { _C($(), 2123, canvas, color); }
2346
+ static canvasSetModulate(canvas: RID, color: Color): void { _C($(), 2156, canvas, color); }
2302
2347
 
2303
2348
  /**
2304
2349
  * If `disable` is `true`, makes 2D rendering ignore the canvas scale defined for each canvas layer. This affects {@link CanvasLayer}s with the {@link CanvasLayer.followViewportEnabled} property set to `true`.
2305
2350
  * In the editor, this is set to `true` by default, and set to `false` when **View > Preview Canvas Scale** is enabled at the top of the 2D editor viewport.
2306
2351
  * **Note:** Setting this to `true` does not impact the behavior of {@link CanvasLayer.scale}, {@link Node2D.scale}, or {@link Control.scale}.
2307
2352
  */
2308
- static canvasSetDisableScale(disable: boolean): void { _C($(), 2120, disable); }
2353
+ static canvasSetDisableScale(disable: boolean): void { _C($(), 2153, disable); }
2309
2354
 
2310
2355
  /**
2311
2356
  * Creates a canvas texture and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `canvas_texture_*` RenderingServer functions.
2312
2357
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method. See also {@link texture2dCreate}.
2313
2358
  * **Note:** The equivalent resource is {@link CanvasTexture} and is only meant to be used in 2D rendering, not 3D.
2314
2359
  */
2315
- static canvasTextureCreate(): RID { return _C($(), 2125) as RID; }
2360
+ static canvasTextureCreate(): RID { return _C($(), 2158) as RID; }
2316
2361
 
2317
2362
  /**
2318
2363
  * Sets the `channel`'s `texture` for the canvas texture specified by the `canvasTexture` RID. Equivalent to {@link CanvasTexture.diffuseTexture}, {@link CanvasTexture.normalTexture} and {@link CanvasTexture.specularTexture}.
2319
2364
  */
2320
- static canvasTextureSetChannel(canvasTexture: RID, channel: CanvasTextureChannel, texture: RID): void { _C($(), 2126, canvasTexture, channel, texture); }
2365
+ static canvasTextureSetChannel(canvasTexture: RID, channel: CanvasTextureChannel, texture: RID): void { _C($(), 2159, canvasTexture, channel, texture); }
2321
2366
 
2322
2367
  /**
2323
2368
  * Sets the `baseColor` and `shininess` to use for the canvas texture specified by the `canvasTexture` RID. Equivalent to {@link CanvasTexture.specularColor} and {@link CanvasTexture.specularShininess}.
2324
2369
  */
2325
- static canvasTextureSetShadingParameters(canvasTexture: RID, baseColor: Color, shininess: number): void { _C($(), 2127, canvasTexture, baseColor, shininess); }
2370
+ static canvasTextureSetShadingParameters(canvasTexture: RID, baseColor: Color, shininess: number): void { _C($(), 2160, canvasTexture, baseColor, shininess); }
2326
2371
 
2327
2372
  /**
2328
2373
  * Sets the texture `filter` mode to use for the canvas texture specified by the `canvasTexture` RID.
2329
2374
  */
2330
- static canvasTextureSetTextureFilter(canvasTexture: RID, filter: CanvasItemTextureFilter): void { _C($(), 2128, canvasTexture, filter); }
2375
+ static canvasTextureSetTextureFilter(canvasTexture: RID, filter: CanvasItemTextureFilter): void { _C($(), 2161, canvasTexture, filter); }
2331
2376
 
2332
2377
  /**
2333
2378
  * Sets the texture `repeat` mode to use for the canvas texture specified by the `canvasTexture` RID.
2334
2379
  */
2335
- static canvasTextureSetTextureRepeat(canvasTexture: RID, repeat: CanvasItemTextureRepeat): void { _C($(), 2129, canvasTexture, repeat); }
2380
+ static canvasTextureSetTextureRepeat(canvasTexture: RID, repeat: CanvasItemTextureRepeat): void { _C($(), 2162, canvasTexture, repeat); }
2336
2381
 
2337
2382
  /**
2338
2383
  * Creates a new CanvasItem instance and returns its {@link RID}. It can be accessed with the RID that is returned. This RID will be used in all `canvas_item_*` RenderingServer functions.
2339
2384
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
2340
2385
  * **Note:** The equivalent node is {@link CanvasItem}.
2341
2386
  */
2342
- static canvasItemCreate(): RID { return _C($(), 2052) as RID; }
2387
+ static canvasItemCreate(): RID { return _C($(), 2085) as RID; }
2343
2388
 
2344
2389
  /**
2345
2390
  * Sets a parent {@link CanvasItem} to the {@link CanvasItem}. The item will inherit transform, modulation and visibility from its parent, like {@link CanvasItem} nodes in the scene tree.
2346
2391
  */
2347
- static canvasItemSetParent(item: RID, parent: RID): void { _C($(), 2073, item, parent); }
2392
+ static canvasItemSetParent(item: RID, parent: RID): void { _C($(), 2106, item, parent); }
2348
2393
 
2349
2394
  /**
2350
2395
  * Sets the default texture filter mode for the canvas item specified by the `item` RID. Equivalent to {@link CanvasItem.textureFilter}.
2351
2396
  */
2352
- static canvasItemSetDefaultTextureFilter(item: RID, filter: CanvasItemTextureFilter): void { _C($(), 2063, item, filter); }
2397
+ static canvasItemSetDefaultTextureFilter(item: RID, filter: CanvasItemTextureFilter): void { _C($(), 2096, item, filter); }
2353
2398
 
2354
2399
  /**
2355
2400
  * Sets the default texture repeat mode for the canvas item specified by the `item` RID. Equivalent to {@link CanvasItem.textureRepeat}.
2356
2401
  */
2357
- static canvasItemSetDefaultTextureRepeat(item: RID, repeat: CanvasItemTextureRepeat): void { _C($(), 2064, item, repeat); }
2402
+ static canvasItemSetDefaultTextureRepeat(item: RID, repeat: CanvasItemTextureRepeat): void { _C($(), 2097, item, repeat); }
2358
2403
 
2359
2404
  /**
2360
2405
  * Sets the visibility of the {@link CanvasItem}.
2361
2406
  */
2362
- static canvasItemSetVisible(item: RID, visible: boolean): void { _C($(), 2080, item, visible); }
2407
+ static canvasItemSetVisible(item: RID, visible: boolean): void { _C($(), 2113, item, visible); }
2363
2408
 
2364
2409
  /**
2365
2410
  * Sets the light `mask` for the canvas item specified by the `item` RID. Equivalent to {@link CanvasItem.lightMask}.
2366
2411
  */
2367
- static canvasItemSetLightMask(item: RID, mask: number): void { _C($(), 2070, item, mask); }
2412
+ static canvasItemSetLightMask(item: RID, mask: number): void { _C($(), 2103, item, mask); }
2368
2413
 
2369
2414
  /**
2370
2415
  * Sets the rendering visibility layer associated with this {@link CanvasItem}. Only {@link Viewport} nodes with a matching rendering mask will render this {@link CanvasItem}.
2371
2416
  */
2372
- static canvasItemSetVisibilityLayer(item: RID, visibilityLayer: number /* uint32 */): void { _C($(), 2078, item, visibilityLayer); }
2417
+ static canvasItemSetVisibilityLayer(item: RID, visibilityLayer: number /* uint32 */): void { _C($(), 2111, item, visibilityLayer); }
2373
2418
 
2374
2419
  /**
2375
2420
  * Sets the `transform` of the canvas item specified by the `item` RID. This affects where and how the item will be drawn. Child canvas items' transforms are multiplied by their parent's transform. Equivalent to {@link Node2D.transform}.
2376
2421
  */
2377
- static canvasItemSetTransform(item: RID, transform: Transform2D): void { _C($(), 2076, item, transform); }
2422
+ static canvasItemSetTransform(item: RID, transform: Transform2D): void { _C($(), 2109, item, transform); }
2378
2423
 
2379
2424
  /**
2380
2425
  * If `clip` is `true`, makes the canvas item specified by the `item` RID not draw anything outside of its rect's coordinates. This clipping is fast, but works only with axis-aligned rectangles. This means that rotation is ignored by the clipping rectangle. For more advanced clipping shapes, use {@link canvasItemSetCanvasGroupMode} instead.
2381
2426
  * **Note:** The equivalent node functionality is found in {@link Label.clipText}, {@link RichTextLabel} (always enabled) and more.
2382
2427
  */
2383
- static canvasItemSetClip(item: RID, clip: boolean): void { _C($(), 2060, item, clip); }
2428
+ static canvasItemSetClip(item: RID, clip: boolean): void { _C($(), 2093, item, clip); }
2384
2429
 
2385
2430
  /**
2386
2431
  * If `enabled` is `true`, enables multichannel signed distance field rendering mode for the canvas item specified by the `item` RID. This is meant to be used for font rendering, or with specially generated images using [msdfgen](https://github.com/Chlumsky/msdfgen).
2387
2432
  */
2388
- static canvasItemSetDistanceFieldMode(item: RID, enabled: boolean): void { _C($(), 2065, item, enabled); }
2433
+ static canvasItemSetDistanceFieldMode(item: RID, enabled: boolean): void { _C($(), 2098, item, enabled); }
2389
2434
 
2390
2435
  /**
2391
2436
  * If `useCustomRect` is `true`, sets the custom visibility rectangle (used for culling) to `rect` for the canvas item specified by `item`. Setting a custom visibility rect can reduce CPU load when drawing lots of 2D instances. If `useCustomRect` is `false`, automatically computes a visibility rectangle based on the canvas item's draw commands.
2392
2437
  */
2393
- static canvasItemSetCustomRect(item: RID, useCustomRect: boolean, rect?: Rect2 /* = Rect2(0, 0, 0, 0) */): void { _C($(), 2062, item, useCustomRect, rect); }
2438
+ static canvasItemSetCustomRect(item: RID, useCustomRect: boolean, rect?: Rect2 /* = Rect2(0, 0, 0, 0) */): void { _C($(), 2095, item, useCustomRect, rect); }
2394
2439
 
2395
2440
  /**
2396
2441
  * Multiplies the color of the canvas item specified by the `item` RID, while affecting its children. See also {@link canvasItemSetSelfModulate}. Equivalent to {@link CanvasItem.modulate}.
2397
2442
  */
2398
- static canvasItemSetModulate(item: RID, color: Color): void { _C($(), 2072, item, color); }
2443
+ static canvasItemSetModulate(item: RID, color: Color): void { _C($(), 2105, item, color); }
2399
2444
 
2400
2445
  /**
2401
2446
  * Multiplies the color of the canvas item specified by the `item` RID, without affecting its children. See also {@link canvasItemSetModulate}. Equivalent to {@link CanvasItem.selfModulate}.
2402
2447
  */
2403
- static canvasItemSetSelfModulate(item: RID, color: Color): void { _C($(), 2074, item, color); }
2448
+ static canvasItemSetSelfModulate(item: RID, color: Color): void { _C($(), 2107, item, color); }
2404
2449
 
2405
2450
  /**
2406
2451
  * If `enabled` is `true`, draws the canvas item specified by the `item` RID behind its parent. Equivalent to {@link CanvasItem.showBehindParent}.
2407
2452
  */
2408
- static canvasItemSetDrawBehindParent(item: RID, enabled: boolean): void { _C($(), 2066, item, enabled); }
2453
+ static canvasItemSetDrawBehindParent(item: RID, enabled: boolean): void { _C($(), 2099, item, enabled); }
2409
2454
 
2410
2455
  /**
2411
2456
  * If `interpolated` is `true`, turns on physics interpolation for the canvas item.
2412
2457
  */
2413
- static canvasItemSetInterpolated(item: RID, interpolated: boolean): void { _C($(), 2069, item, interpolated); }
2458
+ static canvasItemSetInterpolated(item: RID, interpolated: boolean): void { _C($(), 2102, item, interpolated); }
2414
2459
 
2415
2460
  /**
2416
2461
  * Prevents physics interpolation for the current physics tick.
2417
2462
  * This is useful when moving a canvas item to a new location, to give an instantaneous change rather than interpolation from the previous location.
2418
2463
  */
2419
- static canvasItemResetPhysicsInterpolation(item: RID): void { _C($(), 2058, item); }
2464
+ static canvasItemResetPhysicsInterpolation(item: RID): void { _C($(), 2091, item); }
2420
2465
 
2421
2466
  /**
2422
2467
  * Transforms both the current and previous stored transform for a canvas item.
2423
2468
  * This allows transforming a canvas item without creating a "glitch" in the interpolation, which is particularly useful for large worlds utilizing a shifting origin.
2424
2469
  */
2425
- static canvasItemTransformPhysicsInterpolation(item: RID, transform: Transform2D): void { _C($(), 2083, item, transform); }
2470
+ static canvasItemTransformPhysicsInterpolation(item: RID, transform: Transform2D): void { _C($(), 2116, item, transform); }
2426
2471
 
2427
2472
  /**
2428
2473
  * Draws a line on the {@link CanvasItem} pointed to by the `item` {@link RID}. See also {@link CanvasItem.drawLine}.
2429
2474
  */
2430
- static canvasItemAddLine(item: RID, from: Vector2, to: Vector2, color: Color, width?: number /* = -1.0 */, antialiased?: boolean /* = false */): void { _C($(), 2035, item, from, to, color, width, antialiased); }
2475
+ static canvasItemAddLine(item: RID, from: Vector2, to: Vector2, color: Color, width?: number /* = -1.0 */, antialiased?: boolean /* = false */): void { _C($(), 2068, item, from, to, color, width, antialiased); }
2431
2476
 
2432
2477
  /**
2433
2478
  * Draws a 2D polyline on the {@link CanvasItem} pointed to by the `item` {@link RID}. See also {@link CanvasItem.drawPolyline} and {@link CanvasItem.drawPolylineColors}.
2434
2479
  */
2435
- static canvasItemAddPolyline(item: RID, points: PackedVector2Array, colors: PackedColorArray, width?: number /* = -1.0 */, antialiased?: boolean /* = false */): void { _C($(), 2043, item, points, colors, width, antialiased); }
2480
+ static canvasItemAddPolyline(item: RID, points: PackedVector2Array, colors: PackedColorArray, width?: number /* = -1.0 */, antialiased?: boolean /* = false */): void { _C($(), 2076, item, points, colors, width, antialiased); }
2436
2481
 
2437
2482
  /**
2438
2483
  * Draws a 2D multiline on the {@link CanvasItem} pointed to by the `item` {@link RID}. See also {@link CanvasItem.drawMultiline} and {@link CanvasItem.drawMultilineColors}.
2439
2484
  */
2440
- static canvasItemAddMultiline(item: RID, points: PackedVector2Array, colors: PackedColorArray, width?: number /* = -1.0 */, antialiased?: boolean /* = false */): void { _C($(), 2038, item, points, colors, width, antialiased); }
2485
+ static canvasItemAddMultiline(item: RID, points: PackedVector2Array, colors: PackedColorArray, width?: number /* = -1.0 */, antialiased?: boolean /* = false */): void { _C($(), 2071, item, points, colors, width, antialiased); }
2441
2486
 
2442
2487
  /**
2443
2488
  * Draws a rectangle on the {@link CanvasItem} pointed to by the `item` {@link RID}. See also {@link CanvasItem.drawRect}.
2444
2489
  */
2445
- static canvasItemAddRect(item: RID, rect: Rect2, color: Color, antialiased?: boolean /* = false */): void { _C($(), 2045, item, rect, color, antialiased); }
2490
+ static canvasItemAddRect(item: RID, rect: Rect2, color: Color, antialiased?: boolean /* = false */): void { _C($(), 2078, item, rect, color, antialiased); }
2446
2491
 
2447
2492
  /**
2448
2493
  * Draws a circle on the {@link CanvasItem} pointed to by the `item` {@link RID}. See also {@link CanvasItem.drawCircle}.
2449
2494
  */
2450
- static canvasItemAddCircle(item: RID, pos: Vector2, radius: number, color: Color, antialiased?: boolean /* = false */): void { _C($(), 2031, item, pos, radius, color, antialiased); }
2495
+ static canvasItemAddCircle(item: RID, pos: Vector2, radius: number, color: Color, antialiased?: boolean /* = false */): void { _C($(), 2064, item, pos, radius, color, antialiased); }
2451
2496
 
2452
2497
  /**
2453
2498
  * Draws an ellipse with semi-major axis `major` and semi-minor axis `minor` on the {@link CanvasItem} pointed to by the `item` {@link RID}. See also {@link CanvasItem.drawEllipse}.
2454
2499
  */
2455
- static canvasItemAddEllipse(item: RID, pos: Vector2, major: number, minor: number, color: Color, antialiased?: boolean /* = false */): void { _C($(), 2033, item, pos, major, minor, color, antialiased); }
2500
+ static canvasItemAddEllipse(item: RID, pos: Vector2, major: number, minor: number, color: Color, antialiased?: boolean /* = false */): void { _C($(), 2066, item, pos, major, minor, color, antialiased); }
2456
2501
 
2457
2502
  /**
2458
2503
  * Draws a 2D textured rectangle on the {@link CanvasItem} pointed to by the `item` {@link RID}. See also {@link CanvasItem.drawTextureRect} and {@link Texture2D.drawRect}.
2459
2504
  */
2460
- static canvasItemAddTextureRect(item: RID, rect: Rect2, texture: RID, tile?: boolean /* = false */, modulate?: Color /* = Color(1, 1, 1, 1) */, transpose?: boolean /* = false */): void { _C($(), 2047, item, rect, texture, tile, modulate, transpose); }
2505
+ static canvasItemAddTextureRect(item: RID, rect: Rect2, texture: RID, tile?: boolean /* = false */, modulate?: Color /* = Color(1, 1, 1, 1) */, transpose?: boolean /* = false */): void { _C($(), 2080, item, rect, texture, tile, modulate, transpose); }
2461
2506
 
2462
2507
  /**
2463
2508
  * See also {@link CanvasItem.drawMsdfTextureRectRegion}.
2464
2509
  */
2465
- static canvasItemAddMsdfTextureRectRegion(item: RID, rect: Rect2, texture: RID, srcRect: Rect2, modulate?: Color /* = Color(1, 1, 1, 1) */, outlineSize?: number /* = 0 */, pxRange?: number /* = 1.0 */, scale?: number /* = 1.0 */): void { _C($(), 2037, item, rect, texture, srcRect, modulate, outlineSize, pxRange, scale); }
2510
+ static canvasItemAddMsdfTextureRectRegion(item: RID, rect: Rect2, texture: RID, srcRect: Rect2, modulate?: Color /* = Color(1, 1, 1, 1) */, outlineSize?: number /* = 0 */, pxRange?: number /* = 1.0 */, scale?: number /* = 1.0 */): void { _C($(), 2070, item, rect, texture, srcRect, modulate, outlineSize, pxRange, scale); }
2466
2511
 
2467
2512
  /**
2468
2513
  * See also {@link CanvasItem.drawLcdTextureRectRegion}.
2469
2514
  */
2470
- static canvasItemAddLcdTextureRectRegion(item: RID, rect: Rect2, texture: RID, srcRect: Rect2, modulate: Color): void { _C($(), 2034, item, rect, texture, srcRect, modulate); }
2515
+ static canvasItemAddLcdTextureRectRegion(item: RID, rect: Rect2, texture: RID, srcRect: Rect2, modulate: Color): void { _C($(), 2067, item, rect, texture, srcRect, modulate); }
2471
2516
 
2472
2517
  /**
2473
2518
  * Draws the specified region of a 2D textured rectangle on the {@link CanvasItem} pointed to by the `item` {@link RID}. See also {@link CanvasItem.drawTextureRectRegion} and {@link Texture2D.drawRectRegion}.
2474
2519
  */
2475
- static canvasItemAddTextureRectRegion(item: RID, rect: Rect2, texture: RID, srcRect: Rect2, modulate?: Color /* = Color(1, 1, 1, 1) */, transpose?: boolean /* = false */, clipUv?: boolean /* = true */): void { _C($(), 2048, item, rect, texture, srcRect, modulate, transpose, clipUv); }
2520
+ static canvasItemAddTextureRectRegion(item: RID, rect: Rect2, texture: RID, srcRect: Rect2, modulate?: Color /* = Color(1, 1, 1, 1) */, transpose?: boolean /* = false */, clipUv?: boolean /* = true */): void { _C($(), 2081, item, rect, texture, srcRect, modulate, transpose, clipUv); }
2476
2521
 
2477
2522
  /**
2478
2523
  * Draws a nine-patch rectangle on the {@link CanvasItem} pointed to by the `item` {@link RID}.
2479
2524
  */
2480
- static canvasItemAddNinePatch(item: RID, rect: Rect2, source: Rect2, texture: RID, topleft: Vector2, bottomright: Vector2, xAxisMode?: NinePatchAxisMode /* = 0 */, yAxisMode?: NinePatchAxisMode /* = 0 */, drawCenter?: boolean /* = true */, modulate?: Color /* = Color(1, 1, 1, 1) */): void { _C($(), 2040, item, rect, source, texture, topleft, bottomright, xAxisMode, yAxisMode, drawCenter, modulate); }
2525
+ static canvasItemAddNinePatch(item: RID, rect: Rect2, source: Rect2, texture: RID, topleft: Vector2, bottomright: Vector2, xAxisMode?: NinePatchAxisMode /* = 0 */, yAxisMode?: NinePatchAxisMode /* = 0 */, drawCenter?: boolean /* = true */, modulate?: Color /* = Color(1, 1, 1, 1) */): void { _C($(), 2073, item, rect, source, texture, topleft, bottomright, xAxisMode, yAxisMode, drawCenter, modulate); }
2481
2526
 
2482
2527
  /**
2483
2528
  * Draws a 2D primitive on the {@link CanvasItem} pointed to by the `item` {@link RID}. See also {@link CanvasItem.drawPrimitive}.
2484
2529
  */
2485
- static canvasItemAddPrimitive(item: RID, points: PackedVector2Array, colors: PackedColorArray, uvs: PackedVector2Array, texture: RID): void { _C($(), 2044, item, points, colors, uvs, texture); }
2530
+ static canvasItemAddPrimitive(item: RID, points: PackedVector2Array, colors: PackedColorArray, uvs: PackedVector2Array, texture: RID): void { _C($(), 2077, item, points, colors, uvs, texture); }
2486
2531
 
2487
2532
  /**
2488
2533
  * Draws a 2D polygon on the {@link CanvasItem} pointed to by the `item` {@link RID}. If you need more flexibility (such as being able to use bones), use {@link canvasItemAddTriangleArray} instead. See also {@link CanvasItem.drawPolygon}.
2489
2534
  * **Note:** If you frequently redraw the same polygon with a large number of vertices, consider pre-calculating the triangulation with {@link Geometry2D.triangulatePolygon} and using {@link CanvasItem.drawMesh}, {@link CanvasItem.drawMultimesh}, or {@link canvasItemAddTriangleArray}.
2490
2535
  */
2491
- static canvasItemAddPolygon(item: RID, points: PackedVector2Array, colors: PackedColorArray, uvs?: PackedVector2Array /* = PackedVector2Array() */, texture?: RID /* = RID() */): void { _C($(), 2042, item, points, colors, uvs, texture); }
2536
+ static canvasItemAddPolygon(item: RID, points: PackedVector2Array, colors: PackedColorArray, uvs?: PackedVector2Array /* = PackedVector2Array() */, texture?: RID /* = RID() */): void { _C($(), 2075, item, points, colors, uvs, texture); }
2492
2537
 
2493
2538
  /**
2494
2539
  * Draws a triangle array on the {@link CanvasItem} pointed to by the `item` {@link RID}. This is internally used by {@link Line2D} and {@link StyleBoxFlat} for rendering. {@link canvasItemAddTriangleArray} is highly flexible, but more complex to use than {@link canvasItemAddPolygon}.
2495
2540
  * **Note:** If `count` is set to a non-negative value, only the first `count * 3` indices (corresponding to {@link code skip-lint}count triangles) will be drawn. Otherwise, all indices are drawn.
2496
2541
  */
2497
- static canvasItemAddTriangleArray(item: RID, indices: PackedInt32Array, points: PackedVector2Array, colors: PackedColorArray, uvs?: PackedVector2Array /* = PackedVector2Array() */, bones?: PackedInt32Array /* = PackedInt32Array() */, weights?: PackedFloat32Array /* = PackedFloat32Array() */, texture?: RID /* = RID() */, count?: number /* = -1 */): void { _C($(), 2049, item, indices, points, colors, uvs, bones, weights, texture, count); }
2542
+ static canvasItemAddTriangleArray(item: RID, indices: PackedInt32Array, points: PackedVector2Array, colors: PackedColorArray, uvs?: PackedVector2Array /* = PackedVector2Array() */, bones?: PackedInt32Array /* = PackedInt32Array() */, weights?: PackedFloat32Array /* = PackedFloat32Array() */, texture?: RID /* = RID() */, count?: number /* = -1 */): void { _C($(), 2082, item, indices, points, colors, uvs, bones, weights, texture, count); }
2498
2543
 
2499
2544
  /**
2500
2545
  * Draws a mesh created with {@link meshCreate} with given `transform`, `modulate` color, and `texture`. This is used internally by {@link MeshInstance2D}.
2501
2546
  */
2502
- static canvasItemAddMesh(item: RID, mesh: RID, transform?: Transform2D /* = Transform2D(1, 0, 0, 1, 0, 0) */, modulate?: Color /* = Color(1, 1, 1, 1) */, texture?: RID /* = RID() */): void { _C($(), 2036, item, mesh, transform, modulate, texture); }
2547
+ static canvasItemAddMesh(item: RID, mesh: RID, transform?: Transform2D /* = Transform2D(1, 0, 0, 1, 0, 0) */, modulate?: Color /* = Color(1, 1, 1, 1) */, texture?: RID /* = RID() */): void { _C($(), 2069, item, mesh, transform, modulate, texture); }
2503
2548
 
2504
2549
  /**
2505
2550
  * Draws a 2D {@link MultiMesh} on the {@link CanvasItem} pointed to by the `item` {@link RID}. See also {@link CanvasItem.drawMultimesh}.
2506
2551
  */
2507
- static canvasItemAddMultimesh(item: RID, mesh: RID, texture?: RID /* = RID() */): void { _C($(), 2039, item, mesh, texture); }
2552
+ static canvasItemAddMultimesh(item: RID, mesh: RID, texture?: RID /* = RID() */): void { _C($(), 2072, item, mesh, texture); }
2508
2553
 
2509
2554
  /**
2510
2555
  * Draws particles on the {@link CanvasItem} pointed to by the `item` {@link RID}.
2511
2556
  */
2512
- static canvasItemAddParticles(item: RID, particles: RID, texture: RID): void { _C($(), 2041, item, particles, texture); }
2557
+ static canvasItemAddParticles(item: RID, particles: RID, texture: RID): void { _C($(), 2074, item, particles, texture); }
2513
2558
 
2514
2559
  /**
2515
2560
  * Sets a {@link Transform2D} that will be used to transform subsequent canvas item commands.
2516
2561
  */
2517
- static canvasItemAddSetTransform(item: RID, transform: Transform2D): void { _C($(), 2046, item, transform); }
2562
+ static canvasItemAddSetTransform(item: RID, transform: Transform2D): void { _C($(), 2079, item, transform); }
2518
2563
 
2519
2564
  /**
2520
2565
  * If `ignore` is `true`, ignore clipping on items drawn with this canvas item until this is called again with `ignore` set to `false`.
2521
2566
  */
2522
- static canvasItemAddClipIgnore(item: RID, ignore: boolean): void { _C($(), 2032, item, ignore); }
2567
+ static canvasItemAddClipIgnore(item: RID, ignore: boolean): void { _C($(), 2065, item, ignore); }
2523
2568
 
2524
2569
  /**
2525
2570
  * Subsequent drawing commands will be ignored unless they fall within the specified animation slice. This is a faster way to implement animations that loop on background rather than redrawing constantly.
2526
2571
  */
2527
- static canvasItemAddAnimationSlice(item: RID, animationLength: number /* double */, sliceBegin: number /* double */, sliceEnd: number /* double */, offset?: number /* = 0.0, double */): void { _C($(), 2030, item, animationLength, sliceBegin, sliceEnd, offset); }
2572
+ static canvasItemAddAnimationSlice(item: RID, animationLength: number /* double */, sliceBegin: number /* double */, sliceEnd: number /* double */, offset?: number /* = 0.0, double */): void { _C($(), 2063, item, animationLength, sliceBegin, sliceEnd, offset); }
2528
2573
 
2529
2574
  /**
2530
2575
  * If `enabled` is `true`, child nodes with the lowest Y position are drawn before those with a higher Y position. Y-sorting only affects children that inherit from the canvas item specified by the `item` RID, not the canvas item itself. Equivalent to {@link CanvasItem.ySortEnabled}.
2531
2576
  */
2532
- static canvasItemSetSortChildrenByY(item: RID, enabled: boolean): void { _C($(), 2075, item, enabled); }
2577
+ static canvasItemSetSortChildrenByY(item: RID, enabled: boolean): void { _C($(), 2108, item, enabled); }
2533
2578
 
2534
2579
  /**
2535
2580
  * Sets the {@link CanvasItem}'s Z index, i.e. its draw order (lower indexes are drawn first).
2536
2581
  */
2537
- static canvasItemSetZIndex(item: RID, zIndex: number): void { _C($(), 2082, item, zIndex); }
2582
+ static canvasItemSetZIndex(item: RID, zIndex: number): void { _C($(), 2115, item, zIndex); }
2538
2583
 
2539
2584
  /**
2540
2585
  * If this is enabled, the Z index of the parent will be added to the children's Z index.
2541
2586
  */
2542
- static canvasItemSetZAsRelativeToParent(item: RID, enabled: boolean): void { _C($(), 2081, item, enabled); }
2587
+ static canvasItemSetZAsRelativeToParent(item: RID, enabled: boolean): void { _C($(), 2114, item, enabled); }
2543
2588
 
2544
2589
  /**
2545
2590
  * Sets the {@link CanvasItem} to copy a rect to the backbuffer.
2546
2591
  */
2547
- static canvasItemSetCopyToBackbuffer(item: RID, enabled: boolean, rect: Rect2): void { _C($(), 2061, item, enabled, rect); }
2592
+ static canvasItemSetCopyToBackbuffer(item: RID, enabled: boolean, rect: Rect2): void { _C($(), 2094, item, enabled, rect); }
2548
2593
 
2549
2594
  /**
2550
2595
  * Attaches a skeleton to the {@link CanvasItem}. Removes the previous skeleton.
2551
2596
  */
2552
- static canvasItemAttachSkeleton(item: RID, skeleton: RID): void { _C($(), 2050, item, skeleton); }
2597
+ static canvasItemAttachSkeleton(item: RID, skeleton: RID): void { _C($(), 2083, item, skeleton); }
2553
2598
 
2554
2599
  /**
2555
2600
  * Clears the {@link CanvasItem} and removes all commands in it.
2556
2601
  */
2557
- static canvasItemClear(item: RID): void { _C($(), 2051, item); }
2602
+ static canvasItemClear(item: RID): void { _C($(), 2084, item); }
2558
2603
 
2559
2604
  /**
2560
2605
  * Sets the index for the {@link CanvasItem}.
2561
2606
  */
2562
- static canvasItemSetDrawIndex(item: RID, index: number): void { _C($(), 2067, item, index); }
2607
+ static canvasItemSetDrawIndex(item: RID, index: number): void { _C($(), 2100, item, index); }
2563
2608
 
2564
2609
  /**
2565
2610
  * Sets a new `material` to the canvas item specified by the `item` RID. Equivalent to {@link CanvasItem.material}.
2566
2611
  */
2567
- static canvasItemSetMaterial(item: RID, material: RID): void { _C($(), 2071, item, material); }
2612
+ static canvasItemSetMaterial(item: RID, material: RID): void { _C($(), 2104, item, material); }
2568
2613
 
2569
2614
  /**
2570
2615
  * Sets if the {@link CanvasItem} uses its parent's material.
2571
2616
  */
2572
- static canvasItemSetUseParentMaterial(item: RID, enabled: boolean): void { _C($(), 2077, item, enabled); }
2617
+ static canvasItemSetUseParentMaterial(item: RID, enabled: boolean): void { _C($(), 2110, item, enabled); }
2573
2618
 
2574
2619
  /**
2575
2620
  * Sets the per-instance shader uniform on the specified canvas item instance. Equivalent to {@link CanvasItem.setInstanceShaderParameter}.
2576
2621
  */
2577
- static canvasItemSetInstanceShaderParameter(instance: RID, parameter: StringName, value: Variant): void { _C($(), 2068, instance, parameter, value); }
2622
+ static canvasItemSetInstanceShaderParameter(instance: RID, parameter: StringName, value: Variant): void { _C($(), 2101, instance, parameter, value); }
2578
2623
 
2579
2624
  /**
2580
2625
  * Returns the value of the per-instance shader uniform from the specified canvas item instance. Equivalent to {@link CanvasItem.getInstanceShaderParameter}.
2581
2626
  */
2582
- static canvasItemGetInstanceShaderParameter(instance: RID, parameter: StringName): Variant { return _C($(), 2055, instance, parameter) as Variant; }
2627
+ static canvasItemGetInstanceShaderParameter(instance: RID, parameter: StringName): Variant { return _C($(), 2088, instance, parameter) as Variant; }
2583
2628
 
2584
2629
  /**
2585
2630
  * Returns the default value of the per-instance shader uniform from the specified canvas item instance. Equivalent to {@link CanvasItem.getInstanceShaderParameter}.
2586
2631
  */
2587
- static canvasItemGetInstanceShaderParameterDefaultValue(instance: RID, parameter: StringName): Variant { return _C($(), 2056, instance, parameter) as Variant; }
2632
+ static canvasItemGetInstanceShaderParameterDefaultValue(instance: RID, parameter: StringName): Variant { return _C($(), 2089, instance, parameter) as Variant; }
2588
2633
 
2589
2634
  /**
2590
2635
  * Returns a dictionary of per-instance shader uniform names of the per-instance shader uniform from the specified canvas item instance.
2591
2636
  * The returned dictionary is in PropertyInfo format, with the keys `name`, `class_name`, `type`, `hint`, `hint_string`, and `usage`.
2592
2637
  */
2593
- static canvasItemGetInstanceShaderParameterList(instance: RID): GodotArray<GodotDictionary> { return _C($(), 2057, instance) as GodotArray<GodotDictionary>; }
2638
+ static canvasItemGetInstanceShaderParameterList(instance: RID): GodotArray<GodotDictionary> { return _C($(), 2090, instance) as GodotArray<GodotDictionary>; }
2594
2639
 
2595
2640
  /**
2596
2641
  * Sets the given {@link CanvasItem} as visibility notifier. `area` defines the area of detecting visibility. `enterCallable` is called when the {@link CanvasItem} enters the screen, `exitCallable` is called when the {@link CanvasItem} exits the screen. If `enable` is `false`, the item will no longer function as notifier.
2597
2642
  * This method can be used to manually mimic {@link VisibleOnScreenNotifier2D}.
2598
2643
  */
2599
- static canvasItemSetVisibilityNotifier(item: RID, enable: boolean, area: Rect2, enterCallable: Callable, exitCallable: Callable): void { _C($(), 2079, item, enable, area, enterCallable, exitCallable); }
2644
+ static canvasItemSetVisibilityNotifier(item: RID, enable: boolean, area: Rect2, enterCallable: Callable, exitCallable: Callable): void { _C($(), 2112, item, enable, area, enterCallable, exitCallable); }
2600
2645
 
2601
2646
  /**
2602
2647
  * Sets the canvas group mode used during 2D rendering for the canvas item specified by the `item` RID. For faster but more limited clipping, use {@link canvasItemSetClip} instead.
2603
2648
  * **Note:** The equivalent node functionality is found in {@link CanvasGroup} and {@link CanvasItem.clipChildren}.
2604
2649
  */
2605
- static canvasItemSetCanvasGroupMode(item: RID, mode: CanvasGroupMode, clearMargin?: number /* = 5.0 */, fitEmpty?: boolean /* = false */, fitMargin?: number /* = 0.0 */, blurMipmaps?: boolean /* = false */): void { _C($(), 2059, item, mode, clearMargin, fitEmpty, fitMargin, blurMipmaps); }
2650
+ static canvasItemSetCanvasGroupMode(item: RID, mode: CanvasGroupMode, clearMargin?: number /* = 5.0 */, fitEmpty?: boolean /* = false */, fitMargin?: number /* = 0.0 */, blurMipmaps?: boolean /* = false */): void { _C($(), 2092, item, mode, clearMargin, fitEmpty, fitMargin, blurMipmaps); }
2606
2651
 
2607
2652
  /**
2608
2653
  * Returns the bounding rectangle for a canvas item in local space, as calculated by the renderer. This bound is used internally for culling.
2609
2654
  * **Warning:** This function is intended for debugging in the editor, and will pass through and return a zero {@link Rect2} in exported projects.
2610
2655
  */
2611
- static debugCanvasItemGetRect(item: RID): Rect2 { return _C($(), 2660, item) as Rect2; }
2656
+ static debugCanvasItemGetRect(item: RID): Rect2 { return _C($(), 2708, item) as Rect2; }
2612
2657
 
2613
2658
  /**
2614
2659
  * Creates a canvas light and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `canvas_light_*` RenderingServer functions.
2615
2660
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
2616
2661
  * **Note:** The equivalent node is {@link Light2D}.
2617
2662
  */
2618
- static canvasLightCreate(): RID { return _C($(), 2085) as RID; }
2663
+ static canvasLightCreate(): RID { return _C($(), 2118) as RID; }
2619
2664
 
2620
2665
  /**
2621
2666
  * Attaches the canvas light to the canvas. Removes it from its previous canvas.
2622
2667
  */
2623
- static canvasLightAttachToCanvas(light: RID, canvas: RID): void { _C($(), 2084, light, canvas); }
2668
+ static canvasLightAttachToCanvas(light: RID, canvas: RID): void { _C($(), 2117, light, canvas); }
2624
2669
 
2625
2670
  /**
2626
2671
  * Enables or disables a canvas light.
2627
2672
  */
2628
- static canvasLightSetEnabled(light: RID, enabled: boolean): void { _C($(), 2099, light, enabled); }
2673
+ static canvasLightSetEnabled(light: RID, enabled: boolean): void { _C($(), 2132, light, enabled); }
2629
2674
 
2630
2675
  /**
2631
2676
  * Sets the scale factor of a {@link PointLight2D}'s texture. Equivalent to {@link PointLight2D.textureScale}.
2632
2677
  */
2633
- static canvasLightSetTextureScale(light: RID, scale: number): void { _C($(), 2113, light, scale); }
2678
+ static canvasLightSetTextureScale(light: RID, scale: number): void { _C($(), 2146, light, scale); }
2634
2679
 
2635
2680
  /**
2636
2681
  * Sets the canvas light's {@link Transform2D}.
2637
2682
  */
2638
- static canvasLightSetTransform(light: RID, transform: Transform2D): void { _C($(), 2114, light, transform); }
2683
+ static canvasLightSetTransform(light: RID, transform: Transform2D): void { _C($(), 2147, light, transform); }
2639
2684
 
2640
2685
  /**
2641
2686
  * Sets the texture to be used by a {@link PointLight2D}. Equivalent to {@link PointLight2D.texture}.
2642
2687
  */
2643
- static canvasLightSetTexture(light: RID, texture: RID): void { _C($(), 2111, light, texture); }
2688
+ static canvasLightSetTexture(light: RID, texture: RID): void { _C($(), 2144, light, texture); }
2644
2689
 
2645
2690
  /**
2646
2691
  * Sets the offset of a {@link PointLight2D}'s texture. Equivalent to {@link PointLight2D.offset}.
2647
2692
  */
2648
- static canvasLightSetTextureOffset(light: RID, offset: Vector2): void { _C($(), 2112, light, offset); }
2693
+ static canvasLightSetTextureOffset(light: RID, offset: Vector2): void { _C($(), 2145, light, offset); }
2649
2694
 
2650
2695
  /**
2651
2696
  * Sets the color for a light.
2652
2697
  */
2653
- static canvasLightSetColor(light: RID, color: Color): void { _C($(), 2098, light, color); }
2698
+ static canvasLightSetColor(light: RID, color: Color): void { _C($(), 2131, light, color); }
2654
2699
 
2655
2700
  /**
2656
2701
  * Sets a canvas light's height.
2657
2702
  */
2658
- static canvasLightSetHeight(light: RID, height: number): void { _C($(), 2101, light, height); }
2703
+ static canvasLightSetHeight(light: RID, height: number): void { _C($(), 2134, light, height); }
2659
2704
 
2660
2705
  /**
2661
2706
  * Sets a canvas light's energy.
2662
2707
  */
2663
- static canvasLightSetEnergy(light: RID, energy: number): void { _C($(), 2100, light, energy); }
2708
+ static canvasLightSetEnergy(light: RID, energy: number): void { _C($(), 2133, light, energy); }
2664
2709
 
2665
2710
  /**
2666
2711
  * Sets the Z range of objects that will be affected by this light. Equivalent to {@link Light2D.rangeZMin} and {@link Light2D.rangeZMax}.
2667
2712
  */
2668
- static canvasLightSetZRange(light: RID, minZ: number, maxZ: number): void { _C($(), 2115, light, minZ, maxZ); }
2713
+ static canvasLightSetZRange(light: RID, minZ: number, maxZ: number): void { _C($(), 2148, light, minZ, maxZ); }
2669
2714
 
2670
2715
  /**
2671
2716
  * The layer range that gets rendered with this light.
2672
2717
  */
2673
- static canvasLightSetLayerRange(light: RID, minLayer: number, maxLayer: number): void { _C($(), 2105, light, minLayer, maxLayer); }
2718
+ static canvasLightSetLayerRange(light: RID, minLayer: number, maxLayer: number): void { _C($(), 2138, light, minLayer, maxLayer); }
2674
2719
 
2675
2720
  /**
2676
2721
  * The light mask. See {@link LightOccluder2D} for more information on light masks.
2677
2722
  */
2678
- static canvasLightSetItemCullMask(light: RID, mask: number): void { _C($(), 2103, light, mask); }
2723
+ static canvasLightSetItemCullMask(light: RID, mask: number): void { _C($(), 2136, light, mask); }
2679
2724
 
2680
2725
  /**
2681
2726
  * The binary mask used to determine which layers this canvas light's shadows affects. See {@link LightOccluder2D} for more information on light masks.
2682
2727
  */
2683
- static canvasLightSetItemShadowCullMask(light: RID, mask: number): void { _C($(), 2104, light, mask); }
2728
+ static canvasLightSetItemShadowCullMask(light: RID, mask: number): void { _C($(), 2137, light, mask); }
2684
2729
 
2685
2730
  /**
2686
2731
  * Sets the mode of the canvas light.
2687
2732
  */
2688
- static canvasLightSetMode(light: RID, mode: CanvasLightMode): void { _C($(), 2106, light, mode); }
2733
+ static canvasLightSetMode(light: RID, mode: CanvasLightMode): void { _C($(), 2139, light, mode); }
2689
2734
 
2690
2735
  /**
2691
2736
  * Enables or disables the canvas light's shadow.
2692
2737
  */
2693
- static canvasLightSetShadowEnabled(light: RID, enabled: boolean): void { _C($(), 2108, light, enabled); }
2738
+ static canvasLightSetShadowEnabled(light: RID, enabled: boolean): void { _C($(), 2141, light, enabled); }
2694
2739
 
2695
2740
  /**
2696
2741
  * Sets the canvas light's shadow's filter.
2697
2742
  */
2698
- static canvasLightSetShadowFilter(light: RID, filter: CanvasLightShadowFilter): void { _C($(), 2109, light, filter); }
2743
+ static canvasLightSetShadowFilter(light: RID, filter: CanvasLightShadowFilter): void { _C($(), 2142, light, filter); }
2699
2744
 
2700
2745
  /**
2701
2746
  * Sets the color of the canvas light's shadow.
2702
2747
  */
2703
- static canvasLightSetShadowColor(light: RID, color: Color): void { _C($(), 2107, light, color); }
2748
+ static canvasLightSetShadowColor(light: RID, color: Color): void { _C($(), 2140, light, color); }
2704
2749
 
2705
2750
  /**
2706
2751
  * Smoothens the shadow. The lower, the smoother.
2707
2752
  */
2708
- static canvasLightSetShadowSmooth(light: RID, smooth: number): void { _C($(), 2110, light, smooth); }
2753
+ static canvasLightSetShadowSmooth(light: RID, smooth: number): void { _C($(), 2143, light, smooth); }
2709
2754
 
2710
2755
  /**
2711
2756
  * Sets the blend mode for the given canvas light to `mode`. Equivalent to {@link Light2D.blendMode}.
2712
2757
  */
2713
- static canvasLightSetBlendMode(light: RID, mode: CanvasLightBlendMode): void { _C($(), 2097, light, mode); }
2758
+ static canvasLightSetBlendMode(light: RID, mode: CanvasLightBlendMode): void { _C($(), 2130, light, mode); }
2714
2759
 
2715
2760
  /**
2716
2761
  * If `interpolated` is `true`, turns on physics interpolation for the canvas light.
2717
2762
  */
2718
- static canvasLightSetInterpolated(light: RID, interpolated: boolean): void { _C($(), 2102, light, interpolated); }
2763
+ static canvasLightSetInterpolated(light: RID, interpolated: boolean): void { _C($(), 2135, light, interpolated); }
2719
2764
 
2720
2765
  /**
2721
2766
  * Prevents physics interpolation for the current physics tick.
2722
2767
  * This is useful when moving a canvas item to a new location, to give an instantaneous change rather than interpolation from the previous location.
2723
2768
  */
2724
- static canvasLightResetPhysicsInterpolation(light: RID): void { _C($(), 2096, light); }
2769
+ static canvasLightResetPhysicsInterpolation(light: RID): void { _C($(), 2129, light); }
2725
2770
 
2726
2771
  /**
2727
2772
  * Transforms both the current and previous stored transform for a canvas light.
2728
2773
  * This allows transforming a light without creating a "glitch" in the interpolation, which is particularly useful for large worlds utilizing a shifting origin.
2729
2774
  */
2730
- static canvasLightTransformPhysicsInterpolation(light: RID, transform: Transform2D): void { _C($(), 2116, light, transform); }
2775
+ static canvasLightTransformPhysicsInterpolation(light: RID, transform: Transform2D): void { _C($(), 2149, light, transform); }
2731
2776
 
2732
2777
  /**
2733
2778
  * Creates a light occluder and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `canvas_light_occluder_*` RenderingServer functions.
2734
2779
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
2735
2780
  * **Note:** The equivalent node is {@link LightOccluder2D}.
2736
2781
  */
2737
- static canvasLightOccluderCreate(): RID { return _C($(), 2087) as RID; }
2782
+ static canvasLightOccluderCreate(): RID { return _C($(), 2120) as RID; }
2738
2783
 
2739
2784
  /**
2740
2785
  * Attaches a light occluder to the canvas. Removes it from its previous canvas.
2741
2786
  */
2742
- static canvasLightOccluderAttachToCanvas(occluder: RID, canvas: RID): void { _C($(), 2086, occluder, canvas); }
2787
+ static canvasLightOccluderAttachToCanvas(occluder: RID, canvas: RID): void { _C($(), 2119, occluder, canvas); }
2743
2788
 
2744
2789
  /**
2745
2790
  * Enables or disables light occluder.
2746
2791
  */
2747
- static canvasLightOccluderSetEnabled(occluder: RID, enabled: boolean): void { _C($(), 2090, occluder, enabled); }
2792
+ static canvasLightOccluderSetEnabled(occluder: RID, enabled: boolean): void { _C($(), 2123, occluder, enabled); }
2748
2793
 
2749
2794
  /**
2750
2795
  * Sets a light occluder's polygon.
2751
2796
  */
2752
- static canvasLightOccluderSetPolygon(occluder: RID, polygon: RID): void { _C($(), 2093, occluder, polygon); }
2797
+ static canvasLightOccluderSetPolygon(occluder: RID, polygon: RID): void { _C($(), 2126, occluder, polygon); }
2753
2798
 
2754
2799
  /**
2755
2800
  * Enables or disables using the light occluder as a signed distance field for 2D particle collision.
2756
2801
  */
2757
- static canvasLightOccluderSetAsSdfCollision(occluder: RID, enable: boolean): void { _C($(), 2089, occluder, enable); }
2802
+ static canvasLightOccluderSetAsSdfCollision(occluder: RID, enable: boolean): void { _C($(), 2122, occluder, enable); }
2758
2803
 
2759
2804
  /**
2760
2805
  * Sets a light occluder's {@link Transform2D}.
2761
2806
  */
2762
- static canvasLightOccluderSetTransform(occluder: RID, transform: Transform2D): void { _C($(), 2094, occluder, transform); }
2807
+ static canvasLightOccluderSetTransform(occluder: RID, transform: Transform2D): void { _C($(), 2127, occluder, transform); }
2763
2808
 
2764
2809
  /**
2765
2810
  * The light mask. See {@link LightOccluder2D} for more information on light masks.
2766
2811
  */
2767
- static canvasLightOccluderSetLightMask(occluder: RID, mask: number): void { _C($(), 2092, occluder, mask); }
2812
+ static canvasLightOccluderSetLightMask(occluder: RID, mask: number): void { _C($(), 2125, occluder, mask); }
2768
2813
 
2769
2814
  /**
2770
2815
  * If `interpolated` is `true`, turns on physics interpolation for the light occluder.
2771
2816
  */
2772
- static canvasLightOccluderSetInterpolated(occluder: RID, interpolated: boolean): void { _C($(), 2091, occluder, interpolated); }
2817
+ static canvasLightOccluderSetInterpolated(occluder: RID, interpolated: boolean): void { _C($(), 2124, occluder, interpolated); }
2773
2818
 
2774
2819
  /**
2775
2820
  * Prevents physics interpolation for the current physics tick.
2776
2821
  * This is useful when moving an occluder to a new location, to give an instantaneous change rather than interpolation from the previous location.
2777
2822
  */
2778
- static canvasLightOccluderResetPhysicsInterpolation(occluder: RID): void { _C($(), 2088, occluder); }
2823
+ static canvasLightOccluderResetPhysicsInterpolation(occluder: RID): void { _C($(), 2121, occluder); }
2779
2824
 
2780
2825
  /**
2781
2826
  * Transforms both the current and previous stored transform for a light occluder.
2782
2827
  * This allows transforming an occluder without creating a "glitch" in the interpolation, which is particularly useful for large worlds utilizing a shifting origin.
2783
2828
  */
2784
- static canvasLightOccluderTransformPhysicsInterpolation(occluder: RID, transform: Transform2D): void { _C($(), 2095, occluder, transform); }
2829
+ static canvasLightOccluderTransformPhysicsInterpolation(occluder: RID, transform: Transform2D): void { _C($(), 2128, occluder, transform); }
2785
2830
 
2786
2831
  /**
2787
2832
  * Creates a new light occluder polygon and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all `canvas_occluder_polygon_*` RenderingServer functions.
2788
2833
  * Once finished with your RID, you will want to free the RID using the RenderingServer's {@link freeRid} method.
2789
2834
  * **Note:** The equivalent resource is {@link OccluderPolygon2D}.
2790
2835
  */
2791
- static canvasOccluderPolygonCreate(): RID { return _C($(), 2117) as RID; }
2836
+ static canvasOccluderPolygonCreate(): RID { return _C($(), 2150) as RID; }
2792
2837
 
2793
2838
  /**
2794
2839
  * Sets the shape of the occluder polygon.
2795
2840
  */
2796
- static canvasOccluderPolygonSetShape(occluderPolygon: RID, shape: PackedVector2Array, closed: boolean): void { _C($(), 2119, occluderPolygon, shape, closed); }
2841
+ static canvasOccluderPolygonSetShape(occluderPolygon: RID, shape: PackedVector2Array, closed: boolean): void { _C($(), 2152, occluderPolygon, shape, closed); }
2797
2842
 
2798
2843
  /**
2799
2844
  * Sets an occluder polygon's cull mode.
2800
2845
  */
2801
- static canvasOccluderPolygonSetCullMode(occluderPolygon: RID, mode: CanvasOccluderPolygonCullMode): void { _C($(), 2118, occluderPolygon, mode); }
2846
+ static canvasOccluderPolygonSetCullMode(occluderPolygon: RID, mode: CanvasOccluderPolygonCullMode): void { _C($(), 2151, occluderPolygon, mode); }
2802
2847
 
2803
2848
  /**
2804
2849
  * Sets the {@link ProjectSettings.rendering/2d/shadowAtlas/size} to use for {@link Light2D} shadow rendering (in pixels). The value is rounded up to the nearest power of 2.
2805
2850
  */
2806
- static canvasSetShadowTextureSize(size: number): void { _C($(), 2124, size); }
2851
+ static canvasSetShadowTextureSize(size: number): void { _C($(), 2157, size); }
2807
2852
 
2808
2853
  /**
2809
2854
  * Creates a new global shader uniform.
2810
2855
  * **Note:** Global shader parameter names are case-sensitive.
2811
2856
  */
2812
- static globalShaderParameterAdd(name: StringName, type: GlobalShaderParameterType, defaultValue: Variant): void { _C($(), 7251, name, type, defaultValue); }
2857
+ static globalShaderParameterAdd(name: StringName, type: GlobalShaderParameterType, defaultValue: Variant): void { _C($(), 7396, name, type, defaultValue); }
2813
2858
 
2814
2859
  /**
2815
2860
  * Removes the global shader uniform specified by `name`.
2816
2861
  */
2817
- static globalShaderParameterRemove(name: StringName): void { _C($(), 7255, name); }
2862
+ static globalShaderParameterRemove(name: StringName): void { _C($(), 7400, name); }
2818
2863
 
2819
2864
  /**
2820
2865
  * Returns the list of global shader uniform names.
2821
2866
  * **Note:** {@link globalShaderParameterGet} has a large performance penalty as the rendering thread needs to synchronize with the calling thread, which is slow. Do not use this method during gameplay to avoid stuttering. If you need to read values in a script after setting them, consider creating an autoload where you store the values you need to query at the same time you're setting them as global parameters.
2822
2867
  */
2823
- static globalShaderParameterGetList(): GodotArray<StringName> { return _C($(), 7253) as GodotArray<StringName>; }
2868
+ static globalShaderParameterGetList(): GodotArray<StringName> { return _C($(), 7398) as GodotArray<StringName>; }
2824
2869
 
2825
2870
  /**
2826
2871
  * Sets the global shader uniform `name` to `value`.
2827
2872
  */
2828
- static globalShaderParameterSet(name: StringName, value: Variant): void { _C($(), 7256, name, value); }
2873
+ static globalShaderParameterSet(name: StringName, value: Variant): void { _C($(), 7401, name, value); }
2829
2874
 
2830
2875
  /**
2831
2876
  * Overrides the global shader uniform `name` with `value`. Equivalent to the {@link ShaderGlobalsOverride} node.
2832
2877
  */
2833
- static globalShaderParameterSetOverride(name: StringName, value: Variant): void { _C($(), 7257, name, value); }
2878
+ static globalShaderParameterSetOverride(name: StringName, value: Variant): void { _C($(), 7402, name, value); }
2834
2879
 
2835
2880
  /**
2836
2881
  * Returns the value of the global shader uniform specified by `name`.
2837
2882
  * **Note:** {@link globalShaderParameterGet} has a large performance penalty as the rendering thread needs to synchronize with the calling thread, which is slow. Do not use this method during gameplay to avoid stuttering. If you need to read values in a script after setting them, consider creating an autoload where you store the values you need to query at the same time you're setting them as global parameters.
2838
2883
  */
2839
- static globalShaderParameterGet(name: StringName): Variant { return _C($(), 7252, name) as Variant; }
2884
+ static globalShaderParameterGet(name: StringName): Variant { return _C($(), 7397, name) as Variant; }
2840
2885
 
2841
2886
  /**
2842
2887
  * Returns the type associated to the global shader uniform specified by `name`.
2843
2888
  * **Note:** {@link globalShaderParameterGet} has a large performance penalty as the rendering thread needs to synchronize with the calling thread, which is slow. Do not use this method during gameplay to avoid stuttering. If you need to read values in a script after setting them, consider creating an autoload where you store the values you need to query at the same time you're setting them as global parameters.
2844
2889
  */
2845
- static globalShaderParameterGetType(name: StringName): GlobalShaderParameterType { return _C($(), 7254, name) as GlobalShaderParameterType; }
2890
+ static globalShaderParameterGetType(name: StringName): GlobalShaderParameterType { return _C($(), 7399, name) as GlobalShaderParameterType; }
2846
2891
 
2847
2892
  /**
2848
2893
  * Tries to free an object in the RenderingServer. To avoid memory leaks, this should be called after using an object as memory management does not occur automatically when using RenderingServer directly.
2849
2894
  */
2850
- static freeRid(rid: RID): void { _C($(), 3583, rid); }
2895
+ static freeRid(rid: RID): void { _C($(), 3645, rid); }
2851
2896
 
2852
2897
  /**
2853
2898
  * Schedules a callback to the given callable after a frame has been drawn.
2854
2899
  */
2855
- static requestFrameDrawnCallback(callable: Callable): void { _C($(), 10054, callable); }
2900
+ static requestFrameDrawnCallback(callable: Callable): void { _C($(), 10262, callable); }
2856
2901
 
2857
2902
  /**
2858
2903
  * Returns `true` if changes have been made to the RenderingServer's data. {@link forceDraw} is usually called if this happens.
2859
2904
  */
2860
- static hasChanged(): boolean { return _C($(), 7374) as boolean; }
2905
+ static hasChanged(): boolean { return _C($(), 7521) as boolean; }
2861
2906
 
2862
2907
  /**
2863
2908
  * Returns a statistic about the rendering engine which can be used for performance profiling. See also {@link viewportGetRenderInfo}, which returns information specific to a viewport.
@@ -2874,32 +2919,32 @@ export class RenderingServer extends GodotVar {
2874
2919
  *
2875
2920
  * ```
2876
2921
  */
2877
- static getRenderingInfo(info: RenderingInfo): number { return _C($(), 6141, info) as number; }
2922
+ static getRenderingInfo(info: RenderingInfo): number { return _C($(), 6260, info) as number; }
2878
2923
 
2879
2924
  /**
2880
2925
  * Returns the name of the video adapter (e.g. "GeForce GTX 1080/PCIe/SSE2").
2881
2926
  * **Note:** When running a headless or server binary, this function returns an empty string.
2882
2927
  * **Note:** On the web platform, some browsers such as Firefox may report a different, fixed GPU name such as "GeForce GTX 980" (regardless of the user's actual GPU model). This is done to make fingerprinting more difficult.
2883
2928
  */
2884
- static getVideoAdapterName(): string { return _C($(), 7073) as string; }
2929
+ static getVideoAdapterName(): string { return _C($(), 7215) as string; }
2885
2930
 
2886
2931
  /**
2887
2932
  * Returns the vendor of the video adapter (e.g. "NVIDIA Corporation").
2888
2933
  * **Note:** When running a headless or server binary, this function returns an empty string.
2889
2934
  */
2890
- static getVideoAdapterVendor(): string { return _C($(), 7075) as string; }
2935
+ static getVideoAdapterVendor(): string { return _C($(), 7217) as string; }
2891
2936
 
2892
2937
  /**
2893
2938
  * Returns the type of the video adapter. Since dedicated graphics cards from a given generation will *usually* be significantly faster than integrated graphics made in the same generation, the device type can be used as a basis for automatic graphics settings adjustment. However, this is not always true, so make sure to provide users with a way to manually override graphics settings.
2894
2939
  * **Note:** When using the OpenGL rendering driver or when running in headless mode, this function always returns {@link RenderingDevice.DEVICE_TYPE_OTHER}.
2895
2940
  */
2896
- static getVideoAdapterType(): DeviceType { return _C($(), 7074) as DeviceType; }
2941
+ static getVideoAdapterType(): DeviceType { return _C($(), 7216) as DeviceType; }
2897
2942
 
2898
2943
  /**
2899
2944
  * Returns the version of the graphics video adapter *currently in use* (e.g. "1.2.189" for Vulkan, "3.3.0 NVIDIA 510.60.02" for OpenGL). This version may be different from the actual latest version supported by the hardware, as Godot may not always request the latest version. See also {@link OS.getVideoAdapterDriverInfo}.
2900
2945
  * **Note:** When running a headless or server binary, this function returns an empty string.
2901
2946
  */
2902
- static getVideoAdapterApiVersion(): string { return _C($(), 7071) as string; }
2947
+ static getVideoAdapterApiVersion(): string { return _C($(), 7213) as string; }
2903
2948
 
2904
2949
  /**
2905
2950
  * Returns the name of the current rendering driver. This can be `vulkan`, `d3d12`, `metal`, `opengl3`, `opengl3_es`, or `opengl3_angle`. See also {@link getCurrentRenderingMethod}.
@@ -2907,23 +2952,23 @@ export class RenderingServer extends GodotVar {
2907
2952
  * When {@link ProjectSettings.rendering/renderer/renderingMethod} is `gl_compatibility`, the rendering driver is determined by {@link ProjectSettings.rendering/glCompatibility/driver}.
2908
2953
  * The rendering driver is also determined by the `--rendering-driver` command line argument that overrides this project setting, or an automatic fallback that is applied depending on the hardware.
2909
2954
  */
2910
- static getCurrentRenderingDriverName(): string { return _C($(), 4363) as string; }
2955
+ static getCurrentRenderingDriverName(): string { return _C($(), 4440) as string; }
2911
2956
 
2912
2957
  /**
2913
2958
  * Returns the name of the current rendering method. This can be `forward_plus`, `mobile`, or `gl_compatibility`. See also {@link getCurrentRenderingDriverName}.
2914
2959
  * The rendering method is determined by {@link ProjectSettings.rendering/renderer/renderingMethod}, the `--rendering-method` command line argument that overrides this project setting, or an automatic fallback that is applied depending on the hardware.
2915
2960
  */
2916
- static getCurrentRenderingMethod(): string { return _C($(), 4364) as string; }
2961
+ static getCurrentRenderingMethod(): string { return _C($(), 4441) as string; }
2917
2962
 
2918
2963
  /**
2919
2964
  * Returns a mesh of a sphere with the given number of horizontal subdivisions, vertical subdivisions and radius. See also {@link getTestCube}.
2920
2965
  */
2921
- static makeSphereMesh(latitudes: number, longitudes: number, radius: number): RID { return _C($(), 8743, latitudes, longitudes, radius) as RID; }
2966
+ static makeSphereMesh(latitudes: number, longitudes: number, radius: number): RID { return _C($(), 8923, latitudes, longitudes, radius) as RID; }
2922
2967
 
2923
2968
  /**
2924
2969
  * Returns the RID of the test cube. This mesh will be created and returned on the first call to {@link getTestCube}, then it will be cached for subsequent calls. See also {@link makeSphereMesh}.
2925
2970
  */
2926
- static getTestCube(): RID { return _C($(), 6715) as RID; }
2971
+ static getTestCube(): RID { return _C($(), 6849) as RID; }
2927
2972
 
2928
2973
  /**
2929
2974
  * Returns the RID of a 256×256 texture with a testing pattern on it (in {@link Image.FORMAT_RGB8} format). This texture will be created and returned on the first call to {@link getTestTexture}, then it will be cached for subsequent calls. See also {@link getWhiteTexture}.
@@ -2937,7 +2982,7 @@ export class RenderingServer extends GodotVar {
2937
2982
  *
2938
2983
  * ```
2939
2984
  */
2940
- static getTestTexture(): RID { return _C($(), 6716) as RID; }
2985
+ static getTestTexture(): RID { return _C($(), 6850) as RID; }
2941
2986
 
2942
2987
  /**
2943
2988
  * Returns the ID of a 4×4 white texture (in {@link Image.FORMAT_RGB8} format). This texture will be created and returned on the first call to {@link getWhiteTexture}, then it will be cached for subsequent calls. See also {@link getTestTexture}.
@@ -2951,86 +2996,86 @@ export class RenderingServer extends GodotVar {
2951
2996
  *
2952
2997
  * ```
2953
2998
  */
2954
- static getWhiteTexture(): RID { return _C($(), 7147) as RID; }
2999
+ static getWhiteTexture(): RID { return _C($(), 7289) as RID; }
2955
3000
 
2956
3001
  /**
2957
3002
  * Sets a boot image. The `color` defines the background color. The value of `stretchMode` indicates how the image will be stretched (see {@link SplashStretchMode} for possible values). If `useFilter` is `true`, the image will be scaled with linear interpolation. If `useFilter` is `false`, the image will be scaled with nearest-neighbor interpolation.
2958
3003
  */
2959
- static setBootImageWithStretch(image: Image, color: Color, stretchMode: SplashStretchMode, useFilter?: boolean /* = true */): void { _C($(), 10724, image, color, stretchMode, useFilter); }
3004
+ static setBootImageWithStretch(image: Image, color: Color, stretchMode: SplashStretchMode, useFilter?: boolean /* = true */): void { _C($(), 10946, image, color, stretchMode, useFilter); }
2960
3005
 
2961
3006
  /**
2962
3007
  * Sets a boot image. The `color` defines the background color. The value of `scale` indicates if the image will be scaled to fit the screen size. If `useFilter` is `true`, the image will be scaled with linear interpolation. If `useFilter` is `false`, the image will be scaled with nearest-neighbor interpolation.
2963
3008
  */
2964
- static setBootImage(image: Image, color: Color, scale: boolean, useFilter?: boolean /* = true */): void { _C($(), 10723, image, color, scale, useFilter); }
3009
+ static setBootImage(image: Image, color: Color, scale: boolean, useFilter?: boolean /* = true */): void { _C($(), 10945, image, color, scale, useFilter); }
2965
3010
 
2966
3011
  /**
2967
3012
  * Returns the default clear color which is used when a specific clear color has not been selected. See also {@link setDefaultClearColor}.
2968
3013
  */
2969
- static getDefaultClearColor(): Color { return _C($(), 4444) as Color; }
3014
+ static getDefaultClearColor(): Color { return _C($(), 4523) as Color; }
2970
3015
 
2971
3016
  /**
2972
3017
  * Sets the default clear color which is used when a specific clear color has not been selected. See also {@link getDefaultClearColor}.
2973
3018
  */
2974
- static setDefaultClearColor(color: Color): void { _C($(), 11057, color); }
3019
+ static setDefaultClearColor(color: Color): void { _C($(), 11285, color); }
2975
3020
 
2976
3021
  /**
2977
- * Returns `true` if the OS supports a certain `feature`. Features might be `s3tc`, `etc`, and `etc2`.
3022
+ * Returns `true` if the OS supports a certain `feature`. Features might be `s3tc`, `rgtc`, `bptc`, `etc`, `etc2`, `astc`, and `astc_hdr`.
2978
3023
  */
2979
- static hasOsFeature(feature: string): boolean { return _C($(), 7424, feature) as boolean; }
3024
+ static hasOsFeature(feature: string): boolean { return _C($(), 7571, feature) as boolean; }
2980
3025
 
2981
3026
  /**
2982
3027
  * If `generate` is `true`, generates debug wireframes for all meshes that are loaded when using the Compatibility renderer. By default, the engine does not generate debug wireframes at runtime, since they slow down loading of assets and take up VRAM.
2983
3028
  * **Note:** You must call this method before loading any meshes when using the Compatibility renderer. Otherwise, wireframes will not be used.
2984
3029
  */
2985
- static setDebugGenerateWireframes(generate: boolean): void { _C($(), 11044, generate); }
3030
+ static setDebugGenerateWireframes(generate: boolean): void { _C($(), 11270, generate); }
2986
3031
 
2987
3032
  /**
2988
3033
  * Returns the time taken to setup rendering on the CPU in milliseconds. This value is shared across all viewports and does *not* require {@link viewportSetMeasureRenderTime} to be enabled on a viewport to be queried. See also {@link viewportGetMeasuredRenderTimeCpu}.
2989
3034
  */
2990
- static getFrameSetupTimeCpu(): number { return _C($(), 4887) as number; }
3035
+ static getFrameSetupTimeCpu(): number { return _C($(), 4973) as number; }
2991
3036
 
2992
3037
  /**
2993
3038
  * Forces a synchronization between the CPU and GPU, which may be required in certain cases. Only call this when needed, as CPU-GPU synchronization has a performance cost.
2994
3039
  */
2995
- static forceSync(): void { _C($(), 3536); }
3040
+ static forceSync(): void { _C($(), 3597); }
2996
3041
 
2997
3042
  /**
2998
3043
  * Forces redrawing of all viewports at once. Must be called from the main thread.
2999
3044
  */
3000
- static forceDraw(swapBuffers?: boolean /* = true */, frameStep?: number /* = 0.0, double */): void { _C($(), 3530, swapBuffers, frameStep); }
3045
+ static forceDraw(swapBuffers?: boolean /* = true */, frameStep?: number /* = 0.0, double */): void { _C($(), 3591, swapBuffers, frameStep); }
3001
3046
 
3002
3047
  /**
3003
3048
  * Returns the global RenderingDevice.
3004
3049
  * **Note:** When using the OpenGL rendering driver or when running in headless mode, this function always returns `null`.
3005
3050
  */
3006
- static getRenderingDevice(): RenderingDevice | null { return _C($(), 6140) as RenderingDevice | null; }
3051
+ static getRenderingDevice(): RenderingDevice | null { return _C($(), 6259) as RenderingDevice | null; }
3007
3052
 
3008
3053
  /**
3009
3054
  * Creates a RenderingDevice that can be used to do draw and compute operations on a separate thread. Cannot draw to the screen nor share data with the global RenderingDevice.
3010
3055
  * **Note:** When using the OpenGL rendering driver or when running in headless mode, this function always returns `null`.
3011
3056
  */
3012
- static createLocalRenderingDevice(): RenderingDevice | null { return _C($(), 2550) as RenderingDevice | null; }
3057
+ static createLocalRenderingDevice(): RenderingDevice | null { return _C($(), 2598) as RenderingDevice | null; }
3013
3058
 
3014
3059
  /**
3015
3060
  * Returns `true` if our code is currently executing on the rendering thread.
3016
3061
  */
3017
- static isOnRenderThread(): boolean { return _C($(), 8148) as boolean; }
3062
+ static isOnRenderThread(): boolean { return _C($(), 8318) as boolean; }
3018
3063
 
3019
3064
  /**
3020
3065
  * As the RenderingServer actual logic may run on a separate thread, accessing its internals from the main (or any other) thread will result in errors. To make it easier to run code that can safely access the rendering internals (such as {@link RenderingDevice} and similar RD classes), push a callable via this function so it will be executed on the render thread.
3021
3066
  */
3022
- static callOnRenderThread(callable: Callable): void { _C($(), 1974, callable); }
3067
+ static callOnRenderThread(callable: Callable): void { _C($(), 2006, callable); }
3023
3068
 
3024
3069
  /**
3025
3070
  * This method does nothing and always returns `false`.
3026
3071
  */
3027
- static hasFeature(feature: Features): boolean { return _C($(), 7395, feature) as boolean; }
3072
+ static hasFeature(feature: Features): boolean { return _C($(), 7542, feature) as boolean; }
3028
3073
 
3029
3074
  /**
3030
3075
  * If `false`, disables rendering completely, but the engine logic is still being processed. You can call {@link forceDraw} to draw a frame even with rendering disabled.
3031
3076
  */
3032
- static get renderLoopEnabled(): boolean { return _C($(), 8240) as boolean; }
3033
- static set renderLoopEnabled(v: boolean) { _C($(), 12518, v); }
3077
+ static get renderLoopEnabled(): boolean { return _C($(), 8410) as boolean; }
3078
+ static set renderLoopEnabled(v: boolean) { _C($(), 12779, v); }
3034
3079
 
3035
3080
  /**
3036
3081
  * Marks an error that shows that the index array is empty.
@@ -3122,16 +3167,16 @@ export class RenderingServer extends GodotVar {
3122
3167
  /**
3123
3168
  * Emitted at the beginning of the frame, before the RenderingServer updates all the Viewports.
3124
3169
  */
3125
- static get framePreDraw(): Signal<() => void> { return _G($(), 3567) as Signal<() => void>; }
3126
- static set framePreDraw(v: (() => void) | null) { _G($(), 3567, v); }
3170
+ static get framePreDraw(): Signal<() => void> { return _G($(), 3629) as Signal<() => void>; }
3171
+ static set framePreDraw(v: (() => void) | null) { _G($(), 3629, v); }
3127
3172
 
3128
3173
  /**
3129
3174
  * Emitted at the end of the frame, after the RenderingServer has finished updating all the Viewports.
3130
3175
  */
3131
- static get framePostDraw(): Signal<() => void> { return _G($(), 3566) as Signal<() => void>; }
3132
- static set framePostDraw(v: (() => void) | null) { _G($(), 3566, v); }
3176
+ static get framePostDraw(): Signal<() => void> { return _G($(), 3628) as Signal<() => void>; }
3177
+ static set framePostDraw(v: (() => void) | null) { _G($(), 3628, v); }
3133
3178
 
3134
- static readonly name = _R(658, RenderingServer);
3179
+ static readonly name = _R(682, RenderingServer);
3135
3180
  }
3136
3181
 
3137
3182
  export const TextureType = {
@@ -3204,7 +3249,7 @@ export const TextureDrawableFormat = {
3204
3249
  TEXTURE_DRAWABLE_FORMAT_RGBA8: 0,
3205
3250
  /**
3206
3251
  * OpenGL texture format RGBA with four components, each with a bitdepth of 8.
3207
- * When drawn to, an sRGB to linear color space conversion is performed.
3252
+ * When drawn to, a linear to sRGB color encoding conversion is performed.
3208
3253
  */
3209
3254
  TEXTURE_DRAWABLE_FORMAT_RGBA8_SRGB: 1,
3210
3255
  /**
@@ -3463,6 +3508,10 @@ export const ArrayFormat = {
3463
3508
  * Flag used to mark that a mesh is using compressed attributes (vertices, normals, tangents, UVs). When this form of compression is enabled, vertex positions will be packed into an RGBA16UNORM attribute and scaled in the vertex shader. The normal and tangent will be packed into an RG16UNORM representing an axis, and a 16-bit float stored in the A-channel of the vertex. UVs will use 16-bit normalized floats instead of full 32-bit signed floats. When using this compression mode you must use either vertices, normals, and tangents or only vertices. You cannot use normals without tangents. Importers will automatically enable this compression if they can.
3464
3509
  */
3465
3510
  ARRAY_FLAG_COMPRESS_ATTRIBUTES: 536870912,
3511
+ /**
3512
+ * Flag used to mark that the surface's vertex, attribute, skin, and index buffers must be created with the storage-buffer usage bit so they can be bound as storage buffers in compute shaders. This is required to write into them from a compute pipeline through the {@link RID}s returned by {@link RenderingServer.meshSurfaceGetVertexBufferRdRid} and the matching methods for the attribute, skin, and index buffers. Has no effect on the OpenGL backend, which does not expose {@link RenderingDevice} {@link RID}s.
3513
+ */
3514
+ ARRAY_FLAG_USE_STORAGE_BUFFER: 1073741824,
3466
3515
  /**
3467
3516
  * Flag used to mark the start of the bits used to store the mesh version.
3468
3517
  */
@@ -3691,10 +3740,14 @@ export const LightParam = {
3691
3740
  * Constant representing the intensity of the light, measured in Lumens when dealing with a {@link SpotLight3D} or {@link OmniLight3D}, or measured in Lux with a {@link DirectionalLight3D}. Only used when {@link ProjectSettings.rendering/lightsAndShadows/usePhysicalLightUnits} is `true`.
3692
3741
  */
3693
3742
  LIGHT_PARAM_INTENSITY: 20,
3743
+ /**
3744
+ * Blurs the edges of the contact shadow. `0.0` produces sharp shadows; higher values increase the noise magnitude.
3745
+ */
3746
+ LIGHT_PARAM_CONTACT_SHADOW_BLUR: 21,
3694
3747
  /**
3695
3748
  * Represents the size of the {@link LightParam} enum.
3696
3749
  */
3697
- LIGHT_PARAM_MAX: 21,
3750
+ LIGHT_PARAM_MAX: 22,
3698
3751
  } as const;
3699
3752
 
3700
3753
  export type LightParam = (typeof LightParam)[keyof typeof LightParam];