@onerjs/core 8.41.5 → 8.41.7

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 (579) hide show
  1. package/Animations/animation.d.ts +6 -2
  2. package/Animations/animation.js +28 -4
  3. package/Animations/animation.js.map +1 -1
  4. package/Animations/animationGroup.d.ts +2 -1
  5. package/Animations/animationGroup.js +3 -2
  6. package/Animations/animationGroup.js.map +1 -1
  7. package/Animations/animatorAvatar.d.ts +161 -0
  8. package/Animations/animatorAvatar.js +573 -0
  9. package/Animations/animatorAvatar.js.map +1 -0
  10. package/Animations/index.d.ts +1 -0
  11. package/Animations/index.js +1 -0
  12. package/Animations/index.js.map +1 -1
  13. package/AudioV2/webAudio/webAudioSoundSource.d.ts +2 -2
  14. package/AudioV2/webAudio/webAudioSoundSource.js +12 -2
  15. package/AudioV2/webAudio/webAudioSoundSource.js.map +1 -1
  16. package/Bones/index.d.ts +1 -0
  17. package/Bones/index.js +1 -0
  18. package/Bones/index.js.map +1 -1
  19. package/Bones/skeleton.d.ts +13 -0
  20. package/Bones/skeleton.functions.d.ts +26 -0
  21. package/Bones/skeleton.functions.js +91 -0
  22. package/Bones/skeleton.functions.js.map +1 -0
  23. package/Bones/skeleton.js +26 -0
  24. package/Bones/skeleton.js.map +1 -1
  25. package/Cameras/Inputs/geospatialCameraPointersInput.d.ts +16 -0
  26. package/Cameras/Inputs/geospatialCameraPointersInput.js +19 -3
  27. package/Cameras/Inputs/geospatialCameraPointersInput.js.map +1 -1
  28. package/Cameras/Limits/geospatialLimits.d.ts +0 -6
  29. package/Cameras/Limits/geospatialLimits.js +0 -6
  30. package/Cameras/Limits/geospatialLimits.js.map +1 -1
  31. package/Cameras/geospatialCamera.d.ts +5 -0
  32. package/Cameras/geospatialCamera.js +54 -25
  33. package/Cameras/geospatialCamera.js.map +1 -1
  34. package/Cameras/geospatialCameraMovement.d.ts +8 -1
  35. package/Cameras/geospatialCameraMovement.js +29 -8
  36. package/Cameras/geospatialCameraMovement.js.map +1 -1
  37. package/Collisions/gpuPicker.d.ts +11 -0
  38. package/Collisions/gpuPicker.js +148 -19
  39. package/Collisions/gpuPicker.js.map +1 -1
  40. package/Debug/skeletonViewer.d.ts +4 -8
  41. package/Debug/skeletonViewer.js +13 -22
  42. package/Debug/skeletonViewer.js.map +1 -1
  43. package/Engines/Extensions/engine.multiview.d.ts +2 -0
  44. package/Engines/Extensions/engine.multiview.js +7 -3
  45. package/Engines/Extensions/engine.multiview.js.map +1 -1
  46. package/Engines/abstractEngine.d.ts +2 -2
  47. package/Engines/abstractEngine.js +2 -2
  48. package/Engines/abstractEngine.js.map +1 -1
  49. package/Engines/constants.d.ts +4 -0
  50. package/Engines/constants.js +4 -0
  51. package/Engines/constants.js.map +1 -1
  52. package/Engines/webgpuEngine.d.ts +1 -4
  53. package/Engines/webgpuEngine.js +8 -6
  54. package/Engines/webgpuEngine.js.map +1 -1
  55. package/FrameGraph/frameGraphContext.js +1 -1
  56. package/FrameGraph/frameGraphContext.js.map +1 -1
  57. package/FrameGraph/frameGraphRenderContext.js +2 -2
  58. package/FrameGraph/frameGraphRenderContext.js.map +1 -1
  59. package/Instrumentation/engineInstrumentation.js +2 -1
  60. package/Instrumentation/engineInstrumentation.js.map +1 -1
  61. package/Layers/effectLayer.js +1 -3
  62. package/Layers/effectLayer.js.map +1 -1
  63. package/Lights/Shadows/cascadedShadowGenerator.js +2 -2
  64. package/Lights/Shadows/cascadedShadowGenerator.js.map +1 -1
  65. package/Lights/Shadows/shadowGenerator.js +3 -4
  66. package/Lights/Shadows/shadowGenerator.js.map +1 -1
  67. package/Lights/lightingVolume.js +1 -1
  68. package/Lights/lightingVolume.js.map +1 -1
  69. package/Materials/Background/backgroundMaterial.js +37 -2
  70. package/Materials/Background/backgroundMaterial.js.map +1 -1
  71. package/Materials/GaussianSplatting/gaussianSplattingGpuPickingMaterialPlugin.d.ts +109 -0
  72. package/Materials/GaussianSplatting/gaussianSplattingGpuPickingMaterialPlugin.js +210 -0
  73. package/Materials/GaussianSplatting/gaussianSplattingGpuPickingMaterialPlugin.js.map +1 -0
  74. package/Materials/GaussianSplatting/gaussianSplattingMaterial.d.ts +1 -0
  75. package/Materials/GaussianSplatting/gaussianSplattingMaterial.js +71 -15
  76. package/Materials/GaussianSplatting/gaussianSplattingMaterial.js.map +1 -1
  77. package/Materials/GaussianSplatting/gaussianSplattingSolidColorMaterialPlugin.d.ts +86 -0
  78. package/Materials/GaussianSplatting/gaussianSplattingSolidColorMaterialPlugin.js +161 -0
  79. package/Materials/GaussianSplatting/gaussianSplattingSolidColorMaterialPlugin.js.map +1 -0
  80. package/Materials/GreasedLine/greasedLinePluginMaterial.js +0 -6
  81. package/Materials/GreasedLine/greasedLinePluginMaterial.js.map +1 -1
  82. package/Materials/GreasedLine/greasedLinePluginMaterialShadersGLSL.js +0 -1
  83. package/Materials/GreasedLine/greasedLinePluginMaterialShadersGLSL.js.map +1 -1
  84. package/Materials/GreasedLine/greasedLinePluginMaterialShadersWGSL.js +0 -1
  85. package/Materials/GreasedLine/greasedLinePluginMaterialShadersWGSL.js.map +1 -1
  86. package/Materials/Node/Blocks/Dual/clipPlanesBlock.d.ts +14 -0
  87. package/Materials/Node/Blocks/Dual/clipPlanesBlock.js +14 -0
  88. package/Materials/Node/Blocks/Dual/clipPlanesBlock.js.map +1 -1
  89. package/Materials/Node/Blocks/Dual/currentScreenBlock.d.ts +20 -1
  90. package/Materials/Node/Blocks/Dual/currentScreenBlock.js +20 -1
  91. package/Materials/Node/Blocks/Dual/currentScreenBlock.js.map +1 -1
  92. package/Materials/Node/Blocks/Dual/depthSourceBlock.d.ts +13 -0
  93. package/Materials/Node/Blocks/Dual/depthSourceBlock.js +13 -0
  94. package/Materials/Node/Blocks/Dual/depthSourceBlock.js.map +1 -1
  95. package/Materials/Node/Blocks/Dual/fogBlock.d.ts +21 -0
  96. package/Materials/Node/Blocks/Dual/fogBlock.js +21 -0
  97. package/Materials/Node/Blocks/Dual/fogBlock.js.map +1 -1
  98. package/Materials/Node/Blocks/Dual/imageSourceBlock.d.ts +21 -0
  99. package/Materials/Node/Blocks/Dual/imageSourceBlock.js +21 -0
  100. package/Materials/Node/Blocks/Dual/imageSourceBlock.js.map +1 -1
  101. package/Materials/Node/Blocks/Dual/lightBlock.d.ts +38 -0
  102. package/Materials/Node/Blocks/Dual/lightBlock.js +38 -0
  103. package/Materials/Node/Blocks/Dual/lightBlock.js.map +1 -1
  104. package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.d.ts +29 -0
  105. package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.js +29 -0
  106. package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.js.map +1 -1
  107. package/Materials/Node/Blocks/Dual/reflectionTextureBlock.d.ts +5 -0
  108. package/Materials/Node/Blocks/Dual/reflectionTextureBlock.js +5 -0
  109. package/Materials/Node/Blocks/Dual/reflectionTextureBlock.js.map +1 -1
  110. package/Materials/Node/Blocks/Dual/sceneDepthBlock.d.ts +16 -0
  111. package/Materials/Node/Blocks/Dual/sceneDepthBlock.js +16 -0
  112. package/Materials/Node/Blocks/Dual/sceneDepthBlock.js.map +1 -1
  113. package/Materials/Node/Blocks/Dual/smartFilterTextureBlock.d.ts +16 -0
  114. package/Materials/Node/Blocks/Dual/smartFilterTextureBlock.js +16 -0
  115. package/Materials/Node/Blocks/Dual/smartFilterTextureBlock.js.map +1 -1
  116. package/Materials/Node/Blocks/Dual/textureBlock.d.ts +34 -0
  117. package/Materials/Node/Blocks/Dual/textureBlock.js +34 -0
  118. package/Materials/Node/Blocks/Dual/textureBlock.js.map +1 -1
  119. package/Materials/Node/Blocks/Fragment/TBNBlock.d.ts +17 -0
  120. package/Materials/Node/Blocks/Fragment/TBNBlock.js +17 -2
  121. package/Materials/Node/Blocks/Fragment/TBNBlock.js.map +1 -1
  122. package/Materials/Node/Blocks/Fragment/ambientOcclusionBlock.d.ts +7 -0
  123. package/Materials/Node/Blocks/Fragment/ambientOcclusionBlock.js +7 -0
  124. package/Materials/Node/Blocks/Fragment/ambientOcclusionBlock.js.map +1 -1
  125. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.d.ts +21 -0
  126. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js +21 -0
  127. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js.map +1 -1
  128. package/Materials/Node/Blocks/Fragment/heightToNormalBlock.d.ts +10 -0
  129. package/Materials/Node/Blocks/Fragment/heightToNormalBlock.js +10 -0
  130. package/Materials/Node/Blocks/Fragment/heightToNormalBlock.js.map +1 -1
  131. package/Materials/Node/Blocks/Fragment/imageProcessingBlock.d.ts +28 -0
  132. package/Materials/Node/Blocks/Fragment/imageProcessingBlock.js +28 -0
  133. package/Materials/Node/Blocks/Fragment/imageProcessingBlock.js.map +1 -1
  134. package/Materials/Node/Blocks/Fragment/perturbNormalBlock.d.ts +30 -0
  135. package/Materials/Node/Blocks/Fragment/perturbNormalBlock.js +30 -1
  136. package/Materials/Node/Blocks/Fragment/perturbNormalBlock.js.map +1 -1
  137. package/Materials/Node/Blocks/Fragment/screenSizeBlock.d.ts +4 -0
  138. package/Materials/Node/Blocks/Fragment/screenSizeBlock.js +4 -0
  139. package/Materials/Node/Blocks/Fragment/screenSizeBlock.js.map +1 -1
  140. package/Materials/Node/Blocks/Fragment/screenSpaceBlock.d.ts +5 -0
  141. package/Materials/Node/Blocks/Fragment/screenSpaceBlock.js +5 -0
  142. package/Materials/Node/Blocks/Fragment/screenSpaceBlock.js.map +1 -1
  143. package/Materials/Node/Blocks/Fragment/twirlBlock.d.ts +3 -0
  144. package/Materials/Node/Blocks/Fragment/twirlBlock.js +3 -0
  145. package/Materials/Node/Blocks/Fragment/twirlBlock.js.map +1 -1
  146. package/Materials/Node/Blocks/GaussianSplatting/splatReaderBlock.d.ts +6 -0
  147. package/Materials/Node/Blocks/GaussianSplatting/splatReaderBlock.js +6 -0
  148. package/Materials/Node/Blocks/GaussianSplatting/splatReaderBlock.js.map +1 -1
  149. package/Materials/Node/Blocks/Input/inputBlock.d.ts +16 -0
  150. package/Materials/Node/Blocks/Input/inputBlock.js +16 -1
  151. package/Materials/Node/Blocks/Input/inputBlock.js.map +1 -1
  152. package/Materials/Node/Blocks/Input/prePassTextureBlock.d.ts +5 -0
  153. package/Materials/Node/Blocks/Input/prePassTextureBlock.js +5 -0
  154. package/Materials/Node/Blocks/Input/prePassTextureBlock.js.map +1 -1
  155. package/Materials/Node/Blocks/PBR/anisotropyBlock.d.ts +10 -0
  156. package/Materials/Node/Blocks/PBR/anisotropyBlock.js +10 -1
  157. package/Materials/Node/Blocks/PBR/anisotropyBlock.js.map +1 -1
  158. package/Materials/Node/Blocks/PBR/clearCoatBlock.d.ts +23 -0
  159. package/Materials/Node/Blocks/PBR/clearCoatBlock.js +23 -1
  160. package/Materials/Node/Blocks/PBR/clearCoatBlock.js.map +1 -1
  161. package/Materials/Node/Blocks/PBR/iridescenceBlock.d.ts +17 -0
  162. package/Materials/Node/Blocks/PBR/iridescenceBlock.js +17 -0
  163. package/Materials/Node/Blocks/PBR/iridescenceBlock.js.map +1 -1
  164. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.d.ts +41 -0
  165. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js +41 -0
  166. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js.map +1 -1
  167. package/Materials/Node/Blocks/PBR/reflectionBlock.d.ts +21 -0
  168. package/Materials/Node/Blocks/PBR/reflectionBlock.js +21 -0
  169. package/Materials/Node/Blocks/PBR/reflectionBlock.js.map +1 -1
  170. package/Materials/Node/Blocks/PBR/refractionBlock.d.ts +29 -0
  171. package/Materials/Node/Blocks/PBR/refractionBlock.js +29 -0
  172. package/Materials/Node/Blocks/PBR/refractionBlock.js.map +1 -1
  173. package/Materials/Node/Blocks/PBR/sheenBlock.d.ts +14 -0
  174. package/Materials/Node/Blocks/PBR/sheenBlock.js +14 -0
  175. package/Materials/Node/Blocks/PBR/sheenBlock.js.map +1 -1
  176. package/Materials/Node/Blocks/PBR/subSurfaceBlock.d.ts +7 -0
  177. package/Materials/Node/Blocks/PBR/subSurfaceBlock.js +7 -0
  178. package/Materials/Node/Blocks/PBR/subSurfaceBlock.js.map +1 -1
  179. package/Materials/Node/Blocks/Particle/particleTextureBlock.d.ts +23 -0
  180. package/Materials/Node/Blocks/Particle/particleTextureBlock.js +23 -0
  181. package/Materials/Node/Blocks/Particle/particleTextureBlock.js.map +1 -1
  182. package/Materials/Node/Blocks/Teleport/teleportInBlock.d.ts +6 -0
  183. package/Materials/Node/Blocks/Teleport/teleportInBlock.js +6 -0
  184. package/Materials/Node/Blocks/Teleport/teleportInBlock.js.map +1 -1
  185. package/Materials/Node/Blocks/Teleport/teleportOutBlock.d.ts +17 -0
  186. package/Materials/Node/Blocks/Teleport/teleportOutBlock.js +17 -0
  187. package/Materials/Node/Blocks/Teleport/teleportOutBlock.js.map +1 -1
  188. package/Materials/Node/Blocks/Vertex/bonesBlock.d.ts +22 -0
  189. package/Materials/Node/Blocks/Vertex/bonesBlock.js +22 -0
  190. package/Materials/Node/Blocks/Vertex/bonesBlock.js.map +1 -1
  191. package/Materials/Node/Blocks/Vertex/instancesBlock.d.ts +13 -0
  192. package/Materials/Node/Blocks/Vertex/instancesBlock.js +13 -0
  193. package/Materials/Node/Blocks/Vertex/instancesBlock.js.map +1 -1
  194. package/Materials/Node/Blocks/Vertex/lightInformationBlock.d.ts +20 -0
  195. package/Materials/Node/Blocks/Vertex/lightInformationBlock.js +20 -0
  196. package/Materials/Node/Blocks/Vertex/lightInformationBlock.js.map +1 -1
  197. package/Materials/Node/Blocks/Vertex/morphTargetsBlock.d.ts +27 -0
  198. package/Materials/Node/Blocks/Vertex/morphTargetsBlock.js +27 -0
  199. package/Materials/Node/Blocks/Vertex/morphTargetsBlock.js.map +1 -1
  200. package/Materials/Node/Blocks/clampBlock.d.ts +10 -0
  201. package/Materials/Node/Blocks/clampBlock.js +10 -0
  202. package/Materials/Node/Blocks/clampBlock.js.map +1 -1
  203. package/Materials/Node/Blocks/cloudBlock.d.ts +10 -0
  204. package/Materials/Node/Blocks/cloudBlock.js +10 -0
  205. package/Materials/Node/Blocks/cloudBlock.js.map +1 -1
  206. package/Materials/Node/Blocks/colorMergerBlock.d.ts +10 -0
  207. package/Materials/Node/Blocks/colorMergerBlock.js +10 -0
  208. package/Materials/Node/Blocks/colorMergerBlock.js.map +1 -1
  209. package/Materials/Node/Blocks/conditionalBlock.d.ts +14 -0
  210. package/Materials/Node/Blocks/conditionalBlock.js +14 -0
  211. package/Materials/Node/Blocks/conditionalBlock.js.map +1 -1
  212. package/Materials/Node/Blocks/curveBlock.d.ts +10 -0
  213. package/Materials/Node/Blocks/curveBlock.js +10 -0
  214. package/Materials/Node/Blocks/curveBlock.js.map +1 -1
  215. package/Materials/Node/Blocks/customBlock.d.ts +10 -0
  216. package/Materials/Node/Blocks/customBlock.js +10 -0
  217. package/Materials/Node/Blocks/customBlock.js.map +1 -1
  218. package/Materials/Node/Blocks/debugBlock.d.ts +10 -0
  219. package/Materials/Node/Blocks/debugBlock.js +10 -0
  220. package/Materials/Node/Blocks/debugBlock.js.map +1 -1
  221. package/Materials/Node/Blocks/fresnelBlock.d.ts +4 -0
  222. package/Materials/Node/Blocks/fresnelBlock.js +4 -0
  223. package/Materials/Node/Blocks/fresnelBlock.js.map +1 -1
  224. package/Materials/Node/Blocks/gradientBlock.d.ts +10 -0
  225. package/Materials/Node/Blocks/gradientBlock.js +10 -0
  226. package/Materials/Node/Blocks/gradientBlock.js.map +1 -1
  227. package/Materials/Node/Blocks/loopBlock.d.ts +10 -0
  228. package/Materials/Node/Blocks/loopBlock.js +10 -0
  229. package/Materials/Node/Blocks/loopBlock.js.map +1 -1
  230. package/Materials/Node/Blocks/matrixBuilderBlock.d.ts +1 -0
  231. package/Materials/Node/Blocks/matrixBuilderBlock.js +1 -0
  232. package/Materials/Node/Blocks/matrixBuilderBlock.js.map +1 -1
  233. package/Materials/Node/Blocks/meshAttributeExistsBlock.d.ts +10 -0
  234. package/Materials/Node/Blocks/meshAttributeExistsBlock.js +10 -0
  235. package/Materials/Node/Blocks/meshAttributeExistsBlock.js.map +1 -1
  236. package/Materials/Node/Blocks/pannerBlock.d.ts +5 -0
  237. package/Materials/Node/Blocks/pannerBlock.js +5 -0
  238. package/Materials/Node/Blocks/pannerBlock.js.map +1 -1
  239. package/Materials/Node/Blocks/remapBlock.d.ts +10 -0
  240. package/Materials/Node/Blocks/remapBlock.js +10 -0
  241. package/Materials/Node/Blocks/remapBlock.js.map +1 -1
  242. package/Materials/Node/Blocks/rotate2dBlock.d.ts +1 -0
  243. package/Materials/Node/Blocks/rotate2dBlock.js +1 -0
  244. package/Materials/Node/Blocks/rotate2dBlock.js.map +1 -1
  245. package/Materials/Node/Blocks/transformBlock.d.ts +10 -0
  246. package/Materials/Node/Blocks/transformBlock.js +10 -0
  247. package/Materials/Node/Blocks/transformBlock.js.map +1 -1
  248. package/Materials/Node/Blocks/triPlanarBlock.d.ts +22 -0
  249. package/Materials/Node/Blocks/triPlanarBlock.js +22 -0
  250. package/Materials/Node/Blocks/triPlanarBlock.js.map +1 -1
  251. package/Materials/Node/Blocks/trigonometryBlock.d.ts +10 -0
  252. package/Materials/Node/Blocks/trigonometryBlock.js +10 -0
  253. package/Materials/Node/Blocks/trigonometryBlock.js.map +1 -1
  254. package/Materials/Node/Blocks/vectorMergerBlock.d.ts +10 -0
  255. package/Materials/Node/Blocks/vectorMergerBlock.js +10 -0
  256. package/Materials/Node/Blocks/vectorMergerBlock.js.map +1 -1
  257. package/Materials/Node/Blocks/viewDirectionBlock.d.ts +5 -0
  258. package/Materials/Node/Blocks/viewDirectionBlock.js +5 -0
  259. package/Materials/Node/Blocks/viewDirectionBlock.js.map +1 -1
  260. package/Materials/Node/Blocks/waveBlock.d.ts +10 -0
  261. package/Materials/Node/Blocks/waveBlock.js +10 -0
  262. package/Materials/Node/Blocks/waveBlock.js.map +1 -1
  263. package/Materials/Node/Blocks/worleyNoise3DBlock.d.ts +1 -0
  264. package/Materials/Node/Blocks/worleyNoise3DBlock.js +1 -0
  265. package/Materials/Node/Blocks/worleyNoise3DBlock.js.map +1 -1
  266. package/Materials/Node/nodeMaterial.d.ts +13 -0
  267. package/Materials/Node/nodeMaterial.js +14 -2
  268. package/Materials/Node/nodeMaterial.js.map +1 -1
  269. package/Materials/Node/nodeMaterialBlock.d.ts +0 -3
  270. package/Materials/Node/nodeMaterialBlock.js +1 -6
  271. package/Materials/Node/nodeMaterialBlock.js.map +1 -1
  272. package/Materials/Node/nodeMaterialBlockConnectionPoint.js +1 -2
  273. package/Materials/Node/nodeMaterialBlockConnectionPoint.js.map +1 -1
  274. package/Materials/Textures/Procedurals/proceduralTexture.js +1 -1
  275. package/Materials/Textures/Procedurals/proceduralTexture.js.map +1 -1
  276. package/Materials/Textures/mirrorTexture.js +1 -1
  277. package/Materials/Textures/mirrorTexture.js.map +1 -1
  278. package/Materials/index.d.ts +2 -0
  279. package/Materials/index.js +2 -0
  280. package/Materials/index.js.map +1 -1
  281. package/Maths/math.constants.d.ts +2 -1
  282. package/Maths/math.constants.js +3 -2
  283. package/Maths/math.constants.js.map +1 -1
  284. package/Meshes/Builders/capsuleBuilder.js +0 -3
  285. package/Meshes/Builders/capsuleBuilder.js.map +1 -1
  286. package/Meshes/Builders/cylinderBuilder.d.ts +1 -1
  287. package/Meshes/Builders/cylinderBuilder.js +1 -2
  288. package/Meshes/Builders/cylinderBuilder.js.map +1 -1
  289. package/Meshes/Builders/decalBuilder.js +2 -0
  290. package/Meshes/Builders/decalBuilder.js.map +1 -1
  291. package/Meshes/Builders/discBuilder.js +0 -1
  292. package/Meshes/Builders/discBuilder.js.map +1 -1
  293. package/Meshes/Builders/groundBuilder.d.ts +50 -54
  294. package/Meshes/Builders/groundBuilder.js +50 -54
  295. package/Meshes/Builders/groundBuilder.js.map +1 -1
  296. package/Meshes/Builders/tiledBoxBuilder.d.ts +0 -26
  297. package/Meshes/Builders/tiledBoxBuilder.js +0 -26
  298. package/Meshes/Builders/tiledBoxBuilder.js.map +1 -1
  299. package/Meshes/Builders/tiledPlaneBuilder.d.ts +0 -25
  300. package/Meshes/Builders/tiledPlaneBuilder.js +0 -25
  301. package/Meshes/Builders/tiledPlaneBuilder.js.map +1 -1
  302. package/Meshes/Builders/torusBuilder.d.ts +0 -13
  303. package/Meshes/Builders/torusBuilder.js +0 -13
  304. package/Meshes/Builders/torusBuilder.js.map +1 -1
  305. package/Meshes/Builders/torusKnotBuilder.d.ts +0 -19
  306. package/Meshes/Builders/torusKnotBuilder.js +0 -19
  307. package/Meshes/Builders/torusKnotBuilder.js.map +1 -1
  308. package/Meshes/Compression/dracoCompressionWorker.js.map +1 -1
  309. package/Meshes/Compression/dracoDecoder.js.map +1 -1
  310. package/Meshes/Compression/dracoDecoder.types.d.ts +11 -0
  311. package/Meshes/Compression/dracoDecoder.types.js.map +1 -1
  312. package/Meshes/Compression/dracoEncoder.js.map +1 -1
  313. package/Meshes/Compression/meshoptCompression.js +0 -2
  314. package/Meshes/Compression/meshoptCompression.js.map +1 -1
  315. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js +17 -1
  316. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js.map +1 -1
  317. package/Meshes/GreasedLine/greasedLineRibbonMesh.js +0 -8
  318. package/Meshes/GreasedLine/greasedLineRibbonMesh.js.map +1 -1
  319. package/Meshes/Node/Blocks/Instances/instantiateBaseBlock.d.ts +1 -0
  320. package/Meshes/Node/Blocks/Instances/instantiateBaseBlock.js +1 -0
  321. package/Meshes/Node/Blocks/Instances/instantiateBaseBlock.js.map +1 -1
  322. package/Meshes/Node/Blocks/Instances/instantiateOnFacesBlock.d.ts +1 -0
  323. package/Meshes/Node/Blocks/Instances/instantiateOnFacesBlock.js +1 -0
  324. package/Meshes/Node/Blocks/Instances/instantiateOnFacesBlock.js.map +1 -1
  325. package/Meshes/Node/Blocks/Instances/instantiateOnVerticesBlock.d.ts +1 -0
  326. package/Meshes/Node/Blocks/Instances/instantiateOnVerticesBlock.js +1 -0
  327. package/Meshes/Node/Blocks/Instances/instantiateOnVerticesBlock.js.map +1 -1
  328. package/Meshes/Node/Blocks/Instances/instantiateOnVolumeBlock.d.ts +1 -0
  329. package/Meshes/Node/Blocks/Instances/instantiateOnVolumeBlock.js +1 -0
  330. package/Meshes/Node/Blocks/Instances/instantiateOnVolumeBlock.js.map +1 -1
  331. package/Meshes/Node/Blocks/Matrices/scalingBlock.d.ts +1 -0
  332. package/Meshes/Node/Blocks/Matrices/scalingBlock.js +1 -0
  333. package/Meshes/Node/Blocks/Matrices/scalingBlock.js.map +1 -1
  334. package/Meshes/Node/Blocks/Matrices/translationBlock.d.ts +1 -0
  335. package/Meshes/Node/Blocks/Matrices/translationBlock.js +1 -0
  336. package/Meshes/Node/Blocks/Matrices/translationBlock.js.map +1 -1
  337. package/Meshes/Node/Blocks/Set/aggregatorBlock.d.ts +1 -0
  338. package/Meshes/Node/Blocks/Set/aggregatorBlock.js +1 -0
  339. package/Meshes/Node/Blocks/Set/aggregatorBlock.js.map +1 -1
  340. package/Meshes/Node/Blocks/Set/latticeBlock.d.ts +1 -0
  341. package/Meshes/Node/Blocks/Set/latticeBlock.js +1 -0
  342. package/Meshes/Node/Blocks/Set/latticeBlock.js.map +1 -1
  343. package/Meshes/Node/Blocks/Set/setColorsBlock.d.ts +1 -0
  344. package/Meshes/Node/Blocks/Set/setColorsBlock.js +1 -0
  345. package/Meshes/Node/Blocks/Set/setColorsBlock.js.map +1 -1
  346. package/Meshes/Node/Blocks/Set/setMaterialIDBlock.d.ts +1 -0
  347. package/Meshes/Node/Blocks/Set/setMaterialIDBlock.js +1 -0
  348. package/Meshes/Node/Blocks/Set/setMaterialIDBlock.js.map +1 -1
  349. package/Meshes/Node/Blocks/Set/setNormalsBlock.d.ts +1 -0
  350. package/Meshes/Node/Blocks/Set/setNormalsBlock.js +1 -0
  351. package/Meshes/Node/Blocks/Set/setNormalsBlock.js.map +1 -1
  352. package/Meshes/Node/Blocks/Set/setPositionsBlock.d.ts +1 -0
  353. package/Meshes/Node/Blocks/Set/setPositionsBlock.js +1 -0
  354. package/Meshes/Node/Blocks/Set/setPositionsBlock.js.map +1 -1
  355. package/Meshes/Node/Blocks/Set/setTangentsBlock.d.ts +1 -0
  356. package/Meshes/Node/Blocks/Set/setTangentsBlock.js +1 -0
  357. package/Meshes/Node/Blocks/Set/setTangentsBlock.js.map +1 -1
  358. package/Meshes/Node/Blocks/Set/setUVsBlock.d.ts +1 -0
  359. package/Meshes/Node/Blocks/Set/setUVsBlock.js +1 -0
  360. package/Meshes/Node/Blocks/Set/setUVsBlock.js.map +1 -1
  361. package/Meshes/Node/Blocks/Sources/boxBlock.d.ts +2 -0
  362. package/Meshes/Node/Blocks/Sources/boxBlock.js +2 -0
  363. package/Meshes/Node/Blocks/Sources/boxBlock.js.map +1 -1
  364. package/Meshes/Node/Blocks/Sources/capsuleBlock.d.ts +2 -0
  365. package/Meshes/Node/Blocks/Sources/capsuleBlock.js +2 -0
  366. package/Meshes/Node/Blocks/Sources/capsuleBlock.js.map +1 -1
  367. package/Meshes/Node/Blocks/Sources/cylinderBlock.d.ts +2 -0
  368. package/Meshes/Node/Blocks/Sources/cylinderBlock.js +2 -0
  369. package/Meshes/Node/Blocks/Sources/cylinderBlock.js.map +1 -1
  370. package/Meshes/Node/Blocks/Sources/discBlock.d.ts +2 -0
  371. package/Meshes/Node/Blocks/Sources/discBlock.js +2 -0
  372. package/Meshes/Node/Blocks/Sources/discBlock.js.map +1 -1
  373. package/Meshes/Node/Blocks/Sources/gridBlock.d.ts +2 -0
  374. package/Meshes/Node/Blocks/Sources/gridBlock.js +2 -0
  375. package/Meshes/Node/Blocks/Sources/gridBlock.js.map +1 -1
  376. package/Meshes/Node/Blocks/Sources/icoSphereBlock.d.ts +2 -0
  377. package/Meshes/Node/Blocks/Sources/icoSphereBlock.js +2 -0
  378. package/Meshes/Node/Blocks/Sources/icoSphereBlock.js.map +1 -1
  379. package/Meshes/Node/Blocks/Sources/meshBlock.d.ts +1 -0
  380. package/Meshes/Node/Blocks/Sources/meshBlock.js +1 -0
  381. package/Meshes/Node/Blocks/Sources/meshBlock.js.map +1 -1
  382. package/Meshes/Node/Blocks/Sources/planeBlock.d.ts +2 -0
  383. package/Meshes/Node/Blocks/Sources/planeBlock.js +2 -0
  384. package/Meshes/Node/Blocks/Sources/planeBlock.js.map +1 -1
  385. package/Meshes/Node/Blocks/Sources/pointListBlock.d.ts +2 -1
  386. package/Meshes/Node/Blocks/Sources/pointListBlock.js +2 -1
  387. package/Meshes/Node/Blocks/Sources/pointListBlock.js.map +1 -1
  388. package/Meshes/Node/Blocks/Sources/sphereBlock.d.ts +2 -0
  389. package/Meshes/Node/Blocks/Sources/sphereBlock.js +2 -0
  390. package/Meshes/Node/Blocks/Sources/sphereBlock.js.map +1 -1
  391. package/Meshes/Node/Blocks/Sources/torusBlock.d.ts +2 -0
  392. package/Meshes/Node/Blocks/Sources/torusBlock.js +2 -0
  393. package/Meshes/Node/Blocks/Sources/torusBlock.js.map +1 -1
  394. package/Meshes/Node/Blocks/Teleport/teleportInBlock.d.ts +1 -0
  395. package/Meshes/Node/Blocks/Teleport/teleportInBlock.js +1 -0
  396. package/Meshes/Node/Blocks/Teleport/teleportInBlock.js.map +1 -1
  397. package/Meshes/Node/Blocks/Teleport/teleportOutBlock.d.ts +3 -0
  398. package/Meshes/Node/Blocks/Teleport/teleportOutBlock.js +3 -0
  399. package/Meshes/Node/Blocks/Teleport/teleportOutBlock.js.map +1 -1
  400. package/Meshes/Node/Blocks/Textures/geometryTextureBlock.d.ts +1 -0
  401. package/Meshes/Node/Blocks/Textures/geometryTextureBlock.js +1 -1
  402. package/Meshes/Node/Blocks/Textures/geometryTextureBlock.js.map +1 -1
  403. package/Meshes/Node/Blocks/Textures/geometryTextureFetchBlock.d.ts +1 -0
  404. package/Meshes/Node/Blocks/Textures/geometryTextureFetchBlock.js +1 -0
  405. package/Meshes/Node/Blocks/Textures/geometryTextureFetchBlock.js.map +1 -1
  406. package/Meshes/Node/Blocks/booleanGeometryBlock.d.ts +1 -0
  407. package/Meshes/Node/Blocks/booleanGeometryBlock.js +1 -1
  408. package/Meshes/Node/Blocks/booleanGeometryBlock.js.map +1 -1
  409. package/Meshes/Node/Blocks/cleanGeometryBlock.d.ts +1 -0
  410. package/Meshes/Node/Blocks/cleanGeometryBlock.js +1 -0
  411. package/Meshes/Node/Blocks/cleanGeometryBlock.js.map +1 -1
  412. package/Meshes/Node/Blocks/conditionBlock.d.ts +2 -0
  413. package/Meshes/Node/Blocks/conditionBlock.js +2 -0
  414. package/Meshes/Node/Blocks/conditionBlock.js.map +1 -1
  415. package/Meshes/Node/Blocks/geometryClampBlock.d.ts +1 -0
  416. package/Meshes/Node/Blocks/geometryClampBlock.js +1 -0
  417. package/Meshes/Node/Blocks/geometryClampBlock.js.map +1 -1
  418. package/Meshes/Node/Blocks/geometryCollectionBlock.d.ts +1 -0
  419. package/Meshes/Node/Blocks/geometryCollectionBlock.js +1 -0
  420. package/Meshes/Node/Blocks/geometryCollectionBlock.js.map +1 -1
  421. package/Meshes/Node/Blocks/geometryCurveBlock.d.ts +2 -0
  422. package/Meshes/Node/Blocks/geometryCurveBlock.js +2 -0
  423. package/Meshes/Node/Blocks/geometryCurveBlock.js.map +1 -1
  424. package/Meshes/Node/Blocks/geometryEaseBlock.d.ts +2 -0
  425. package/Meshes/Node/Blocks/geometryEaseBlock.js +2 -0
  426. package/Meshes/Node/Blocks/geometryEaseBlock.js.map +1 -1
  427. package/Meshes/Node/Blocks/geometryInputBlock.d.ts +3 -0
  428. package/Meshes/Node/Blocks/geometryInputBlock.js +3 -0
  429. package/Meshes/Node/Blocks/geometryInputBlock.js.map +1 -1
  430. package/Meshes/Node/Blocks/geometryOptimizeBlock.d.ts +1 -0
  431. package/Meshes/Node/Blocks/geometryOptimizeBlock.js +1 -0
  432. package/Meshes/Node/Blocks/geometryOptimizeBlock.js.map +1 -1
  433. package/Meshes/Node/Blocks/geometryTransformBlock.d.ts +1 -0
  434. package/Meshes/Node/Blocks/geometryTransformBlock.js +1 -0
  435. package/Meshes/Node/Blocks/geometryTransformBlock.js.map +1 -1
  436. package/Meshes/Node/Blocks/geometryTrigonometryBlock.d.ts +2 -0
  437. package/Meshes/Node/Blocks/geometryTrigonometryBlock.js +2 -0
  438. package/Meshes/Node/Blocks/geometryTrigonometryBlock.js.map +1 -1
  439. package/Meshes/Node/Blocks/mappingBlock.d.ts +1 -0
  440. package/Meshes/Node/Blocks/mappingBlock.js +1 -0
  441. package/Meshes/Node/Blocks/mappingBlock.js.map +1 -1
  442. package/Meshes/Node/Blocks/mathBlock.d.ts +1 -0
  443. package/Meshes/Node/Blocks/mathBlock.js +1 -0
  444. package/Meshes/Node/Blocks/mathBlock.js.map +1 -1
  445. package/Meshes/Node/Blocks/mergeGeometryBlock.d.ts +1 -0
  446. package/Meshes/Node/Blocks/mergeGeometryBlock.js +1 -0
  447. package/Meshes/Node/Blocks/mergeGeometryBlock.js.map +1 -1
  448. package/Meshes/Node/Blocks/randomBlock.d.ts +2 -0
  449. package/Meshes/Node/Blocks/randomBlock.js +2 -0
  450. package/Meshes/Node/Blocks/randomBlock.js.map +1 -1
  451. package/Meshes/Node/Blocks/subdivideBlock.d.ts +1 -0
  452. package/Meshes/Node/Blocks/subdivideBlock.js +1 -0
  453. package/Meshes/Node/Blocks/subdivideBlock.js.map +1 -1
  454. package/Meshes/Node/Interfaces/nodeGeometryTextureData.d.ts +3 -0
  455. package/Meshes/Node/Interfaces/nodeGeometryTextureData.js.map +1 -1
  456. package/Meshes/Node/nodeGeometry.js +0 -2
  457. package/Meshes/Node/nodeGeometry.js.map +1 -1
  458. package/Meshes/Node/nodeGeometryBlockConnectionPoint.js +0 -1
  459. package/Meshes/Node/nodeGeometryBlockConnectionPoint.js.map +1 -1
  460. package/Meshes/Node/nodeGeometryBuildState.js +0 -1
  461. package/Meshes/Node/nodeGeometryBuildState.js.map +1 -1
  462. package/Meshes/WebGL/webGLDataBuffer.d.ts +2 -0
  463. package/Meshes/WebGL/webGLDataBuffer.js +2 -0
  464. package/Meshes/WebGL/webGLDataBuffer.js.map +1 -1
  465. package/Meshes/WebGPU/webgpuDataBuffer.d.ts +4 -0
  466. package/Meshes/WebGPU/webgpuDataBuffer.js +4 -0
  467. package/Meshes/WebGPU/webgpuDataBuffer.js.map +1 -1
  468. package/Meshes/abstractMesh.d.ts +1 -0
  469. package/Meshes/abstractMesh.decalMap.d.ts +1 -0
  470. package/Meshes/abstractMesh.decalMap.js.map +1 -1
  471. package/Meshes/abstractMesh.js +1 -6
  472. package/Meshes/abstractMesh.js.map +1 -1
  473. package/Meshes/csg.js +0 -6
  474. package/Meshes/csg.js.map +1 -1
  475. package/Meshes/csg2.js +1 -2
  476. package/Meshes/csg2.js.map +1 -1
  477. package/Meshes/geodesicMesh.d.ts +26 -0
  478. package/Meshes/geodesicMesh.js +18 -3
  479. package/Meshes/geodesicMesh.js.map +1 -1
  480. package/Meshes/groundMesh.d.ts +1 -0
  481. package/Meshes/groundMesh.js +1 -0
  482. package/Meshes/groundMesh.js.map +1 -1
  483. package/Meshes/index.js +0 -2
  484. package/Meshes/index.js.map +1 -1
  485. package/Meshes/instancedMesh.d.ts +18 -3
  486. package/Meshes/instancedMesh.js +11 -3
  487. package/Meshes/instancedMesh.js.map +1 -1
  488. package/Meshes/mesh.d.ts +291 -204
  489. package/Meshes/mesh.js +290 -213
  490. package/Meshes/mesh.js.map +1 -1
  491. package/Meshes/mesh.vertexData.d.ts +15 -19
  492. package/Meshes/mesh.vertexData.js +15 -19
  493. package/Meshes/mesh.vertexData.js.map +1 -1
  494. package/Meshes/meshSimplification.d.ts +0 -1
  495. package/Meshes/meshSimplification.js +6 -1
  496. package/Meshes/meshSimplification.js.map +1 -1
  497. package/Meshes/meshSimplificationSceneComponent.d.ts +2 -0
  498. package/Meshes/meshSimplificationSceneComponent.js.map +1 -1
  499. package/Meshes/meshUVSpaceRenderer.d.ts +1 -0
  500. package/Meshes/meshUVSpaceRenderer.js.map +1 -1
  501. package/Meshes/polygonMesh.js +4 -0
  502. package/Meshes/polygonMesh.js.map +1 -1
  503. package/Meshes/subMesh.project.d.ts +1 -0
  504. package/Meshes/subMesh.project.js.map +1 -1
  505. package/Meshes/thinInstanceMesh.d.ts +5 -0
  506. package/Meshes/thinInstanceMesh.js.map +1 -1
  507. package/Meshes/transformNode.d.ts +1 -1
  508. package/Meshes/transformNode.js +1 -1
  509. package/Meshes/transformNode.js.map +1 -1
  510. package/Misc/dataStorage.d.ts +13 -0
  511. package/Misc/dataStorage.js +25 -0
  512. package/Misc/dataStorage.js.map +1 -1
  513. package/Morph/morphTarget.d.ts +9 -5
  514. package/Morph/morphTarget.js +15 -7
  515. package/Morph/morphTarget.js.map +1 -1
  516. package/Morph/morphTargetManager.d.ts +3 -1
  517. package/Morph/morphTargetManager.js +5 -2
  518. package/Morph/morphTargetManager.js.map +1 -1
  519. package/Particles/Node/Blocks/Emitters/boxShapeBlock.js +1 -1
  520. package/Particles/Node/Blocks/Emitters/boxShapeBlock.js.map +1 -1
  521. package/Particles/Node/Blocks/Emitters/coneShapeBlock.js +1 -1
  522. package/Particles/Node/Blocks/Emitters/coneShapeBlock.js.map +1 -1
  523. package/Particles/Node/Blocks/Emitters/customShapeBlock.js +1 -1
  524. package/Particles/Node/Blocks/Emitters/customShapeBlock.js.map +1 -1
  525. package/Particles/Node/Blocks/Emitters/cylinderShapeBlock.js +1 -1
  526. package/Particles/Node/Blocks/Emitters/cylinderShapeBlock.js.map +1 -1
  527. package/Particles/Node/Blocks/Emitters/emitters.functions.js +3 -3
  528. package/Particles/Node/Blocks/Emitters/emitters.functions.js.map +1 -1
  529. package/Particles/Node/Blocks/Emitters/meshShapeBlock.js +1 -1
  530. package/Particles/Node/Blocks/Emitters/meshShapeBlock.js.map +1 -1
  531. package/Particles/Node/Blocks/Emitters/pointShapeBlock.js +1 -1
  532. package/Particles/Node/Blocks/Emitters/pointShapeBlock.js.map +1 -1
  533. package/Particles/Node/Blocks/Emitters/sphereShapeBlock.js +1 -1
  534. package/Particles/Node/Blocks/Emitters/sphereShapeBlock.js.map +1 -1
  535. package/Particles/Node/Blocks/Update/basicPositionUpdateBlock.js +2 -2
  536. package/Particles/Node/Blocks/Update/basicPositionUpdateBlock.js.map +1 -1
  537. package/Particles/Node/Blocks/Update/updateNoiseBlock.js +7 -7
  538. package/Particles/Node/Blocks/Update/updateNoiseBlock.js.map +1 -1
  539. package/Particles/Node/Blocks/particleLocalVariableBlock.js +2 -2
  540. package/Particles/Node/Blocks/particleLocalVariableBlock.js.map +1 -1
  541. package/Particles/Node/nodeParticleBuildState.js +7 -7
  542. package/Particles/Node/nodeParticleBuildState.js.map +1 -1
  543. package/Particles/Node/nodeParticleSystemSet.helper.js +9 -4
  544. package/Particles/Node/nodeParticleSystemSet.helper.js.map +1 -1
  545. package/Particles/particle.d.ts +73 -61
  546. package/Particles/particle.js +106 -91
  547. package/Particles/particle.js.map +1 -1
  548. package/Particles/particleSystem.js +5 -5
  549. package/Particles/particleSystem.js.map +1 -1
  550. package/Particles/thinParticleSystem.function.js +83 -83
  551. package/Particles/thinParticleSystem.function.js.map +1 -1
  552. package/Particles/thinParticleSystem.js +8 -8
  553. package/Particles/thinParticleSystem.js.map +1 -1
  554. package/Physics/v2/Plugins/havokPlugin.d.ts +89 -3
  555. package/Physics/v2/Plugins/havokPlugin.js +388 -53
  556. package/Physics/v2/Plugins/havokPlugin.js.map +1 -1
  557. package/Probes/reflectionProbe.js +10 -7
  558. package/Probes/reflectionProbe.js.map +1 -1
  559. package/Rendering/depthRenderer.js +1 -1
  560. package/Rendering/depthRenderer.js.map +1 -1
  561. package/Rendering/objectRenderer.d.ts +3 -1
  562. package/Rendering/objectRenderer.js +28 -8
  563. package/Rendering/objectRenderer.js.map +1 -1
  564. package/Rendering/reflectiveShadowMap.js +1 -1
  565. package/Rendering/reflectiveShadowMap.js.map +1 -1
  566. package/Rendering/thinDepthPeelingRenderer.js +8 -0
  567. package/Rendering/thinDepthPeelingRenderer.js.map +1 -1
  568. package/Shaders/gaussianSplatting.fragment.js +8 -2
  569. package/Shaders/gaussianSplatting.fragment.js.map +1 -1
  570. package/Shaders/gaussianSplatting.vertex.js +8 -2
  571. package/Shaders/gaussianSplatting.vertex.js.map +1 -1
  572. package/ShadersWGSL/gaussianSplatting.fragment.js +7 -1
  573. package/ShadersWGSL/gaussianSplatting.fragment.js.map +1 -1
  574. package/ShadersWGSL/gaussianSplatting.vertex.js +8 -2
  575. package/ShadersWGSL/gaussianSplatting.vertex.js.map +1 -1
  576. package/package.json +1 -1
  577. package/scene.d.ts +22 -4
  578. package/scene.js +33 -20
  579. package/scene.js.map +1 -1
package/Meshes/mesh.d.ts CHANGED
@@ -33,16 +33,27 @@ import type { AbstractEngine } from "../Engines/abstractEngine.js";
33
33
  * @internal
34
34
  **/
35
35
  export declare class _CreationDataStorage {
36
+ /** @internal */
36
37
  closePath?: boolean;
38
+ /** @internal */
37
39
  closeArray?: boolean;
40
+ /** @internal */
38
41
  idx: number[];
42
+ /** @internal */
39
43
  dashSize: number;
44
+ /** @internal */
40
45
  gapSize: number;
46
+ /** @internal */
41
47
  path3D: Path3D;
48
+ /** @internal */
42
49
  pathArray: Vector3[][];
50
+ /** @internal */
43
51
  arc: number;
52
+ /** @internal */
44
53
  radius: number;
54
+ /** @internal */
45
55
  cap: number;
56
+ /** @internal */
46
57
  tessellation: number;
47
58
  }
48
59
  /**
@@ -58,31 +69,54 @@ interface IInstanceDataStorageRenderPassVisibleInstances {
58
69
  * @internal
59
70
  **/
60
71
  declare class _InstanceDataStorageRenderPass {
72
+ /** @internal */
61
73
  visibleInstances: Nullable<IInstanceDataStorageRenderPassVisibleInstances>;
74
+ /** @internal */
62
75
  batchCache: _InstancesBatch;
76
+ /** @internal */
63
77
  batchCacheReplacementModeInFrozenMode: _InstancesBatch;
78
+ /** @internal */
64
79
  instancesBufferSize: number;
80
+ /** @internal */
65
81
  instancesBuffer: Nullable<Buffer>;
82
+ /** @internal */
66
83
  instancesPreviousBuffer: Nullable<Buffer>;
84
+ /** @internal */
67
85
  instancesData: Float32Array;
86
+ /** @internal */
68
87
  instancesPreviousData: Float32Array;
88
+ /** @internal */
69
89
  previousBatch: Nullable<_InstancesBatch>;
90
+ /** @internal */
70
91
  previousRenderId: number;
71
92
  }
72
93
  /**
73
94
  * @internal
74
95
  **/
75
96
  declare class _InstanceDataStorage {
97
+ /** @internal */
76
98
  renderPasses: {
77
99
  [id: number]: _InstanceDataStorageRenderPass;
78
100
  };
101
+ /** @internal */
102
+ dataStorageRenderPass: _InstanceDataStorageRenderPass;
103
+ /** @internal */
104
+ useMonoDataStorageRenderPass: boolean;
105
+ /** @internal */
79
106
  overridenInstanceCount: number;
107
+ /** @internal */
80
108
  isFrozen: boolean;
109
+ /** @internal */
81
110
  forceMatrixUpdates: boolean;
111
+ /** @internal */
82
112
  hardwareInstancedRendering: boolean;
113
+ /** @internal */
83
114
  manualUpdate: boolean;
115
+ /** @internal */
84
116
  previousManualUpdate: boolean;
117
+ /** @internal */
85
118
  masterMeshPreviousWorldMatrix: Nullable<Matrix>;
119
+ /** @internal */
86
120
  engine: AbstractEngine;
87
121
  }
88
122
  /**
@@ -90,24 +124,38 @@ declare class _InstanceDataStorage {
90
124
  **/
91
125
  export declare class _InstancesBatch {
92
126
  parent: _InstanceDataStorageRenderPass;
127
+ /** @internal */
93
128
  mustReturn: boolean;
129
+ /** @internal */
94
130
  visibleInstances: Nullable<InstancedMesh[]>[];
131
+ /** @internal */
95
132
  renderSelf: boolean[];
133
+ /** @internal */
96
134
  hardwareInstancedRendering: boolean[];
135
+ /** @internal */
97
136
  constructor(parent: _InstanceDataStorageRenderPass);
98
137
  }
99
138
  /**
100
139
  * @internal
101
140
  **/
102
141
  declare class _ThinInstanceDataStorage {
142
+ /** @internal */
103
143
  instancesCount: number;
144
+ /** @internal */
104
145
  matrixBuffer: Nullable<Buffer>;
146
+ /** @internal */
105
147
  previousMatrixBuffer: Nullable<Buffer>;
148
+ /** @internal */
106
149
  matrixBufferSize: number;
150
+ /** @internal */
107
151
  matrixData: Nullable<Float32Array>;
152
+ /** @internal */
108
153
  previousMatrixData: Nullable<Float32Array>;
154
+ /** @internal */
109
155
  boundingVectors: Array<Vector3>;
156
+ /** @internal */
110
157
  worldMatrices: Nullable<Matrix[]>;
158
+ /** @internal */
111
159
  masterMeshPreviousWorldMatrix: Nullable<Matrix>;
112
160
  }
113
161
  /**
@@ -236,7 +284,9 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
236
284
  * Observers added to this observable will be removed once triggered
237
285
  */
238
286
  onMeshReadyObservable: Observable<Mesh>;
287
+ /** {@inheritDoc} */
239
288
  get computeBonesUsingShaders(): boolean;
289
+ /** {@inheritDoc} */
240
290
  set computeBonesUsingShaders(value: boolean);
241
291
  /**
242
292
  * An event triggered before rendering the mesh
@@ -263,7 +313,9 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
263
313
  * Sets a callback to call before drawing the mesh. It is recommended to use onBeforeDrawObservable instead
264
314
  */
265
315
  set onBeforeDraw(callback: () => void);
316
+ /** {@inheritDoc} */
266
317
  get hasInstances(): boolean;
318
+ /** {@inheritDoc} */
267
319
  get hasThinInstances(): boolean;
268
320
  /**
269
321
  * Gets the delay loading state of the mesh (when delay loading is turned on)
@@ -331,7 +383,9 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
331
383
  */
332
384
  get overrideRenderingFillMode(): Nullable<number>;
333
385
  set overrideRenderingFillMode(fillMode: Nullable<number>);
386
+ /** {@inheritDoc} */
334
387
  get material(): Nullable<Material>;
388
+ /** {@inheritDoc} */
335
389
  set material(value: Nullable<Material>);
336
390
  /**
337
391
  * Gets or sets a boolean indicating whether to render ignoring the active camera's max z setting. (false by default)
@@ -391,6 +445,13 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
391
445
  * @param clonePhysicsImpostor When cloning, include cloning mesh physics impostor, default True.
392
446
  */
393
447
  constructor(name: string, scene?: Nullable<Scene>, parent?: Nullable<Node>, source?: Nullable<Mesh>, doNotCloneChildren?: boolean, clonePhysicsImpostor?: boolean);
448
+ /**
449
+ * Instantiate (when possible) or clone that node with its hierarchy
450
+ * @param newParent defines the new parent to use for the instance (or clone)
451
+ * @param options defines options to configure how copy is done
452
+ * @param onNewNodeCreated defines an option callback to call when a clone or an instance is created
453
+ * @returns an instance (or a clone) of the current node with its hierarchy
454
+ */
394
455
  instantiateHierarchy(newParent?: Nullable<TransformNode>, options?: {
395
456
  doNotInstantiate: boolean | ((node: TransformNode) => boolean);
396
457
  }, onNewNodeCreated?: (source: TransformNode, clone: TransformNode) => void): Nullable<TransformNode>;
@@ -482,9 +543,33 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
482
543
  * @returns a FloatArray or null if the mesh has no geometry or no vertex buffer for this kind.
483
544
  */
484
545
  getVerticesData(kind: string, copyWhenShared?: boolean, forceCopy?: boolean, bypassInstanceData?: boolean): Nullable<FloatArray>;
546
+ /**
547
+ * Copies the requested vertex data kind into the given vertex data map. Float data is constructed if the map doesn't have the data.
548
+ * @param kind defines the vertex data kind to use
549
+ * @param vertexData defines the map that stores the resulting data
550
+ */
485
551
  copyVerticesData(kind: string, vertexData: {
486
552
  [kind: string]: Float32Array;
487
553
  }): void;
554
+ /**
555
+ * Returns the mesh VertexBuffer object from the requested `kind`
556
+ * @param kind defines which buffer to read from (positions, indices, normals, etc). Possible `kind` values :
557
+ * - VertexBuffer.PositionKind
558
+ * - VertexBuffer.NormalKind
559
+ * - VertexBuffer.UVKind
560
+ * - VertexBuffer.UV2Kind
561
+ * - VertexBuffer.UV3Kind
562
+ * - VertexBuffer.UV4Kind
563
+ * - VertexBuffer.UV5Kind
564
+ * - VertexBuffer.UV6Kind
565
+ * - VertexBuffer.ColorKind
566
+ * - VertexBuffer.MatricesIndicesKind
567
+ * - VertexBuffer.MatricesIndicesExtraKind
568
+ * - VertexBuffer.MatricesWeightsKind
569
+ * - VertexBuffer.MatricesWeightsExtraKind
570
+ * @param bypassInstanceData defines a boolean indicating that the function should not take into account the instance data (applies only if the mesh has instances). Default: false
571
+ * @returns a FloatArray or null if the mesh has no vertex buffer for this kind.
572
+ */
488
573
  getVertexBuffer(kind: string, bypassInstanceData?: boolean): Nullable<VertexBuffer>;
489
574
  /**
490
575
  * Tests if a specific vertex buffer is associated with this mesh
@@ -543,6 +628,7 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
543
628
  * @returns the indices array or an empty array if the mesh has no geometry
544
629
  */
545
630
  getIndices(copyWhenShared?: boolean, forceCopy?: boolean): Nullable<IndicesArray>;
631
+ /** {@inheritDoc} */
546
632
  get isBlocked(): boolean;
547
633
  /**
548
634
  * Determine if the current mesh is ready to be rendered
@@ -790,6 +876,7 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
790
876
  * @internal
791
877
  */
792
878
  _processRendering(renderingMesh: AbstractMesh, subMesh: SubMesh, effect: Effect, fillMode: number, batch: _InstancesBatch, hardwareInstancedRendering: boolean, onBeforeDraw: (isInstance: boolean, world: Matrix, effectiveMaterial?: Material) => void, effectiveMaterial?: Material): Mesh;
879
+ private _disposeInstanceDataStorageRenderPass;
793
880
  /**
794
881
  * @internal
795
882
  */
@@ -1085,7 +1172,7 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1085
1172
  * Merge the array of meshes into a single mesh for performance reasons.
1086
1173
  * @param meshes array of meshes with the vertices to merge. Entries cannot be empty meshes.
1087
1174
  * @param disposeSource when true (default), dispose of the vertices from the source meshes.
1088
- * @param allow32BitsIndices when the sum of the vertices > 64k, this must be set to true.
1175
+ * @param allow32BitsIndices when the sum of the vertices \> 64k, this must be set to true.
1089
1176
  * @param meshSubclass (optional) can be set to a Mesh where the merged vertices will be inserted.
1090
1177
  * @param subdivideWithSubMeshes when true (false default), subdivide mesh into subMeshes.
1091
1178
  * @param multiMultiMaterials when true (false default), subdivide mesh into subMeshes with multiple materials, ignores subdivideWithSubMeshes.
@@ -1096,7 +1183,7 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1096
1183
  * Merge the array of meshes into a single mesh for performance reasons.
1097
1184
  * @param meshes array of meshes with the vertices to merge. Entries cannot be empty meshes.
1098
1185
  * @param disposeSource when true (default), dispose of the vertices from the source meshes.
1099
- * @param allow32BitsIndices when the sum of the vertices > 64k, this must be set to true.
1186
+ * @param allow32BitsIndices when the sum of the vertices \> 64k, this must be set to true.
1100
1187
  * @param meshSubclass (optional) can be set to a Mesh where the merged vertices will be inserted.
1101
1188
  * @param subdivideWithSubMeshes when true (false default), subdivide mesh into subMeshes.
1102
1189
  * @param multiMultiMaterials when true (false default), subdivide mesh into subMeshes with multiple materials, ignores subdivideWithSubMeshes.
@@ -1126,133 +1213,133 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1126
1213
  /**
1127
1214
  * Creates a ribbon mesh.
1128
1215
  * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param
1129
- * @param name defines the name of the mesh to create
1130
- * @param pathArray is a required array of paths, what are each an array of successive Vector3. The pathArray parameter depicts the ribbon geometry.
1131
- * @param closeArray creates a seam between the first and the last paths of the path array (default is false)
1132
- * @param closePath creates a seam between the first and the last points of each path of the path array
1133
- * @param offset is taken in account only if the `pathArray` is containing a single path
1134
- * @param scene defines the hosting scene
1135
- * @param updatable defines if the mesh must be flagged as updatable
1136
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1137
- * @param instance defines an instance of an existing Ribbon object to be updated with the passed `pathArray` parameter (https://doc.babylonjs.com/how_to/How_to_dynamically_morph_a_mesh#ribbon)
1216
+ * @param _name defines the name of the mesh to create
1217
+ * @param _pathArray is a required array of paths, what are each an array of successive Vector3. The pathArray parameter depicts the ribbon geometry.
1218
+ * @param _closeArray creates a seam between the first and the last paths of the path array (default is false)
1219
+ * @param _closePath creates a seam between the first and the last points of each path of the path array
1220
+ * @param _offset is taken in account only if the `pathArray` is containing a single path
1221
+ * @param _scene defines the hosting scene
1222
+ * @param _updatable defines if the mesh must be flagged as updatable
1223
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1224
+ * @param _instance defines an instance of an existing Ribbon object to be updated with the passed `pathArray` parameter (https://doc.babylonjs.com/how_to/How_to_dynamically_morph_a_mesh#ribbon)
1138
1225
  * @returns a new Mesh
1139
1226
  * @deprecated Please use MeshBuilder instead
1140
1227
  */
1141
- static CreateRibbon(name: string, pathArray: Vector3[][], closeArray: boolean, closePath: boolean, offset: number, scene?: Scene, updatable?: boolean, sideOrientation?: number, instance?: Mesh): Mesh;
1228
+ static CreateRibbon(_name: string, _pathArray: Vector3[][], _closeArray: boolean, _closePath: boolean, _offset: number, _scene?: Scene, _updatable?: boolean, _sideOrientation?: number, _instance?: Mesh): Mesh;
1142
1229
  /**
1143
1230
  * Creates a plane polygonal mesh. By default, this is a disc.
1144
- * @param name defines the name of the mesh to create
1145
- * @param radius sets the radius size (float) of the polygon (default 0.5)
1146
- * @param tessellation sets the number of polygon sides (positive integer, default 64). So a tessellation valued to 3 will build a triangle, to 4 a square, etc
1147
- * @param scene defines the hosting scene
1148
- * @param updatable defines if the mesh must be flagged as updatable
1149
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1231
+ * @param _name defines the name of the mesh to create
1232
+ * @param _radius sets the radius size (float) of the polygon (default 0.5)
1233
+ * @param _tessellation sets the number of polygon sides (positive integer, default 64). So a tessellation valued to 3 will build a triangle, to 4 a square, etc
1234
+ * @param _scene defines the hosting scene
1235
+ * @param _updatable defines if the mesh must be flagged as updatable
1236
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1150
1237
  * @returns a new Mesh
1151
1238
  * @deprecated Please use MeshBuilder instead
1152
1239
  */
1153
- static CreateDisc(name: string, radius: number, tessellation: number, scene: Nullable<Scene>, updatable?: boolean, sideOrientation?: number): Mesh;
1240
+ static CreateDisc(_name: string, _radius: number, _tessellation: number, _scene: Nullable<Scene>, _updatable?: boolean, _sideOrientation?: number): Mesh;
1154
1241
  /**
1155
1242
  * Creates a box mesh.
1156
- * @param name defines the name of the mesh to create
1157
- * @param size sets the size (float) of each box side (default 1)
1158
- * @param scene defines the hosting scene
1159
- * @param updatable defines if the mesh must be flagged as updatable
1160
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1243
+ * @param _name defines the name of the mesh to create
1244
+ * @param _size sets the size (float) of each box side (default 1)
1245
+ * @param _scene defines the hosting scene
1246
+ * @param _updatable defines if the mesh must be flagged as updatable
1247
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1161
1248
  * @returns a new Mesh
1162
1249
  * @deprecated Please use MeshBuilder instead
1163
1250
  */
1164
- static CreateBox(name: string, size: number, scene: Nullable<Scene>, updatable?: boolean, sideOrientation?: number): Mesh;
1251
+ static CreateBox(_name: string, _size: number, _scene: Nullable<Scene>, _updatable?: boolean, _sideOrientation?: number): Mesh;
1165
1252
  /**
1166
1253
  * Creates a sphere mesh.
1167
- * @param name defines the name of the mesh to create
1168
- * @param segments sets the sphere number of horizontal stripes (positive integer, default 32)
1169
- * @param diameter sets the diameter size (float) of the sphere (default 1)
1170
- * @param scene defines the hosting scene
1171
- * @param updatable defines if the mesh must be flagged as updatable
1172
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1254
+ * @param _name defines the name of the mesh to create
1255
+ * @param _segments sets the sphere number of horizontal stripes (positive integer, default 32)
1256
+ * @param _diameter sets the diameter size (float) of the sphere (default 1)
1257
+ * @param _scene defines the hosting scene
1258
+ * @param _updatable defines if the mesh must be flagged as updatable
1259
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1173
1260
  * @returns a new Mesh
1174
1261
  * @deprecated Please use MeshBuilder instead
1175
1262
  */
1176
- static CreateSphere(name: string, segments: number, diameter: number, scene?: Scene, updatable?: boolean, sideOrientation?: number): Mesh;
1263
+ static CreateSphere(_name: string, _segments: number, _diameter: number, _scene?: Scene, _updatable?: boolean, _sideOrientation?: number): Mesh;
1177
1264
  /**
1178
1265
  * Creates a hemisphere mesh.
1179
- * @param name defines the name of the mesh to create
1180
- * @param segments sets the sphere number of horizontal stripes (positive integer, default 32)
1181
- * @param diameter sets the diameter size (float) of the sphere (default 1)
1182
- * @param scene defines the hosting scene
1266
+ * @param _name defines the name of the mesh to create
1267
+ * @param _segments sets the sphere number of horizontal stripes (positive integer, default 32)
1268
+ * @param _diameter sets the diameter size (float) of the sphere (default 1)
1269
+ * @param _scene defines the hosting scene
1183
1270
  * @returns a new Mesh
1184
1271
  * @deprecated Please use MeshBuilder instead
1185
1272
  */
1186
- static CreateHemisphere(name: string, segments: number, diameter: number, scene?: Scene): Mesh;
1273
+ static CreateHemisphere(_name: string, _segments: number, _diameter: number, _scene?: Scene): Mesh;
1187
1274
  /**
1188
1275
  * Creates a cylinder or a cone mesh.
1189
- * @param name defines the name of the mesh to create
1190
- * @param height sets the height size (float) of the cylinder/cone (float, default 2)
1191
- * @param diameterTop set the top cap diameter (floats, default 1)
1192
- * @param diameterBottom set the bottom cap diameter (floats, default 1). This value can't be zero
1193
- * @param tessellation sets the number of cylinder sides (positive integer, default 24). Set it to 3 to get a prism for instance
1194
- * @param subdivisions sets the number of rings along the cylinder height (positive integer, default 1)
1195
- * @param scene defines the hosting scene
1196
- * @param updatable defines if the mesh must be flagged as updatable
1197
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1276
+ * @param _name defines the name of the mesh to create
1277
+ * @param _height sets the height size (float) of the cylinder/cone (float, default 2)
1278
+ * @param _diameterTop set the top cap diameter (floats, default 1)
1279
+ * @param _diameterBottom set the bottom cap diameter (floats, default 1). This value can't be zero
1280
+ * @param _tessellation sets the number of cylinder sides (positive integer, default 24). Set it to 3 to get a prism for instance
1281
+ * @param _subdivisions sets the number of rings along the cylinder height (positive integer, default 1)
1282
+ * @param _scene defines the hosting scene
1283
+ * @param _updatable defines if the mesh must be flagged as updatable
1284
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1198
1285
  * @returns a new Mesh
1199
1286
  * @deprecated Please use MeshBuilder instead
1200
1287
  */
1201
- static CreateCylinder(name: string, height: number, diameterTop: number, diameterBottom: number, tessellation: number, subdivisions: any, scene?: Scene, updatable?: any, sideOrientation?: number): Mesh;
1288
+ static CreateCylinder(_name: string, _height: number, _diameterTop: number, _diameterBottom: number, _tessellation: number, _subdivisions: any, _scene?: Scene, _updatable?: any, _sideOrientation?: number): Mesh;
1202
1289
  /**
1203
1290
  * Creates a torus mesh.
1204
- * @param name defines the name of the mesh to create
1205
- * @param diameter sets the diameter size (float) of the torus (default 1)
1206
- * @param thickness sets the diameter size of the tube of the torus (float, default 0.5)
1207
- * @param tessellation sets the number of torus sides (positive integer, default 16)
1208
- * @param scene defines the hosting scene
1209
- * @param updatable defines if the mesh must be flagged as updatable
1210
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1291
+ * @param _name defines the name of the mesh to create
1292
+ * @param _diameter sets the diameter size (float) of the torus (default 1)
1293
+ * @param _thickness sets the diameter size of the tube of the torus (float, default 0.5)
1294
+ * @param _tessellation sets the number of torus sides (positive integer, default 16)
1295
+ * @param _scene defines the hosting scene
1296
+ * @param _updatable defines if the mesh must be flagged as updatable
1297
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1211
1298
  * @returns a new Mesh
1212
1299
  * @deprecated Please use MeshBuilder instead
1213
1300
  */
1214
- static CreateTorus(name: string, diameter: number, thickness: number, tessellation: number, scene?: Scene, updatable?: boolean, sideOrientation?: number): Mesh;
1301
+ static CreateTorus(_name: string, _diameter: number, _thickness: number, _tessellation: number, _scene?: Scene, _updatable?: boolean, _sideOrientation?: number): Mesh;
1215
1302
  /**
1216
1303
  * Creates a torus knot mesh.
1217
- * @param name defines the name of the mesh to create
1218
- * @param radius sets the global radius size (float) of the torus knot (default 2)
1219
- * @param tube sets the diameter size of the tube of the torus (float, default 0.5)
1220
- * @param radialSegments sets the number of sides on each tube segments (positive integer, default 32)
1221
- * @param tubularSegments sets the number of tubes to decompose the knot into (positive integer, default 32)
1222
- * @param p the number of windings on X axis (positive integers, default 2)
1223
- * @param q the number of windings on Y axis (positive integers, default 3)
1224
- * @param scene defines the hosting scene
1225
- * @param updatable defines if the mesh must be flagged as updatable
1226
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1304
+ * @param _name defines the name of the mesh to create
1305
+ * @param _radius sets the global radius size (float) of the torus knot (default 2)
1306
+ * @param _tube sets the diameter size of the tube of the torus (float, default 0.5)
1307
+ * @param _radialSegments sets the number of sides on each tube segments (positive integer, default 32)
1308
+ * @param _tubularSegments sets the number of tubes to decompose the knot into (positive integer, default 32)
1309
+ * @param _p the number of windings on X axis (positive integers, default 2)
1310
+ * @param _q the number of windings on Y axis (positive integers, default 3)
1311
+ * @param _scene defines the hosting scene
1312
+ * @param _updatable defines if the mesh must be flagged as updatable
1313
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1227
1314
  * @returns a new Mesh
1228
1315
  * @deprecated Please use MeshBuilder instead
1229
1316
  */
1230
- static CreateTorusKnot(name: string, radius: number, tube: number, radialSegments: number, tubularSegments: number, p: number, q: number, scene?: Scene, updatable?: boolean, sideOrientation?: number): Mesh;
1317
+ static CreateTorusKnot(_name: string, _radius: number, _tube: number, _radialSegments: number, _tubularSegments: number, _p: number, _q: number, _scene?: Scene, _updatable?: boolean, _sideOrientation?: number): Mesh;
1231
1318
  /**
1232
1319
  * Creates a line mesh..
1233
- * @param name defines the name of the mesh to create
1234
- * @param points is an array successive Vector3
1235
- * @param scene defines the hosting scene
1236
- * @param updatable defines if the mesh must be flagged as updatable
1237
- * @param instance is an instance of an existing LineMesh object to be updated with the passed `points` parameter (https://doc.babylonjs.com/how_to/How_to_dynamically_morph_a_mesh#lines-and-dashedlines).
1320
+ * @param _name defines the name of the mesh to create
1321
+ * @param _points is an array successive Vector3
1322
+ * @param _scene defines the hosting scene
1323
+ * @param _updatable defines if the mesh must be flagged as updatable
1324
+ * @param _instance is an instance of an existing LineMesh object to be updated with the passed `points` parameter (https://doc.babylonjs.com/how_to/How_to_dynamically_morph_a_mesh#lines-and-dashedlines).
1238
1325
  * @returns a new Mesh
1239
1326
  * @deprecated Please use MeshBuilder instead
1240
1327
  */
1241
- static CreateLines(name: string, points: Vector3[], scene: Nullable<Scene>, updatable: boolean, instance?: Nullable<LinesMesh>): LinesMesh;
1328
+ static CreateLines(_name: string, _points: Vector3[], _scene: Nullable<Scene>, _updatable: boolean, _instance?: Nullable<LinesMesh>): LinesMesh;
1242
1329
  /**
1243
1330
  * Creates a dashed line mesh.
1244
- * @param name defines the name of the mesh to create
1245
- * @param points is an array successive Vector3
1246
- * @param dashSize is the size of the dashes relatively the dash number (positive float, default 3)
1247
- * @param gapSize is the size of the gap between two successive dashes relatively the dash number (positive float, default 1)
1248
- * @param dashNb is the intended total number of dashes (positive integer, default 200)
1249
- * @param scene defines the hosting scene
1250
- * @param updatable defines if the mesh must be flagged as updatable
1251
- * @param instance is an instance of an existing LineMesh object to be updated with the passed `points` parameter (https://doc.babylonjs.com/how_to/How_to_dynamically_morph_a_mesh#lines-and-dashedlines)
1331
+ * @param _name defines the name of the mesh to create
1332
+ * @param _points is an array successive Vector3
1333
+ * @param _dashSize is the size of the dashes relatively the dash number (positive float, default 3)
1334
+ * @param _gapSize is the size of the gap between two successive dashes relatively the dash number (positive float, default 1)
1335
+ * @param _dashNb is the intended total number of dashes (positive integer, default 200)
1336
+ * @param _scene defines the hosting scene
1337
+ * @param _updatable defines if the mesh must be flagged as updatable
1338
+ * @param _instance is an instance of an existing LineMesh object to be updated with the passed `points` parameter (https://doc.babylonjs.com/how_to/How_to_dynamically_morph_a_mesh#lines-and-dashedlines)
1252
1339
  * @returns a new Mesh
1253
1340
  * @deprecated Please use MeshBuilder instead
1254
1341
  */
1255
- static CreateDashedLines(name: string, points: Vector3[], dashSize: number, gapSize: number, dashNb: number, scene: Nullable<Scene>, updatable?: boolean, instance?: LinesMesh): LinesMesh;
1342
+ static CreateDashedLines(_name: string, _points: Vector3[], _dashSize: number, _gapSize: number, _dashNb: number, _scene: Nullable<Scene>, _updatable?: boolean, _instance?: LinesMesh): LinesMesh;
1256
1343
  /**
1257
1344
  * Creates a polygon mesh.Please consider using the same method from the MeshBuilder class instead
1258
1345
  * The polygon's shape will depend on the input parameters and is constructed parallel to a ground mesh.
@@ -1261,175 +1348,175 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1261
1348
  * The mesh can be set to updatable with the boolean parameter `updatable` (default false) if its internal geometry is supposed to change once created.
1262
1349
  * Remember you can only change the shape positions, not their number when updating a polygon.
1263
1350
  * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param#non-regular-polygon
1264
- * @param name defines the name of the mesh to create
1265
- * @param shape is a required array of successive Vector3 representing the corners of the polygon in th XoZ plane, that is y = 0 for all vectors
1266
- * @param scene defines the hosting scene
1267
- * @param holes is a required array of arrays of successive Vector3 used to defines holes in the polygon
1268
- * @param updatable defines if the mesh must be flagged as updatable
1269
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1270
- * @param earcutInjection can be used to inject your own earcut reference
1351
+ * @param _name defines the name of the mesh to create
1352
+ * @param _shape is a required array of successive Vector3 representing the corners of the polygon in th XoZ plane, that is y = 0 for all vectors
1353
+ * @param _scene defines the hosting scene
1354
+ * @param _holes is a required array of arrays of successive Vector3 used to defines holes in the polygon
1355
+ * @param _updatable defines if the mesh must be flagged as updatable
1356
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1357
+ * @param _earcutInjection can be used to inject your own earcut reference
1271
1358
  * @returns a new Mesh
1272
1359
  * @deprecated Please use MeshBuilder instead
1273
1360
  */
1274
- static CreatePolygon(name: string, shape: Vector3[], scene: Scene, holes?: Vector3[][], updatable?: boolean, sideOrientation?: number, earcutInjection?: any): Mesh;
1361
+ static CreatePolygon(_name: string, _shape: Vector3[], _scene: Scene, _holes?: Vector3[][], _updatable?: boolean, _sideOrientation?: number, _earcutInjection?: any): Mesh;
1275
1362
  /**
1276
1363
  * Creates an extruded polygon mesh, with depth in the Y direction..
1277
1364
  * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param#extruded-non-regular-polygon
1278
- * @param name defines the name of the mesh to create
1279
- * @param shape is a required array of successive Vector3 representing the corners of the polygon in th XoZ plane, that is y = 0 for all vectors
1280
- * @param depth defines the height of extrusion
1281
- * @param scene defines the hosting scene
1282
- * @param holes is a required array of arrays of successive Vector3 used to defines holes in the polygon
1283
- * @param updatable defines if the mesh must be flagged as updatable
1284
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1285
- * @param earcutInjection can be used to inject your own earcut reference
1365
+ * @param _name defines the name of the mesh to create
1366
+ * @param _shape is a required array of successive Vector3 representing the corners of the polygon in th XoZ plane, that is y = 0 for all vectors
1367
+ * @param _depth defines the height of extrusion
1368
+ * @param _scene defines the hosting scene
1369
+ * @param _holes is a required array of arrays of successive Vector3 used to defines holes in the polygon
1370
+ * @param _updatable defines if the mesh must be flagged as updatable
1371
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1372
+ * @param _earcutInjection can be used to inject your own earcut reference
1286
1373
  * @returns a new Mesh
1287
1374
  * @deprecated Please use MeshBuilder instead
1288
1375
  */
1289
- static ExtrudePolygon(name: string, shape: Vector3[], depth: number, scene: Scene, holes?: Vector3[][], updatable?: boolean, sideOrientation?: number, earcutInjection?: any): Mesh;
1376
+ static ExtrudePolygon(_name: string, _shape: Vector3[], _depth: number, _scene: Scene, _holes?: Vector3[][], _updatable?: boolean, _sideOrientation?: number, _earcutInjection?: any): Mesh;
1290
1377
  /**
1291
1378
  * Creates an extruded shape mesh.
1292
1379
  * The extrusion is a parametric shape. It has no predefined shape. Its final shape will depend on the input parameters.
1293
1380
  * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param
1294
1381
  * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param#extruded-shapes
1295
- * @param name defines the name of the mesh to create
1296
- * @param shape is a required array of successive Vector3. This array depicts the shape to be extruded in its local space : the shape must be designed in the xOy plane and will be extruded along the Z axis
1297
- * @param path is a required array of successive Vector3. This is the axis curve the shape is extruded along
1298
- * @param scale is the value to scale the shape
1299
- * @param rotation is the angle value to rotate the shape each step (each path point), from the former step (so rotation added each step) along the curve
1300
- * @param cap sets the way the extruded shape is capped. Possible values : Mesh.NO_CAP (default), Mesh.CAP_START, Mesh.CAP_END, Mesh.CAP_ALL
1301
- * @param scene defines the hosting scene
1302
- * @param updatable defines if the mesh must be flagged as updatable
1303
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1304
- * @param instance is an instance of an existing ExtrudedShape object to be updated with the passed `shape`, `path`, `scale` or `rotation` parameters (https://doc.babylonjs.com/how_to/How_to_dynamically_morph_a_mesh#extruded-shape)
1382
+ * @param _name defines the name of the mesh to create
1383
+ * @param _shape is a required array of successive Vector3. This array depicts the shape to be extruded in its local space : the shape must be designed in the xOy plane and will be extruded along the Z axis
1384
+ * @param _path is a required array of successive Vector3. This is the axis curve the shape is extruded along
1385
+ * @param _scale is the value to scale the shape
1386
+ * @param _rotation is the angle value to rotate the shape each step (each path point), from the former step (so rotation added each step) along the curve
1387
+ * @param _cap sets the way the extruded shape is capped. Possible values : Mesh.NO_CAP (default), Mesh.CAP_START, Mesh.CAP_END, Mesh.CAP_ALL
1388
+ * @param _scene defines the hosting scene
1389
+ * @param _updatable defines if the mesh must be flagged as updatable
1390
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1391
+ * @param _instance is an instance of an existing ExtrudedShape object to be updated with the passed `shape`, `path`, `scale` or `rotation` parameters (https://doc.babylonjs.com/how_to/How_to_dynamically_morph_a_mesh#extruded-shape)
1305
1392
  * @returns a new Mesh
1306
1393
  * @deprecated Please use MeshBuilder instead
1307
1394
  */
1308
- static ExtrudeShape(name: string, shape: Vector3[], path: Vector3[], scale: number, rotation: number, cap: number, scene: Nullable<Scene>, updatable?: boolean, sideOrientation?: number, instance?: Mesh): Mesh;
1395
+ static ExtrudeShape(_name: string, _shape: Vector3[], _path: Vector3[], _scale: number, _rotation: number, _cap: number, _scene: Nullable<Scene>, _updatable?: boolean, _sideOrientation?: number, _instance?: Mesh): Mesh;
1309
1396
  /**
1310
1397
  * Creates an custom extruded shape mesh.
1311
1398
  * The custom extrusion is a parametric shape.
1312
1399
  * It has no predefined shape. Its final shape will depend on the input parameters.
1313
1400
  *
1314
1401
  * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param#extruded-shapes
1315
- * @param name defines the name of the mesh to create
1316
- * @param shape is a required array of successive Vector3. This array depicts the shape to be extruded in its local space : the shape must be designed in the xOy plane and will be extruded along the Z axis
1317
- * @param path is a required array of successive Vector3. This is the axis curve the shape is extruded along
1318
- * @param scaleFunction is a custom Javascript function called on each path point
1319
- * @param rotationFunction is a custom Javascript function called on each path point
1320
- * @param ribbonCloseArray forces the extrusion underlying ribbon to close all the paths in its `pathArray`
1321
- * @param ribbonClosePath forces the extrusion underlying ribbon to close its `pathArray`
1322
- * @param cap sets the way the extruded shape is capped. Possible values : Mesh.NO_CAP (default), Mesh.CAP_START, Mesh.CAP_END, Mesh.CAP_ALL
1323
- * @param scene defines the hosting scene
1324
- * @param updatable defines if the mesh must be flagged as updatable
1325
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1326
- * @param instance is an instance of an existing ExtrudedShape object to be updated with the passed `shape`, `path`, `scale` or `rotation` parameters (https://doc.babylonjs.com/features/featuresDeepDive/mesh/dynamicMeshMorph#extruded-shape)
1402
+ * @param _name defines the name of the mesh to create
1403
+ * @param _shape is a required array of successive Vector3. This array depicts the shape to be extruded in its local space : the shape must be designed in the xOy plane and will be extruded along the Z axis
1404
+ * @param _path is a required array of successive Vector3. This is the axis curve the shape is extruded along
1405
+ * @param _scaleFunction is a custom Javascript function called on each path point
1406
+ * @param _rotationFunction is a custom Javascript function called on each path point
1407
+ * @param _ribbonCloseArray forces the extrusion underlying ribbon to close all the paths in its `pathArray`
1408
+ * @param _ribbonClosePath forces the extrusion underlying ribbon to close its `pathArray`
1409
+ * @param _cap sets the way the extruded shape is capped. Possible values : Mesh.NO_CAP (default), Mesh.CAP_START, Mesh.CAP_END, Mesh.CAP_ALL
1410
+ * @param _scene defines the hosting scene
1411
+ * @param _updatable defines if the mesh must be flagged as updatable
1412
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1413
+ * @param _instance is an instance of an existing ExtrudedShape object to be updated with the passed `shape`, `path`, `scale` or `rotation` parameters (https://doc.babylonjs.com/features/featuresDeepDive/mesh/dynamicMeshMorph#extruded-shape)
1327
1414
  * @returns a new Mesh
1328
1415
  * @deprecated Please use MeshBuilder instead
1329
1416
  */
1330
- static ExtrudeShapeCustom(name: string, shape: Vector3[], path: Vector3[], scaleFunction: Nullable<{
1417
+ static ExtrudeShapeCustom(_name: string, _shape: Vector3[], _path: Vector3[], _scaleFunction: Nullable<{
1331
1418
  (i: number, distance: number): number;
1332
- }>, rotationFunction: Nullable<{
1419
+ }>, _rotationFunction: Nullable<{
1333
1420
  (i: number, distance: number): number;
1334
- }>, ribbonCloseArray: boolean, ribbonClosePath: boolean, cap: number, scene: Scene, updatable?: boolean, sideOrientation?: number, instance?: Mesh): Mesh;
1421
+ }>, _ribbonCloseArray: boolean, _ribbonClosePath: boolean, _cap: number, _scene: Scene, _updatable?: boolean, _sideOrientation?: number, _instance?: Mesh): Mesh;
1335
1422
  /**
1336
1423
  * Creates lathe mesh.
1337
1424
  * The lathe is a shape with a symmetry axis : a 2D model shape is rotated around this axis to design the lathe.
1338
- * @param name defines the name of the mesh to create
1339
- * @param shape is a required array of successive Vector3. This array depicts the shape to be rotated in its local space : the shape must be designed in the xOy plane and will be rotated around the Y axis. It's usually a 2D shape, so the Vector3 z coordinates are often set to zero
1340
- * @param radius is the radius value of the lathe
1341
- * @param tessellation is the side number of the lathe.
1342
- * @param scene defines the hosting scene
1343
- * @param updatable defines if the mesh must be flagged as updatable
1344
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1425
+ * @param _name defines the name of the mesh to create
1426
+ * @param _shape is a required array of successive Vector3. This array depicts the shape to be rotated in its local space : the shape must be designed in the xOy plane and will be rotated around the Y axis. It's usually a 2D shape, so the Vector3 z coordinates are often set to zero
1427
+ * @param _radius is the radius value of the lathe
1428
+ * @param _tessellation is the side number of the lathe.
1429
+ * @param _scene defines the hosting scene
1430
+ * @param _updatable defines if the mesh must be flagged as updatable
1431
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1345
1432
  * @returns a new Mesh
1346
1433
  * @deprecated Please use MeshBuilder instead
1347
1434
  */
1348
- static CreateLathe(name: string, shape: Vector3[], radius: number, tessellation: number, scene: Scene, updatable?: boolean, sideOrientation?: number): Mesh;
1435
+ static CreateLathe(_name: string, _shape: Vector3[], _radius: number, _tessellation: number, _scene: Scene, _updatable?: boolean, _sideOrientation?: number): Mesh;
1349
1436
  /**
1350
1437
  * Creates a plane mesh.
1351
- * @param name defines the name of the mesh to create
1352
- * @param size sets the size (float) of both sides of the plane at once (default 1)
1353
- * @param scene defines the hosting scene
1354
- * @param updatable defines if the mesh must be flagged as updatable
1355
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1438
+ * @param _name defines the name of the mesh to create
1439
+ * @param _size sets the size (float) of both sides of the plane at once (default 1)
1440
+ * @param _scene defines the hosting scene
1441
+ * @param _updatable defines if the mesh must be flagged as updatable
1442
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1356
1443
  * @returns a new Mesh
1357
1444
  * @deprecated Please use MeshBuilder instead
1358
1445
  */
1359
- static CreatePlane(name: string, size: number, scene: Scene, updatable?: boolean, sideOrientation?: number): Mesh;
1446
+ static CreatePlane(_name: string, _size: number, _scene: Scene, _updatable?: boolean, _sideOrientation?: number): Mesh;
1360
1447
  /**
1361
1448
  * Creates a ground mesh.
1362
- * @param name defines the name of the mesh to create
1363
- * @param width set the width of the ground
1364
- * @param height set the height of the ground
1365
- * @param subdivisions sets the number of subdivisions per side
1366
- * @param scene defines the hosting scene
1367
- * @param updatable defines if the mesh must be flagged as updatable
1449
+ * @param _name defines the name of the mesh to create
1450
+ * @param _width set the width of the ground
1451
+ * @param _height set the height of the ground
1452
+ * @param _subdivisions sets the number of subdivisions per side
1453
+ * @param _scene defines the hosting scene
1454
+ * @param _updatable defines if the mesh must be flagged as updatable
1368
1455
  * @returns a new Mesh
1369
1456
  * @deprecated Please use MeshBuilder instead
1370
1457
  */
1371
- static CreateGround(name: string, width: number, height: number, subdivisions: number, scene?: Scene, updatable?: boolean): Mesh;
1458
+ static CreateGround(_name: string, _width: number, _height: number, _subdivisions: number, _scene?: Scene, _updatable?: boolean): Mesh;
1372
1459
  /**
1373
1460
  * Creates a tiled ground mesh.
1374
- * @param name defines the name of the mesh to create
1375
- * @param xmin set the ground minimum X coordinate
1376
- * @param zmin set the ground minimum Y coordinate
1377
- * @param xmax set the ground maximum X coordinate
1378
- * @param zmax set the ground maximum Z coordinate
1379
- * @param subdivisions is an object `{w: positive integer, h: positive integer}` (default `{w: 6, h: 6}`). `w` and `h` are the numbers of subdivisions on the ground width and height. Each subdivision is called a tile
1380
- * @param precision is an object `{w: positive integer, h: positive integer}` (default `{w: 2, h: 2}`). `w` and `h` are the numbers of subdivisions on the ground width and height of each tile
1381
- * @param scene defines the hosting scene
1382
- * @param updatable defines if the mesh must be flagged as updatable
1461
+ * @param _name defines the name of the mesh to create
1462
+ * @param _xmin set the ground minimum X coordinate
1463
+ * @param _zmin set the ground minimum Y coordinate
1464
+ * @param _xmax set the ground maximum X coordinate
1465
+ * @param _zmax set the ground maximum Z coordinate
1466
+ * @param _subdivisions is an object `{w: positive integer, h: positive integer}` (default `{w: 6, h: 6}`). `w` and `h` are the numbers of subdivisions on the ground width and height. Each subdivision is called a tile
1467
+ * @param _precision is an object `{w: positive integer, h: positive integer}` (default `{w: 2, h: 2}`). `w` and `h` are the numbers of subdivisions on the ground width and height of each tile
1468
+ * @param _scene defines the hosting scene
1469
+ * @param _updatable defines if the mesh must be flagged as updatable
1383
1470
  * @returns a new Mesh
1384
1471
  * @deprecated Please use MeshBuilder instead
1385
1472
  */
1386
- static CreateTiledGround(name: string, xmin: number, zmin: number, xmax: number, zmax: number, subdivisions: {
1473
+ static CreateTiledGround(_name: string, _xmin: number, _zmin: number, _xmax: number, _zmax: number, _subdivisions: {
1387
1474
  w: number;
1388
1475
  h: number;
1389
- }, precision: {
1476
+ }, _precision: {
1390
1477
  w: number;
1391
1478
  h: number;
1392
- }, scene: Scene, updatable?: boolean): Mesh;
1479
+ }, _scene: Scene, _updatable?: boolean): Mesh;
1393
1480
  /**
1394
1481
  * Creates a ground mesh from a height map.
1395
1482
  * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set/height_map
1396
- * @param name defines the name of the mesh to create
1397
- * @param url sets the URL of the height map image resource
1398
- * @param width set the ground width size
1399
- * @param height set the ground height size
1400
- * @param subdivisions sets the number of subdivision per side
1401
- * @param minHeight is the minimum altitude on the ground
1402
- * @param maxHeight is the maximum altitude on the ground
1403
- * @param scene defines the hosting scene
1404
- * @param updatable defines if the mesh must be flagged as updatable
1405
- * @param onReady is a callback function that will be called once the mesh is built (the height map download can last some time)
1406
- * @param alphaFilter will filter any data where the alpha channel is below this value, defaults 0 (all data visible)
1483
+ * @param _name defines the name of the mesh to create
1484
+ * @param _url sets the URL of the height map image resource
1485
+ * @param _width set the ground width size
1486
+ * @param _height set the ground height size
1487
+ * @param _subdivisions sets the number of subdivision per side
1488
+ * @param _minHeight is the minimum altitude on the ground
1489
+ * @param _maxHeight is the maximum altitude on the ground
1490
+ * @param _scene defines the hosting scene
1491
+ * @param _updatable defines if the mesh must be flagged as updatable
1492
+ * @param _onReady is a callback function that will be called once the mesh is built (the height map download can last some time)
1493
+ * @param _alphaFilter will filter any data where the alpha channel is below this value, defaults 0 (all data visible)
1407
1494
  * @returns a new Mesh
1408
1495
  * @deprecated Please use MeshBuilder instead
1409
1496
  */
1410
- static CreateGroundFromHeightMap(name: string, url: string, width: number, height: number, subdivisions: number, minHeight: number, maxHeight: number, scene: Scene, updatable?: boolean, onReady?: (mesh: GroundMesh) => void, alphaFilter?: number): GroundMesh;
1497
+ static CreateGroundFromHeightMap(_name: string, _url: string, _width: number, _height: number, _subdivisions: number, _minHeight: number, _maxHeight: number, _scene: Scene, _updatable?: boolean, _onReady?: (mesh: GroundMesh) => void, _alphaFilter?: number): GroundMesh;
1411
1498
  /**
1412
1499
  * Creates a tube mesh.
1413
1500
  * The tube is a parametric shape.
1414
1501
  * It has no predefined shape. Its final shape will depend on the input parameters.
1415
1502
  *
1416
1503
  * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param
1417
- * @param name defines the name of the mesh to create
1418
- * @param path is a required array of successive Vector3. It is the curve used as the axis of the tube
1419
- * @param radius sets the tube radius size
1420
- * @param tessellation is the number of sides on the tubular surface
1421
- * @param radiusFunction is a custom function. If it is not null, it overrides the parameter `radius`. This function is called on each point of the tube path and is passed the index `i` of the i-th point and the distance of this point from the first point of the path
1422
- * @param cap sets the way the extruded shape is capped. Possible values : Mesh.NO_CAP (default), Mesh.CAP_START, Mesh.CAP_END, Mesh.CAP_ALL
1423
- * @param scene defines the hosting scene
1424
- * @param updatable defines if the mesh must be flagged as updatable
1425
- * @param sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1426
- * @param instance is an instance of an existing Tube object to be updated with the passed `pathArray` parameter (https://doc.babylonjs.com/how_to/How_to_dynamically_morph_a_mesh#tube)
1504
+ * @param _name defines the name of the mesh to create
1505
+ * @param _path is a required array of successive Vector3. It is the curve used as the axis of the tube
1506
+ * @param _radius sets the tube radius size
1507
+ * @param _tessellation is the number of sides on the tubular surface
1508
+ * @param _radiusFunction is a custom function. If it is not null, it overrides the parameter `radius`. This function is called on each point of the tube path and is passed the index `i` of the i-th point and the distance of this point from the first point of the path
1509
+ * @param _cap sets the way the extruded shape is capped. Possible values : Mesh.NO_CAP (default), Mesh.CAP_START, Mesh.CAP_END, Mesh.CAP_ALL
1510
+ * @param _scene defines the hosting scene
1511
+ * @param _updatable defines if the mesh must be flagged as updatable
1512
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1513
+ * @param _instance is an instance of an existing Tube object to be updated with the passed `pathArray` parameter (https://doc.babylonjs.com/how_to/How_to_dynamically_morph_a_mesh#tube)
1427
1514
  * @returns a new Mesh
1428
1515
  * @deprecated Please use MeshBuilder instead
1429
1516
  */
1430
- static CreateTube(name: string, path: Vector3[], radius: number, tessellation: number, radiusFunction: {
1517
+ static CreateTube(_name: string, _path: Vector3[], _radius: number, _tessellation: number, _radiusFunction: {
1431
1518
  (i: number, distance: number): number;
1432
- }, cap: number, scene: Scene, updatable?: boolean, sideOrientation?: number, instance?: Mesh): Mesh;
1519
+ }, _cap: number, _scene: Scene, _updatable?: boolean, _sideOrientation?: number, _instance?: Mesh): Mesh;
1433
1520
  /**
1434
1521
  * Creates a polyhedron mesh.
1435
1522
  *.
@@ -1444,13 +1531,13 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1444
1531
  * * You can also set the mesh side orientation with the values : Mesh.FRONTSIDE (default), Mesh.BACKSIDE or Mesh.DOUBLESIDE
1445
1532
  * * If you create a double-sided mesh, you can choose what parts of the texture image to crop and stick respectively on the front and the back sides with the parameters `frontUVs` and `backUVs` (Vector4). Detail here : https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation
1446
1533
  * * The mesh can be set to updatable with the boolean parameter `updatable` (default false) if its internal geometry is supposed to change once created
1447
- * @param name defines the name of the mesh to create
1448
- * @param options defines the options used to create the mesh
1449
- * @param scene defines the hosting scene
1534
+ * @param _name defines the name of the mesh to create
1535
+ * @param _options defines the options used to create the mesh
1536
+ * @param _scene defines the hosting scene
1450
1537
  * @returns a new Mesh
1451
1538
  * @deprecated Please use MeshBuilder instead
1452
1539
  */
1453
- static CreatePolyhedron(name: string, options: {
1540
+ static CreatePolyhedron(_name: string, _options: {
1454
1541
  type?: number;
1455
1542
  size?: number;
1456
1543
  sizeX?: number;
@@ -1461,7 +1548,7 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1461
1548
  faceColors?: Color4[];
1462
1549
  updatable?: boolean;
1463
1550
  sideOrientation?: number;
1464
- }, scene: Scene): Mesh;
1551
+ }, _scene: Scene): Mesh;
1465
1552
  /**
1466
1553
  * Creates a sphere based upon an icosahedron with 20 triangular faces which can be subdivided
1467
1554
  * * The parameter `radius` sets the radius size (float) of the icosphere (default 1)
@@ -1472,49 +1559,49 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1472
1559
  * * If you create a double-sided mesh, you can choose what parts of the texture image to crop and stick respectively on the front and the back sides with the parameters `frontUVs` and `backUVs` (Vector4). Detail here : https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation
1473
1560
  * * The mesh can be set to updatable with the boolean parameter `updatable` (default false) if its internal geometry is supposed to change once created
1474
1561
  * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/polyhedra#icosphere
1475
- * @param name defines the name of the mesh
1476
- * @param options defines the options used to create the mesh
1477
- * @param scene defines the hosting scene
1562
+ * @param _name defines the name of the mesh
1563
+ * @param _options defines the options used to create the mesh
1564
+ * @param _scene defines the hosting scene
1478
1565
  * @returns a new Mesh
1479
1566
  * @deprecated Please use MeshBuilder instead
1480
1567
  */
1481
- static CreateIcoSphere(name: string, options: {
1568
+ static CreateIcoSphere(_name: string, _options: {
1482
1569
  radius?: number;
1483
1570
  flat?: boolean;
1484
1571
  subdivisions?: number;
1485
1572
  sideOrientation?: number;
1486
1573
  updatable?: boolean;
1487
- }, scene: Scene): Mesh;
1574
+ }, _scene: Scene): Mesh;
1488
1575
  /**
1489
1576
  * Creates a decal mesh.
1490
1577
  *.
1491
1578
  * A decal is a mesh usually applied as a model onto the surface of another mesh
1492
- * @param name defines the name of the mesh
1493
- * @param sourceMesh defines the mesh receiving the decal
1494
- * @param position sets the position of the decal in world coordinates
1495
- * @param normal sets the normal of the mesh where the decal is applied onto in world coordinates
1496
- * @param size sets the decal scaling
1497
- * @param angle sets the angle to rotate the decal
1579
+ * @param _name defines the name of the mesh
1580
+ * @param _sourceMesh defines the mesh receiving the decal
1581
+ * @param _position sets the position of the decal in world coordinates
1582
+ * @param _normal sets the normal of the mesh where the decal is applied onto in world coordinates
1583
+ * @param _size sets the decal scaling
1584
+ * @param _angle sets the angle to rotate the decal
1498
1585
  * @returns a new Mesh
1499
1586
  * @deprecated Please use MeshBuilder instead
1500
1587
  */
1501
- static CreateDecal(name: string, sourceMesh: AbstractMesh, position: Vector3, normal: Vector3, size: Vector3, angle: number): Mesh;
1588
+ static CreateDecal(_name: string, _sourceMesh: AbstractMesh, _position: Vector3, _normal: Vector3, _size: Vector3, _angle: number): Mesh;
1502
1589
  /** Creates a Capsule Mesh
1503
- * @param name defines the name of the mesh.
1504
- * @param options the constructors options used to shape the mesh.
1505
- * @param scene defines the scene the mesh is scoped to.
1590
+ * @param _name defines the name of the mesh.
1591
+ * @param _options the constructors options used to shape the mesh.
1592
+ * @param _scene defines the scene the mesh is scoped to.
1506
1593
  * @returns the capsule mesh
1507
1594
  * @see https://doc.babylonjs.com/how_to/capsule_shape
1508
1595
  * @deprecated Please use MeshBuilder instead
1509
1596
  */
1510
- static CreateCapsule(name: string, options: ICreateCapsuleOptions, scene: Scene): Mesh;
1597
+ static CreateCapsule(_name: string, _options: ICreateCapsuleOptions, _scene: Scene): Mesh;
1511
1598
  /**
1512
1599
  * Extends a mesh to a Goldberg mesh
1513
1600
  * Warning the mesh to convert MUST be an import of a perviously exported Goldberg mesh
1514
- * @param mesh the mesh to convert
1601
+ * @param _mesh the mesh to convert
1515
1602
  * @returns the extended mesh
1516
1603
  * @deprecated Please use ExtendMeshToGoldberg instead
1517
1604
  */
1518
- static ExtendToGoldberg(mesh: Mesh): Mesh;
1605
+ static ExtendToGoldberg(_mesh: Mesh): Mesh;
1519
1606
  }
1520
1607
  export {};