@onerjs/core 8.52.6 → 8.52.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cameras/arcRotateCamera.pure.d.ts +3 -1
- package/Cameras/arcRotateCamera.pure.js +21 -1
- package/Cameras/arcRotateCamera.pure.js.map +1 -1
- package/DeviceInput/webDeviceInputSystem.js +7 -1
- package/DeviceInput/webDeviceInputSystem.js.map +1 -1
- package/Engines/Native/nativeInterfaces.d.ts +10 -1
- package/Engines/Native/nativeInterfaces.js.map +1 -1
- package/Engines/abstractEngine.pure.d.ts +1 -1
- package/Engines/abstractEngine.pure.js +2 -2
- package/Engines/abstractEngine.pure.js.map +1 -1
- package/Engines/engine.common.js +61 -1
- package/Engines/engine.common.js.map +1 -1
- package/Engines/thinNativeEngine.pure.js +13 -6
- package/Engines/thinNativeEngine.pure.js.map +1 -1
- package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.d.ts +8 -0
- package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.js +26 -0
- package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.js.map +1 -1
- package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.d.ts +2 -0
- package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.js +17 -0
- package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.js.map +1 -1
- package/Meshes/GaussianSplatting/gaussianSplattingMesh.pure.js +4 -0
- package/Meshes/GaussianSplatting/gaussianSplattingMesh.pure.js.map +1 -1
- package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.d.ts +6 -0
- package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.js +8 -0
- package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.js.map +1 -1
- package/Misc/tools.pure.js +1 -1
- package/Misc/tools.pure.js.map +1 -1
- package/SmartAssets/index.d.ts +1 -1
- package/SmartAssets/index.js +1 -1
- package/SmartAssets/index.js.map +1 -1
- package/SmartAssets/pure.d.ts +1 -0
- package/SmartAssets/pure.js +1 -0
- package/SmartAssets/pure.js.map +1 -1
- package/SmartAssets/{smartAssetManager.js → smartAssetManager.pure.js} +30 -17
- package/SmartAssets/smartAssetManager.pure.js.map +1 -0
- package/package.json +1 -1
- package/SmartAssets/smartAssetManager.js.map +0 -1
- /package/SmartAssets/{smartAssetManager.d.ts → smartAssetManager.pure.d.ts} +0 -0
|
@@ -42,10 +42,12 @@ export declare class ArcRotateCamera extends TargetCamera {
|
|
|
42
42
|
* Defines the rotation angle of the camera along the longitudinal axis.
|
|
43
43
|
*/
|
|
44
44
|
alpha: number;
|
|
45
|
+
private _beta;
|
|
45
46
|
/**
|
|
46
47
|
* Defines the rotation angle of the camera along the latitudinal axis.
|
|
47
48
|
*/
|
|
48
|
-
beta: number;
|
|
49
|
+
get beta(): number;
|
|
50
|
+
set beta(value: number);
|
|
49
51
|
/**
|
|
50
52
|
* Defines the radius of the camera from its target point.
|
|
51
53
|
*/
|
|
@@ -54,6 +54,26 @@ function CheckNaN(value, fallback) {
|
|
|
54
54
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_introduction#arc-rotate-camera
|
|
55
55
|
*/
|
|
56
56
|
export class ArcRotateCamera extends TargetCamera {
|
|
57
|
+
/**
|
|
58
|
+
* Defines the rotation angle of the camera along the latitudinal axis.
|
|
59
|
+
*/
|
|
60
|
+
get beta() {
|
|
61
|
+
return this._beta;
|
|
62
|
+
}
|
|
63
|
+
set beta(value) {
|
|
64
|
+
if (!value) {
|
|
65
|
+
if (this._beta > value) {
|
|
66
|
+
this._beta = Epsilon;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
this._beta = -Epsilon;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
this._beta = value;
|
|
74
|
+
}
|
|
75
|
+
this._checkLimits();
|
|
76
|
+
}
|
|
57
77
|
/**
|
|
58
78
|
* Defines the offset of the camera target;
|
|
59
79
|
*/
|
|
@@ -1459,7 +1479,7 @@ __decorate([
|
|
|
1459
1479
|
], ArcRotateCamera.prototype, "alpha", void 0);
|
|
1460
1480
|
__decorate([
|
|
1461
1481
|
serialize()
|
|
1462
|
-
], ArcRotateCamera.prototype, "beta",
|
|
1482
|
+
], ArcRotateCamera.prototype, "beta", null);
|
|
1463
1483
|
__decorate([
|
|
1464
1484
|
serialize()
|
|
1465
1485
|
], ArcRotateCamera.prototype, "radius", void 0);
|