@babylonjs/core 7.13.1 → 7.13.2

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 (67) hide show
  1. package/Animations/animationGroupMask.d.ts +1 -1
  2. package/Animations/animationKey.d.ts +1 -1
  3. package/Behaviors/Meshes/handConstraintBehavior.d.ts +3 -3
  4. package/Cameras/Inputs/flyCameraMouseInput.d.ts +0 -1
  5. package/Cameras/Inputs/flyCameraMouseInput.js +0 -1
  6. package/Cameras/Inputs/flyCameraMouseInput.js.map +1 -1
  7. package/Collisions/gpuPicker.d.ts +1 -0
  8. package/Collisions/gpuPicker.js +1 -0
  9. package/Collisions/gpuPicker.js.map +1 -1
  10. package/Debug/debugLayer.d.ts +1 -1
  11. package/Decorators/nodeDecorator.d.ts +1 -1
  12. package/DeviceInput/InputDevices/deviceEnums.d.ts +5 -5
  13. package/Engines/Extensions/engine.computeShader.d.ts +1 -1
  14. package/Engines/WebGPU/webgpuConstants.d.ts +39 -39
  15. package/Engines/abstractEngine.js +2 -2
  16. package/Engines/abstractEngine.js.map +1 -1
  17. package/Events/deviceInputEvents.d.ts +1 -1
  18. package/FlowGraph/flowGraph.d.ts +1 -1
  19. package/FlowGraph/flowGraphConnection.d.ts +1 -1
  20. package/Gamepads/dualShockGamepad.d.ts +2 -2
  21. package/Gamepads/xboxGamepad.d.ts +2 -2
  22. package/Gizmos/gizmo.d.ts +2 -2
  23. package/Loading/sceneLoader.d.ts +1 -1
  24. package/Materials/GreasedLine/greasedLineMaterialInterfaces.d.ts +3 -3
  25. package/Materials/Node/Blocks/meshAttributeExistsBlock.d.ts +1 -1
  26. package/Materials/Node/Blocks/waveBlock.d.ts +1 -1
  27. package/Materials/Node/Enums/nodeMaterialBlockConnectionPointMode.d.ts +1 -1
  28. package/Materials/Node/nodeMaterialBlockConnectionPoint.d.ts +2 -2
  29. package/Materials/Textures/internalTexture.d.ts +1 -1
  30. package/Materials/Textures/ktx2decoderTypes.d.ts +1 -1
  31. package/Materials/materialPluginEvent.d.ts +1 -1
  32. package/Materials/meshDebugPluginMaterial.d.ts +1 -1
  33. package/Materials/shaderLanguage.d.ts +1 -1
  34. package/Maths/math.axis.d.ts +2 -2
  35. package/Maths/math.path.d.ts +1 -1
  36. package/Meshes/Builders/greasedLineBuilder.d.ts +2 -2
  37. package/Meshes/GreasedLine/greasedLineBaseMesh.d.ts +3 -3
  38. package/Meshes/Node/nodeGeometryBlockConnectionPoint.d.ts +2 -2
  39. package/Meshes/csg.js +12 -0
  40. package/Meshes/csg.js.map +1 -1
  41. package/Meshes/meshSimplification.d.ts +1 -1
  42. package/Misc/assetsManager.d.ts +1 -1
  43. package/Misc/asyncLock.d.ts +24 -0
  44. package/Misc/asyncLock.js +32 -0
  45. package/Misc/asyncLock.js.map +1 -0
  46. package/Misc/copyTextureToTexture.d.ts +1 -1
  47. package/Misc/iInspectable.d.ts +1 -1
  48. package/Misc/index.d.ts +1 -0
  49. package/Misc/index.js +1 -0
  50. package/Misc/index.js.map +1 -1
  51. package/Misc/timer.d.ts +1 -1
  52. package/Misc/virtualJoystick.d.ts +1 -1
  53. package/Particles/gpuParticleSystem.js +1 -0
  54. package/Particles/gpuParticleSystem.js.map +1 -1
  55. package/Particles/pointsCloudSystem.d.ts +1 -1
  56. package/Particles/subEmitter.d.ts +1 -1
  57. package/Physics/physicsHelper.d.ts +2 -2
  58. package/Physics/v2/IPhysicsEnginePlugin.d.ts +8 -8
  59. package/Physics/v2/physicsMaterial.d.ts +1 -1
  60. package/PostProcesses/depthOfFieldEffect.d.ts +1 -1
  61. package/PostProcesses/tonemapPostProcess.d.ts +1 -1
  62. package/Rendering/fluidRenderer/fluidRenderingTargetRenderer.d.ts +1 -1
  63. package/XR/features/WebXRHandTracking.d.ts +2 -2
  64. package/XR/features/WebXRNearInteraction.d.ts +1 -1
  65. package/XR/webXRTypes.d.ts +2 -2
  66. package/package.json +1 -1
  67. package/scene.d.ts +1 -1
@@ -4,7 +4,7 @@ import type { Scene, IDisposable } from "../scene";
4
4
  import { CloudPoint } from "./cloudPoint";
5
5
  import type { Material } from "../Materials/material";
6
6
  /** Defines the 4 color options */
7
- export declare const enum PointColor {
7
+ export declare enum PointColor {
8
8
  /** color value */
9
9
  Color = 2,
10
10
  /** uv value */
@@ -4,7 +4,7 @@ import type { ParticleSystem } from "../Particles/particleSystem";
4
4
  /**
5
5
  * Type of sub emitter
6
6
  */
7
- export declare const enum SubEmitterType {
7
+ export declare enum SubEmitterType {
8
8
  /**
9
9
  * Attached to the particle over it's lifetime
10
10
  */
@@ -351,7 +351,7 @@ export declare class PhysicsVortexEventOptions {
351
351
  * The strength of the force in correspondence to the distance of the affected object
352
352
  * @see https://doc.babylonjs.com/features/featuresDeepDive/physics/usingPhysicsEngine#further-functionality-of-the-impostor-class
353
353
  */
354
- export declare const enum PhysicsRadialImpulseFalloff {
354
+ export declare enum PhysicsRadialImpulseFalloff {
355
355
  /** Defines that impulse is constant in strength across it's whole radius */
356
356
  Constant = 0,
357
357
  /** Defines that impulse gets weaker if it's further from the origin */
@@ -361,7 +361,7 @@ export declare const enum PhysicsRadialImpulseFalloff {
361
361
  * The strength of the force in correspondence to the distance of the affected object
362
362
  * @see https://doc.babylonjs.com/features/featuresDeepDive/physics/usingPhysicsEngine#further-functionality-of-the-impostor-class
363
363
  */
364
- export declare const enum PhysicsUpdraftMode {
364
+ export declare enum PhysicsUpdraftMode {
365
365
  /** Defines that the upstream forces will pull towards the top center of the cylinder */
366
366
  Center = 0,
367
367
  /** Defines that once a impostor is inside the cylinder, it will shoot out perpendicular from the ground of the cylinder */
@@ -11,13 +11,13 @@ import type { Nullable } from "../../types";
11
11
  import type { Observable } from "../../Misc/observable";
12
12
  import type { GroundMesh } from "../../Meshes/groundMesh";
13
13
  /** How a specific axis can be constrained */
14
- export declare const enum PhysicsConstraintAxisLimitMode {
14
+ export declare enum PhysicsConstraintAxisLimitMode {
15
15
  FREE = 0,
16
16
  LIMITED = 1,
17
17
  LOCKED = 2
18
18
  }
19
19
  /** The constraint specific axis to use when setting Friction, `ConstraintAxisLimitMode`, max force, ... */
20
- export declare const enum PhysicsConstraintAxis {
20
+ export declare enum PhysicsConstraintAxis {
21
21
  LINEAR_X = 0,
22
22
  LINEAR_Y = 1,
23
23
  LINEAR_Z = 2,
@@ -27,7 +27,7 @@ export declare const enum PhysicsConstraintAxis {
27
27
  LINEAR_DISTANCE = 6
28
28
  }
29
29
  /** Type of Constraint */
30
- export declare const enum PhysicsConstraintType {
30
+ export declare enum PhysicsConstraintType {
31
31
  /**
32
32
  * A ball and socket constraint will attempt to line up the pivot
33
33
  * positions in each body, and have no restrictions on rotation
@@ -58,7 +58,7 @@ export declare const enum PhysicsConstraintType {
58
58
  SIX_DOF = 7
59
59
  }
60
60
  /** Type of Shape */
61
- export declare const enum PhysicsShapeType {
61
+ export declare enum PhysicsShapeType {
62
62
  SPHERE = 0,
63
63
  CAPSULE = 1,
64
64
  CYLINDER = 2,
@@ -69,12 +69,12 @@ export declare const enum PhysicsShapeType {
69
69
  HEIGHTFIELD = 7
70
70
  }
71
71
  /** Optional motor which attempts to move a body at a specific velocity, or at a specific position */
72
- export declare const enum PhysicsConstraintMotorType {
72
+ export declare enum PhysicsConstraintMotorType {
73
73
  NONE = 0,
74
74
  VELOCITY = 1,
75
75
  POSITION = 2
76
76
  }
77
- export declare const enum PhysicsEventType {
77
+ export declare enum PhysicsEventType {
78
78
  COLLISION_STARTED = "COLLISION_STARTED",
79
79
  COLLISION_CONTINUED = "COLLISION_CONTINUED",
80
80
  COLLISION_FINISHED = "COLLISION_FINISHED",
@@ -282,7 +282,7 @@ export interface PhysicsMassProperties {
282
282
  /**
283
283
  * Indicates how the body will behave.
284
284
  */
285
- export declare const enum PhysicsMotionType {
285
+ export declare enum PhysicsMotionType {
286
286
  STATIC = 0,
287
287
  ANIMATED = 1,
288
288
  DYNAMIC = 2
@@ -298,7 +298,7 @@ export declare enum PhysicsPrestepType {
298
298
  /**
299
299
  * Controls the body sleep mode.
300
300
  */
301
- export declare const enum PhysicsActivationControl {
301
+ export declare enum PhysicsActivationControl {
302
302
  SIMULATION_CONTROLLED = 0,
303
303
  ALWAYS_ACTIVE = 1,
304
304
  ALWAYS_INACTIVE = 2
@@ -5,7 +5,7 @@
5
5
  * is used will be selected based on their order in this enum - i.e.
6
6
  * a value later in this list will be preferentially used.
7
7
  */
8
- export declare const enum PhysicsMaterialCombineMode {
8
+ export declare enum PhysicsMaterialCombineMode {
9
9
  /**
10
10
  * The final value will be the geometric mean of the two values:
11
11
  * sqrt( valueA * valueB )
@@ -8,7 +8,7 @@ import type { Scene } from "../scene";
8
8
  /**
9
9
  * Specifies the level of max blur that should be applied when using the depth of field effect
10
10
  */
11
- export declare const enum DepthOfFieldEffectBlurLevel {
11
+ export declare enum DepthOfFieldEffectBlurLevel {
12
12
  /**
13
13
  * Subtle blur
14
14
  */
@@ -4,7 +4,7 @@ import "../Shaders/tonemap.fragment";
4
4
  import type { Nullable } from "../types";
5
5
  import type { Engine } from "../Engines/engine";
6
6
  /** Defines operator used for tonemapping */
7
- export declare const enum TonemappingOperator {
7
+ export declare enum TonemappingOperator {
8
8
  /** Hable */
9
9
  Hable = 0,
10
10
  /** Reinhard */
@@ -13,7 +13,7 @@ import { FluidRenderingTextures } from "./fluidRenderingTextures";
13
13
  /**
14
14
  * Textures that can be displayed as a debugging tool
15
15
  */
16
- export declare const enum FluidRenderingDebug {
16
+ export declare enum FluidRenderingDebug {
17
17
  DepthTexture = 0,
18
18
  DepthBlurredTexture = 1,
19
19
  ThicknessTexture = 2,
@@ -106,7 +106,7 @@ export interface IWebXRHandTrackingOptions {
106
106
  /**
107
107
  * Parts of the hands divided to writs and finger names
108
108
  */
109
- export declare const enum HandPart {
109
+ export declare enum HandPart {
110
110
  /**
111
111
  * HandPart - Wrist
112
112
  */
@@ -136,7 +136,7 @@ export declare const enum HandPart {
136
136
  * Joints of the hand as defined by the WebXR specification.
137
137
  * https://immersive-web.github.io/webxr-hand-input/#skeleton-joints-section
138
138
  */
139
- export declare const enum WebXRHandJoint {
139
+ export declare enum WebXRHandJoint {
140
140
  /** Wrist */
141
141
  WRIST = "wrist",
142
142
  /** Thumb near wrist */
@@ -14,7 +14,7 @@ import "../../Meshes/subMesh.project";
14
14
  /**
15
15
  * Where should the near interaction mesh be attached to when using a motion controller for near interaction
16
16
  */
17
- export declare const enum WebXRNearControllerMode {
17
+ export declare enum WebXRNearControllerMode {
18
18
  /**
19
19
  * Motion controllers will not support near interaction
20
20
  */
@@ -3,7 +3,7 @@ import type { IDisposable } from "../scene";
3
3
  /**
4
4
  * States of the webXR experience
5
5
  */
6
- export declare const enum WebXRState {
6
+ export declare enum WebXRState {
7
7
  /**
8
8
  * Transitioning to being in XR mode
9
9
  */
@@ -24,7 +24,7 @@ export declare const enum WebXRState {
24
24
  /**
25
25
  * The state of the XR camera's tracking
26
26
  */
27
- export declare const enum WebXRTrackingState {
27
+ export declare enum WebXRTrackingState {
28
28
  /**
29
29
  * No transformation received, device is not being tracked
30
30
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/core",
3
- "version": "7.13.1",
3
+ "version": "7.13.2",
4
4
  "main": "index.js",
5
5
  "module": "index.js",
6
6
  "types": "index.d.ts",
package/scene.d.ts CHANGED
@@ -86,7 +86,7 @@ export interface SceneOptions {
86
86
  /**
87
87
  * Define how the scene should favor performance over ease of use
88
88
  */
89
- export declare const enum ScenePerformancePriority {
89
+ export declare enum ScenePerformancePriority {
90
90
  /** Default mode. No change. Performance will be treated as less important than backward compatibility */
91
91
  BackwardCompatible = 0,
92
92
  /** Some performance options will be turned on trying to strike a balance between perf and ease of use */