@babylonjs/core 7.13.1 → 7.13.3
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.
- package/Animations/animationGroupMask.d.ts +1 -1
- package/Animations/animationKey.d.ts +1 -1
- package/Behaviors/Meshes/handConstraintBehavior.d.ts +3 -3
- package/Cameras/Inputs/flyCameraMouseInput.d.ts +0 -1
- package/Cameras/Inputs/flyCameraMouseInput.js +0 -1
- package/Cameras/Inputs/flyCameraMouseInput.js.map +1 -1
- package/Cameras/arcRotateCamera.d.ts +5 -0
- package/Cameras/arcRotateCamera.js +45 -0
- package/Cameras/arcRotateCamera.js.map +1 -1
- package/Cameras/camera.d.ts +5 -0
- package/Cameras/camera.js +7 -0
- package/Cameras/camera.js.map +1 -1
- package/Collisions/gpuPicker.d.ts +1 -0
- package/Collisions/gpuPicker.js +1 -0
- package/Collisions/gpuPicker.js.map +1 -1
- package/Debug/debugLayer.d.ts +1 -1
- package/Decorators/nodeDecorator.d.ts +1 -1
- package/DeviceInput/InputDevices/deviceEnums.d.ts +5 -5
- package/Engines/Extensions/engine.computeShader.d.ts +1 -1
- package/Engines/WebGPU/webgpuConstants.d.ts +39 -39
- package/Engines/abstractEngine.js +2 -2
- package/Engines/abstractEngine.js.map +1 -1
- package/Events/deviceInputEvents.d.ts +1 -1
- package/FlowGraph/flowGraph.d.ts +1 -1
- package/FlowGraph/flowGraphConnection.d.ts +1 -1
- package/Gamepads/dualShockGamepad.d.ts +2 -2
- package/Gamepads/xboxGamepad.d.ts +2 -2
- package/Gizmos/gizmo.d.ts +2 -2
- package/Loading/sceneLoader.d.ts +1 -1
- package/Materials/GreasedLine/greasedLineMaterialInterfaces.d.ts +3 -3
- package/Materials/Node/Blocks/meshAttributeExistsBlock.d.ts +1 -1
- package/Materials/Node/Blocks/waveBlock.d.ts +1 -1
- package/Materials/Node/Enums/nodeMaterialBlockConnectionPointMode.d.ts +1 -1
- package/Materials/Node/nodeMaterialBlockConnectionPoint.d.ts +2 -2
- package/Materials/Textures/internalTexture.d.ts +1 -1
- package/Materials/Textures/ktx2decoderTypes.d.ts +1 -1
- package/Materials/materialPluginEvent.d.ts +1 -1
- package/Materials/meshDebugPluginMaterial.d.ts +1 -1
- package/Materials/shaderLanguage.d.ts +1 -1
- package/Maths/math.axis.d.ts +2 -2
- package/Maths/math.path.d.ts +1 -1
- package/Maths/math.vector.d.ts +9 -0
- package/Maths/math.vector.js +14 -3
- package/Maths/math.vector.js.map +1 -1
- package/Meshes/Builders/greasedLineBuilder.d.ts +2 -2
- package/Meshes/GreasedLine/greasedLineBaseMesh.d.ts +3 -3
- package/Meshes/Node/nodeGeometryBlockConnectionPoint.d.ts +2 -2
- package/Meshes/csg.js +12 -0
- package/Meshes/csg.js.map +1 -1
- package/Meshes/meshSimplification.d.ts +1 -1
- package/Misc/assetsManager.d.ts +1 -1
- package/Misc/asyncLock.d.ts +24 -0
- package/Misc/asyncLock.js +32 -0
- package/Misc/asyncLock.js.map +1 -0
- package/Misc/copyTextureToTexture.d.ts +1 -1
- package/Misc/iInspectable.d.ts +1 -1
- package/Misc/index.d.ts +1 -0
- package/Misc/index.js +1 -0
- package/Misc/index.js.map +1 -1
- package/Misc/timer.d.ts +1 -1
- package/Misc/virtualJoystick.d.ts +1 -1
- package/Particles/gpuParticleSystem.js +1 -0
- package/Particles/gpuParticleSystem.js.map +1 -1
- package/Particles/pointsCloudSystem.d.ts +1 -1
- package/Particles/subEmitter.d.ts +1 -1
- package/Physics/physicsHelper.d.ts +2 -2
- package/Physics/v2/IPhysicsEnginePlugin.d.ts +8 -8
- package/Physics/v2/physicsMaterial.d.ts +1 -1
- package/PostProcesses/depthOfFieldEffect.d.ts +1 -1
- package/PostProcesses/tonemapPostProcess.d.ts +1 -1
- package/Rendering/fluidRenderer/fluidRenderingTargetRenderer.d.ts +1 -1
- package/XR/features/WebXRHandTracking.d.ts +2 -2
- package/XR/features/WebXRNearInteraction.d.ts +1 -1
- package/XR/webXRTypes.d.ts +2 -2
- package/package.json +1 -1
- 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
|
|
7
|
+
export declare enum PointColor {
|
|
8
8
|
/** color value */
|
|
9
9
|
Color = 2,
|
|
10
10
|
/** uv value */
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
72
|
+
export declare enum PhysicsConstraintMotorType {
|
|
73
73
|
NONE = 0,
|
|
74
74
|
VELOCITY = 1,
|
|
75
75
|
POSITION = 2
|
|
76
76
|
}
|
|
77
|
-
export declare
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
17
|
+
export declare enum WebXRNearControllerMode {
|
|
18
18
|
/**
|
|
19
19
|
* Motion controllers will not support near interaction
|
|
20
20
|
*/
|
package/XR/webXRTypes.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { IDisposable } from "../scene";
|
|
|
3
3
|
/**
|
|
4
4
|
* States of the webXR experience
|
|
5
5
|
*/
|
|
6
|
-
export declare
|
|
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
|
|
27
|
+
export declare enum WebXRTrackingState {
|
|
28
28
|
/**
|
|
29
29
|
* No transformation received, device is not being tracked
|
|
30
30
|
*/
|
package/package.json
CHANGED
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
|
|
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 */
|