@glowjs/core 2024.11.16 → 2024.12.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.
@@ -1446,6 +1446,10 @@ export declare class Building extends Entity {
1446
1446
  * 获取楼层是否已经展开
1447
1447
  */
1448
1448
  expanded: boolean;
1449
+ /**
1450
+ * 进入建筑是否显示外立面和楼层链接(仅在存在楼层链接时生效)
1451
+ */
1452
+ showFacadesAndLinks: boolean;
1449
1453
  /**
1450
1454
  * 合并网格的父节点
1451
1455
  */
@@ -1735,10 +1739,6 @@ export declare class CameraMgr extends Base {
1735
1739
  * 是否锁定拖动的灵敏度(直径小于5时生效,用于资产模型编辑)
1736
1740
  */
1737
1741
  lockPanning: boolean;
1738
- /**
1739
- * 获取或设置跟随对象
1740
- */
1741
- followObj: Entity;
1742
1742
  /**
1743
1743
  * 自动旋转
1744
1744
  */
@@ -1757,6 +1757,7 @@ export declare class CameraMgr extends Base {
1757
1757
  */
1758
1758
  get person(): CameraPerson;
1759
1759
  set person(value: CameraPerson);
1760
+ _setCameraByRoaming(): void;
1760
1761
  /**
1761
1762
  * 获取相机是否在飞行
1762
1763
  */
@@ -2003,7 +2004,6 @@ export declare class CameraMgr extends Base {
2003
2004
  * @param target 新目标
2004
2005
  */
2005
2006
  setTarget(target: Point3D): void;
2006
- private _flyToFollowObj;
2007
2007
  private _onPerspectiveUpdate;
2008
2008
  private _onOrthographicUpdate;
2009
2009
  private _onUpdate;
@@ -2314,6 +2314,14 @@ export declare class DistanceTool {
2314
2314
  * 提示文本颜色
2315
2315
  */
2316
2316
  tipColor: string;
2317
+ /**
2318
+ * 提示文本X轴偏移,默认值0
2319
+ */
2320
+ tipOffsetX: number;
2321
+ /**
2322
+ * 提示文本Y轴偏移,默认值0
2323
+ */
2324
+ tipOffsetY: number;
2317
2325
  /**
2318
2326
  * 线颜色
2319
2327
  */
@@ -2497,6 +2505,10 @@ export declare class Entity extends Base {
2497
2505
  protected _cursor: string;
2498
2506
  _boundingInfoNode: TransformNode;
2499
2507
  protected _boxContainer: TransformNode;
2508
+ /**
2509
+ * 最大观察距离(包围球半径倍数)
2510
+ */
2511
+ maxRadiusScale: number;
2500
2512
  /**
2501
2513
  * 包围盒
2502
2514
  */
@@ -4280,6 +4292,18 @@ export declare class Roaming extends Component {
4280
4292
  */
4281
4293
  get offsetY(): number;
4282
4294
  set offsetY(value: number);
4295
+ /**
4296
+ * 相机水平方向角度默认值
4297
+ */
4298
+ static defaultAlpha: number;
4299
+ /**
4300
+ * 相机垂直方向角度默认值
4301
+ */
4302
+ static defaultBeta: number;
4303
+ /**
4304
+ * 相机到角色距离默认值
4305
+ */
4306
+ static defaultRadius: number;
4283
4307
  /**
4284
4308
  * 实例化一个漫游对象
4285
4309
  * @param entity 实体对象