@glowjs/core 2024.12.7 → 2024.12.11

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.
@@ -45,7 +45,7 @@ export declare class CameraMgr extends Base {
45
45
  */
46
46
  get person(): CameraPerson;
47
47
  set person(value: CameraPerson);
48
- _setCameraByRoaming(): void;
48
+ _setCameraByRoaming(): Promise<void>;
49
49
  /**
50
50
  * 获取相机是否在飞行
51
51
  */
@@ -18,6 +18,14 @@ export declare class PathAnimation extends Component {
18
18
  private _eventDispatcher;
19
19
  private _pause;
20
20
  private _offset;
21
+ private _prevDir;
22
+ private _deltaAngle;
23
+ /**
24
+ * 获取或设置巡检点旋转角速度
25
+ */
26
+ angleSpeed: number;
27
+ private _cross;
28
+ private _target;
21
29
  /**
22
30
  * 获取垂直偏移
23
31
  */
@@ -45,4 +45,9 @@ export declare class Path extends Entity {
45
45
  * 移除拖动功能
46
46
  */
47
47
  detachDrag(): void;
48
+ /**
49
+ * 设置透明度
50
+ * @param value 透明度
51
+ */
52
+ setAlpha(value: number): void;
48
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glowjs/core",
3
- "version": "2024.12.07",
3
+ "version": "2024.12.11",
4
4
  "description": "GlowJS数字孪生引擎核心库。",
5
5
  "main": "./dist/glow.core.js",
6
6
  "types": "./dist/typings/index.d.ts",