@babylonjs/core 6.30.0 → 6.32.0

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 (227) hide show
  1. package/Actions/action.js.map +1 -1
  2. package/Animations/animation.d.ts +8 -2
  3. package/Animations/animation.js +21 -13
  4. package/Animations/animation.js.map +1 -1
  5. package/Animations/runtimeAnimation.js +6 -15
  6. package/Animations/runtimeAnimation.js.map +1 -1
  7. package/Cameras/Inputs/freeCameraDeviceOrientationInput.js.map +1 -1
  8. package/Cameras/camera.js +1 -1
  9. package/Cameras/camera.js.map +1 -1
  10. package/Culling/ray.js +24 -24
  11. package/Culling/ray.js.map +1 -1
  12. package/Debug/skeletonViewer.d.ts +2 -2
  13. package/Debug/skeletonViewer.js +38 -12
  14. package/Debug/skeletonViewer.js.map +1 -1
  15. package/DeviceInput/InputDevices/deviceSource.js.map +1 -1
  16. package/DeviceInput/InputDevices/deviceTypes.js.map +1 -1
  17. package/DeviceInput/webDeviceInputSystem.js.map +1 -1
  18. package/Engines/Extensions/engine.views.d.ts +8 -5
  19. package/Engines/Extensions/engine.views.js +14 -8
  20. package/Engines/Extensions/engine.views.js.map +1 -1
  21. package/Engines/Processors/shaderCodeNode.js.map +1 -1
  22. package/Engines/WebGPU/Extensions/engine.multiRender.js +6 -3
  23. package/Engines/WebGPU/Extensions/engine.multiRender.js.map +1 -1
  24. package/Engines/WebGPU/webgpuShaderProcessorsGLSL.js.map +1 -1
  25. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.js.map +1 -1
  26. package/Engines/WebGPU/webgpuTextureHelper.js.map +1 -1
  27. package/Engines/engine.d.ts +16 -1
  28. package/Engines/engine.js +1 -1
  29. package/Engines/engine.js.map +1 -1
  30. package/Engines/thinEngine.js +2 -2
  31. package/Engines/thinEngine.js.map +1 -1
  32. package/Engines/webgpuEngine.js.map +1 -1
  33. package/FlowGraph/Blocks/Data/Math/flowGraphMatrixBlocks.js +12 -12
  34. package/FlowGraph/Blocks/Data/Math/flowGraphMatrixBlocks.js.map +1 -1
  35. package/FlowGraph/Blocks/Data/Math/flowGraphNumberMathBlocks.js +4 -4
  36. package/FlowGraph/Blocks/Data/Math/flowGraphNumberMathBlocks.js.map +1 -1
  37. package/FlowGraph/Blocks/Data/Math/flowGraphVector2MathBlocks.js +9 -9
  38. package/FlowGraph/Blocks/Data/Math/flowGraphVector2MathBlocks.js.map +1 -1
  39. package/FlowGraph/Blocks/Data/Math/flowGraphVector3MathBlocks.js +11 -11
  40. package/FlowGraph/Blocks/Data/Math/flowGraphVector3MathBlocks.js.map +1 -1
  41. package/FlowGraph/Blocks/Data/Math/flowGraphVector4MathBlocks.js +10 -10
  42. package/FlowGraph/Blocks/Data/Math/flowGraphVector4MathBlocks.js.map +1 -1
  43. package/FlowGraph/Blocks/Data/flowGraphBinaryOperationBlock.js +2 -2
  44. package/FlowGraph/Blocks/Data/flowGraphBinaryOperationBlock.js.map +1 -1
  45. package/FlowGraph/Blocks/Data/flowGraphCachedOperationBlock.js +1 -1
  46. package/FlowGraph/Blocks/Data/flowGraphCachedOperationBlock.js.map +1 -1
  47. package/FlowGraph/Blocks/Data/flowGraphConditionalDataBlock.js +4 -4
  48. package/FlowGraph/Blocks/Data/flowGraphConditionalDataBlock.js.map +1 -1
  49. package/FlowGraph/Blocks/Data/flowGraphConstantBlock.js +1 -1
  50. package/FlowGraph/Blocks/Data/flowGraphConstantBlock.js.map +1 -1
  51. package/FlowGraph/Blocks/Data/flowGraphCoordinateTransformBlock.js +4 -4
  52. package/FlowGraph/Blocks/Data/flowGraphCoordinateTransformBlock.js.map +1 -1
  53. package/FlowGraph/Blocks/Data/flowGraphGetVariableBlock.js +2 -2
  54. package/FlowGraph/Blocks/Data/flowGraphGetVariableBlock.js.map +1 -1
  55. package/FlowGraph/Blocks/Data/flowGraphUnaryOperationBlock.js +1 -1
  56. package/FlowGraph/Blocks/Data/flowGraphUnaryOperationBlock.js.map +1 -1
  57. package/FlowGraph/Blocks/Event/flowGraphMeshPickEventBlock.d.ts +4 -4
  58. package/FlowGraph/Blocks/Event/flowGraphMeshPickEventBlock.js +16 -6
  59. package/FlowGraph/Blocks/Event/flowGraphMeshPickEventBlock.js.map +1 -1
  60. package/FlowGraph/Blocks/Event/flowGraphReceiveCustomEventBlock.d.ts +1 -0
  61. package/FlowGraph/Blocks/Event/flowGraphReceiveCustomEventBlock.js +5 -1
  62. package/FlowGraph/Blocks/Event/flowGraphReceiveCustomEventBlock.js.map +1 -1
  63. package/FlowGraph/Blocks/Execution/Animation/flowGraphPauseAnimationBlock.js +1 -1
  64. package/FlowGraph/Blocks/Execution/Animation/flowGraphPauseAnimationBlock.js.map +1 -1
  65. package/FlowGraph/Blocks/Execution/Animation/flowGraphPlayAnimationBlock.d.ts +17 -6
  66. package/FlowGraph/Blocks/Execution/Animation/flowGraphPlayAnimationBlock.js +16 -9
  67. package/FlowGraph/Blocks/Execution/Animation/flowGraphPlayAnimationBlock.js.map +1 -1
  68. package/FlowGraph/Blocks/Execution/Animation/flowGraphStopAnimationBlock.js +1 -1
  69. package/FlowGraph/Blocks/Execution/Animation/flowGraphStopAnimationBlock.js.map +1 -1
  70. package/FlowGraph/Blocks/Execution/Audio/flowGraphPlayAudioBlock.js +1 -1
  71. package/FlowGraph/Blocks/Execution/Audio/flowGraphPlayAudioBlock.js.map +1 -1
  72. package/FlowGraph/Blocks/Execution/Audio/flowGraphStopAudioBlock.js +1 -1
  73. package/FlowGraph/Blocks/Execution/Audio/flowGraphStopAudioBlock.js.map +1 -1
  74. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphBranchBlock.js +1 -1
  75. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphBranchBlock.js.map +1 -1
  76. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphCounterBlock.js +1 -1
  77. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphCounterBlock.js.map +1 -1
  78. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphDebounceBlock.js +2 -2
  79. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphDebounceBlock.js.map +1 -1
  80. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphDoNBlock.js +2 -2
  81. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphDoNBlock.js.map +1 -1
  82. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphFlipFlopBlock.js +1 -1
  83. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphFlipFlopBlock.js.map +1 -1
  84. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphForLoopBlock.js +4 -4
  85. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphForLoopBlock.js.map +1 -1
  86. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphMultiGateBlock.d.ts +1 -0
  87. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphMultiGateBlock.js +8 -1
  88. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphMultiGateBlock.js.map +1 -1
  89. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphSwitchBlock.d.ts +1 -0
  90. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphSwitchBlock.js +5 -1
  91. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphSwitchBlock.js.map +1 -1
  92. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphThrottleBlock.js +2 -2
  93. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphThrottleBlock.js.map +1 -1
  94. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphTimerBlock.js +1 -1
  95. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphTimerBlock.js.map +1 -1
  96. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphWaitAllBlock.d.ts +1 -0
  97. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphWaitAllBlock.js +4 -0
  98. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphWaitAllBlock.js.map +1 -1
  99. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphWhileLoopBlock.d.ts +1 -0
  100. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphWhileLoopBlock.js +6 -1
  101. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphWhileLoopBlock.js.map +1 -1
  102. package/FlowGraph/Blocks/Execution/flowGraphLogBlock.js +1 -1
  103. package/FlowGraph/Blocks/Execution/flowGraphLogBlock.js.map +1 -1
  104. package/FlowGraph/Blocks/Execution/flowGraphSendCustomEventBlock.js +2 -2
  105. package/FlowGraph/Blocks/Execution/flowGraphSendCustomEventBlock.js.map +1 -1
  106. package/FlowGraph/Blocks/Execution/flowGraphSetPropertyBlock.d.ts +8 -12
  107. package/FlowGraph/Blocks/Execution/flowGraphSetPropertyBlock.js +9 -19
  108. package/FlowGraph/Blocks/Execution/flowGraphSetPropertyBlock.js.map +1 -1
  109. package/FlowGraph/Blocks/Execution/flowGraphSetVariableBlock.js +2 -2
  110. package/FlowGraph/Blocks/Execution/flowGraphSetVariableBlock.js.map +1 -1
  111. package/FlowGraph/flowGraphBlock.d.ts +2 -2
  112. package/FlowGraph/flowGraphBlock.js +20 -4
  113. package/FlowGraph/flowGraphBlock.js.map +1 -1
  114. package/FlowGraph/flowGraphContext.d.ts +4 -4
  115. package/FlowGraph/flowGraphContext.js +22 -40
  116. package/FlowGraph/flowGraphContext.js.map +1 -1
  117. package/FlowGraph/flowGraphPath.d.ts +27 -0
  118. package/FlowGraph/flowGraphPath.js +136 -0
  119. package/FlowGraph/flowGraphPath.js.map +1 -0
  120. package/FlowGraph/flowGraphPathComponent.d.ts +42 -0
  121. package/FlowGraph/flowGraphPathComponent.js +51 -0
  122. package/FlowGraph/flowGraphPathComponent.js.map +1 -0
  123. package/FlowGraph/index.d.ts +1 -0
  124. package/FlowGraph/index.js +1 -0
  125. package/FlowGraph/index.js.map +1 -1
  126. package/Gizmos/axisDragGizmo.d.ts +4 -2
  127. package/Gizmos/axisDragGizmo.js +18 -6
  128. package/Gizmos/axisDragGizmo.js.map +1 -1
  129. package/Gizmos/axisScaleGizmo.d.ts +2 -2
  130. package/Gizmos/axisScaleGizmo.js +1 -1
  131. package/Gizmos/axisScaleGizmo.js.map +1 -1
  132. package/Gizmos/planeDragGizmo.d.ts +4 -4
  133. package/Gizmos/planeDragGizmo.js +1 -1
  134. package/Gizmos/planeDragGizmo.js.map +1 -1
  135. package/Gizmos/planeRotationGizmo.d.ts +13 -7
  136. package/Gizmos/planeRotationGizmo.js +26 -10
  137. package/Gizmos/planeRotationGizmo.js.map +1 -1
  138. package/Lights/Shadows/shadowGenerator.d.ts +8 -0
  139. package/Lights/Shadows/shadowGenerator.js +12 -0
  140. package/Lights/Shadows/shadowGenerator.js.map +1 -1
  141. package/Loading/sceneLoader.js.map +1 -1
  142. package/Materials/GreasedLine/greasedLineSimpleMaterial.js.map +1 -1
  143. package/Materials/Node/Blocks/Fragment/perturbNormalBlock.js.map +1 -1
  144. package/Materials/Node/Blocks/Teleport/teleportInBlock.d.ts +6 -0
  145. package/Materials/Node/Blocks/Teleport/teleportInBlock.js +22 -0
  146. package/Materials/Node/Blocks/Teleport/teleportInBlock.js.map +1 -1
  147. package/Materials/Node/Blocks/modBlock.js +1 -0
  148. package/Materials/Node/Blocks/modBlock.js.map +1 -1
  149. package/Materials/Textures/Procedurals/proceduralTexture.d.ts +1 -1
  150. package/Materials/Textures/Procedurals/proceduralTexture.js +1 -1
  151. package/Materials/Textures/Procedurals/proceduralTexture.js.map +1 -1
  152. package/Materials/Textures/multiRenderTarget.d.ts +14 -10
  153. package/Materials/Textures/multiRenderTarget.js +7 -5
  154. package/Materials/Textures/multiRenderTarget.js.map +1 -1
  155. package/Materials/imageProcessingConfiguration.d.ts +2 -2
  156. package/Materials/imageProcessingConfiguration.js +2 -2
  157. package/Materials/imageProcessingConfiguration.js.map +1 -1
  158. package/Maths/math.size.d.ts +6 -0
  159. package/Maths/math.size.js +8 -0
  160. package/Maths/math.size.js.map +1 -1
  161. package/Maths/math.vector.d.ts +5 -5
  162. package/Maths/math.vector.js +6 -5
  163. package/Maths/math.vector.js.map +1 -1
  164. package/Meshes/Builders/linesBuilder.js +4 -2
  165. package/Meshes/Builders/linesBuilder.js.map +1 -1
  166. package/Meshes/GreasedLine/greasedLineBaseMesh.d.ts +1 -1
  167. package/Meshes/GreasedLine/greasedLineBaseMesh.js +1 -1
  168. package/Meshes/GreasedLine/greasedLineBaseMesh.js.map +1 -1
  169. package/Meshes/geometry.d.ts +8 -0
  170. package/Meshes/geometry.js +20 -1
  171. package/Meshes/geometry.js.map +1 -1
  172. package/Meshes/groundMesh.js +1 -1
  173. package/Meshes/groundMesh.js.map +1 -1
  174. package/Meshes/mesh.d.ts +8 -0
  175. package/Meshes/mesh.js +14 -2
  176. package/Meshes/mesh.js.map +1 -1
  177. package/Meshes/mesh.vertexData.js.map +1 -1
  178. package/Misc/dds.js.map +1 -1
  179. package/Misc/greasedLineTools.js.map +1 -1
  180. package/Misc/tools.js.map +1 -1
  181. package/Physics/physicsHelper.d.ts +1 -1
  182. package/Physics/physicsHelper.js +1 -1
  183. package/Physics/physicsHelper.js.map +1 -1
  184. package/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.d.ts +1 -1
  185. package/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.js +1 -1
  186. package/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.js.map +1 -1
  187. package/PostProcesses/bloomEffect.d.ts +1 -1
  188. package/PostProcesses/bloomEffect.js +1 -1
  189. package/PostProcesses/bloomEffect.js.map +1 -1
  190. package/PostProcesses/postProcess.d.ts +10 -2
  191. package/PostProcesses/postProcess.js +17 -7
  192. package/PostProcesses/postProcess.js.map +1 -1
  193. package/Rendering/depthPeelingRenderer.d.ts +5 -0
  194. package/Rendering/depthPeelingRenderer.js +33 -9
  195. package/Rendering/depthPeelingRenderer.js.map +1 -1
  196. package/Rendering/depthRenderer.js +9 -0
  197. package/Rendering/depthRenderer.js.map +1 -1
  198. package/Rendering/geometryBufferRenderer.d.ts +6 -3
  199. package/Rendering/geometryBufferRenderer.js +28 -10
  200. package/Rendering/geometryBufferRenderer.js.map +1 -1
  201. package/Rendering/geometryBufferRendererSceneComponent.d.ts +5 -2
  202. package/Rendering/geometryBufferRendererSceneComponent.js.map +1 -1
  203. package/Shaders/ShadersInclude/bonesDeclaration.js +1 -1
  204. package/Shaders/ShadersInclude/bonesDeclaration.js.map +1 -1
  205. package/Shaders/depth.vertex.d.ts +2 -0
  206. package/Shaders/depth.vertex.js +4 -0
  207. package/Shaders/depth.vertex.js.map +1 -1
  208. package/XR/features/WebXRAbstractFeature.d.ts +10 -1
  209. package/XR/features/WebXRAbstractFeature.js +13 -0
  210. package/XR/features/WebXRAbstractFeature.js.map +1 -1
  211. package/XR/features/WebXRLightEstimation.d.ts +5 -0
  212. package/XR/features/WebXRLightEstimation.js +14 -2
  213. package/XR/features/WebXRLightEstimation.js.map +1 -1
  214. package/XR/features/WebXRRawCameraAccess.d.ts +81 -0
  215. package/XR/features/WebXRRawCameraAccess.js +169 -0
  216. package/XR/features/WebXRRawCameraAccess.js.map +1 -0
  217. package/XR/features/index.d.ts +1 -0
  218. package/XR/features/index.js +1 -0
  219. package/XR/features/index.js.map +1 -1
  220. package/XR/webXRFeaturesManager.d.ts +13 -0
  221. package/XR/webXRFeaturesManager.js +4 -0
  222. package/XR/webXRFeaturesManager.js.map +1 -1
  223. package/package.json +1 -1
  224. package/scene.d.ts +1 -1
  225. package/scene.js +11 -6
  226. package/scene.js.map +1 -1
  227. package/types.js.map +1 -1
package/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../dev/core/src/types.ts"],"names":[],"mappings":";AA8DA,gBAAgB;AAChB,iHAAiH","sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\r\n/** Alias type for value that can be null */\r\nexport type Nullable<T> = T | null;\r\n/**\r\n * Alias type for number that are floats\r\n * @ignorenaming\r\n */\r\nexport type float = number;\r\n/**\r\n * Alias type for number that are doubles.\r\n * @ignorenaming\r\n */\r\nexport type double = number;\r\n/**\r\n * Alias type for number that are integer\r\n * @ignorenaming\r\n */\r\nexport type int = number;\r\n\r\n/** Alias type for number array or Float32Array */\r\nexport type FloatArray = number[] | Float32Array;\r\n/** Alias type for number array or Float32Array or Int32Array or Uint32Array or Uint16Array */\r\nexport type IndicesArray = number[] | Int32Array | Uint32Array | Uint16Array;\r\n\r\n/**\r\n * Alias for types that can be used by a Buffer or VertexBuffer.\r\n */\r\nexport type DataArray = number[] | ArrayBuffer | ArrayBufferView;\r\n\r\n/**\r\n * Alias type for primitive types\r\n * @ignorenaming\r\n */\r\ntype Primitive = undefined | null | boolean | string | number | Function | Element;\r\n\r\n/**\r\n * Type modifier to make all the properties of an object Readonly\r\n */\r\nexport type Immutable<T> = T extends Primitive\r\n ? T\r\n : T extends Array<infer U>\r\n ? ReadonlyArray<U>\r\n : /* T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : // es2015+ only */\r\n DeepImmutable<T>;\r\n\r\n/**\r\n * Type modifier to make all the properties of an object Readonly recursively\r\n */\r\nexport type DeepImmutable<T> = T extends Primitive\r\n ? T\r\n : T extends Array<infer U>\r\n ? DeepImmutableArray<U>\r\n : /* T extends Map<infer K, infer V> ? DeepImmutableMap<K, V> : // es2015+ only */\r\n DeepImmutableObject<T>;\r\n\r\n/**\r\n * Type modifier to make object properties readonly.\r\n */\r\nexport type DeepImmutableObject<T> = { readonly [K in keyof T]: DeepImmutable<T[K]> };\r\n\r\n/** @internal */\r\ninterface DeepImmutableArray<T> extends ReadonlyArray<DeepImmutable<T>> {}\r\n/** @internal */\r\n/* interface DeepImmutableMap<K, V> extends ReadonlyMap<DeepImmutable<K>, DeepImmutable<V>> {} // es2015+ only */\r\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../dev/core/src/types.ts"],"names":[],"mappings":";AA8DA,gBAAgB;AAChB,iHAAiH","sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\r\n/** Alias type for value that can be null */\r\nexport type Nullable<T> = T | null;\r\n/**\r\n * Alias type for number that are floats\r\n * @ignorenaming\r\n */\r\nexport type float = number;\r\n/**\r\n * Alias type for number that are doubles.\r\n * @ignorenaming\r\n */\r\nexport type double = number;\r\n/**\r\n * Alias type for number that are integer\r\n * @ignorenaming\r\n */\r\nexport type int = number;\r\n\r\n/** Alias type for number array or Float32Array */\r\nexport type FloatArray = number[] | Float32Array;\r\n/** Alias type for number array or Float32Array or Int32Array or Uint32Array or Uint16Array */\r\nexport type IndicesArray = number[] | Int32Array | Uint32Array | Uint16Array;\r\n\r\n/**\r\n * Alias for types that can be used by a Buffer or VertexBuffer.\r\n */\r\nexport type DataArray = number[] | ArrayBuffer | ArrayBufferView;\r\n\r\n/**\r\n * Alias type for primitive types\r\n * @ignorenaming\r\n */\r\ntype Primitive = undefined | null | boolean | string | number | Function | Element;\r\n\r\n/**\r\n * Type modifier to make all the properties of an object Readonly\r\n */\r\nexport type Immutable<T> = T extends Primitive\r\n ? T\r\n : T extends Array<infer U>\r\n ? ReadonlyArray<U>\r\n : /* T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : // es2015+ only */\r\n DeepImmutable<T>;\r\n\r\n/**\r\n * Type modifier to make all the properties of an object Readonly recursively\r\n */\r\nexport type DeepImmutable<T> = T extends Primitive\r\n ? T\r\n : T extends Array<infer U>\r\n ? DeepImmutableArray<U>\r\n : /* T extends Map<infer K, infer V> ? DeepImmutableMap<K, V> : // es2015+ only */\r\n DeepImmutableObject<T>;\r\n\r\n/**\r\n * Type modifier to make object properties readonly.\r\n */\r\nexport type DeepImmutableObject<T> = { readonly [K in keyof T]: DeepImmutable<T[K]> };\r\n\r\n/** @internal */\r\ninterface DeepImmutableArray<T> extends ReadonlyArray<DeepImmutable<T>> {}\r\n/** @internal */\r\n/* interface DeepImmutableMap<K, V> extends ReadonlyMap<DeepImmutable<K>, DeepImmutable<V>> {} // es2015+ only */\r\n"]}