@onerjs/core 8.41.4 → 8.41.6

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 (264) hide show
  1. package/Cameras/Inputs/geospatialCameraPointersInput.d.ts +16 -0
  2. package/Cameras/Inputs/geospatialCameraPointersInput.js +19 -3
  3. package/Cameras/Inputs/geospatialCameraPointersInput.js.map +1 -1
  4. package/Cameras/Limits/geospatialLimits.d.ts +0 -6
  5. package/Cameras/Limits/geospatialLimits.js +0 -6
  6. package/Cameras/Limits/geospatialLimits.js.map +1 -1
  7. package/Cameras/geospatialCamera.d.ts +5 -0
  8. package/Cameras/geospatialCamera.js +38 -10
  9. package/Cameras/geospatialCamera.js.map +1 -1
  10. package/Engines/abstractEngine.d.ts +2 -2
  11. package/Engines/abstractEngine.js +2 -2
  12. package/Engines/abstractEngine.js.map +1 -1
  13. package/Engines/webgpuEngine.d.ts +1 -4
  14. package/Engines/webgpuEngine.js +8 -6
  15. package/Engines/webgpuEngine.js.map +1 -1
  16. package/FrameGraph/frameGraphContext.js +1 -1
  17. package/FrameGraph/frameGraphContext.js.map +1 -1
  18. package/FrameGraph/frameGraphRenderContext.js +2 -2
  19. package/FrameGraph/frameGraphRenderContext.js.map +1 -1
  20. package/Lights/Shadows/cascadedShadowGenerator.js +1 -1
  21. package/Lights/Shadows/cascadedShadowGenerator.js.map +1 -1
  22. package/Lights/Shadows/shadowGenerator.js +1 -1
  23. package/Lights/Shadows/shadowGenerator.js.map +1 -1
  24. package/Lights/lightingVolume.js +1 -1
  25. package/Lights/lightingVolume.js.map +1 -1
  26. package/Materials/Textures/Procedurals/proceduralTexture.js +1 -1
  27. package/Materials/Textures/Procedurals/proceduralTexture.js.map +1 -1
  28. package/Maths/math.path.js +3 -3
  29. package/Maths/math.path.js.map +1 -1
  30. package/Meshes/Builders/capsuleBuilder.js +0 -3
  31. package/Meshes/Builders/capsuleBuilder.js.map +1 -1
  32. package/Meshes/Builders/cylinderBuilder.d.ts +1 -1
  33. package/Meshes/Builders/cylinderBuilder.js +1 -2
  34. package/Meshes/Builders/cylinderBuilder.js.map +1 -1
  35. package/Meshes/Builders/decalBuilder.js +2 -0
  36. package/Meshes/Builders/decalBuilder.js.map +1 -1
  37. package/Meshes/Builders/discBuilder.js +0 -1
  38. package/Meshes/Builders/discBuilder.js.map +1 -1
  39. package/Meshes/Builders/groundBuilder.d.ts +50 -54
  40. package/Meshes/Builders/groundBuilder.js +50 -54
  41. package/Meshes/Builders/groundBuilder.js.map +1 -1
  42. package/Meshes/Builders/tiledBoxBuilder.d.ts +0 -26
  43. package/Meshes/Builders/tiledBoxBuilder.js +0 -26
  44. package/Meshes/Builders/tiledBoxBuilder.js.map +1 -1
  45. package/Meshes/Builders/tiledPlaneBuilder.d.ts +0 -25
  46. package/Meshes/Builders/tiledPlaneBuilder.js +0 -25
  47. package/Meshes/Builders/tiledPlaneBuilder.js.map +1 -1
  48. package/Meshes/Builders/torusBuilder.d.ts +0 -13
  49. package/Meshes/Builders/torusBuilder.js +0 -13
  50. package/Meshes/Builders/torusBuilder.js.map +1 -1
  51. package/Meshes/Builders/torusKnotBuilder.d.ts +0 -19
  52. package/Meshes/Builders/torusKnotBuilder.js +0 -19
  53. package/Meshes/Builders/torusKnotBuilder.js.map +1 -1
  54. package/Meshes/Compression/dracoCompressionWorker.js.map +1 -1
  55. package/Meshes/Compression/dracoDecoder.js.map +1 -1
  56. package/Meshes/Compression/dracoDecoder.types.d.ts +11 -0
  57. package/Meshes/Compression/dracoDecoder.types.js.map +1 -1
  58. package/Meshes/Compression/dracoEncoder.js.map +1 -1
  59. package/Meshes/Compression/meshoptCompression.js +0 -2
  60. package/Meshes/Compression/meshoptCompression.js.map +1 -1
  61. package/Meshes/GreasedLine/greasedLineRibbonMesh.js +0 -8
  62. package/Meshes/GreasedLine/greasedLineRibbonMesh.js.map +1 -1
  63. package/Meshes/Node/Blocks/Instances/instantiateBaseBlock.d.ts +1 -0
  64. package/Meshes/Node/Blocks/Instances/instantiateBaseBlock.js +1 -0
  65. package/Meshes/Node/Blocks/Instances/instantiateBaseBlock.js.map +1 -1
  66. package/Meshes/Node/Blocks/Instances/instantiateOnFacesBlock.d.ts +1 -0
  67. package/Meshes/Node/Blocks/Instances/instantiateOnFacesBlock.js +1 -0
  68. package/Meshes/Node/Blocks/Instances/instantiateOnFacesBlock.js.map +1 -1
  69. package/Meshes/Node/Blocks/Instances/instantiateOnVerticesBlock.d.ts +1 -0
  70. package/Meshes/Node/Blocks/Instances/instantiateOnVerticesBlock.js +1 -0
  71. package/Meshes/Node/Blocks/Instances/instantiateOnVerticesBlock.js.map +1 -1
  72. package/Meshes/Node/Blocks/Instances/instantiateOnVolumeBlock.d.ts +1 -0
  73. package/Meshes/Node/Blocks/Instances/instantiateOnVolumeBlock.js +1 -0
  74. package/Meshes/Node/Blocks/Instances/instantiateOnVolumeBlock.js.map +1 -1
  75. package/Meshes/Node/Blocks/Matrices/scalingBlock.d.ts +1 -0
  76. package/Meshes/Node/Blocks/Matrices/scalingBlock.js +1 -0
  77. package/Meshes/Node/Blocks/Matrices/scalingBlock.js.map +1 -1
  78. package/Meshes/Node/Blocks/Matrices/translationBlock.d.ts +1 -0
  79. package/Meshes/Node/Blocks/Matrices/translationBlock.js +1 -0
  80. package/Meshes/Node/Blocks/Matrices/translationBlock.js.map +1 -1
  81. package/Meshes/Node/Blocks/Set/aggregatorBlock.d.ts +1 -0
  82. package/Meshes/Node/Blocks/Set/aggregatorBlock.js +1 -0
  83. package/Meshes/Node/Blocks/Set/aggregatorBlock.js.map +1 -1
  84. package/Meshes/Node/Blocks/Set/latticeBlock.d.ts +1 -0
  85. package/Meshes/Node/Blocks/Set/latticeBlock.js +1 -0
  86. package/Meshes/Node/Blocks/Set/latticeBlock.js.map +1 -1
  87. package/Meshes/Node/Blocks/Set/setColorsBlock.d.ts +1 -0
  88. package/Meshes/Node/Blocks/Set/setColorsBlock.js +1 -0
  89. package/Meshes/Node/Blocks/Set/setColorsBlock.js.map +1 -1
  90. package/Meshes/Node/Blocks/Set/setMaterialIDBlock.d.ts +1 -0
  91. package/Meshes/Node/Blocks/Set/setMaterialIDBlock.js +1 -0
  92. package/Meshes/Node/Blocks/Set/setMaterialIDBlock.js.map +1 -1
  93. package/Meshes/Node/Blocks/Set/setNormalsBlock.d.ts +1 -0
  94. package/Meshes/Node/Blocks/Set/setNormalsBlock.js +1 -0
  95. package/Meshes/Node/Blocks/Set/setNormalsBlock.js.map +1 -1
  96. package/Meshes/Node/Blocks/Set/setPositionsBlock.d.ts +1 -0
  97. package/Meshes/Node/Blocks/Set/setPositionsBlock.js +1 -0
  98. package/Meshes/Node/Blocks/Set/setPositionsBlock.js.map +1 -1
  99. package/Meshes/Node/Blocks/Set/setTangentsBlock.d.ts +1 -0
  100. package/Meshes/Node/Blocks/Set/setTangentsBlock.js +1 -0
  101. package/Meshes/Node/Blocks/Set/setTangentsBlock.js.map +1 -1
  102. package/Meshes/Node/Blocks/Set/setUVsBlock.d.ts +1 -0
  103. package/Meshes/Node/Blocks/Set/setUVsBlock.js +1 -0
  104. package/Meshes/Node/Blocks/Set/setUVsBlock.js.map +1 -1
  105. package/Meshes/Node/Blocks/Sources/boxBlock.d.ts +2 -0
  106. package/Meshes/Node/Blocks/Sources/boxBlock.js +2 -0
  107. package/Meshes/Node/Blocks/Sources/boxBlock.js.map +1 -1
  108. package/Meshes/Node/Blocks/Sources/capsuleBlock.d.ts +2 -0
  109. package/Meshes/Node/Blocks/Sources/capsuleBlock.js +2 -0
  110. package/Meshes/Node/Blocks/Sources/capsuleBlock.js.map +1 -1
  111. package/Meshes/Node/Blocks/Sources/cylinderBlock.d.ts +2 -0
  112. package/Meshes/Node/Blocks/Sources/cylinderBlock.js +2 -0
  113. package/Meshes/Node/Blocks/Sources/cylinderBlock.js.map +1 -1
  114. package/Meshes/Node/Blocks/Sources/discBlock.d.ts +2 -0
  115. package/Meshes/Node/Blocks/Sources/discBlock.js +2 -0
  116. package/Meshes/Node/Blocks/Sources/discBlock.js.map +1 -1
  117. package/Meshes/Node/Blocks/Sources/gridBlock.d.ts +2 -0
  118. package/Meshes/Node/Blocks/Sources/gridBlock.js +2 -0
  119. package/Meshes/Node/Blocks/Sources/gridBlock.js.map +1 -1
  120. package/Meshes/Node/Blocks/Sources/icoSphereBlock.d.ts +2 -0
  121. package/Meshes/Node/Blocks/Sources/icoSphereBlock.js +2 -0
  122. package/Meshes/Node/Blocks/Sources/icoSphereBlock.js.map +1 -1
  123. package/Meshes/Node/Blocks/Sources/meshBlock.d.ts +1 -0
  124. package/Meshes/Node/Blocks/Sources/meshBlock.js +1 -0
  125. package/Meshes/Node/Blocks/Sources/meshBlock.js.map +1 -1
  126. package/Meshes/Node/Blocks/Sources/planeBlock.d.ts +2 -0
  127. package/Meshes/Node/Blocks/Sources/planeBlock.js +2 -0
  128. package/Meshes/Node/Blocks/Sources/planeBlock.js.map +1 -1
  129. package/Meshes/Node/Blocks/Sources/pointListBlock.d.ts +2 -1
  130. package/Meshes/Node/Blocks/Sources/pointListBlock.js +2 -1
  131. package/Meshes/Node/Blocks/Sources/pointListBlock.js.map +1 -1
  132. package/Meshes/Node/Blocks/Sources/sphereBlock.d.ts +2 -0
  133. package/Meshes/Node/Blocks/Sources/sphereBlock.js +2 -0
  134. package/Meshes/Node/Blocks/Sources/sphereBlock.js.map +1 -1
  135. package/Meshes/Node/Blocks/Sources/torusBlock.d.ts +2 -0
  136. package/Meshes/Node/Blocks/Sources/torusBlock.js +2 -0
  137. package/Meshes/Node/Blocks/Sources/torusBlock.js.map +1 -1
  138. package/Meshes/Node/Blocks/Teleport/teleportInBlock.d.ts +1 -0
  139. package/Meshes/Node/Blocks/Teleport/teleportInBlock.js +1 -0
  140. package/Meshes/Node/Blocks/Teleport/teleportInBlock.js.map +1 -1
  141. package/Meshes/Node/Blocks/Teleport/teleportOutBlock.d.ts +3 -0
  142. package/Meshes/Node/Blocks/Teleport/teleportOutBlock.js +3 -0
  143. package/Meshes/Node/Blocks/Teleport/teleportOutBlock.js.map +1 -1
  144. package/Meshes/Node/Blocks/Textures/geometryTextureBlock.d.ts +1 -0
  145. package/Meshes/Node/Blocks/Textures/geometryTextureBlock.js +1 -1
  146. package/Meshes/Node/Blocks/Textures/geometryTextureBlock.js.map +1 -1
  147. package/Meshes/Node/Blocks/Textures/geometryTextureFetchBlock.d.ts +1 -0
  148. package/Meshes/Node/Blocks/Textures/geometryTextureFetchBlock.js +1 -0
  149. package/Meshes/Node/Blocks/Textures/geometryTextureFetchBlock.js.map +1 -1
  150. package/Meshes/Node/Blocks/booleanGeometryBlock.d.ts +1 -0
  151. package/Meshes/Node/Blocks/booleanGeometryBlock.js +1 -1
  152. package/Meshes/Node/Blocks/booleanGeometryBlock.js.map +1 -1
  153. package/Meshes/Node/Blocks/cleanGeometryBlock.d.ts +1 -0
  154. package/Meshes/Node/Blocks/cleanGeometryBlock.js +1 -0
  155. package/Meshes/Node/Blocks/cleanGeometryBlock.js.map +1 -1
  156. package/Meshes/Node/Blocks/conditionBlock.d.ts +2 -0
  157. package/Meshes/Node/Blocks/conditionBlock.js +2 -0
  158. package/Meshes/Node/Blocks/conditionBlock.js.map +1 -1
  159. package/Meshes/Node/Blocks/geometryClampBlock.d.ts +1 -0
  160. package/Meshes/Node/Blocks/geometryClampBlock.js +1 -0
  161. package/Meshes/Node/Blocks/geometryClampBlock.js.map +1 -1
  162. package/Meshes/Node/Blocks/geometryCollectionBlock.d.ts +1 -0
  163. package/Meshes/Node/Blocks/geometryCollectionBlock.js +1 -0
  164. package/Meshes/Node/Blocks/geometryCollectionBlock.js.map +1 -1
  165. package/Meshes/Node/Blocks/geometryCurveBlock.d.ts +2 -0
  166. package/Meshes/Node/Blocks/geometryCurveBlock.js +2 -0
  167. package/Meshes/Node/Blocks/geometryCurveBlock.js.map +1 -1
  168. package/Meshes/Node/Blocks/geometryEaseBlock.d.ts +2 -0
  169. package/Meshes/Node/Blocks/geometryEaseBlock.js +2 -0
  170. package/Meshes/Node/Blocks/geometryEaseBlock.js.map +1 -1
  171. package/Meshes/Node/Blocks/geometryInputBlock.d.ts +3 -0
  172. package/Meshes/Node/Blocks/geometryInputBlock.js +3 -0
  173. package/Meshes/Node/Blocks/geometryInputBlock.js.map +1 -1
  174. package/Meshes/Node/Blocks/geometryOptimizeBlock.d.ts +1 -0
  175. package/Meshes/Node/Blocks/geometryOptimizeBlock.js +1 -0
  176. package/Meshes/Node/Blocks/geometryOptimizeBlock.js.map +1 -1
  177. package/Meshes/Node/Blocks/geometryTransformBlock.d.ts +1 -0
  178. package/Meshes/Node/Blocks/geometryTransformBlock.js +1 -0
  179. package/Meshes/Node/Blocks/geometryTransformBlock.js.map +1 -1
  180. package/Meshes/Node/Blocks/geometryTrigonometryBlock.d.ts +2 -0
  181. package/Meshes/Node/Blocks/geometryTrigonometryBlock.js +2 -0
  182. package/Meshes/Node/Blocks/geometryTrigonometryBlock.js.map +1 -1
  183. package/Meshes/Node/Blocks/mappingBlock.d.ts +1 -0
  184. package/Meshes/Node/Blocks/mappingBlock.js +1 -0
  185. package/Meshes/Node/Blocks/mappingBlock.js.map +1 -1
  186. package/Meshes/Node/Blocks/mathBlock.d.ts +1 -0
  187. package/Meshes/Node/Blocks/mathBlock.js +1 -0
  188. package/Meshes/Node/Blocks/mathBlock.js.map +1 -1
  189. package/Meshes/Node/Blocks/mergeGeometryBlock.d.ts +1 -0
  190. package/Meshes/Node/Blocks/mergeGeometryBlock.js +1 -0
  191. package/Meshes/Node/Blocks/mergeGeometryBlock.js.map +1 -1
  192. package/Meshes/Node/Blocks/randomBlock.d.ts +2 -0
  193. package/Meshes/Node/Blocks/randomBlock.js +2 -0
  194. package/Meshes/Node/Blocks/randomBlock.js.map +1 -1
  195. package/Meshes/Node/Blocks/subdivideBlock.d.ts +1 -0
  196. package/Meshes/Node/Blocks/subdivideBlock.js +1 -0
  197. package/Meshes/Node/Blocks/subdivideBlock.js.map +1 -1
  198. package/Meshes/Node/Interfaces/nodeGeometryTextureData.d.ts +3 -0
  199. package/Meshes/Node/Interfaces/nodeGeometryTextureData.js.map +1 -1
  200. package/Meshes/Node/nodeGeometry.js +0 -2
  201. package/Meshes/Node/nodeGeometry.js.map +1 -1
  202. package/Meshes/Node/nodeGeometryBlockConnectionPoint.js +0 -1
  203. package/Meshes/Node/nodeGeometryBlockConnectionPoint.js.map +1 -1
  204. package/Meshes/Node/nodeGeometryBuildState.js +0 -1
  205. package/Meshes/Node/nodeGeometryBuildState.js.map +1 -1
  206. package/Meshes/WebGL/webGLDataBuffer.d.ts +2 -0
  207. package/Meshes/WebGL/webGLDataBuffer.js +2 -0
  208. package/Meshes/WebGL/webGLDataBuffer.js.map +1 -1
  209. package/Meshes/WebGPU/webgpuDataBuffer.d.ts +4 -0
  210. package/Meshes/WebGPU/webgpuDataBuffer.js +4 -0
  211. package/Meshes/WebGPU/webgpuDataBuffer.js.map +1 -1
  212. package/Meshes/abstractMesh.d.ts +1 -0
  213. package/Meshes/abstractMesh.decalMap.d.ts +1 -0
  214. package/Meshes/abstractMesh.decalMap.js.map +1 -1
  215. package/Meshes/abstractMesh.js +1 -6
  216. package/Meshes/abstractMesh.js.map +1 -1
  217. package/Meshes/csg.js +0 -6
  218. package/Meshes/csg.js.map +1 -1
  219. package/Meshes/csg2.js +1 -2
  220. package/Meshes/csg2.js.map +1 -1
  221. package/Meshes/geodesicMesh.d.ts +26 -0
  222. package/Meshes/geodesicMesh.js +18 -3
  223. package/Meshes/geodesicMesh.js.map +1 -1
  224. package/Meshes/groundMesh.d.ts +1 -0
  225. package/Meshes/groundMesh.js +1 -0
  226. package/Meshes/groundMesh.js.map +1 -1
  227. package/Meshes/index.js +0 -2
  228. package/Meshes/index.js.map +1 -1
  229. package/Meshes/instancedMesh.d.ts +18 -3
  230. package/Meshes/instancedMesh.js +10 -3
  231. package/Meshes/instancedMesh.js.map +1 -1
  232. package/Meshes/mesh.d.ts +286 -204
  233. package/Meshes/mesh.js +251 -197
  234. package/Meshes/mesh.js.map +1 -1
  235. package/Meshes/mesh.vertexData.d.ts +15 -19
  236. package/Meshes/mesh.vertexData.js +15 -19
  237. package/Meshes/mesh.vertexData.js.map +1 -1
  238. package/Meshes/meshSimplification.d.ts +0 -1
  239. package/Meshes/meshSimplification.js +6 -1
  240. package/Meshes/meshSimplification.js.map +1 -1
  241. package/Meshes/meshSimplificationSceneComponent.d.ts +2 -0
  242. package/Meshes/meshSimplificationSceneComponent.js.map +1 -1
  243. package/Meshes/meshUVSpaceRenderer.d.ts +1 -0
  244. package/Meshes/meshUVSpaceRenderer.js.map +1 -1
  245. package/Meshes/polygonMesh.js +4 -0
  246. package/Meshes/polygonMesh.js.map +1 -1
  247. package/Meshes/subMesh.project.d.ts +1 -0
  248. package/Meshes/subMesh.project.js.map +1 -1
  249. package/Meshes/thinInstanceMesh.d.ts +5 -0
  250. package/Meshes/thinInstanceMesh.js.map +1 -1
  251. package/Meshes/transformNode.d.ts +1 -1
  252. package/Meshes/transformNode.js +1 -1
  253. package/Meshes/transformNode.js.map +1 -1
  254. package/Physics/v2/Plugins/havokPlugin.d.ts +75 -2
  255. package/Physics/v2/Plugins/havokPlugin.js +243 -52
  256. package/Physics/v2/Plugins/havokPlugin.js.map +1 -1
  257. package/Probes/reflectionProbe.js +1 -1
  258. package/Probes/reflectionProbe.js.map +1 -1
  259. package/Rendering/depthRenderer.js +1 -1
  260. package/Rendering/depthRenderer.js.map +1 -1
  261. package/package.json +1 -1
  262. package/scene.d.ts +0 -3
  263. package/scene.js +18 -5
  264. 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,50 @@ 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 */
79
102
  overridenInstanceCount: number;
103
+ /** @internal */
80
104
  isFrozen: boolean;
105
+ /** @internal */
81
106
  forceMatrixUpdates: boolean;
107
+ /** @internal */
82
108
  hardwareInstancedRendering: boolean;
109
+ /** @internal */
83
110
  manualUpdate: boolean;
111
+ /** @internal */
84
112
  previousManualUpdate: boolean;
113
+ /** @internal */
85
114
  masterMeshPreviousWorldMatrix: Nullable<Matrix>;
115
+ /** @internal */
86
116
  engine: AbstractEngine;
87
117
  }
88
118
  /**
@@ -90,24 +120,38 @@ declare class _InstanceDataStorage {
90
120
  **/
91
121
  export declare class _InstancesBatch {
92
122
  parent: _InstanceDataStorageRenderPass;
123
+ /** @internal */
93
124
  mustReturn: boolean;
125
+ /** @internal */
94
126
  visibleInstances: Nullable<InstancedMesh[]>[];
127
+ /** @internal */
95
128
  renderSelf: boolean[];
129
+ /** @internal */
96
130
  hardwareInstancedRendering: boolean[];
131
+ /** @internal */
97
132
  constructor(parent: _InstanceDataStorageRenderPass);
98
133
  }
99
134
  /**
100
135
  * @internal
101
136
  **/
102
137
  declare class _ThinInstanceDataStorage {
138
+ /** @internal */
103
139
  instancesCount: number;
140
+ /** @internal */
104
141
  matrixBuffer: Nullable<Buffer>;
142
+ /** @internal */
105
143
  previousMatrixBuffer: Nullable<Buffer>;
144
+ /** @internal */
106
145
  matrixBufferSize: number;
146
+ /** @internal */
107
147
  matrixData: Nullable<Float32Array>;
148
+ /** @internal */
108
149
  previousMatrixData: Nullable<Float32Array>;
150
+ /** @internal */
109
151
  boundingVectors: Array<Vector3>;
152
+ /** @internal */
110
153
  worldMatrices: Nullable<Matrix[]>;
154
+ /** @internal */
111
155
  masterMeshPreviousWorldMatrix: Nullable<Matrix>;
112
156
  }
113
157
  /**
@@ -236,7 +280,9 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
236
280
  * Observers added to this observable will be removed once triggered
237
281
  */
238
282
  onMeshReadyObservable: Observable<Mesh>;
283
+ /** {@inheritDoc} */
239
284
  get computeBonesUsingShaders(): boolean;
285
+ /** {@inheritDoc} */
240
286
  set computeBonesUsingShaders(value: boolean);
241
287
  /**
242
288
  * An event triggered before rendering the mesh
@@ -263,7 +309,9 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
263
309
  * Sets a callback to call before drawing the mesh. It is recommended to use onBeforeDrawObservable instead
264
310
  */
265
311
  set onBeforeDraw(callback: () => void);
312
+ /** {@inheritDoc} */
266
313
  get hasInstances(): boolean;
314
+ /** {@inheritDoc} */
267
315
  get hasThinInstances(): boolean;
268
316
  /**
269
317
  * Gets the delay loading state of the mesh (when delay loading is turned on)
@@ -331,7 +379,9 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
331
379
  */
332
380
  get overrideRenderingFillMode(): Nullable<number>;
333
381
  set overrideRenderingFillMode(fillMode: Nullable<number>);
382
+ /** {@inheritDoc} */
334
383
  get material(): Nullable<Material>;
384
+ /** {@inheritDoc} */
335
385
  set material(value: Nullable<Material>);
336
386
  /**
337
387
  * Gets or sets a boolean indicating whether to render ignoring the active camera's max z setting. (false by default)
@@ -391,6 +441,13 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
391
441
  * @param clonePhysicsImpostor When cloning, include cloning mesh physics impostor, default True.
392
442
  */
393
443
  constructor(name: string, scene?: Nullable<Scene>, parent?: Nullable<Node>, source?: Nullable<Mesh>, doNotCloneChildren?: boolean, clonePhysicsImpostor?: boolean);
444
+ /**
445
+ * Instantiate (when possible) or clone that node with its hierarchy
446
+ * @param newParent defines the new parent to use for the instance (or clone)
447
+ * @param options defines options to configure how copy is done
448
+ * @param onNewNodeCreated defines an option callback to call when a clone or an instance is created
449
+ * @returns an instance (or a clone) of the current node with its hierarchy
450
+ */
394
451
  instantiateHierarchy(newParent?: Nullable<TransformNode>, options?: {
395
452
  doNotInstantiate: boolean | ((node: TransformNode) => boolean);
396
453
  }, onNewNodeCreated?: (source: TransformNode, clone: TransformNode) => void): Nullable<TransformNode>;
@@ -482,9 +539,33 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
482
539
  * @returns a FloatArray or null if the mesh has no geometry or no vertex buffer for this kind.
483
540
  */
484
541
  getVerticesData(kind: string, copyWhenShared?: boolean, forceCopy?: boolean, bypassInstanceData?: boolean): Nullable<FloatArray>;
542
+ /**
543
+ * Copies the requested vertex data kind into the given vertex data map. Float data is constructed if the map doesn't have the data.
544
+ * @param kind defines the vertex data kind to use
545
+ * @param vertexData defines the map that stores the resulting data
546
+ */
485
547
  copyVerticesData(kind: string, vertexData: {
486
548
  [kind: string]: Float32Array;
487
549
  }): void;
550
+ /**
551
+ * Returns the mesh VertexBuffer object from the requested `kind`
552
+ * @param kind defines which buffer to read from (positions, indices, normals, etc). Possible `kind` values :
553
+ * - VertexBuffer.PositionKind
554
+ * - VertexBuffer.NormalKind
555
+ * - VertexBuffer.UVKind
556
+ * - VertexBuffer.UV2Kind
557
+ * - VertexBuffer.UV3Kind
558
+ * - VertexBuffer.UV4Kind
559
+ * - VertexBuffer.UV5Kind
560
+ * - VertexBuffer.UV6Kind
561
+ * - VertexBuffer.ColorKind
562
+ * - VertexBuffer.MatricesIndicesKind
563
+ * - VertexBuffer.MatricesIndicesExtraKind
564
+ * - VertexBuffer.MatricesWeightsKind
565
+ * - VertexBuffer.MatricesWeightsExtraKind
566
+ * @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
567
+ * @returns a FloatArray or null if the mesh has no vertex buffer for this kind.
568
+ */
488
569
  getVertexBuffer(kind: string, bypassInstanceData?: boolean): Nullable<VertexBuffer>;
489
570
  /**
490
571
  * Tests if a specific vertex buffer is associated with this mesh
@@ -543,6 +624,7 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
543
624
  * @returns the indices array or an empty array if the mesh has no geometry
544
625
  */
545
626
  getIndices(copyWhenShared?: boolean, forceCopy?: boolean): Nullable<IndicesArray>;
627
+ /** {@inheritDoc} */
546
628
  get isBlocked(): boolean;
547
629
  /**
548
630
  * Determine if the current mesh is ready to be rendered
@@ -1085,7 +1167,7 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1085
1167
  * Merge the array of meshes into a single mesh for performance reasons.
1086
1168
  * @param meshes array of meshes with the vertices to merge. Entries cannot be empty meshes.
1087
1169
  * @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.
1170
+ * @param allow32BitsIndices when the sum of the vertices \> 64k, this must be set to true.
1089
1171
  * @param meshSubclass (optional) can be set to a Mesh where the merged vertices will be inserted.
1090
1172
  * @param subdivideWithSubMeshes when true (false default), subdivide mesh into subMeshes.
1091
1173
  * @param multiMultiMaterials when true (false default), subdivide mesh into subMeshes with multiple materials, ignores subdivideWithSubMeshes.
@@ -1096,7 +1178,7 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1096
1178
  * Merge the array of meshes into a single mesh for performance reasons.
1097
1179
  * @param meshes array of meshes with the vertices to merge. Entries cannot be empty meshes.
1098
1180
  * @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.
1181
+ * @param allow32BitsIndices when the sum of the vertices \> 64k, this must be set to true.
1100
1182
  * @param meshSubclass (optional) can be set to a Mesh where the merged vertices will be inserted.
1101
1183
  * @param subdivideWithSubMeshes when true (false default), subdivide mesh into subMeshes.
1102
1184
  * @param multiMultiMaterials when true (false default), subdivide mesh into subMeshes with multiple materials, ignores subdivideWithSubMeshes.
@@ -1126,133 +1208,133 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1126
1208
  /**
1127
1209
  * Creates a ribbon mesh.
1128
1210
  * @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)
1211
+ * @param _name defines the name of the mesh to create
1212
+ * @param _pathArray is a required array of paths, what are each an array of successive Vector3. The pathArray parameter depicts the ribbon geometry.
1213
+ * @param _closeArray creates a seam between the first and the last paths of the path array (default is false)
1214
+ * @param _closePath creates a seam between the first and the last points of each path of the path array
1215
+ * @param _offset is taken in account only if the `pathArray` is containing a single path
1216
+ * @param _scene defines the hosting scene
1217
+ * @param _updatable defines if the mesh must be flagged as updatable
1218
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1219
+ * @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
1220
  * @returns a new Mesh
1139
1221
  * @deprecated Please use MeshBuilder instead
1140
1222
  */
1141
- static CreateRibbon(name: string, pathArray: Vector3[][], closeArray: boolean, closePath: boolean, offset: number, scene?: Scene, updatable?: boolean, sideOrientation?: number, instance?: Mesh): Mesh;
1223
+ static CreateRibbon(_name: string, _pathArray: Vector3[][], _closeArray: boolean, _closePath: boolean, _offset: number, _scene?: Scene, _updatable?: boolean, _sideOrientation?: number, _instance?: Mesh): Mesh;
1142
1224
  /**
1143
1225
  * 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)
1226
+ * @param _name defines the name of the mesh to create
1227
+ * @param _radius sets the radius size (float) of the polygon (default 0.5)
1228
+ * @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
1229
+ * @param _scene defines the hosting scene
1230
+ * @param _updatable defines if the mesh must be flagged as updatable
1231
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1150
1232
  * @returns a new Mesh
1151
1233
  * @deprecated Please use MeshBuilder instead
1152
1234
  */
1153
- static CreateDisc(name: string, radius: number, tessellation: number, scene: Nullable<Scene>, updatable?: boolean, sideOrientation?: number): Mesh;
1235
+ static CreateDisc(_name: string, _radius: number, _tessellation: number, _scene: Nullable<Scene>, _updatable?: boolean, _sideOrientation?: number): Mesh;
1154
1236
  /**
1155
1237
  * 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)
1238
+ * @param _name defines the name of the mesh to create
1239
+ * @param _size sets the size (float) of each box side (default 1)
1240
+ * @param _scene defines the hosting scene
1241
+ * @param _updatable defines if the mesh must be flagged as updatable
1242
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1161
1243
  * @returns a new Mesh
1162
1244
  * @deprecated Please use MeshBuilder instead
1163
1245
  */
1164
- static CreateBox(name: string, size: number, scene: Nullable<Scene>, updatable?: boolean, sideOrientation?: number): Mesh;
1246
+ static CreateBox(_name: string, _size: number, _scene: Nullable<Scene>, _updatable?: boolean, _sideOrientation?: number): Mesh;
1165
1247
  /**
1166
1248
  * 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)
1249
+ * @param _name defines the name of the mesh to create
1250
+ * @param _segments sets the sphere number of horizontal stripes (positive integer, default 32)
1251
+ * @param _diameter sets the diameter size (float) of the sphere (default 1)
1252
+ * @param _scene defines the hosting scene
1253
+ * @param _updatable defines if the mesh must be flagged as updatable
1254
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1173
1255
  * @returns a new Mesh
1174
1256
  * @deprecated Please use MeshBuilder instead
1175
1257
  */
1176
- static CreateSphere(name: string, segments: number, diameter: number, scene?: Scene, updatable?: boolean, sideOrientation?: number): Mesh;
1258
+ static CreateSphere(_name: string, _segments: number, _diameter: number, _scene?: Scene, _updatable?: boolean, _sideOrientation?: number): Mesh;
1177
1259
  /**
1178
1260
  * 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
1261
+ * @param _name defines the name of the mesh to create
1262
+ * @param _segments sets the sphere number of horizontal stripes (positive integer, default 32)
1263
+ * @param _diameter sets the diameter size (float) of the sphere (default 1)
1264
+ * @param _scene defines the hosting scene
1183
1265
  * @returns a new Mesh
1184
1266
  * @deprecated Please use MeshBuilder instead
1185
1267
  */
1186
- static CreateHemisphere(name: string, segments: number, diameter: number, scene?: Scene): Mesh;
1268
+ static CreateHemisphere(_name: string, _segments: number, _diameter: number, _scene?: Scene): Mesh;
1187
1269
  /**
1188
1270
  * 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)
1271
+ * @param _name defines the name of the mesh to create
1272
+ * @param _height sets the height size (float) of the cylinder/cone (float, default 2)
1273
+ * @param _diameterTop set the top cap diameter (floats, default 1)
1274
+ * @param _diameterBottom set the bottom cap diameter (floats, default 1). This value can't be zero
1275
+ * @param _tessellation sets the number of cylinder sides (positive integer, default 24). Set it to 3 to get a prism for instance
1276
+ * @param _subdivisions sets the number of rings along the cylinder height (positive integer, default 1)
1277
+ * @param _scene defines the hosting scene
1278
+ * @param _updatable defines if the mesh must be flagged as updatable
1279
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1198
1280
  * @returns a new Mesh
1199
1281
  * @deprecated Please use MeshBuilder instead
1200
1282
  */
1201
- static CreateCylinder(name: string, height: number, diameterTop: number, diameterBottom: number, tessellation: number, subdivisions: any, scene?: Scene, updatable?: any, sideOrientation?: number): Mesh;
1283
+ static CreateCylinder(_name: string, _height: number, _diameterTop: number, _diameterBottom: number, _tessellation: number, _subdivisions: any, _scene?: Scene, _updatable?: any, _sideOrientation?: number): Mesh;
1202
1284
  /**
1203
1285
  * 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)
1286
+ * @param _name defines the name of the mesh to create
1287
+ * @param _diameter sets the diameter size (float) of the torus (default 1)
1288
+ * @param _thickness sets the diameter size of the tube of the torus (float, default 0.5)
1289
+ * @param _tessellation sets the number of torus sides (positive integer, default 16)
1290
+ * @param _scene defines the hosting scene
1291
+ * @param _updatable defines if the mesh must be flagged as updatable
1292
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1211
1293
  * @returns a new Mesh
1212
1294
  * @deprecated Please use MeshBuilder instead
1213
1295
  */
1214
- static CreateTorus(name: string, diameter: number, thickness: number, tessellation: number, scene?: Scene, updatable?: boolean, sideOrientation?: number): Mesh;
1296
+ static CreateTorus(_name: string, _diameter: number, _thickness: number, _tessellation: number, _scene?: Scene, _updatable?: boolean, _sideOrientation?: number): Mesh;
1215
1297
  /**
1216
1298
  * 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)
1299
+ * @param _name defines the name of the mesh to create
1300
+ * @param _radius sets the global radius size (float) of the torus knot (default 2)
1301
+ * @param _tube sets the diameter size of the tube of the torus (float, default 0.5)
1302
+ * @param _radialSegments sets the number of sides on each tube segments (positive integer, default 32)
1303
+ * @param _tubularSegments sets the number of tubes to decompose the knot into (positive integer, default 32)
1304
+ * @param _p the number of windings on X axis (positive integers, default 2)
1305
+ * @param _q the number of windings on Y axis (positive integers, default 3)
1306
+ * @param _scene defines the hosting scene
1307
+ * @param _updatable defines if the mesh must be flagged as updatable
1308
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1227
1309
  * @returns a new Mesh
1228
1310
  * @deprecated Please use MeshBuilder instead
1229
1311
  */
1230
- static CreateTorusKnot(name: string, radius: number, tube: number, radialSegments: number, tubularSegments: number, p: number, q: number, scene?: Scene, updatable?: boolean, sideOrientation?: number): Mesh;
1312
+ static CreateTorusKnot(_name: string, _radius: number, _tube: number, _radialSegments: number, _tubularSegments: number, _p: number, _q: number, _scene?: Scene, _updatable?: boolean, _sideOrientation?: number): Mesh;
1231
1313
  /**
1232
1314
  * 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).
1315
+ * @param _name defines the name of the mesh to create
1316
+ * @param _points is an array successive Vector3
1317
+ * @param _scene defines the hosting scene
1318
+ * @param _updatable defines if the mesh must be flagged as updatable
1319
+ * @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
1320
  * @returns a new Mesh
1239
1321
  * @deprecated Please use MeshBuilder instead
1240
1322
  */
1241
- static CreateLines(name: string, points: Vector3[], scene: Nullable<Scene>, updatable: boolean, instance?: Nullable<LinesMesh>): LinesMesh;
1323
+ static CreateLines(_name: string, _points: Vector3[], _scene: Nullable<Scene>, _updatable: boolean, _instance?: Nullable<LinesMesh>): LinesMesh;
1242
1324
  /**
1243
1325
  * 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)
1326
+ * @param _name defines the name of the mesh to create
1327
+ * @param _points is an array successive Vector3
1328
+ * @param _dashSize is the size of the dashes relatively the dash number (positive float, default 3)
1329
+ * @param _gapSize is the size of the gap between two successive dashes relatively the dash number (positive float, default 1)
1330
+ * @param _dashNb is the intended total number of dashes (positive integer, default 200)
1331
+ * @param _scene defines the hosting scene
1332
+ * @param _updatable defines if the mesh must be flagged as updatable
1333
+ * @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
1334
  * @returns a new Mesh
1253
1335
  * @deprecated Please use MeshBuilder instead
1254
1336
  */
1255
- static CreateDashedLines(name: string, points: Vector3[], dashSize: number, gapSize: number, dashNb: number, scene: Nullable<Scene>, updatable?: boolean, instance?: LinesMesh): LinesMesh;
1337
+ static CreateDashedLines(_name: string, _points: Vector3[], _dashSize: number, _gapSize: number, _dashNb: number, _scene: Nullable<Scene>, _updatable?: boolean, _instance?: LinesMesh): LinesMesh;
1256
1338
  /**
1257
1339
  * Creates a polygon mesh.Please consider using the same method from the MeshBuilder class instead
1258
1340
  * The polygon's shape will depend on the input parameters and is constructed parallel to a ground mesh.
@@ -1261,175 +1343,175 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1261
1343
  * 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
1344
  * Remember you can only change the shape positions, not their number when updating a polygon.
1263
1345
  * @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
1346
+ * @param _name defines the name of the mesh to create
1347
+ * @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
1348
+ * @param _scene defines the hosting scene
1349
+ * @param _holes is a required array of arrays of successive Vector3 used to defines holes in the polygon
1350
+ * @param _updatable defines if the mesh must be flagged as updatable
1351
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1352
+ * @param _earcutInjection can be used to inject your own earcut reference
1271
1353
  * @returns a new Mesh
1272
1354
  * @deprecated Please use MeshBuilder instead
1273
1355
  */
1274
- static CreatePolygon(name: string, shape: Vector3[], scene: Scene, holes?: Vector3[][], updatable?: boolean, sideOrientation?: number, earcutInjection?: any): Mesh;
1356
+ static CreatePolygon(_name: string, _shape: Vector3[], _scene: Scene, _holes?: Vector3[][], _updatable?: boolean, _sideOrientation?: number, _earcutInjection?: any): Mesh;
1275
1357
  /**
1276
1358
  * Creates an extruded polygon mesh, with depth in the Y direction..
1277
1359
  * @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
1360
+ * @param _name defines the name of the mesh to create
1361
+ * @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
1362
+ * @param _depth defines the height of extrusion
1363
+ * @param _scene defines the hosting scene
1364
+ * @param _holes is a required array of arrays of successive Vector3 used to defines holes in the polygon
1365
+ * @param _updatable defines if the mesh must be flagged as updatable
1366
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1367
+ * @param _earcutInjection can be used to inject your own earcut reference
1286
1368
  * @returns a new Mesh
1287
1369
  * @deprecated Please use MeshBuilder instead
1288
1370
  */
1289
- static ExtrudePolygon(name: string, shape: Vector3[], depth: number, scene: Scene, holes?: Vector3[][], updatable?: boolean, sideOrientation?: number, earcutInjection?: any): Mesh;
1371
+ static ExtrudePolygon(_name: string, _shape: Vector3[], _depth: number, _scene: Scene, _holes?: Vector3[][], _updatable?: boolean, _sideOrientation?: number, _earcutInjection?: any): Mesh;
1290
1372
  /**
1291
1373
  * Creates an extruded shape mesh.
1292
1374
  * The extrusion is a parametric shape. It has no predefined shape. Its final shape will depend on the input parameters.
1293
1375
  * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/param
1294
1376
  * @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)
1377
+ * @param _name defines the name of the mesh to create
1378
+ * @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
1379
+ * @param _path is a required array of successive Vector3. This is the axis curve the shape is extruded along
1380
+ * @param _scale is the value to scale the shape
1381
+ * @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
1382
+ * @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
1383
+ * @param _scene defines the hosting scene
1384
+ * @param _updatable defines if the mesh must be flagged as updatable
1385
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1386
+ * @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
1387
  * @returns a new Mesh
1306
1388
  * @deprecated Please use MeshBuilder instead
1307
1389
  */
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;
1390
+ 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
1391
  /**
1310
1392
  * Creates an custom extruded shape mesh.
1311
1393
  * The custom extrusion is a parametric shape.
1312
1394
  * It has no predefined shape. Its final shape will depend on the input parameters.
1313
1395
  *
1314
1396
  * @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)
1397
+ * @param _name defines the name of the mesh to create
1398
+ * @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
1399
+ * @param _path is a required array of successive Vector3. This is the axis curve the shape is extruded along
1400
+ * @param _scaleFunction is a custom Javascript function called on each path point
1401
+ * @param _rotationFunction is a custom Javascript function called on each path point
1402
+ * @param _ribbonCloseArray forces the extrusion underlying ribbon to close all the paths in its `pathArray`
1403
+ * @param _ribbonClosePath forces the extrusion underlying ribbon to close its `pathArray`
1404
+ * @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
1405
+ * @param _scene defines the hosting scene
1406
+ * @param _updatable defines if the mesh must be flagged as updatable
1407
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1408
+ * @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
1409
  * @returns a new Mesh
1328
1410
  * @deprecated Please use MeshBuilder instead
1329
1411
  */
1330
- static ExtrudeShapeCustom(name: string, shape: Vector3[], path: Vector3[], scaleFunction: Nullable<{
1412
+ static ExtrudeShapeCustom(_name: string, _shape: Vector3[], _path: Vector3[], _scaleFunction: Nullable<{
1331
1413
  (i: number, distance: number): number;
1332
- }>, rotationFunction: Nullable<{
1414
+ }>, _rotationFunction: Nullable<{
1333
1415
  (i: number, distance: number): number;
1334
- }>, ribbonCloseArray: boolean, ribbonClosePath: boolean, cap: number, scene: Scene, updatable?: boolean, sideOrientation?: number, instance?: Mesh): Mesh;
1416
+ }>, _ribbonCloseArray: boolean, _ribbonClosePath: boolean, _cap: number, _scene: Scene, _updatable?: boolean, _sideOrientation?: number, _instance?: Mesh): Mesh;
1335
1417
  /**
1336
1418
  * Creates lathe mesh.
1337
1419
  * 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)
1420
+ * @param _name defines the name of the mesh to create
1421
+ * @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
1422
+ * @param _radius is the radius value of the lathe
1423
+ * @param _tessellation is the side number of the lathe.
1424
+ * @param _scene defines the hosting scene
1425
+ * @param _updatable defines if the mesh must be flagged as updatable
1426
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1345
1427
  * @returns a new Mesh
1346
1428
  * @deprecated Please use MeshBuilder instead
1347
1429
  */
1348
- static CreateLathe(name: string, shape: Vector3[], radius: number, tessellation: number, scene: Scene, updatable?: boolean, sideOrientation?: number): Mesh;
1430
+ static CreateLathe(_name: string, _shape: Vector3[], _radius: number, _tessellation: number, _scene: Scene, _updatable?: boolean, _sideOrientation?: number): Mesh;
1349
1431
  /**
1350
1432
  * 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)
1433
+ * @param _name defines the name of the mesh to create
1434
+ * @param _size sets the size (float) of both sides of the plane at once (default 1)
1435
+ * @param _scene defines the hosting scene
1436
+ * @param _updatable defines if the mesh must be flagged as updatable
1437
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1356
1438
  * @returns a new Mesh
1357
1439
  * @deprecated Please use MeshBuilder instead
1358
1440
  */
1359
- static CreatePlane(name: string, size: number, scene: Scene, updatable?: boolean, sideOrientation?: number): Mesh;
1441
+ static CreatePlane(_name: string, _size: number, _scene: Scene, _updatable?: boolean, _sideOrientation?: number): Mesh;
1360
1442
  /**
1361
1443
  * 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
1444
+ * @param _name defines the name of the mesh to create
1445
+ * @param _width set the width of the ground
1446
+ * @param _height set the height of the ground
1447
+ * @param _subdivisions sets the number of subdivisions per side
1448
+ * @param _scene defines the hosting scene
1449
+ * @param _updatable defines if the mesh must be flagged as updatable
1368
1450
  * @returns a new Mesh
1369
1451
  * @deprecated Please use MeshBuilder instead
1370
1452
  */
1371
- static CreateGround(name: string, width: number, height: number, subdivisions: number, scene?: Scene, updatable?: boolean): Mesh;
1453
+ static CreateGround(_name: string, _width: number, _height: number, _subdivisions: number, _scene?: Scene, _updatable?: boolean): Mesh;
1372
1454
  /**
1373
1455
  * 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
1456
+ * @param _name defines the name of the mesh to create
1457
+ * @param _xmin set the ground minimum X coordinate
1458
+ * @param _zmin set the ground minimum Y coordinate
1459
+ * @param _xmax set the ground maximum X coordinate
1460
+ * @param _zmax set the ground maximum Z coordinate
1461
+ * @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
1462
+ * @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
1463
+ * @param _scene defines the hosting scene
1464
+ * @param _updatable defines if the mesh must be flagged as updatable
1383
1465
  * @returns a new Mesh
1384
1466
  * @deprecated Please use MeshBuilder instead
1385
1467
  */
1386
- static CreateTiledGround(name: string, xmin: number, zmin: number, xmax: number, zmax: number, subdivisions: {
1468
+ static CreateTiledGround(_name: string, _xmin: number, _zmin: number, _xmax: number, _zmax: number, _subdivisions: {
1387
1469
  w: number;
1388
1470
  h: number;
1389
- }, precision: {
1471
+ }, _precision: {
1390
1472
  w: number;
1391
1473
  h: number;
1392
- }, scene: Scene, updatable?: boolean): Mesh;
1474
+ }, _scene: Scene, _updatable?: boolean): Mesh;
1393
1475
  /**
1394
1476
  * Creates a ground mesh from a height map.
1395
1477
  * @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)
1478
+ * @param _name defines the name of the mesh to create
1479
+ * @param _url sets the URL of the height map image resource
1480
+ * @param _width set the ground width size
1481
+ * @param _height set the ground height size
1482
+ * @param _subdivisions sets the number of subdivision per side
1483
+ * @param _minHeight is the minimum altitude on the ground
1484
+ * @param _maxHeight is the maximum altitude on the ground
1485
+ * @param _scene defines the hosting scene
1486
+ * @param _updatable defines if the mesh must be flagged as updatable
1487
+ * @param _onReady is a callback function that will be called once the mesh is built (the height map download can last some time)
1488
+ * @param _alphaFilter will filter any data where the alpha channel is below this value, defaults 0 (all data visible)
1407
1489
  * @returns a new Mesh
1408
1490
  * @deprecated Please use MeshBuilder instead
1409
1491
  */
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;
1492
+ 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
1493
  /**
1412
1494
  * Creates a tube mesh.
1413
1495
  * The tube is a parametric shape.
1414
1496
  * It has no predefined shape. Its final shape will depend on the input parameters.
1415
1497
  *
1416
1498
  * @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)
1499
+ * @param _name defines the name of the mesh to create
1500
+ * @param _path is a required array of successive Vector3. It is the curve used as the axis of the tube
1501
+ * @param _radius sets the tube radius size
1502
+ * @param _tessellation is the number of sides on the tubular surface
1503
+ * @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
1504
+ * @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
1505
+ * @param _scene defines the hosting scene
1506
+ * @param _updatable defines if the mesh must be flagged as updatable
1507
+ * @param _sideOrientation defines the mesh side orientation (https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/set#side-orientation)
1508
+ * @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
1509
  * @returns a new Mesh
1428
1510
  * @deprecated Please use MeshBuilder instead
1429
1511
  */
1430
- static CreateTube(name: string, path: Vector3[], radius: number, tessellation: number, radiusFunction: {
1512
+ static CreateTube(_name: string, _path: Vector3[], _radius: number, _tessellation: number, _radiusFunction: {
1431
1513
  (i: number, distance: number): number;
1432
- }, cap: number, scene: Scene, updatable?: boolean, sideOrientation?: number, instance?: Mesh): Mesh;
1514
+ }, _cap: number, _scene: Scene, _updatable?: boolean, _sideOrientation?: number, _instance?: Mesh): Mesh;
1433
1515
  /**
1434
1516
  * Creates a polyhedron mesh.
1435
1517
  *.
@@ -1444,13 +1526,13 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1444
1526
  * * You can also set the mesh side orientation with the values : Mesh.FRONTSIDE (default), Mesh.BACKSIDE or Mesh.DOUBLESIDE
1445
1527
  * * 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
1528
  * * 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
1529
+ * @param _name defines the name of the mesh to create
1530
+ * @param _options defines the options used to create the mesh
1531
+ * @param _scene defines the hosting scene
1450
1532
  * @returns a new Mesh
1451
1533
  * @deprecated Please use MeshBuilder instead
1452
1534
  */
1453
- static CreatePolyhedron(name: string, options: {
1535
+ static CreatePolyhedron(_name: string, _options: {
1454
1536
  type?: number;
1455
1537
  size?: number;
1456
1538
  sizeX?: number;
@@ -1461,7 +1543,7 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1461
1543
  faceColors?: Color4[];
1462
1544
  updatable?: boolean;
1463
1545
  sideOrientation?: number;
1464
- }, scene: Scene): Mesh;
1546
+ }, _scene: Scene): Mesh;
1465
1547
  /**
1466
1548
  * Creates a sphere based upon an icosahedron with 20 triangular faces which can be subdivided
1467
1549
  * * The parameter `radius` sets the radius size (float) of the icosphere (default 1)
@@ -1472,49 +1554,49 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1472
1554
  * * 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
1555
  * * 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
1556
  * @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
1557
+ * @param _name defines the name of the mesh
1558
+ * @param _options defines the options used to create the mesh
1559
+ * @param _scene defines the hosting scene
1478
1560
  * @returns a new Mesh
1479
1561
  * @deprecated Please use MeshBuilder instead
1480
1562
  */
1481
- static CreateIcoSphere(name: string, options: {
1563
+ static CreateIcoSphere(_name: string, _options: {
1482
1564
  radius?: number;
1483
1565
  flat?: boolean;
1484
1566
  subdivisions?: number;
1485
1567
  sideOrientation?: number;
1486
1568
  updatable?: boolean;
1487
- }, scene: Scene): Mesh;
1569
+ }, _scene: Scene): Mesh;
1488
1570
  /**
1489
1571
  * Creates a decal mesh.
1490
1572
  *.
1491
1573
  * 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
1574
+ * @param _name defines the name of the mesh
1575
+ * @param _sourceMesh defines the mesh receiving the decal
1576
+ * @param _position sets the position of the decal in world coordinates
1577
+ * @param _normal sets the normal of the mesh where the decal is applied onto in world coordinates
1578
+ * @param _size sets the decal scaling
1579
+ * @param _angle sets the angle to rotate the decal
1498
1580
  * @returns a new Mesh
1499
1581
  * @deprecated Please use MeshBuilder instead
1500
1582
  */
1501
- static CreateDecal(name: string, sourceMesh: AbstractMesh, position: Vector3, normal: Vector3, size: Vector3, angle: number): Mesh;
1583
+ static CreateDecal(_name: string, _sourceMesh: AbstractMesh, _position: Vector3, _normal: Vector3, _size: Vector3, _angle: number): Mesh;
1502
1584
  /** 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.
1585
+ * @param _name defines the name of the mesh.
1586
+ * @param _options the constructors options used to shape the mesh.
1587
+ * @param _scene defines the scene the mesh is scoped to.
1506
1588
  * @returns the capsule mesh
1507
1589
  * @see https://doc.babylonjs.com/how_to/capsule_shape
1508
1590
  * @deprecated Please use MeshBuilder instead
1509
1591
  */
1510
- static CreateCapsule(name: string, options: ICreateCapsuleOptions, scene: Scene): Mesh;
1592
+ static CreateCapsule(_name: string, _options: ICreateCapsuleOptions, _scene: Scene): Mesh;
1511
1593
  /**
1512
1594
  * Extends a mesh to a Goldberg mesh
1513
1595
  * Warning the mesh to convert MUST be an import of a perviously exported Goldberg mesh
1514
- * @param mesh the mesh to convert
1596
+ * @param _mesh the mesh to convert
1515
1597
  * @returns the extended mesh
1516
1598
  * @deprecated Please use ExtendMeshToGoldberg instead
1517
1599
  */
1518
- static ExtendToGoldberg(mesh: Mesh): Mesh;
1600
+ static ExtendToGoldberg(_mesh: Mesh): Mesh;
1519
1601
  }
1520
1602
  export {};