@zephyr3d/scene 0.9.2 → 0.9.4

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 (513) hide show
  1. package/dist/animation/animationset.js +135 -135
  2. package/dist/animation/animationset.js.map +1 -1
  3. package/dist/animation/ik/ik_chain_builder.js +68 -0
  4. package/dist/animation/ik/ik_chain_builder.js.map +1 -0
  5. package/dist/animation/ik/ik_pole_constraint.js +2 -7
  6. package/dist/animation/ik/ik_pole_constraint.js.map +1 -1
  7. package/dist/animation/joint_dynamics/controller.js +146 -146
  8. package/dist/animation/joint_dynamics/controller.js.map +1 -1
  9. package/dist/animation/joint_dynamics/math.js +16 -0
  10. package/dist/animation/joint_dynamics/math.js.map +1 -0
  11. package/dist/animation/spring/spring_system.js +75 -75
  12. package/dist/animation/spring/spring_system.js.map +1 -1
  13. package/dist/animation/spring2/constraints.js.map +1 -1
  14. package/dist/animation/spring2/controller.js +64 -64
  15. package/dist/animation/spring2/controller.js.map +1 -1
  16. package/dist/animation/spring2/math.js.map +1 -1
  17. package/dist/animation/spring2/spring_system.js +8 -8
  18. package/dist/animation/spring2/spring_system.js.map +1 -1
  19. package/dist/app/engine.js +119 -71
  20. package/dist/app/engine.js.map +1 -1
  21. package/dist/asset/assetmanager.js +296 -244
  22. package/dist/asset/assetmanager.js.map +1 -1
  23. package/dist/asset/loaders/gltf/gltf_loader.js +1 -0
  24. package/dist/asset/loaders/gltf/gltf_loader.js.map +1 -1
  25. package/dist/camera/camera.js +184 -184
  26. package/dist/camera/camera.js.map +1 -1
  27. package/dist/index.d.ts +685 -38
  28. package/dist/index.js +11 -2
  29. package/dist/index.js.map +1 -1
  30. package/dist/material/material.js +290 -290
  31. package/dist/material/material.js.map +1 -1
  32. package/dist/material/msdf_text.js +180 -0
  33. package/dist/material/msdf_text.js.map +1 -0
  34. package/dist/material/msdf_text_sprite.js +64 -0
  35. package/dist/material/msdf_text_sprite.js.map +1 -0
  36. package/dist/material/pbrblueprint.js +123 -108
  37. package/dist/material/pbrblueprint.js.map +1 -1
  38. package/dist/material/shader/helper.js +6 -3
  39. package/dist/material/shader/helper.js.map +1 -1
  40. package/dist/material/sprite_sdf.js +106 -0
  41. package/dist/material/sprite_sdf.js.map +1 -0
  42. package/dist/node_modules/@zephyr3d/runtime/dist/runtime/runtimemgr.js +38 -0
  43. package/dist/node_modules/@zephyr3d/runtime/dist/runtime/runtimemgr.js.map +1 -0
  44. package/dist/node_modules/@zephyr3d/runtime/dist/runtime/runtimescript.js +10 -0
  45. package/dist/node_modules/@zephyr3d/runtime/dist/runtime/runtimescript.js.map +1 -0
  46. package/dist/node_modules/@zephyr3d/runtime/dist/runtime/scriptingsystem.js +127 -0
  47. package/dist/node_modules/@zephyr3d/runtime/dist/runtime/scriptingsystem.js.map +1 -0
  48. package/dist/node_modules/@zephyr3d/runtime/dist/runtime/scriptregistry.js +263 -0
  49. package/dist/node_modules/@zephyr3d/runtime/dist/runtime/scriptregistry.js.map +1 -0
  50. package/dist/posteffect/ssr.js +1 -0
  51. package/dist/posteffect/ssr.js.map +1 -1
  52. package/dist/render/abuffer_oit.js +1 -0
  53. package/dist/render/abuffer_oit.js.map +1 -1
  54. package/dist/render/cluster_light.js +3 -4
  55. package/dist/render/cluster_light.js.map +1 -1
  56. package/dist/render/cull_visitor.js +28 -0
  57. package/dist/render/cull_visitor.js.map +1 -1
  58. package/dist/render/drawable.js.map +1 -1
  59. package/dist/render/drawable_mixin.js +1 -0
  60. package/dist/render/drawable_mixin.js.map +1 -1
  61. package/dist/render/fbm_wavegenerator.js +1 -0
  62. package/dist/render/fbm_wavegenerator.js.map +1 -1
  63. package/dist/render/gerstner_wavegenerator.js +1 -0
  64. package/dist/render/gerstner_wavegenerator.js.map +1 -1
  65. package/dist/render/globalbindgroup_allocator.js +1 -0
  66. package/dist/render/globalbindgroup_allocator.js.map +1 -1
  67. package/dist/render/render_queue.js +1 -0
  68. package/dist/render/render_queue.js.map +1 -1
  69. package/dist/render/rendergraph/history_resource_manager.js +93 -93
  70. package/dist/render/rendergraph/history_resource_manager.js.map +1 -1
  71. package/dist/render/rendergraph/history_resources.js +3 -3
  72. package/dist/render/rendergraph/history_resources.js.map +1 -1
  73. package/dist/render/rendergraph/types.js +22 -22
  74. package/dist/render/rendergraph/types.js.map +1 -1
  75. package/dist/scene/basesprite.js +1 -5
  76. package/dist/scene/basesprite.js.map +1 -1
  77. package/dist/scene/batchgroup.js +29 -17
  78. package/dist/scene/batchgroup.js.map +1 -1
  79. package/dist/scene/environment.js +1 -0
  80. package/dist/scene/environment.js.map +1 -1
  81. package/dist/scene/mesh.js +8 -9
  82. package/dist/scene/mesh.js.map +1 -1
  83. package/dist/scene/meshdrawable.js +96 -0
  84. package/dist/scene/meshdrawable.js.map +1 -0
  85. package/dist/scene/msdftext.js +341 -0
  86. package/dist/scene/msdftext.js.map +1 -0
  87. package/dist/scene/msdftextsprite.js +349 -0
  88. package/dist/scene/msdftextsprite.js.map +1 -0
  89. package/dist/scene/particlesys.js +1 -0
  90. package/dist/scene/particlesys.js.map +1 -1
  91. package/dist/scene/scene.js +1 -0
  92. package/dist/scene/scene.js.map +1 -1
  93. package/dist/scene/scene_node.js +6 -0
  94. package/dist/scene/scene_node.js.map +1 -1
  95. package/dist/scene/sdftextsprite.js +322 -0
  96. package/dist/scene/sdftextsprite.js.map +1 -0
  97. package/dist/scene/terrain-cm/grass.js +1 -0
  98. package/dist/scene/terrain-cm/grass.js.map +1 -1
  99. package/dist/scene/terrain-cm/grassmaterial.js +1 -0
  100. package/dist/scene/terrain-cm/grassmaterial.js.map +1 -1
  101. package/dist/scene/terrain-cm/terrain-cm.js +1 -0
  102. package/dist/scene/terrain-cm/terrain-cm.js.map +1 -1
  103. package/dist/scene/textsprite.js +120 -0
  104. package/dist/scene/textsprite.js.map +1 -0
  105. package/dist/scene/water.js +1 -0
  106. package/dist/scene/water.js.map +1 -1
  107. package/dist/shadow/shader.js +1 -0
  108. package/dist/shadow/shader.js.map +1 -1
  109. package/dist/shapes/torus.js +90 -59
  110. package/dist/shapes/torus.js.map +1 -1
  111. package/dist/src/animation/animation.js +127 -0
  112. package/dist/src/animation/animation.js.map +1 -0
  113. package/dist/src/animation/animationset.js +255 -0
  114. package/dist/src/animation/animationset.js.map +1 -0
  115. package/dist/src/animation/animationtrack.js +34 -0
  116. package/dist/src/animation/animationtrack.js.map +1 -0
  117. package/dist/src/animation/eulerrotationtrack.js +52 -0
  118. package/dist/src/animation/eulerrotationtrack.js.map +1 -0
  119. package/dist/src/animation/morphtarget.js +93 -0
  120. package/dist/src/animation/morphtarget.js.map +1 -0
  121. package/dist/src/animation/morphtrack.js +70 -0
  122. package/dist/src/animation/morphtrack.js.map +1 -0
  123. package/dist/src/animation/proptrack.js +161 -0
  124. package/dist/src/animation/proptrack.js.map +1 -0
  125. package/dist/src/animation/rotationtrack.js +51 -0
  126. package/dist/src/animation/rotationtrack.js.map +1 -0
  127. package/dist/src/animation/scaletrack.js +50 -0
  128. package/dist/src/animation/scaletrack.js.map +1 -0
  129. package/dist/src/animation/skeleton.js +204 -0
  130. package/dist/src/animation/skeleton.js.map +1 -0
  131. package/dist/src/animation/translationtrack.js +50 -0
  132. package/dist/src/animation/translationtrack.js.map +1 -0
  133. package/dist/src/app/app.js +129 -0
  134. package/dist/src/app/app.js.map +1 -0
  135. package/dist/src/app/inputmgr.js +267 -0
  136. package/dist/src/app/inputmgr.js.map +1 -0
  137. package/dist/src/asset/assetmanager.js +404 -0
  138. package/dist/src/asset/assetmanager.js.map +1 -0
  139. package/dist/src/asset/builtin.js +337 -0
  140. package/dist/src/asset/builtin.js.map +1 -0
  141. package/dist/src/asset/loaders/dds/dds.js +470 -0
  142. package/dist/src/asset/loaders/dds/dds.js.map +1 -0
  143. package/dist/src/asset/loaders/dds/dds_loader.js +28 -0
  144. package/dist/src/asset/loaders/dds/dds_loader.js.map +1 -0
  145. package/dist/src/asset/loaders/gltf/gltf_loader.js +1265 -0
  146. package/dist/src/asset/loaders/gltf/gltf_loader.js.map +1 -0
  147. package/dist/src/asset/loaders/gltf/helpers.js +327 -0
  148. package/dist/src/asset/loaders/gltf/helpers.js.map +1 -0
  149. package/dist/src/asset/loaders/hdr/hdr.js +180 -0
  150. package/dist/src/asset/loaders/hdr/hdr.js.map +1 -0
  151. package/dist/src/asset/loaders/image/tga_Loader.js +116 -0
  152. package/dist/src/asset/loaders/image/tga_Loader.js.map +1 -0
  153. package/dist/src/asset/loaders/image/webimage_loader.js +63 -0
  154. package/dist/src/asset/loaders/image/webimage_loader.js.map +1 -0
  155. package/dist/src/asset/loaders/loader.js +45 -0
  156. package/dist/src/asset/loaders/loader.js.map +1 -0
  157. package/dist/src/asset/model.js +414 -0
  158. package/dist/src/asset/model.js.map +1 -0
  159. package/dist/src/blitter/bilateralblur.js +221 -0
  160. package/dist/src/blitter/bilateralblur.js.map +1 -0
  161. package/dist/src/blitter/blitter.js +390 -0
  162. package/dist/src/blitter/blitter.js.map +1 -0
  163. package/dist/src/blitter/box.js +118 -0
  164. package/dist/src/blitter/box.js.map +1 -0
  165. package/dist/src/blitter/copy.js +22 -0
  166. package/dist/src/blitter/copy.js.map +1 -0
  167. package/dist/src/blitter/gaussianblur.js +228 -0
  168. package/dist/src/blitter/gaussianblur.js.map +1 -0
  169. package/dist/src/camera/base.js +92 -0
  170. package/dist/src/camera/base.js.map +1 -0
  171. package/dist/src/camera/camera.js +1005 -0
  172. package/dist/src/camera/camera.js.map +1 -0
  173. package/dist/src/camera/fps.js +238 -0
  174. package/dist/src/camera/fps.js.map +1 -0
  175. package/dist/src/camera/orbit.js +245 -0
  176. package/dist/src/camera/orbit.js.map +1 -0
  177. package/dist/src/camera/orthocamera.js +167 -0
  178. package/dist/src/camera/orthocamera.js.map +1 -0
  179. package/dist/src/camera/perspectivecamera.js +141 -0
  180. package/dist/src/camera/perspectivecamera.js.map +1 -0
  181. package/dist/src/index.js +120 -0
  182. package/dist/src/index.js.map +1 -0
  183. package/dist/src/material/blinn.js +81 -0
  184. package/dist/src/material/blinn.js.map +1 -0
  185. package/dist/src/material/grassmaterial.js +113 -0
  186. package/dist/src/material/grassmaterial.js.map +1 -0
  187. package/dist/src/material/lambert.js +92 -0
  188. package/dist/src/material/lambert.js.map +1 -0
  189. package/dist/src/material/material.js +301 -0
  190. package/dist/src/material/material.js.map +1 -0
  191. package/dist/src/material/meshmaterial.js +704 -0
  192. package/dist/src/material/meshmaterial.js.map +1 -0
  193. package/dist/src/material/mixins/albedocolor.js +76 -0
  194. package/dist/src/material/mixins/albedocolor.js.map +1 -0
  195. package/dist/src/material/mixins/foliage.js +47 -0
  196. package/dist/src/material/mixins/foliage.js.map +1 -0
  197. package/dist/src/material/mixins/lightmodel/blinnphong.js +112 -0
  198. package/dist/src/material/mixins/lightmodel/blinnphong.js.map +1 -0
  199. package/dist/src/material/mixins/lightmodel/lambert.js +58 -0
  200. package/dist/src/material/mixins/lightmodel/lambert.js.map +1 -0
  201. package/dist/src/material/mixins/lightmodel/pbrmetallicroughness.js +178 -0
  202. package/dist/src/material/mixins/lightmodel/pbrmetallicroughness.js.map +1 -0
  203. package/dist/src/material/mixins/lightmodel/pbrspecularglossness.js +139 -0
  204. package/dist/src/material/mixins/lightmodel/pbrspecularglossness.js.map +1 -0
  205. package/dist/src/material/mixins/lit.js +476 -0
  206. package/dist/src/material/mixins/lit.js.map +1 -0
  207. package/dist/src/material/mixins/pbr/common.js +918 -0
  208. package/dist/src/material/mixins/pbr/common.js.map +1 -0
  209. package/dist/src/material/mixins/texture.js +172 -0
  210. package/dist/src/material/mixins/texture.js.map +1 -0
  211. package/dist/src/material/mixins/vertexcolor.js +56 -0
  212. package/dist/src/material/mixins/vertexcolor.js.map +1 -0
  213. package/dist/src/material/particle.js +178 -0
  214. package/dist/src/material/particle.js.map +1 -0
  215. package/dist/src/material/pbrmr.js +97 -0
  216. package/dist/src/material/pbrmr.js.map +1 -0
  217. package/dist/src/material/pbrsg.js +97 -0
  218. package/dist/src/material/pbrsg.js.map +1 -0
  219. package/dist/src/material/shader/helper.js +1209 -0
  220. package/dist/src/material/shader/helper.js.map +1 -0
  221. package/dist/src/material/terrain-cm.js +606 -0
  222. package/dist/src/material/terrain-cm.js.map +1 -0
  223. package/dist/src/material/terrainmaterial.js +375 -0
  224. package/dist/src/material/terrainmaterial.js.map +1 -0
  225. package/dist/src/material/unlit.js +41 -0
  226. package/dist/src/material/unlit.js.map +1 -0
  227. package/dist/src/material/water.js +417 -0
  228. package/dist/src/material/water.js.map +1 -0
  229. package/dist/src/posteffect/bloom.js +361 -0
  230. package/dist/src/posteffect/bloom.js.map +1 -0
  231. package/dist/src/posteffect/compositor.js +226 -0
  232. package/dist/src/posteffect/compositor.js.map +1 -0
  233. package/dist/src/posteffect/fxaa.js +273 -0
  234. package/dist/src/posteffect/fxaa.js.map +1 -0
  235. package/dist/src/posteffect/grayscale.js +69 -0
  236. package/dist/src/posteffect/grayscale.js.map +1 -0
  237. package/dist/src/posteffect/motionblur.js +96 -0
  238. package/dist/src/posteffect/motionblur.js.map +1 -0
  239. package/dist/src/posteffect/posteffect.js +126 -0
  240. package/dist/src/posteffect/posteffect.js.map +1 -0
  241. package/dist/src/posteffect/sao.js +324 -0
  242. package/dist/src/posteffect/sao.js.map +1 -0
  243. package/dist/src/posteffect/ssr.js +489 -0
  244. package/dist/src/posteffect/ssr.js.map +1 -0
  245. package/dist/src/posteffect/taa.js +172 -0
  246. package/dist/src/posteffect/taa.js.map +1 -0
  247. package/dist/src/posteffect/tonemap.js +94 -0
  248. package/dist/src/posteffect/tonemap.js.map +1 -0
  249. package/dist/src/render/abuffer_oit.js +361 -0
  250. package/dist/src/render/abuffer_oit.js.map +1 -0
  251. package/dist/src/render/clipmap.js +851 -0
  252. package/dist/src/render/clipmap.js.map +1 -0
  253. package/dist/src/render/cluster_light.js +333 -0
  254. package/dist/src/render/cluster_light.js.map +1 -0
  255. package/dist/src/render/cull_visitor.js +187 -0
  256. package/dist/src/render/cull_visitor.js.map +1 -0
  257. package/dist/src/render/depthpass.js +68 -0
  258. package/dist/src/render/depthpass.js.map +1 -0
  259. package/dist/src/render/drawable_mixin.js +227 -0
  260. package/dist/src/render/drawable_mixin.js.map +1 -0
  261. package/dist/src/render/envlight.js +463 -0
  262. package/dist/src/render/envlight.js.map +1 -0
  263. package/dist/src/render/fbm_wavegenerator.js +251 -0
  264. package/dist/src/render/fbm_wavegenerator.js.map +1 -0
  265. package/dist/src/render/fft_wavegenerator.js +1006 -0
  266. package/dist/src/render/fft_wavegenerator.js.map +1 -0
  267. package/dist/src/render/fullscreenquad.js +38 -0
  268. package/dist/src/render/fullscreenquad.js.map +1 -0
  269. package/dist/src/render/gerstner_wavegenerator.js +314 -0
  270. package/dist/src/render/gerstner_wavegenerator.js.map +1 -0
  271. package/dist/src/render/globalbindgroup_allocator.js +60 -0
  272. package/dist/src/render/globalbindgroup_allocator.js.map +1 -0
  273. package/dist/src/render/hzb.js +273 -0
  274. package/dist/src/render/hzb.js.map +1 -0
  275. package/dist/src/render/lightpass.js +172 -0
  276. package/dist/src/render/lightpass.js.map +1 -0
  277. package/dist/src/render/objectcolorpass.js +51 -0
  278. package/dist/src/render/objectcolorpass.js.map +1 -0
  279. package/dist/src/render/primitive.js +364 -0
  280. package/dist/src/render/primitive.js.map +1 -0
  281. package/dist/src/render/render_queue.js +467 -0
  282. package/dist/src/render/render_queue.js.map +1 -0
  283. package/dist/src/render/renderbundle_wrapper.js +152 -0
  284. package/dist/src/render/renderbundle_wrapper.js.map +1 -0
  285. package/dist/src/render/renderer.js +455 -0
  286. package/dist/src/render/renderer.js.map +1 -0
  287. package/dist/src/render/renderpass.js +200 -0
  288. package/dist/src/render/renderpass.js.map +1 -0
  289. package/dist/src/render/shadowmap_pass.js +56 -0
  290. package/dist/src/render/shadowmap_pass.js.map +1 -0
  291. package/dist/src/render/sky.js +1103 -0
  292. package/dist/src/render/sky.js.map +1 -0
  293. package/dist/src/render/weightedblended_oit.js +168 -0
  294. package/dist/src/render/weightedblended_oit.js.map +1 -0
  295. package/dist/src/scene/batchgroup.js +162 -0
  296. package/dist/src/scene/batchgroup.js.map +1 -0
  297. package/dist/src/scene/environment.js +209 -0
  298. package/dist/src/scene/environment.js.map +1 -0
  299. package/dist/src/scene/graph_node.js +72 -0
  300. package/dist/src/scene/graph_node.js.map +1 -0
  301. package/dist/src/scene/light.js +416 -0
  302. package/dist/src/scene/light.js.map +1 -0
  303. package/dist/src/scene/mesh.js +341 -0
  304. package/dist/src/scene/mesh.js.map +1 -0
  305. package/dist/src/scene/octree.js +649 -0
  306. package/dist/src/scene/octree.js.map +1 -0
  307. package/dist/src/scene/particlesys.js +738 -0
  308. package/dist/src/scene/particlesys.js.map +1 -0
  309. package/dist/src/scene/raycast_visitor.js +103 -0
  310. package/dist/src/scene/raycast_visitor.js.map +1 -0
  311. package/dist/src/scene/scene.js +284 -0
  312. package/dist/src/scene/scene.js.map +1 -0
  313. package/dist/src/scene/scene_node.js +732 -0
  314. package/dist/src/scene/scene_node.js.map +1 -0
  315. package/dist/src/scene/terrain/grass.js +278 -0
  316. package/dist/src/scene/terrain/grass.js.map +1 -0
  317. package/dist/src/scene/terrain/heightfield.js +475 -0
  318. package/dist/src/scene/terrain/heightfield.js.map +1 -0
  319. package/dist/src/scene/terrain/patch.js +530 -0
  320. package/dist/src/scene/terrain/patch.js.map +1 -0
  321. package/dist/src/scene/terrain/quadtree.js +461 -0
  322. package/dist/src/scene/terrain/quadtree.js.map +1 -0
  323. package/dist/src/scene/terrain/terrain.js +246 -0
  324. package/dist/src/scene/terrain/terrain.js.map +1 -0
  325. package/dist/src/scene/terrain-cm/grass.js +594 -0
  326. package/dist/src/scene/terrain-cm/grass.js.map +1 -0
  327. package/dist/src/scene/terrain-cm/grassmaterial.js +159 -0
  328. package/dist/src/scene/terrain-cm/grassmaterial.js.map +1 -0
  329. package/dist/src/scene/terrain-cm/terrain-cm.js +538 -0
  330. package/dist/src/scene/terrain-cm/terrain-cm.js.map +1 -0
  331. package/dist/src/scene/water.js +374 -0
  332. package/dist/src/scene/water.js.map +1 -0
  333. package/dist/src/shaders/atmosphere.js +957 -0
  334. package/dist/src/shaders/atmosphere.js.map +1 -0
  335. package/dist/src/shaders/fog.js +112 -0
  336. package/dist/src/shaders/fog.js.map +1 -0
  337. package/dist/src/shaders/misc.js +266 -0
  338. package/dist/src/shaders/misc.js.map +1 -0
  339. package/dist/src/shaders/noise.js +222 -0
  340. package/dist/src/shaders/noise.js.map +1 -0
  341. package/dist/src/shaders/pbr.js +51 -0
  342. package/dist/src/shaders/pbr.js.map +1 -0
  343. package/dist/src/shaders/shadow.js +636 -0
  344. package/dist/src/shaders/shadow.js.map +1 -0
  345. package/dist/src/shaders/ssr.js +490 -0
  346. package/dist/src/shaders/ssr.js.map +1 -0
  347. package/dist/src/shaders/temporal.js +215 -0
  348. package/dist/src/shaders/temporal.js.map +1 -0
  349. package/dist/src/shaders/water.js +756 -0
  350. package/dist/src/shaders/water.js.map +1 -0
  351. package/dist/src/shadow/esm.js +237 -0
  352. package/dist/src/shadow/esm.js.map +1 -0
  353. package/dist/src/shadow/pcf_opt.js +181 -0
  354. package/dist/src/shadow/pcf_opt.js.map +1 -0
  355. package/dist/src/shadow/pcf_pd.js +189 -0
  356. package/dist/src/shadow/pcf_pd.js.map +1 -0
  357. package/dist/src/shadow/shader.js +37 -0
  358. package/dist/src/shadow/shader.js.map +1 -0
  359. package/dist/src/shadow/shadow_impl.js +15 -0
  360. package/dist/src/shadow/shadow_impl.js.map +1 -0
  361. package/dist/src/shadow/shadowmapper.js +790 -0
  362. package/dist/src/shadow/shadowmapper.js.map +1 -0
  363. package/dist/src/shadow/ssm.js +159 -0
  364. package/dist/src/shadow/ssm.js.map +1 -0
  365. package/dist/src/shadow/vsm.js +297 -0
  366. package/dist/src/shadow/vsm.js.map +1 -0
  367. package/dist/src/shapes/box.js +386 -0
  368. package/dist/src/shapes/box.js.map +1 -0
  369. package/dist/src/shapes/cylinder.js +125 -0
  370. package/dist/src/shapes/cylinder.js.map +1 -0
  371. package/dist/src/shapes/plane.js +88 -0
  372. package/dist/src/shapes/plane.js.map +1 -0
  373. package/dist/src/shapes/shape.js +87 -0
  374. package/dist/src/shapes/shape.js.map +1 -0
  375. package/dist/src/shapes/sphere.js +114 -0
  376. package/dist/src/shapes/sphere.js.map +1 -0
  377. package/dist/src/shapes/tetrahedron.js +188 -0
  378. package/dist/src/shapes/tetrahedron.js.map +1 -0
  379. package/dist/src/shapes/torus.js +111 -0
  380. package/dist/src/shapes/torus.js.map +1 -0
  381. package/dist/src/utility/aabbtree.js +400 -0
  382. package/dist/src/utility/aabbtree.js.map +1 -0
  383. package/dist/src/utility/bounding_volume.js +29 -0
  384. package/dist/src/utility/bounding_volume.js.map +1 -0
  385. package/dist/src/utility/debug.js +28 -0
  386. package/dist/src/utility/debug.js.map +1 -0
  387. package/dist/src/utility/draco/decoder.js +116 -0
  388. package/dist/src/utility/draco/decoder.js.map +1 -0
  389. package/dist/src/utility/misc.js +105 -0
  390. package/dist/src/utility/misc.js.map +1 -0
  391. package/dist/src/utility/panorama.js +163 -0
  392. package/dist/src/utility/panorama.js.map +1 -0
  393. package/dist/src/utility/pmrem.js +354 -0
  394. package/dist/src/utility/pmrem.js.map +1 -0
  395. package/dist/src/utility/rendermipmap.js +115 -0
  396. package/dist/src/utility/rendermipmap.js.map +1 -0
  397. package/dist/src/utility/serialization/json.js +402 -0
  398. package/dist/src/utility/serialization/json.js.map +1 -0
  399. package/dist/src/utility/serialization/manager.js +623 -0
  400. package/dist/src/utility/serialization/manager.js.map +1 -0
  401. package/dist/src/utility/serialization/scene/animation.js +248 -0
  402. package/dist/src/utility/serialization/scene/animation.js.map +1 -0
  403. package/dist/src/utility/serialization/scene/batch.js +59 -0
  404. package/dist/src/utility/serialization/scene/batch.js.map +1 -0
  405. package/dist/src/utility/serialization/scene/camera.js +790 -0
  406. package/dist/src/utility/serialization/scene/camera.js.map +1 -0
  407. package/dist/src/utility/serialization/scene/common.js +222 -0
  408. package/dist/src/utility/serialization/scene/common.js.map +1 -0
  409. package/dist/src/utility/serialization/scene/light.js +575 -0
  410. package/dist/src/utility/serialization/scene/light.js.map +1 -0
  411. package/dist/src/utility/serialization/scene/material.js +1111 -0
  412. package/dist/src/utility/serialization/scene/material.js.map +1 -0
  413. package/dist/src/utility/serialization/scene/mesh.js +148 -0
  414. package/dist/src/utility/serialization/scene/mesh.js.map +1 -0
  415. package/dist/src/utility/serialization/scene/misc.js +39 -0
  416. package/dist/src/utility/serialization/scene/misc.js.map +1 -0
  417. package/dist/src/utility/serialization/scene/node.js +451 -0
  418. package/dist/src/utility/serialization/scene/node.js.map +1 -0
  419. package/dist/src/utility/serialization/scene/particle.js +425 -0
  420. package/dist/src/utility/serialization/scene/particle.js.map +1 -0
  421. package/dist/src/utility/serialization/scene/primitive.js +692 -0
  422. package/dist/src/utility/serialization/scene/primitive.js.map +1 -0
  423. package/dist/src/utility/serialization/scene/scene.js +704 -0
  424. package/dist/src/utility/serialization/scene/scene.js.map +1 -0
  425. package/dist/src/utility/serialization/scene/terrain.js +488 -0
  426. package/dist/src/utility/serialization/scene/terrain.js.map +1 -0
  427. package/dist/src/utility/serialization/scene/water.js +465 -0
  428. package/dist/src/utility/serialization/scene/water.js.map +1 -0
  429. package/dist/src/utility/shprojector.js +297 -0
  430. package/dist/src/utility/shprojector.js.map +1 -0
  431. package/dist/src/utility/textures/ggxlut.js +213 -0
  432. package/dist/src/utility/textures/ggxlut.js.map +1 -0
  433. package/dist/src/utility/textures/gradientnoise.js +62 -0
  434. package/dist/src/utility/textures/gradientnoise.js.map +1 -0
  435. package/dist/src/utility/textures/randomnoise.js +41 -0
  436. package/dist/src/utility/textures/randomnoise.js.map +1 -0
  437. package/dist/src/values.js +162 -0
  438. package/dist/src/values.js.map +1 -0
  439. package/dist/text/font/font_asset.js +884 -0
  440. package/dist/text/font/font_asset.js.map +1 -0
  441. package/dist/text/font/sfnt_reader.js +43 -0
  442. package/dist/text/font/sfnt_reader.js.map +1 -0
  443. package/dist/text/msdf/generator.js +417 -0
  444. package/dist/text/msdf/generator.js.map +1 -0
  445. package/dist/text/msdf/shape.js +143 -0
  446. package/dist/text/msdf/shape.js.map +1 -0
  447. package/dist/text/runtime/msdf_glyph_atlas.js +146 -0
  448. package/dist/text/runtime/msdf_glyph_atlas.js.map +1 -0
  449. package/dist/text/runtime/msdf_text_atlas_manager.js +47 -0
  450. package/dist/text/runtime/msdf_text_atlas_manager.js.map +1 -0
  451. package/dist/text/runtime/text_layout.js +96 -0
  452. package/dist/text/runtime/text_layout.js.map +1 -0
  453. package/dist/utility/blueprint/material/common.js +7 -0
  454. package/dist/utility/blueprint/material/common.js.map +1 -0
  455. package/dist/utility/blueprint/material/inputs.js +1275 -1091
  456. package/dist/utility/blueprint/material/inputs.js.map +1 -1
  457. package/dist/utility/blueprint/material/ir.js +505 -490
  458. package/dist/utility/blueprint/material/ir.js.map +1 -1
  459. package/dist/utility/blueprint/material/pbr.js +32 -0
  460. package/dist/utility/blueprint/material/pbr.js.map +1 -1
  461. package/dist/utility/serialization/blueprint/constants.js +255 -0
  462. package/dist/utility/serialization/blueprint/constants.js.map +1 -0
  463. package/dist/utility/serialization/blueprint/material/constants.js +203 -0
  464. package/dist/utility/serialization/blueprint/material/constants.js.map +1 -0
  465. package/dist/utility/serialization/blueprint/material/texture.js +165 -0
  466. package/dist/utility/serialization/blueprint/material/texture.js.map +1 -0
  467. package/dist/utility/serialization/manager.js +55 -11
  468. package/dist/utility/serialization/manager.js.map +1 -1
  469. package/dist/utility/serialization/scene/animation.js +2 -0
  470. package/dist/utility/serialization/scene/animation.js.map +1 -1
  471. package/dist/utility/serialization/scene/batch.js +2 -0
  472. package/dist/utility/serialization/scene/batch.js.map +1 -1
  473. package/dist/utility/serialization/scene/camera.js +2 -0
  474. package/dist/utility/serialization/scene/camera.js.map +1 -1
  475. package/dist/utility/serialization/scene/common.js.map +1 -1
  476. package/dist/utility/serialization/scene/light.js +2 -0
  477. package/dist/utility/serialization/scene/light.js.map +1 -1
  478. package/dist/utility/serialization/scene/material.js +1 -0
  479. package/dist/utility/serialization/scene/material.js.map +1 -1
  480. package/dist/utility/serialization/scene/mesh.js +2 -0
  481. package/dist/utility/serialization/scene/mesh.js.map +1 -1
  482. package/dist/utility/serialization/scene/node.js +2 -0
  483. package/dist/utility/serialization/scene/node.js.map +1 -1
  484. package/dist/utility/serialization/scene/particle.js +2 -0
  485. package/dist/utility/serialization/scene/particle.js.map +1 -1
  486. package/dist/utility/serialization/scene/primitive.js +1 -0
  487. package/dist/utility/serialization/scene/primitive.js.map +1 -1
  488. package/dist/utility/serialization/scene/scene.js.map +1 -1
  489. package/dist/utility/serialization/scene/sprite.js +2 -0
  490. package/dist/utility/serialization/scene/sprite.js.map +1 -1
  491. package/dist/utility/serialization/scene/terrain.js +2 -0
  492. package/dist/utility/serialization/scene/terrain.js.map +1 -1
  493. package/dist/utility/serialization/scene/text.js +516 -0
  494. package/dist/utility/serialization/scene/text.js.map +1 -0
  495. package/dist/utility/serialization/scene/water.js +2 -0
  496. package/dist/utility/serialization/scene/water.js.map +1 -1
  497. package/dist/utility/serialization/types.js +4 -4
  498. package/dist/utility/serialization/types.js.map +1 -1
  499. package/dist/values.js +1 -5
  500. package/dist/values.js.map +1 -1
  501. package/package.json +3 -3
  502. package/dist/animation/joint_dynamics/vrm_spring_bone.js +0 -46
  503. package/dist/animation/joint_dynamics/vrm_spring_bone.js.map +0 -1
  504. package/dist/animation/spring/spring_bone.js +0 -240
  505. package/dist/animation/spring/spring_bone.js.map +0 -1
  506. package/dist/animation/spring/spring_bone_collider.js +0 -198
  507. package/dist/animation/spring/spring_bone_collider.js.map +0 -1
  508. package/dist/animation/spring/spring_bone_constraint.js +0 -170
  509. package/dist/animation/spring/spring_bone_constraint.js.map +0 -1
  510. package/dist/animation/spring/spring_bone_system.js +0 -328
  511. package/dist/animation/spring/spring_bone_system.js.map +0 -1
  512. package/dist/render/sky_motion_vector.js +0 -85
  513. package/dist/render/sky_motion_vector.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _zephyr3d_device from '@zephyr3d/device';
2
- import { TextureCube, FrameBuffer, Texture2D, GPUDataBuffer, PrimitiveType, TextureSampler, BindGroupLayout, ProgramBuilder, PBInsideFunctionScope, PBShaderExp, PBGlobalScope, VertexSemantic, StructuredBuffer, VertexAttribFormat, VertexStepMode, IndexBuffer, BindGroup, GPUProgram, RenderStateSet, FaceMode, PBFunctionScope, Texture2DArray, BaseTexture, ShaderTypeFunc, TextureFormat, AbstractDevice, ColorState, SamplerOptions, DeviceBackend, TextureAddressMode, TextureFilterMode } from '@zephyr3d/device';
2
+ import { TextureCube, FrameBuffer, Texture2D, GPUDataBuffer, PrimitiveType, TextureSampler, BindGroupLayout, ProgramBuilder, PBInsideFunctionScope, PBShaderExp, PBGlobalScope, VertexSemantic, StructuredBuffer, VertexAttribFormat, VertexStepMode, IndexBuffer, BindGroup, GPUProgram, RenderStateSet, FaceMode, PBFunctionScope, Texture2DArray, BaseTexture, ShaderTypeFunc, TextureFormat, AbstractDevice, ColorState, SamplerOptions, TextureAtlasManager, DeviceBackend, TextureAddressMode, TextureFilterMode } from '@zephyr3d/device';
3
3
  import * as _zephyr3d_base from '@zephyr3d/base';
4
4
  import { Disposable, TypedArray, Ray, AABB, Matrix4x4, Plane, Frustum, Vector3, Nullable, GenericConstructor, RequireOptionals, Immutable, Vector4, Clonable, IDisposable, Vector2, IEventTarget, Observable, DRef, Rect, CubeFace, Quaternion, Interpolator, InterpolationMode, InterpolatorScalar, DeepPartial, VFS, HttpRequest, WriteOptions, ReadOptions, DeepRequireOptionals } from '@zephyr3d/base';
5
5
  import { DecoderModule, Metadata as Metadata$1 } from 'draco3d';
@@ -310,6 +310,8 @@ type PropertyAccessorOptions = {
310
310
  minValue?: number;
311
311
  /** Maximum numeric value (for sliders/spinners). */
312
312
  maxValue?: number;
313
+ /** Whether string property is multiline. */
314
+ multiline?: boolean;
313
315
  /** Step/speed for numeric editing UI. */
314
316
  speed?: number;
315
317
  /** Whether the property can be animated/keyframed. */
@@ -1289,6 +1291,7 @@ declare class ShaderHelper {
1289
1291
  * @returns The transformed color
1290
1292
  */
1291
1293
  static encodeColorOutput(scope: PBInsideFunctionScope, outputColor: PBShaderExp): PBShaderExp;
1294
+ static getMaxClusteredLightCount(): 255 | 127;
1292
1295
  }
1293
1296
 
1294
1297
  declare const Primitive_base: (new (...args: any[]) => {
@@ -3253,6 +3256,9 @@ declare class MaterialBlueprintIR {
3253
3256
  private rotateAboutAxis;
3254
3257
  /** Converts a panner node to IR */
3255
3258
  private panner;
3259
+ private vertexOutput;
3260
+ private vertexIndex;
3261
+ private instanceIndex;
3256
3262
  /** Converts a vertex color input node to IR */
3257
3263
  private vertexColor;
3258
3264
  /** Converts a vertex UV input node to IR */
@@ -3960,6 +3966,57 @@ declare class StandardSpriteMaterial extends SpriteMaterial implements Clonable<
3960
3966
  protected onDispose(): void;
3961
3967
  }
3962
3968
 
3969
+ /**
3970
+ * Atlas-based MSDF text material.
3971
+ *
3972
+ * @public
3973
+ */
3974
+ declare class MSDFTextMaterial extends MeshMaterial implements Clonable<MSDFTextMaterial> {
3975
+ static FEATURE_TEXT_ATLAS: number;
3976
+ private _atlas;
3977
+ private _textColor;
3978
+ private _outlineColor;
3979
+ private _distanceRange;
3980
+ private _atlasSize;
3981
+ private _smallGlyphThreshold;
3982
+ private _outlineWidth;
3983
+ constructor();
3984
+ get atlasTexture(): _zephyr3d_base.Nullable<Texture2D<unknown>>;
3985
+ set atlasTexture(tex: _zephyr3d_base.Nullable<Texture2D<unknown>>);
3986
+ get textColor(): Immutable<Vector3>;
3987
+ set textColor(value: Immutable<Vector3>);
3988
+ get outlineColor(): Immutable<Vector3>;
3989
+ set outlineColor(value: Immutable<Vector3>);
3990
+ get distanceRange(): number;
3991
+ set distanceRange(value: number);
3992
+ get smallGlyphThreshold(): number;
3993
+ set smallGlyphThreshold(value: number);
3994
+ get outlineWidth(): number;
3995
+ set outlineWidth(value: number);
3996
+ clone(): MSDFTextMaterial;
3997
+ copyFrom(other: this): void;
3998
+ vertexShader(scope: PBFunctionScope): void;
3999
+ fragmentShader(scope: PBFunctionScope): void;
4000
+ applyUniformValues(bindGroup: BindGroup, ctx: DrawContext, pass: number): void;
4001
+ protected onDispose(): void;
4002
+ }
4003
+
4004
+ /**
4005
+ * Billboard MSDF text material.
4006
+ *
4007
+ * @public
4008
+ */
4009
+ declare class MSDFTextSpriteMaterial extends MSDFTextMaterial implements Clonable<MSDFTextSpriteMaterial> {
4010
+ private _rotation;
4011
+ constructor();
4012
+ get rotation(): number;
4013
+ set rotation(value: number);
4014
+ clone(): MSDFTextSpriteMaterial;
4015
+ copyFrom(other: this): void;
4016
+ vertexShader(scope: PBFunctionScope): void;
4017
+ applyUniformValues(bindGroup: BindGroup, ctx: DrawContext, pass: number): void;
4018
+ }
4019
+
3963
4020
  /**
3964
4021
  * Sprite material driven by a blueprint graph.
3965
4022
  *
@@ -5632,6 +5689,8 @@ declare class CullVisitor implements Visitor<SceneNode | OctreeNode> {
5632
5689
  */
5633
5690
  visit(target: SceneNode | OctreeNode): boolean;
5634
5691
  visitSprite(node: Sprite): boolean;
5692
+ visitMSDFText(node: MSDFText): boolean;
5693
+ visitMSDFTextSprite(node: MSDFTextSprite): boolean;
5635
5694
  }
5636
5695
 
5637
5696
  /**
@@ -8547,8 +8606,6 @@ type MorphInfo = {
8547
8606
  * @public
8548
8607
  */
8549
8608
  interface Drawable {
8550
- /** Gets the display name of the drawable object (for debugging/UI). */
8551
- getName(): string;
8552
8609
  /** Unique, stable identifier for the drawable, used in caches and picking. */
8553
8610
  getDrawableId(): number;
8554
8611
  /** Returns the owning scene node (transform and hierarchy). */
@@ -12775,23 +12832,24 @@ declare class JointDynamicsModifier extends SkeletonModifier {
12775
12832
  * @public
12776
12833
  */
12777
12834
  type MeshUpdateCallback = (frameId: number, elapsedInSeconds: number, deltaInSeconds: number) => void;
12778
- declare const Mesh_base: typeof GraphNode & _zephyr3d_base.GenericConstructor<{
12835
+ declare const MeshBase: typeof GraphNode & _zephyr3d_base.GenericConstructor<{
12779
12836
  getNode(): SceneNode;
12780
- } & _zephyr3d_base.Disposable> & (new (...args: any[]) => IMixinDrawable);
12837
+ } & _zephyr3d_base.Disposable> & (new (...args: any[]) => IMixinDrawable) & (new (...args: any[]) => _zephyr3d_base.IEventTarget<{
12838
+ primitive_changed: [primitive: Nullable<Primitive>];
12839
+ material_changed: [material: Nullable<MeshMaterial>];
12840
+ } & {
12841
+ dispose: [];
12842
+ }>);
12781
12843
  /**
12782
12844
  * Mesh node
12783
12845
  * @public
12784
12846
  */
12785
- declare class Mesh extends Mesh_base implements BatchDrawable {
12847
+ declare class Mesh extends MeshBase implements BatchDrawable {
12786
12848
  /**
12787
12849
  * Creates an instance of mesh node
12788
12850
  * @param scene - The scene to which the mesh node belongs
12789
12851
  */
12790
12852
  constructor(scene: Scene, primitive?: Primitive, material?: MeshMaterial);
12791
- /**
12792
- * {@inheritDoc Drawable.getName}
12793
- */
12794
- getName(): string;
12795
12853
  /**
12796
12854
  * Returns the batch instance ID for the current render pass.
12797
12855
  */
@@ -12811,11 +12869,11 @@ declare class Mesh extends Mesh_base implements BatchDrawable {
12811
12869
  get castShadow(): boolean;
12812
12870
  set castShadow(b: boolean);
12813
12871
  /** Primitive of the mesh */
12814
- get primitive(): Nullable<Primitive>;
12815
- set primitive(prim: Nullable<Primitive>);
12872
+ get primitive(): Primitive | null;
12873
+ set primitive(prim: Primitive | null);
12816
12874
  /** Material of the mesh */
12817
- get material(): Nullable<MeshMaterial>;
12818
- set material(m: Nullable<MeshMaterial>);
12875
+ get material(): MeshMaterial | null;
12876
+ set material(m: MeshMaterial | null);
12819
12877
  /**
12820
12878
  * {@inheritDoc SceneNode.isMesh}
12821
12879
  */
@@ -12919,11 +12977,11 @@ declare class Mesh extends Mesh_base implements BatchDrawable {
12919
12977
  /**
12920
12978
  * {@inheritDoc Drawable.getMaterial}
12921
12979
  */
12922
- getMaterial(): Nullable<MeshMaterial>;
12980
+ getMaterial(): MeshMaterial | null;
12923
12981
  /**
12924
12982
  * {@inheritDoc Drawable.getPrimitive}
12925
12983
  */
12926
- getPrimitive(): Nullable<Primitive>;
12984
+ getPrimitive(): Primitive | null;
12927
12985
  /**
12928
12986
  * {@inheritDoc Drawable.getBoneMatrices}
12929
12987
  */
@@ -13674,6 +13732,202 @@ declare abstract class AbstractModelLoader extends LoaderBase {
13674
13732
  abstract load(assetManager: AssetManager, url: string, mimeType: string, data: Blob, dracoDecoderModule?: DecoderModule, VFSs?: VFS[]): Promise<Nullable<SharedModel>>;
13675
13733
  }
13676
13734
 
13735
+ /**
13736
+ * Font outline point.
13737
+ *
13738
+ * @public
13739
+ */
13740
+ type GlyphPoint = {
13741
+ x: number;
13742
+ y: number;
13743
+ onCurve: boolean;
13744
+ };
13745
+ /**
13746
+ * Glyph contour represented by ordered quadratic points.
13747
+ *
13748
+ * @public
13749
+ */
13750
+ type GlyphContour = GlyphPoint[];
13751
+ /**
13752
+ * Parsed glyph outline and metrics.
13753
+ *
13754
+ * @public
13755
+ */
13756
+ type GlyphData = {
13757
+ glyphIndex: number;
13758
+ advanceWidth: number;
13759
+ leftSideBearing: number;
13760
+ xMin: number;
13761
+ yMin: number;
13762
+ xMax: number;
13763
+ yMax: number;
13764
+ contours: GlyphContour[];
13765
+ };
13766
+ /**
13767
+ * Minimal font metrics required by runtime text layout.
13768
+ *
13769
+ * @public
13770
+ */
13771
+ type FontMetrics = {
13772
+ unitsPerEm: number;
13773
+ ascent: number;
13774
+ descent: number;
13775
+ lineGap: number;
13776
+ glyphCount: number;
13777
+ };
13778
+
13779
+ type FontAssetFetchOptions = {
13780
+ pageSize?: number;
13781
+ glyphSize?: number;
13782
+ };
13783
+ type FontAssetMSDFAtlasSettings = Readonly<{
13784
+ pageSize: number;
13785
+ glyphSize: number;
13786
+ }>;
13787
+ /**
13788
+ * Minimal horizontal pair adjustment extracted from GPOS.
13789
+ *
13790
+ * @public
13791
+ */
13792
+ type PairAdjustment = {
13793
+ firstXPlacement: number;
13794
+ firstXAdvance: number;
13795
+ secondXPlacement: number;
13796
+ secondXAdvance: number;
13797
+ };
13798
+ /**
13799
+ * Minimal runtime font asset for TrueType outlines.
13800
+ *
13801
+ * @public
13802
+ */
13803
+ declare class FontAsset {
13804
+ private readonly _reader;
13805
+ private readonly _tables;
13806
+ private readonly _glyphOffsets;
13807
+ private readonly _advanceWidths;
13808
+ private readonly _leftSideBearings;
13809
+ private readonly _glyphCache;
13810
+ private readonly _cmapFormat4;
13811
+ private readonly _cmapFormat12;
13812
+ private readonly _kernPairs;
13813
+ private readonly _gposPairs;
13814
+ private readonly _metrics;
13815
+ private readonly _numberOfHMetrics;
13816
+ private readonly _msdfAtlasSettings;
13817
+ private constructor();
13818
+ static fromBuffer(buffer: ArrayBuffer, options?: FontAssetFetchOptions): FontAsset;
13819
+ get metrics(): FontMetrics;
13820
+ get msdfAtlasSettings(): FontAssetMSDFAtlasSettings;
13821
+ get msdfAtlasPageSize(): number;
13822
+ get msdfGlyphSize(): number;
13823
+ getGlyphIndex(codePoint: number): number;
13824
+ getKerning(leftGlyphIndex: number, rightGlyphIndex: number): number;
13825
+ getPairAdjustment(leftGlyphIndex: number, rightGlyphIndex: number): PairAdjustment | null;
13826
+ getGlyph(glyphIndex: number): GlyphData | null;
13827
+ private getTable;
13828
+ private requireTable;
13829
+ private loadGlyph;
13830
+ }
13831
+
13832
+ /**
13833
+ * Signed distance field generation options.
13834
+ *
13835
+ * @public
13836
+ */
13837
+ type MSDFOptions = {
13838
+ width: number;
13839
+ height: number;
13840
+ range: number;
13841
+ padding?: number;
13842
+ };
13843
+ /**
13844
+ * RGB MSDF bitmap and placement information.
13845
+ *
13846
+ * @public
13847
+ */
13848
+ type MSDFBitmap = {
13849
+ width: number;
13850
+ height: number;
13851
+ pixels: Uint8Array<ArrayBuffer>;
13852
+ scale: number;
13853
+ translateX: number;
13854
+ translateY: number;
13855
+ };
13856
+ /**
13857
+ * Edge color mask used by MSDF generation.
13858
+ *
13859
+ * Colors are stored as RGB bit masks, allowing an edge to contribute to
13860
+ * multiple channels (for example cyan = green | blue).
13861
+ *
13862
+ * @public
13863
+ */
13864
+ type EdgeColor = 1 | 2 | 3 | 4 | 5 | 6 | 7;
13865
+ /**
13866
+ * Colored line edge used for MSDF generation.
13867
+ *
13868
+ * @public
13869
+ */
13870
+ type ColoredLineEdge = {
13871
+ kind: 'line';
13872
+ color: EdgeColor;
13873
+ p0: {
13874
+ x: number;
13875
+ y: number;
13876
+ };
13877
+ p1: {
13878
+ x: number;
13879
+ y: number;
13880
+ };
13881
+ };
13882
+ /**
13883
+ * Colored quadratic edge used for MSDF generation.
13884
+ *
13885
+ * @public
13886
+ */
13887
+ type ColoredQuadraticEdge = {
13888
+ kind: 'quadratic';
13889
+ color: EdgeColor;
13890
+ p0: {
13891
+ x: number;
13892
+ y: number;
13893
+ };
13894
+ p1: {
13895
+ x: number;
13896
+ y: number;
13897
+ };
13898
+ p2: {
13899
+ x: number;
13900
+ y: number;
13901
+ };
13902
+ };
13903
+ /**
13904
+ * Colored edge used for MSDF generation.
13905
+ *
13906
+ * @public
13907
+ */
13908
+ type ColoredEdge = ColoredLineEdge | ColoredQuadraticEdge;
13909
+ /**
13910
+ * Converted glyph shape ready for MSDF sampling.
13911
+ *
13912
+ * @public
13913
+ */
13914
+ type MSDFShape = {
13915
+ contours: ColoredEdge[][];
13916
+ sourceContours: GlyphContour[];
13917
+ };
13918
+
13919
+ declare function buildMSDFShape(contours: GlyphContour[]): MSDFShape;
13920
+
13921
+ /**
13922
+ * Generate a runtime RGB(A) distance field bitmap from a parsed glyph.
13923
+ *
13924
+ * Distances are encoded in output texel units, which matches the shader-side
13925
+ * `distanceRange` logic and keeps the field scale-invariant across font sizes.
13926
+ *
13927
+ * @public
13928
+ */
13929
+ declare function generateMSDF(glyph: GlyphData, options: MSDFOptions): MSDFBitmap;
13930
+
13677
13931
  /**
13678
13932
  * Options for texture fetching.
13679
13933
  *
@@ -13779,6 +14033,15 @@ declare class AssetManager {
13779
14033
  * if no other owners are holding them.
13780
14034
  */
13781
14035
  clearCache(): void;
14036
+ /**
14037
+ * Removes a cached font asset entry by URL.
14038
+ *
14039
+ * This only evicts the cache entry. It does not dispose any external references to the FontAsset.
14040
+ *
14041
+ * @param url - Resource URL or VFS path.
14042
+ * @returns `true` if a cache entry existed and was removed.
14043
+ */
14044
+ releaseFontAsset(url: string): boolean;
13782
14045
  /**
13783
14046
  * Register a texture loader (highest priority first).
13784
14047
  *
@@ -13831,6 +14094,24 @@ declare class AssetManager {
13831
14094
  * @returns A promise that resolves to the loaded (and optionally processed) ArrayBuffer.
13832
14095
  */
13833
14096
  fetchBinaryData(url: string, postProcess?: Nullable<(data: ArrayBuffer) => ArrayBuffer>, httpRequest?: Nullable<HttpRequest>, VFSs?: VFS[]): Promise<Nullable<ArrayBuffer>>;
14097
+ /**
14098
+ * Fetch a font asset via VFS.
14099
+ *
14100
+ * - Cached per URL only.
14101
+ * - `options` are applied only when the font is first loaded for that URL.
14102
+ * - If the URL is already cached, later calls ignore `options` and reuse the cached FontAsset.
14103
+ *
14104
+ * @param url - Resource URL or VFS path.
14105
+ * @param options - Optional MSDF atlas settings bound to the loaded FontAsset.
14106
+ * @returns A promise that resolves to the loaded (and optionally processed) font asset.
14107
+ */
14108
+ fetchFontAsset(url: string, options?: FontAssetFetchOptions, VFSs?: VFS[]): Promise<Nullable<FontAsset>>;
14109
+ /**
14110
+ * Fetch a font asset via VFS if already cached.
14111
+ * @param url - Resource URL or VFS path.
14112
+ * @returns The cached FontAsset if it exists and is loaded, or null if not cached or still loading.
14113
+ */
14114
+ getFontAsset(url: string): Nullable<FontAsset>;
13834
14115
  fetchBluePrint(url: string, VFSs?: VFS[]): Promise<Nullable<Record<string, MaterialBlueprintIR>>>;
13835
14116
  /**
13836
14117
  * Fetch a material resource.
@@ -14751,10 +15032,6 @@ declare class BaseSprite<M extends SpriteMaterial> extends BaseSprite_base imple
14751
15032
  * @param scene - The scene to which the mesh node belongs
14752
15033
  */
14753
15034
  constructor(scene: Scene);
14754
- /**
14755
- * {@inheritDoc Drawable.getName}
14756
- */
14757
- getName(): string;
14758
15035
  /**
14759
15036
  * Returns the batch instance ID for the current render pass.
14760
15037
  */
@@ -14881,6 +15158,189 @@ declare class ScriptAttachment {
14881
15158
  */
14882
15159
  declare function normalizeScriptAttachments(value: unknown): ScriptAttachment[];
14883
15160
 
15161
+ type MSDFGlyphInfo = {
15162
+ glyphIndex: number;
15163
+ advanceWidth: number;
15164
+ leftSideBearing: number;
15165
+ atlasIndex: number;
15166
+ width: number;
15167
+ height: number;
15168
+ uMin: number;
15169
+ vMin: number;
15170
+ uMax: number;
15171
+ vMax: number;
15172
+ planeLeft: number;
15173
+ planeBottom: number;
15174
+ planeRight: number;
15175
+ planeTop: number;
15176
+ };
15177
+ /**
15178
+ * Runtime dynamic MSDF glyph atlas.
15179
+ *
15180
+ * @public
15181
+ */
15182
+ declare class MSDFGlyphAtlas extends TextureAtlasManager {
15183
+ private readonly _font;
15184
+ private readonly _glyphs;
15185
+ private readonly _range;
15186
+ private readonly _glyphSize;
15187
+ private readonly _padding;
15188
+ constructor(device: AbstractDevice, font: FontAsset, glyphSize?: number, atlasSize?: number, range?: number, padding?: number);
15189
+ get font(): FontAsset;
15190
+ get glyphSize(): number;
15191
+ get distanceRange(): number;
15192
+ getAtlasTexture(index: number): Texture2D | undefined;
15193
+ ensureGlyph(glyphIndex: number): MSDFGlyphInfo | null;
15194
+ private createGlyph;
15195
+ }
15196
+
15197
+ declare class MSDFTextAtlasManager {
15198
+ private readonly _atlases;
15199
+ constructor();
15200
+ getAtlas(font: FontAsset): MSDFGlyphAtlas;
15201
+ configureAtlas(font: FontAsset, glyphSize: number, atlasSize: number, distanceRange?: number, padding?: number): MSDFGlyphAtlas;
15202
+ releaseAtlas(font: FontAsset): boolean;
15203
+ clear(): void;
15204
+ }
15205
+
15206
+ type TextAlign = 'left' | 'center' | 'right';
15207
+
15208
+ declare class MeshDrawableBase extends Disposable {
15209
+ private _node;
15210
+ constructor(node: SceneNode);
15211
+ getNode(): SceneNode;
15212
+ }
15213
+ declare const MeshDrawable_base: typeof MeshDrawableBase & _zephyr3d_base.GenericConstructor<{
15214
+ getNode(): SceneNode;
15215
+ } & Disposable> & (new (...args: any[]) => IMixinDrawable);
15216
+ declare class MeshDrawable<M extends MeshMaterial> extends MeshDrawable_base implements Drawable {
15217
+ private _material;
15218
+ private _primitive;
15219
+ constructor(node: SceneNode, material: M, primitive: Primitive);
15220
+ get material(): Nullable<M>;
15221
+ set material(mat: Nullable<M>);
15222
+ getMaterial(): Nullable<MeshMaterial>;
15223
+ get primitive(): Nullable<Primitive>;
15224
+ set primitive(prim: Nullable<Primitive>);
15225
+ getPrimitive(): Nullable<Primitive>;
15226
+ getPickTarget(): PickTarget;
15227
+ getBoneMatrices(): Nullable<Texture2D>;
15228
+ getMorphData(): Nullable<MorphData>;
15229
+ getMorphInfo(): Nullable<MorphInfo>;
15230
+ /**
15231
+ * {@inheritDoc Drawable.getSortDistance}
15232
+ */
15233
+ getSortDistance(camera: Camera): number;
15234
+ getQueueType(): number;
15235
+ needSceneColor(): boolean;
15236
+ needSceneDepth(): boolean;
15237
+ isUnlit(): boolean;
15238
+ isBatchable(): this is BatchDrawable;
15239
+ draw(ctx: DrawContext, renderQueue: Nullable<RenderQueue>): void;
15240
+ protected onDispose(): void;
15241
+ }
15242
+
15243
+ /**
15244
+ * Billboard MSDF text node.
15245
+ *
15246
+ * @public
15247
+ */
15248
+ declare class MSDFTextSprite extends GraphNode {
15249
+ private _fontAsset;
15250
+ private _atlas;
15251
+ private _text;
15252
+ private _fontSize;
15253
+ private _maxWidth;
15254
+ private _textAlign;
15255
+ private _anchor;
15256
+ private _color;
15257
+ private _outlineWidth;
15258
+ private _outlineColor;
15259
+ private _pageBatches;
15260
+ constructor(scene: Scene);
15261
+ get fontAsset(): FontAsset | null;
15262
+ set fontAsset(font: FontAsset | null);
15263
+ get text(): string;
15264
+ set text(value: string);
15265
+ get fontSize(): number;
15266
+ set fontSize(value: number);
15267
+ get maxWidth(): number;
15268
+ set maxWidth(value: number);
15269
+ get textAlign(): TextAlign;
15270
+ set textAlign(value: TextAlign);
15271
+ get anchorX(): number;
15272
+ set anchorX(value: number);
15273
+ get anchorY(): number;
15274
+ set anchorY(value: number);
15275
+ get anchor(): Immutable<Vector2>;
15276
+ set anchor(value: Immutable<Vector2>);
15277
+ get textColor(): Immutable<Vector3>;
15278
+ set textColor(value: Immutable<Vector3>);
15279
+ get outlineWidth(): number;
15280
+ set outlineWidth(value: number);
15281
+ get outlineColor(): Immutable<Vector3>;
15282
+ set outlineColor(value: Immutable<Vector3>);
15283
+ get batches(): MeshDrawable<MSDFTextSpriteMaterial>[];
15284
+ update(): void;
15285
+ calculateLocalTransform(outMatrix: Matrix4x4): void;
15286
+ computeWorldBoundingVolume(localBV: Nullable<BoundingVolume>): BoundingBox | null;
15287
+ isMSDFTextSprite(): this is MSDFTextSprite;
15288
+ protected onDispose(): void;
15289
+ private ensurePageBatch;
15290
+ private disposePageBatches;
15291
+ }
15292
+
15293
+ /**
15294
+ * Billboard MSDF text node.
15295
+ *
15296
+ * @public
15297
+ */
15298
+ declare class MSDFText extends GraphNode {
15299
+ private _fontAsset;
15300
+ private _atlas;
15301
+ private _castShadow;
15302
+ private _text;
15303
+ private _fontSize;
15304
+ private _maxWidth;
15305
+ private _textAlign;
15306
+ private _anchor;
15307
+ private _color;
15308
+ private _outlineWidth;
15309
+ private _outlineColor;
15310
+ private _pageBatches;
15311
+ constructor(scene: Scene);
15312
+ get castShadow(): boolean;
15313
+ set castShadow(value: boolean);
15314
+ get fontAsset(): FontAsset | null;
15315
+ set fontAsset(font: FontAsset | null);
15316
+ get text(): string;
15317
+ set text(value: string);
15318
+ get fontSize(): number;
15319
+ set fontSize(value: number);
15320
+ get maxWidth(): number;
15321
+ set maxWidth(value: number);
15322
+ get textAlign(): TextAlign;
15323
+ set textAlign(value: TextAlign);
15324
+ get anchorX(): number;
15325
+ set anchorX(value: number);
15326
+ get anchorY(): number;
15327
+ set anchorY(value: number);
15328
+ get anchor(): Immutable<Vector2>;
15329
+ set anchor(value: Immutable<Vector2>);
15330
+ get textColor(): Immutable<Vector3>;
15331
+ set textColor(value: Immutable<Vector3>);
15332
+ get outlineWidth(): number;
15333
+ set outlineWidth(value: number);
15334
+ get outlineColor(): Immutable<Vector3>;
15335
+ set outlineColor(value: Immutable<Vector3>);
15336
+ get batches(): MeshDrawable<MSDFTextMaterial>[];
15337
+ update(): void;
15338
+ isMSDFText(): this is MSDFText;
15339
+ protected onDispose(): void;
15340
+ private ensurePageBatch;
15341
+ private disposePageBatches;
15342
+ }
15343
+
14884
15344
  /**
14885
15345
  * Iteration callback used by traversal helpers.
14886
15346
  *
@@ -15721,6 +16181,10 @@ declare class SceneNode extends SceneNode_base implements IDisposable {
15721
16181
  isMesh(): this is Mesh;
15722
16182
  /** Type guard: true if this node is a sprite */
15723
16183
  isSprite(): this is Sprite;
16184
+ /** Type guard: true if this node is a MSDF text sprite */
16185
+ isMSDFTextSprite(): this is MSDFTextSprite;
16186
+ /** Type guard: true if this node is a MSDF text sprite */
16187
+ isMSDFText(): this is MSDFText;
15724
16188
  /** Type guard: true if this node is a water node. */
15725
16189
  isWater(): this is Water;
15726
16190
  /** Type guard: true if this node is a particle system. */
@@ -16652,6 +17116,7 @@ declare class Engine {
16652
17116
  private _builtinsVFS;
16653
17117
  private _scriptingSystem;
16654
17118
  private _resourceManager;
17119
+ private _msdfTextAtlasManager;
16655
17120
  private _enabled;
16656
17121
  private _screen;
16657
17122
  protected _activeRenderables: {
@@ -16680,6 +17145,37 @@ declare class Engine {
16680
17145
  * Exposes the instance of {@link ResourceManager}.
16681
17146
  */
16682
17147
  get resourceManager(): ResourceManager;
17148
+ /**
17149
+ * Exposes the shared runtime MSDF text atlas manager.
17150
+ */
17151
+ get msdfTextAtlasManager(): MSDFTextAtlasManager;
17152
+ /**
17153
+ * Releases a loaded font asset from the resource cache and disposes its shared MSDF atlas textures.
17154
+ *
17155
+ * Existing scene nodes that still reference this font asset are not updated automatically.
17156
+ * Call this only after you have stopped using the font, or when you intentionally want it to rebuild later.
17157
+ *
17158
+ * @param fontAsset - The loaded font asset to release.
17159
+ * @returns `true` if either the atlas cache or the font cache had an entry to remove.
17160
+ */
17161
+ releaseFontAsset(font: string): boolean;
17162
+ /**
17163
+ * Configures the MSDF atlas for a given font asset, creating or replacing the atlas as needed.
17164
+ *
17165
+ * This is useful to customize the glyph size, atlas page size, distance range, and padding for MSDF text rendering.
17166
+ * Existing scene nodes that reference this font asset will use the updated atlas automatically.
17167
+ *
17168
+ * @param font - The font asset path to configure the MSDF atlas for.
17169
+ * @param pageSize - The size of each atlas page in pixels (e.g., 512, 1024).
17170
+ * @param glyphSize - The size of each glyph in pixels (e.g., 32, 64).
17171
+ * @param distanceRange - The distance range for MSDF generation. Defaults to 4.
17172
+ * @param padding - The padding between glyphs in the atlas in pixels. Defaults to 2.
17173
+ * @returns `true` if the atlas was successfully configured, or `false` if the font asset was not found.
17174
+ *
17175
+ * @remarks
17176
+ * The font asset must be loaded and available in the resource manager for the atlas to be configured.
17177
+ */
17178
+ configureMSDFAtlas(font: string, pageSize: number, glyphSize: number, distanceRange?: number, padding?: number): boolean;
16683
17179
  /**
16684
17180
  * Exposes the active {@link ScreenAdapter}.
16685
17181
  */
@@ -16733,8 +17229,6 @@ declare class Engine {
16733
17229
  /**
16734
17230
  * Ticks all attached scripts by calling their `onUpdate` hooks, if enabled.
16735
17231
  *
16736
- * Delegates to {@link ScriptingSystem.update}. No-op when disabled.
16737
- *
16738
17232
  * @param deltaTime - Time since last update in Seconds.
16739
17233
  * @param elapsedTime - Total elapsed time in Seconds.
16740
17234
  */
@@ -17531,6 +18025,32 @@ declare class Scene extends Scene_base implements IRenderable {
17531
18025
  protected onDispose(): void;
17532
18026
  }
17533
18027
 
18028
+ /**
18029
+ * 3D Text Sprite node
18030
+ * @public
18031
+ */
18032
+ declare class TextSprite extends BaseSprite<StandardSpriteMaterial> {
18033
+ private _resolutionX;
18034
+ private _resolutionY;
18035
+ private _text;
18036
+ private _font;
18037
+ private _color;
18038
+ private static _textRenderState;
18039
+ constructor(scene: Scene);
18040
+ isSprite(): this is Sprite;
18041
+ get resolutionX(): number;
18042
+ set resolutionX(value: number);
18043
+ get resolutionY(): number;
18044
+ set resolutionY(value: number);
18045
+ get text(): string;
18046
+ set text(value: string);
18047
+ get textColor(): Immutable<Vector3>;
18048
+ set textColor(value: Immutable<Vector3>);
18049
+ get font(): string;
18050
+ set font(value: string);
18051
+ update(): void;
18052
+ }
18053
+
17534
18054
  /**
17535
18055
  * Visitor for raycasting in the scene. It can be used for picking or other raycast-based queries.
17536
18056
  * @public
@@ -17734,11 +18254,32 @@ declare class ResourceManager {
17734
18254
  * - Associates the returned data with the given ID for future reverse lookup.
17735
18255
  * - The ID is typically a VFS path or locator.
17736
18256
  *
17737
- * @param id - Asset identifier or path.
18257
+ * @param path - VFS path of the binary asset.
17738
18258
  *
17739
18259
  * @returns A Promise that resolves to the binary content, or `null` if not found.
17740
18260
  */
17741
- fetchBinary(id: string): Promise<Nullable<ArrayBuffer>>;
18261
+ fetchBinary(path: string): Promise<Nullable<ArrayBuffer>>;
18262
+ /**
18263
+ * Fetch a text asset by ID via the asset manager.
18264
+ *
18265
+ * @param path - VFS path of TTF/OTF file.
18266
+ * @returns A Promise that resolves to the font asset, or `null` if not found.
18267
+ */
18268
+ fetchFontAsset(path: string, options?: FontAssetFetchOptions): Promise<Nullable<FontAsset>>;
18269
+ /**
18270
+ * Get a cached font asset by ID if already loaded.
18271
+ *
18272
+ * @param path - VFS path of TTF/OTF file.
18273
+ * @returns The cached FontAsset if it exists and is loaded, or null if not cached or still loading.
18274
+ */
18275
+ getFontAsset(path: string): Nullable<FontAsset>;
18276
+ /**
18277
+ * Removes a cached font asset entry by asset instance or asset ID.
18278
+ *
18279
+ * @param asset - Loaded font asset instance or its asset ID/path.
18280
+ * @returns `true` if a cache entry existed and was removed.
18281
+ */
18282
+ releaseFontAsset(asset: FontAsset | string): boolean;
17742
18283
  /**
17743
18284
  * Serialize an object to a JSON structure using registered class metadata.
17744
18285
  *
@@ -17787,13 +18328,13 @@ declare class ResourceManager {
17787
18328
  /**
17788
18329
  * Load a model by ID and track the allocation for reverse lookup.
17789
18330
  *
17790
- * @param id - Model identifier or path.
18331
+ * @param path - VFS path of the model file.
17791
18332
  * @param scene - Scene into which the model is loaded.
17792
18333
  * @param options - Optional model fetch options.
17793
18334
  *
17794
18335
  * @returns A Promise resolving to the loaded model object, or `null` if failed.
17795
18336
  */
17796
- fetchModel(id: string, scene: Scene, options?: ModelFetchOptions): Promise<{
18337
+ fetchModel(path: string, scene: Scene, options?: ModelFetchOptions): Promise<{
17797
18338
  group: SceneNode;
17798
18339
  animationSet: AnimationSet;
17799
18340
  }>;
@@ -17815,20 +18356,20 @@ declare class ResourceManager {
17815
18356
  /**
17816
18357
  * Load a texture by ID and track the allocation for reverse lookup.
17817
18358
  *
17818
- * @param id - Texture identifier or path.
18359
+ * @param path - VFS path of the texture file.
17819
18360
  * @param options - Optional texture fetch options.
17820
18361
  *
17821
18362
  * @returns A Promise resolving to the loaded texture, or `null` if failed.
17822
18363
  */
17823
- fetchTexture<T extends Texture2D | TextureCube | Texture2DArray>(id: string, options?: TextureFetchOptions<T>): Promise<T>;
18364
+ fetchTexture<T extends Texture2D | TextureCube | Texture2DArray>(path: string, options?: TextureFetchOptions<T>): Promise<T>;
17824
18365
  /**
17825
18366
  * Load a material by ID and track the allocation for reverse lookup.
17826
18367
  *
17827
- * @param id - Material identifier or path.
18368
+ * @param path - VFS path of the material file.
17828
18369
  *
17829
18370
  * @returns A Promise resolving to the loaded material, or `null` if failed.
17830
18371
  */
17831
- fetchMaterial<T extends Material = MeshMaterial>(id: string): Promise<Nullable<T>>;
18372
+ fetchMaterial<T extends Material = MeshMaterial>(path: string): Promise<Nullable<T>>;
17832
18373
  /**
17833
18374
  * Reload specific blue print materials
17834
18375
  *
@@ -17844,11 +18385,11 @@ declare class ResourceManager {
17844
18385
  /**
17845
18386
  * Load a primitive by ID and track the allocation for reverse lookup.
17846
18387
  *
17847
- * @param id - Primitive identifier or path.
18388
+ * @param path - VFS path of the primitive file.
17848
18389
  *
17849
18390
  * @returns A Promise resolving to the loaded primitive, or `null` if failed.
17850
18391
  */
17851
- fetchPrimitive<T extends Primitive = Primitive>(id: string): Promise<Nullable<T>>;
18392
+ fetchPrimitive<T extends Primitive = Primitive>(path: string): Promise<Nullable<T>>;
17852
18393
  /**
17853
18394
  * Load a prefab content.
17854
18395
  * @param path - Path to the prefab JSON file in VFS.
@@ -21114,6 +21655,117 @@ declare class TextureSampleGrad extends BaseGraphNode {
21114
21655
  protected getType(): string;
21115
21656
  }
21116
21657
 
21658
+ /**
21659
+ * Vertex output node
21660
+ */
21661
+ declare class VertexOutputNode extends BaseGraphNode {
21662
+ private _index;
21663
+ constructor(index: number);
21664
+ get index(): number;
21665
+ static getSerializationCls(): SerializableClass;
21666
+ /**
21667
+ * Generates a string representation of this node
21668
+ *
21669
+ * @returns 'vertex index'
21670
+ */
21671
+ toString(): string;
21672
+ /**
21673
+ * Validates the node state
21674
+ *
21675
+ * @returns Empty string (always valid)
21676
+ *
21677
+ * @remarks
21678
+ * Vertex index nodes are always valid as they have no inputs.
21679
+ */
21680
+ protected validate(): string;
21681
+ /**
21682
+ * Gets the output type for a specific output slot
21683
+ *
21684
+ * @param id - The output slot ID
21685
+ * @returns 'float' for individual channel outputs (id \> 1), 'vec4' for full color
21686
+ */
21687
+ protected getType(id: number): "float" | "vec4";
21688
+ }
21689
+ /**
21690
+ * Vertex index input node
21691
+ */
21692
+ declare class VertexIndexNode extends BaseGraphNode {
21693
+ /**
21694
+ * Creates a new vertex index node
21695
+ */
21696
+ constructor();
21697
+ /**
21698
+ * Gets the serialization descriptor for this node type
21699
+ *
21700
+ * @returns Serialization class descriptor
21701
+ */
21702
+ static getSerializationCls(): {
21703
+ ctor: typeof VertexIndexNode;
21704
+ name: string;
21705
+ getProps(): never[];
21706
+ };
21707
+ /**
21708
+ * Generates a string representation of this node
21709
+ *
21710
+ * @returns 'vertex index'
21711
+ */
21712
+ toString(): string;
21713
+ /**
21714
+ * Validates the node state
21715
+ *
21716
+ * @returns Empty string (always valid)
21717
+ *
21718
+ * @remarks
21719
+ * Vertex index nodes are always valid as they have no inputs.
21720
+ */
21721
+ protected validate(): string;
21722
+ /**
21723
+ * Gets the output type for a specific output slot
21724
+ *
21725
+ * @returns 'float'
21726
+ */
21727
+ protected getType(): string;
21728
+ }
21729
+ /**
21730
+ * Instance index input node
21731
+ */
21732
+ declare class InstanceIndexNode extends BaseGraphNode {
21733
+ /**
21734
+ * Creates a new instance index node
21735
+ */
21736
+ constructor();
21737
+ /**
21738
+ * Gets the serialization descriptor for this node type
21739
+ *
21740
+ * @returns Serialization class descriptor
21741
+ */
21742
+ static getSerializationCls(): {
21743
+ ctor: typeof InstanceIndexNode;
21744
+ name: string;
21745
+ getProps(): never[];
21746
+ };
21747
+ /**
21748
+ * Generates a string representation of this node
21749
+ *
21750
+ * @returns 'instance index'
21751
+ */
21752
+ toString(): string;
21753
+ /**
21754
+ * Validates the node state
21755
+ *
21756
+ * @returns Empty string (always valid)
21757
+ *
21758
+ * @remarks
21759
+ * Instance index nodes are always valid as they have no inputs.
21760
+ */
21761
+ protected validate(): string;
21762
+ /**
21763
+ * Gets the output type for a specific output slot
21764
+ *
21765
+ * @returns 'float'
21766
+ */
21767
+ protected getType(): string;
21768
+ }
21117
21769
  /**
21118
21770
  * Vertex color input node
21119
21771
  *
@@ -24020,11 +24672,6 @@ declare const LIGHT_TYPE_SPOT = 3;
24020
24672
  * @public
24021
24673
  */
24022
24674
  declare const LIGHT_TYPE_RECT = 4;
24023
- /**
24024
- * Max light size for clustered lighting
24025
- * @public
24026
- */
24027
- declare const MAX_CLUSTERED_LIGHTS = 255;
24028
24675
  /**
24029
24676
  * Opaque render queue type
24030
24677
  * @public
@@ -24085,4 +24732,4 @@ declare const ATMOSPHERIC_FOG_BIT: number;
24085
24732
  */
24086
24733
  declare const HEIGHT_FOG_BIT: number;
24087
24734
 
24088
- export { AABBTree, ABufferOIT, ATMOSPHERIC_FOG_BIT, AbsNode, AbstractPostEffect, AllConditionNode, type AngleLimitConfig, AnimationClip, AnimationSet, AnimationTrack, AnyConditionNode, type AppCreationOptions, type AppOptions, Application, type ApplyResultOutput, ArcCosNode, ArcSinNode, ArcTan2Node, ArcTanNode, ArccosineHNode, ArcsineHNode, ArctangentHNode, type AssetAnimationData, type AssetAnimationTrack, type AssetFixedGeometryCacheAnimationTrack, type AssetGeometryCacheAnimationTrack, AssetHierarchyNode, AssetManager, type AssetMaterial, type AssetMaterialClearcoat, type AssetMaterialCommon, type AssetMaterialIridescence, type AssetMaterialSheen, type AssetMaterialTransmission, type AssetMeshData, type AssetPBRMaterialCommon, type AssetPBRMaterialMR, type AssetPBRMaterialSG, type AssetPCAGeometryCacheAnimationTrack, type AssetRotationTrack, type AssetScaleTrack, AssetScene, type AssetSkeletalAnimationTrack, AssetSkeleton, type AssetSubMeshData, type AssetTranslationTrack, type AssetUnlitMaterial, BUILTIN_ASSET_TEST_CUBEMAP, BUILTIN_ASSET_TEXTURE_SHEEN_LUT, BaseCameraController, BaseGraphNode, BaseLight, BaseSprite, BaseTextureNode, type BatchDrawable, BatchGroup, BillboardMatrixNode, type BlendMode, BlinnMaterial, type BlitType, Blitter, Bloom, type BluePrintEditorState, type BluePrintUniformTexture, type BluePrintUniformValue, type BlueprintDAG, type BoneNode, BoundingBox, type BoundingVolume, type BoxCreationOptions, BoxFilterBlitter, BoxFrameShape, BoxShape, CCDSolver, type CachedBindGroup, Camera, CameraNearFarNode, type CameraOITMode, CameraPositionNode, CameraVectorNode, type CapsuleCollider, type CapsuleCreationOptions, CapsuleShape, CeilNode, ClampNode, ClipmapTerrain, ClipmapTerrainMaterial, ColliderForce, type ColliderR, type ColliderRW, type CollisionResult, ColorAdjust, CompAddNode, CompComparisonNode, CompDivNode, CompMulNode, CompSubNode, type ComparisonMode, type CompiledRenderGraph, Compositor, type CompositorContext, ConstantBVec2Node, ConstantBVec3Node, ConstantBVec4Node, ConstantBooleanNode, ConstantScalarNode, ConstantTexture2DArrayNode, ConstantTexture2DNode, ConstantTextureCubeNode, ConstantVec2Node, ConstantVec3Node, ConstantVec4Node, type Constraint, type ConstraintBuildOptions, ConstraintType, type ControllerConfig, CopyBlitter, CosHNode, CosNode, CrossProductNode, CubemapSHProjector, CullVisitor, type CylinderCreationOptions, CylinderShape, DDXNode, DDYNode, Degrees2RadiansNode, DepthPass, DevicePoolAllocator, DirectionalLight, DistanceNode, DotProductNode, DracoMeshDecoder, type DrawContext, type Drawable, type DrawableInstanceInfo, EPSILON, type EditorMode, ElapsedTimeNode, type EmitterBehavior, type EmitterShape, Engine, EnvConstantAmbient, EnvHemisphericAmbient, type EnvLightType, EnvLightWrapper, EnvShIBL, Environment, EnvironmentLighting, EqualNode, Exp2Node, ExpNode, type ExtractMixinReturnType, type ExtractMixinType, FABRIKSolver, FBMWaveGenerator, FFTWaveGenerator, FPSCameraController, type FPSCameraControllerOptions, FWidthNode, FXAA, FaceForwardNode, type FixedGeometryCacheFrame, type FixedGeometryCacheState, FixedGeometryCacheTrack, type FlatPlane, FloorNode, FmaNode, type FogType, type ForwardPlusOptions, FractNode, FunctionCallNode, FunctionInputNode, FunctionOutputNode, GPUClothSystem, type GPUClothSystemOptions, type GPUClothWrapBindingData, type GPUClothWrapBindingTarget, GaussianBlurBlitter, GenericMathNode, type GeometryCacheFrame, type GeometryCacheMeshBinding, type GeometryCacheState, GerstnerWaveGenerator, type GrabberR, type GrabberRW, GraphNode, type GraphNodeInput, type GraphNodeOutput, type GraphStructure, type GrassInstanceInfo, GrassLayer, GrassMaterial, GrassRenderer, Grayscale, HEIGHT_FOG_BIT, Hash1Node, Hash2Node, Hash3Node, HistoryResourceManager, type Host, HumanoidBodyRig, HumanoidHandRig, type HumanoidJointMapping, type IAttachedScript, type IBaseEvent, type IControllerKeyboardEvent, type IControllerKeydownEvent, type IControllerKeypressEvent, type IControllerKeyupEvent, type IControllerMouseEvent, type IControllerPointerCancelEvent, type IControllerPointerDownEvent, type IControllerPointerMoveEvent, type IControllerPointerUpEvent, type IControllerWheelEvent, type IGraphNode, IKAngleConstraint, IKChain, IKConstraint, type IKJoint, IKModifier, IKSolver, type IMixinAlbedoColor, type IMixinBlinnPhong, type IMixinFoliage, type IMixinLambert, type IMixinLight, type IMixinPBRBluePrint, type IMixinPBRCommon, type IMixinPBRMetallicRoughness, type IMixinPBRSpecularGlossiness, type IMixinVertexColor, type IModKey, type IRUniformTexture, type IRUniformValue, type IRenderHook, type IRenderable, type InputEventHandler, InputManager, InstanceBindGroupAllocator, type InstanceData, type InstanceUniformType, type InterChainConstraint, InvProjMatrixNode, InvSqrtNode, InvViewProjMatrixNode, type JointChainConfig, type JointDynamicSystemConfig, type JointDynamicsColliderHandle, type JointDynamicsFlatPlaneHandle, type JointDynamicsGrabberHandle, JointDynamicsModifier, JointDynamicsSystem, JointDynamicsSystemController, LIGHT_TYPE_DIRECTIONAL, LIGHT_TYPE_NONE, LIGHT_TYPE_POINT, LIGHT_TYPE_RECT, LIGHT_TYPE_SPOT, LambertMaterial, LengthNode, type LineCollisionResult, Log2Node, type LogMode, LogNode, LogicallyAndNode, LogicallyOrNode, MAX_CLUSTERED_LIGHTS, MAX_GERSTNER_WAVE_COUNT, MAX_MORPH_ATTRIBUTES, MAX_MORPH_TARGETS, MAX_TERRAIN_MIPMAP_LEVELS, MORPH_ATTRIBUTE_VECTOR_COUNT, MORPH_TARGET_COLOR, MORPH_TARGET_NORMAL, MORPH_TARGET_POSITION, MORPH_TARGET_TANGENT, MORPH_TARGET_TEX0, MORPH_TARGET_TEX1, MORPH_TARGET_TEX2, MORPH_TARGET_TEX3, MORPH_WEIGHTS_VECTOR_COUNT, MakeVectorNode, Material, MaterialBlueprintIR, type MaterialBlueprintIRBehaviors, type MaterialTextureInfo, MaterialVaryingFlags, MaxNode, Mesh, MeshMaterial, type MeshUpdateCallback, type Metadata, MinNode, MixNode, ModNode, type ModelFetchOptions, type ModelInfo, type MorphData, type MorphInfo, type MorphState, MorphTargetTrack, MultiChainSpringSystem, type MultiChainSpringSystemOptions, NamedObject, type NearestPointsResult, type NodeConnection, NodeEulerRotationTrack, type NodeIterateFunc, NodeRotationTrack, NodeScaleTrack, NodeTranslationTrack, NormalizeNode, NotEqualNode, type OIT, Octree, OctreeNode, OctreeNodeChunk, OctreePlacement, OrbitCameraController, type OrbitCameraControllerOptions, OrthoCamera, PBRBlockNode, PBRBluePrintMaterial, PBRMetallicRoughnessMaterial, type PBRReflectionMode, PBRSpecularGlossinessMaterial, type PCAGeometryCacheState, PCAGeometryCacheTrack, type PCAGeometryCacheTrackData, PannerNode, ParticleMaterial, ParticleSystem, PerlinNoise2DNode, PerspectiveCamera, type PhysicsCurves, type PickResult, type PickTarget, PixelNormalNode, PixelWorldPositionNode, type PlaneCollider, type PlaneCreationOptions, PlaneShape, type PlayAnimationOptions, type PointInit, PointLight, type PointR, type PointRW, type PointTransform, PostEffectLayer, PowNode, Primitive, ProjectionMatrixNode, type PropEdit, type PropertyAccessor, type PropertyAccessorOptions, type PropertySceneNodeOptions, type PropertyToType, PropertyTrack, type PropertyType, type PropertyValue, PunctualLight, QUEUE_OPAQUE, QUEUE_TRANSPARENT, RENDER_PASS_TYPE_DEPTH, RENDER_PASS_TYPE_LIGHT, RENDER_PASS_TYPE_OBJECT_COLOR, RENDER_PASS_TYPE_SHADOWMAP, type RGExecuteContext, type RGExecuteFn, type RGFramebufferDesc, RGHandle, RGHistoryResources, type RGPassBuilder, type RGResolvedSize, type RGResourceLifetime, type RGSizeMode, RGSubpass, type RGTextureAllocator, type RGTextureDesc, Radians2DegreesNode, RaycastVisitor, RectLight, ReflectNode, RefractNode, RenderContext, RenderGraph, RenderGraphExecutor, type RenderItemList, type RenderItemListBundle, type RenderItemListInfo, RenderPass, RenderQueue, type RenderQueueItem, type RenderQueueRef, RenderTarget, type ResolutionTransform, ResolveVertexNormalNode, ResolveVertexPositionNode, ResolveVertexTangentNode, ResourceManager, RotateAboutAxisNode, RuntimeScript, type RuntimeScriptArrayDeclaration, type RuntimeScriptArrayElementDeclaration, type RuntimeScriptConfig, type RuntimeScriptObjectDeclaration, type RuntimeScriptObjectFieldDeclaration, type RuntimeScriptPropertyDeclaration, type RuntimeScriptPropertyInfo, type RuntimeScriptPropertyOptions, type RuntimeScriptPropertyType, type RuntimeScriptValueDeclaration, type RuntimeScriptValueType, SAO, type SamplerType, SaturateNode, Scene, SceneNode, type SceneNodeVisible, ScreenAdapter, type ScreenConfig, ScreenRenderTarget, type ScreenScaleMode, ScriptAttachment, type ScriptAttachmentConfig, ScriptRegistry, ScriptingSystem, type ScriptingSystemOptions, SelectionNode, type SerializableClass, ShaderHelper, ShadowMapPass, ShadowMapper, type ShadowMode, type ShadowQualityPreset, Shape, type ShapeCreationOptions, type ShapeOptionType, type ShapeType, SharedModel, SignNode, SimplexNoise2DNode, type SimulationParams, SinHNode, SinNode, Skeleton, SkeletonModifier, type SkinnedBoundingBox, SkyEnvTextureNode, SkyRenderer, type SkyType, SmoothStepNode, type SphereCollider, type SphereCreationOptions, SphereShape, SpotLight, SpringChain, type SpringCollider, type SpringConstraint, SpringModifier, type SpringParticle, SpringSystem, type SpringSystemOptions, Sprite, SpriteBlockNode, SpriteBlueprintMaterial, SpriteMaterial, SqrtNode, StandardSpriteMaterial, StepNode, type StopAnimationOptions, type SurfaceCheckResult, SwizzleNode, TanHNode, TanNode, type TerrainDebugMode, type TetrahedronCreationOptions, TetrahedronFrameShape, TetrahedronShape, type TextureFetchOptions, type TextureMixinInstanceTypes, type TextureMixinTypes, type TextureProp, type TexturePropUniforms, TextureSampleGrad, TextureSampleNode, type ToMixedTextureType, Tonemap, type TorusCreationOptions, TorusShape, type TransformAccess, TransformNode, type TwistConstraint, TwoBoneIKSolver, UnlitMaterial, VertexBinormalNode, VertexBlockNode, VertexColorNode, VertexNormalNode, VertexPositionNode, VertexTangentNode, VertexUVNode, ViewMatrixNode, ViewProjMatrixNode, type Visitor, Water, type WaveGenerator, WeightedBlendedOIT, applyAngleLimits, applyMaterialMixins, applyResult, applyRuntimeScriptConfig, buildConstraints, buildForwardPlusGraph, buildSurfaceFaces, checkSurfaceCollision, collisionDetection, collisionDetectionCapsule, collisionDetectionSphere, computeMaxDepth, computeNearestPoints, createCapsuleCollider, createGPUClothWrapBindingData, createGeometryCacheState, createPlaneCollider, createSphereCollider, createSpringConstraint, createSpringParticle, createTransformAccess, decode2HalfFromRGBA, decodeFloatFromRGBA, decodeNormalizedFloatFromRGBA, decodeRGBM, defineProps, encode2HalfToRGBA, encodeFloatToRGBA, encodeNormalizedFloatToRGBA, encodeRGBM, ensureGeometryCacheMeshBinding, executeForwardPlusGraph, fetchSampler, gammaToLinear, getApp, getDevice, getEngine, getInput, getRuntimeScriptProperties, gradient, hash11, hash12, hash13, hash21, hash22, hash23, hash31, hash32, hash33, interleavedGradientNoise, isGPUClothSupported, linearToGamma, mixGeometryCacheBoundingBox, mixinAlbedoColor, mixinBlinnPhong, mixinFoliage, mixinLambert, mixinLight, mixinPBRBluePrint, mixinPBRCommon, mixinPBRMetallicRoughness, mixinPBRSpecularGlossness, mixinTextureProps, mixinVertexColor, noise3D, normalizeRuntimeScriptConfig, normalizeScriptAttachmentConfig, normalizeScriptAttachments, panoramaToCubemap, perlinNoise2D, perlinNoise3D, prefilterCubemap, pushInCollisionDetection, pushInFromCapsule, pushInFromCollider, pushInFromSphere, pushoutFromCapsule, pushoutFromCollider, pushoutFromSphere, resolveCapsuleCollision, resolvePlaneCollision, resolveSphereCollision, restoreGeometryCacheMeshBinding, scriptProp, simulate, smoothNoise3D, sortRootPointsByProximity, temporalResolve, tryGetApp, updateColliderFromNode, valueNoise, whiteNoise, worleyFBM, worleyNoise };
24735
+ export { AABBTree, ABufferOIT, ATMOSPHERIC_FOG_BIT, AbsNode, AbstractPostEffect, AllConditionNode, type AngleLimitConfig, AnimationClip, AnimationSet, AnimationTrack, AnyConditionNode, type AppCreationOptions, type AppOptions, Application, type ApplyResultOutput, ArcCosNode, ArcSinNode, ArcTan2Node, ArcTanNode, ArccosineHNode, ArcsineHNode, ArctangentHNode, type AssetAnimationData, type AssetAnimationTrack, type AssetFixedGeometryCacheAnimationTrack, type AssetGeometryCacheAnimationTrack, AssetHierarchyNode, AssetManager, type AssetMaterial, type AssetMaterialClearcoat, type AssetMaterialCommon, type AssetMaterialIridescence, type AssetMaterialSheen, type AssetMaterialTransmission, type AssetMeshData, type AssetPBRMaterialCommon, type AssetPBRMaterialMR, type AssetPBRMaterialSG, type AssetPCAGeometryCacheAnimationTrack, type AssetRotationTrack, type AssetScaleTrack, AssetScene, type AssetSkeletalAnimationTrack, AssetSkeleton, type AssetSubMeshData, type AssetTranslationTrack, type AssetUnlitMaterial, BUILTIN_ASSET_TEST_CUBEMAP, BUILTIN_ASSET_TEXTURE_SHEEN_LUT, BaseCameraController, BaseGraphNode, BaseLight, BaseSprite, BaseTextureNode, type BatchDrawable, BatchGroup, BillboardMatrixNode, type BlendMode, BlinnMaterial, type BlitType, Blitter, Bloom, type BluePrintEditorState, type BluePrintUniformTexture, type BluePrintUniformValue, type BlueprintDAG, type BoneNode, BoundingBox, type BoundingVolume, type BoxCreationOptions, BoxFilterBlitter, BoxFrameShape, BoxShape, CCDSolver, type CachedBindGroup, Camera, CameraNearFarNode, type CameraOITMode, CameraPositionNode, CameraVectorNode, type CapsuleCollider, type CapsuleCreationOptions, CapsuleShape, CeilNode, ClampNode, ClipmapTerrain, ClipmapTerrainMaterial, ColliderForce, type ColliderR, type ColliderRW, type CollisionResult, ColorAdjust, type ColoredEdge, type ColoredLineEdge, type ColoredQuadraticEdge, CompAddNode, CompComparisonNode, CompDivNode, CompMulNode, CompSubNode, type ComparisonMode, type CompiledRenderGraph, Compositor, type CompositorContext, ConstantBVec2Node, ConstantBVec3Node, ConstantBVec4Node, ConstantBooleanNode, ConstantScalarNode, ConstantTexture2DArrayNode, ConstantTexture2DNode, ConstantTextureCubeNode, ConstantVec2Node, ConstantVec3Node, ConstantVec4Node, type Constraint, type ConstraintBuildOptions, ConstraintType, type ControllerConfig, CopyBlitter, CosHNode, CosNode, CrossProductNode, CubemapSHProjector, CullVisitor, type CylinderCreationOptions, CylinderShape, DDXNode, DDYNode, Degrees2RadiansNode, DepthPass, DevicePoolAllocator, DirectionalLight, DistanceNode, DotProductNode, DracoMeshDecoder, type DrawContext, type Drawable, type DrawableInstanceInfo, EPSILON, type EdgeColor, type EditorMode, ElapsedTimeNode, type EmitterBehavior, type EmitterShape, Engine, EnvConstantAmbient, EnvHemisphericAmbient, type EnvLightType, EnvLightWrapper, EnvShIBL, Environment, EnvironmentLighting, EqualNode, Exp2Node, ExpNode, type ExtractMixinReturnType, type ExtractMixinType, FABRIKSolver, FBMWaveGenerator, FFTWaveGenerator, FPSCameraController, type FPSCameraControllerOptions, FWidthNode, FXAA, FaceForwardNode, type FixedGeometryCacheFrame, type FixedGeometryCacheState, FixedGeometryCacheTrack, type FlatPlane, FloorNode, FmaNode, type FogType, FontAsset, type FontAssetFetchOptions, type FontAssetMSDFAtlasSettings, type FontMetrics, type ForwardPlusOptions, FractNode, FunctionCallNode, FunctionInputNode, FunctionOutputNode, GPUClothSystem, type GPUClothSystemOptions, type GPUClothWrapBindingData, type GPUClothWrapBindingTarget, GaussianBlurBlitter, GenericMathNode, type GeometryCacheFrame, type GeometryCacheMeshBinding, type GeometryCacheState, GerstnerWaveGenerator, type GlyphContour, type GlyphData, type GlyphPoint, type GrabberR, type GrabberRW, GraphNode, type GraphNodeInput, type GraphNodeOutput, type GraphStructure, type GrassInstanceInfo, GrassLayer, GrassMaterial, GrassRenderer, Grayscale, HEIGHT_FOG_BIT, Hash1Node, Hash2Node, Hash3Node, HistoryResourceManager, type Host, HumanoidBodyRig, HumanoidHandRig, type HumanoidJointMapping, type IAttachedScript, type IBaseEvent, type IControllerKeyboardEvent, type IControllerKeydownEvent, type IControllerKeypressEvent, type IControllerKeyupEvent, type IControllerMouseEvent, type IControllerPointerCancelEvent, type IControllerPointerDownEvent, type IControllerPointerMoveEvent, type IControllerPointerUpEvent, type IControllerWheelEvent, type IGraphNode, IKAngleConstraint, IKChain, IKConstraint, type IKJoint, IKModifier, IKSolver, type IMixinAlbedoColor, type IMixinBlinnPhong, type IMixinFoliage, type IMixinLambert, type IMixinLight, type IMixinPBRBluePrint, type IMixinPBRCommon, type IMixinPBRMetallicRoughness, type IMixinPBRSpecularGlossiness, type IMixinVertexColor, type IModKey, type IRUniformTexture, type IRUniformValue, type IRenderHook, type IRenderable, type InputEventHandler, InputManager, InstanceBindGroupAllocator, type InstanceData, InstanceIndexNode, type InstanceUniformType, type InterChainConstraint, InvProjMatrixNode, InvSqrtNode, InvViewProjMatrixNode, type JointChainConfig, type JointDynamicSystemConfig, type JointDynamicsColliderHandle, type JointDynamicsFlatPlaneHandle, type JointDynamicsGrabberHandle, JointDynamicsModifier, JointDynamicsSystem, JointDynamicsSystemController, LIGHT_TYPE_DIRECTIONAL, LIGHT_TYPE_NONE, LIGHT_TYPE_POINT, LIGHT_TYPE_RECT, LIGHT_TYPE_SPOT, LambertMaterial, LengthNode, type LineCollisionResult, Log2Node, type LogMode, LogNode, LogicallyAndNode, LogicallyOrNode, MAX_GERSTNER_WAVE_COUNT, MAX_MORPH_ATTRIBUTES, MAX_MORPH_TARGETS, MAX_TERRAIN_MIPMAP_LEVELS, MORPH_ATTRIBUTE_VECTOR_COUNT, MORPH_TARGET_COLOR, MORPH_TARGET_NORMAL, MORPH_TARGET_POSITION, MORPH_TARGET_TANGENT, MORPH_TARGET_TEX0, MORPH_TARGET_TEX1, MORPH_TARGET_TEX2, MORPH_TARGET_TEX3, MORPH_WEIGHTS_VECTOR_COUNT, type MSDFBitmap, type MSDFOptions, type MSDFShape, MSDFText, MSDFTextAtlasManager, MSDFTextMaterial, MSDFTextSprite, MSDFTextSpriteMaterial, MakeVectorNode, Material, MaterialBlueprintIR, type MaterialBlueprintIRBehaviors, type MaterialTextureInfo, MaterialVaryingFlags, MaxNode, Mesh, MeshMaterial, type MeshUpdateCallback, type Metadata, MinNode, MixNode, ModNode, type ModelFetchOptions, type ModelInfo, type MorphData, type MorphInfo, type MorphState, MorphTargetTrack, MultiChainSpringSystem, type MultiChainSpringSystemOptions, NamedObject, type NearestPointsResult, type NodeConnection, NodeEulerRotationTrack, type NodeIterateFunc, NodeRotationTrack, NodeScaleTrack, NodeTranslationTrack, NormalizeNode, NotEqualNode, type OIT, Octree, OctreeNode, OctreeNodeChunk, OctreePlacement, OrbitCameraController, type OrbitCameraControllerOptions, OrthoCamera, PBRBlockNode, PBRBluePrintMaterial, PBRMetallicRoughnessMaterial, type PBRReflectionMode, PBRSpecularGlossinessMaterial, type PCAGeometryCacheState, PCAGeometryCacheTrack, type PCAGeometryCacheTrackData, type PairAdjustment, PannerNode, ParticleMaterial, ParticleSystem, PerlinNoise2DNode, PerspectiveCamera, type PhysicsCurves, type PickResult, type PickTarget, PixelNormalNode, PixelWorldPositionNode, type PlaneCollider, type PlaneCreationOptions, PlaneShape, type PlayAnimationOptions, type PointInit, PointLight, type PointR, type PointRW, type PointTransform, PostEffectLayer, PowNode, Primitive, ProjectionMatrixNode, type PropEdit, type PropertyAccessor, type PropertyAccessorOptions, type PropertySceneNodeOptions, type PropertyToType, PropertyTrack, type PropertyType, type PropertyValue, PunctualLight, QUEUE_OPAQUE, QUEUE_TRANSPARENT, RENDER_PASS_TYPE_DEPTH, RENDER_PASS_TYPE_LIGHT, RENDER_PASS_TYPE_OBJECT_COLOR, RENDER_PASS_TYPE_SHADOWMAP, type RGExecuteContext, type RGExecuteFn, type RGFramebufferDesc, RGHandle, RGHistoryResources, type RGPassBuilder, type RGResolvedSize, type RGResourceLifetime, type RGSizeMode, RGSubpass, type RGTextureAllocator, type RGTextureDesc, Radians2DegreesNode, RaycastVisitor, RectLight, ReflectNode, RefractNode, RenderContext, RenderGraph, RenderGraphExecutor, type RenderItemList, type RenderItemListBundle, type RenderItemListInfo, RenderPass, RenderQueue, type RenderQueueItem, type RenderQueueRef, RenderTarget, type ResolutionTransform, ResolveVertexNormalNode, ResolveVertexPositionNode, ResolveVertexTangentNode, ResourceManager, RotateAboutAxisNode, RuntimeScript, type RuntimeScriptArrayDeclaration, type RuntimeScriptArrayElementDeclaration, type RuntimeScriptConfig, type RuntimeScriptObjectDeclaration, type RuntimeScriptObjectFieldDeclaration, type RuntimeScriptPropertyDeclaration, type RuntimeScriptPropertyInfo, type RuntimeScriptPropertyOptions, type RuntimeScriptPropertyType, type RuntimeScriptValueDeclaration, type RuntimeScriptValueType, SAO, type SamplerType, SaturateNode, Scene, SceneNode, type SceneNodeVisible, ScreenAdapter, type ScreenConfig, ScreenRenderTarget, type ScreenScaleMode, ScriptAttachment, type ScriptAttachmentConfig, ScriptRegistry, ScriptingSystem, type ScriptingSystemOptions, SelectionNode, type SerializableClass, ShaderHelper, ShadowMapPass, ShadowMapper, type ShadowMode, type ShadowQualityPreset, Shape, type ShapeCreationOptions, type ShapeOptionType, type ShapeType, SharedModel, SignNode, SimplexNoise2DNode, type SimulationParams, SinHNode, SinNode, Skeleton, SkeletonModifier, type SkinnedBoundingBox, SkyEnvTextureNode, SkyRenderer, type SkyType, SmoothStepNode, type SphereCollider, type SphereCreationOptions, SphereShape, SpotLight, SpringChain, type SpringCollider, type SpringConstraint, SpringModifier, type SpringParticle, SpringSystem, type SpringSystemOptions, Sprite, SpriteBlockNode, SpriteBlueprintMaterial, SpriteMaterial, SqrtNode, StandardSpriteMaterial, StepNode, type StopAnimationOptions, type SurfaceCheckResult, SwizzleNode, TanHNode, TanNode, type TerrainDebugMode, type TetrahedronCreationOptions, TetrahedronFrameShape, TetrahedronShape, TextSprite, type TextureFetchOptions, type TextureMixinInstanceTypes, type TextureMixinTypes, type TextureProp, type TexturePropUniforms, TextureSampleGrad, TextureSampleNode, type ToMixedTextureType, Tonemap, type TorusCreationOptions, TorusShape, type TransformAccess, TransformNode, type TwistConstraint, TwoBoneIKSolver, UnlitMaterial, VertexBinormalNode, VertexBlockNode, VertexColorNode, VertexIndexNode, VertexNormalNode, VertexOutputNode, VertexPositionNode, VertexTangentNode, VertexUVNode, ViewMatrixNode, ViewProjMatrixNode, type Visitor, Water, type WaveGenerator, WeightedBlendedOIT, applyAngleLimits, applyMaterialMixins, applyResult, applyRuntimeScriptConfig, buildConstraints, buildForwardPlusGraph, buildMSDFShape, buildSurfaceFaces, checkSurfaceCollision, collisionDetection, collisionDetectionCapsule, collisionDetectionSphere, computeMaxDepth, computeNearestPoints, createCapsuleCollider, createGPUClothWrapBindingData, createGeometryCacheState, createPlaneCollider, createSphereCollider, createSpringConstraint, createSpringParticle, createTransformAccess, decode2HalfFromRGBA, decodeFloatFromRGBA, decodeNormalizedFloatFromRGBA, decodeRGBM, defineProps, encode2HalfToRGBA, encodeFloatToRGBA, encodeNormalizedFloatToRGBA, encodeRGBM, ensureGeometryCacheMeshBinding, executeForwardPlusGraph, fetchSampler, gammaToLinear, generateMSDF, getApp, getDevice, getEngine, getInput, getRuntimeScriptProperties, gradient, hash11, hash12, hash13, hash21, hash22, hash23, hash31, hash32, hash33, interleavedGradientNoise, isGPUClothSupported, linearToGamma, mixGeometryCacheBoundingBox, mixinAlbedoColor, mixinBlinnPhong, mixinFoliage, mixinLambert, mixinLight, mixinPBRBluePrint, mixinPBRCommon, mixinPBRMetallicRoughness, mixinPBRSpecularGlossness, mixinTextureProps, mixinVertexColor, noise3D, normalizeRuntimeScriptConfig, normalizeScriptAttachmentConfig, normalizeScriptAttachments, panoramaToCubemap, perlinNoise2D, perlinNoise3D, prefilterCubemap, pushInCollisionDetection, pushInFromCapsule, pushInFromCollider, pushInFromSphere, pushoutFromCapsule, pushoutFromCollider, pushoutFromSphere, resolveCapsuleCollision, resolvePlaneCollision, resolveSphereCollision, restoreGeometryCacheMeshBinding, scriptProp, simulate, smoothNoise3D, sortRootPointsByProximity, temporalResolve, tryGetApp, updateColliderFromNode, valueNoise, whiteNoise, worleyFBM, worleyNoise };