@glowjs/core 2025.3.6 → 2025.3.23

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.
@@ -25,6 +25,7 @@ import { HighlightLayer } from '@babylonjs/core/Layers/highlightLayer';
25
25
  import { DirectionalLight } from '@babylonjs/core/Lights/directionalLight';
26
26
  import { HemisphericLight } from '@babylonjs/core/Lights/hemisphericLight';
27
27
  import { SceneLoader } from '@babylonjs/core/Loading/sceneLoader';
28
+ import { BackgroundMaterial } from '@babylonjs/core/Materials/Background/backgroundMaterial';
28
29
  import { ColorCurves } from '@babylonjs/core/Materials/colorCurves';
29
30
  import { Effect } from '@babylonjs/core/Materials/effect';
30
31
  import { FresnelParameters } from '@babylonjs/core/Materials/fresnelParameters';
@@ -138,7 +139,7 @@ declare class AutoRotate {
138
139
  }
139
140
  declare class Background extends Base {
140
141
  private _img;
141
- private _skybox;
142
+ _skybox: SkyBox;
142
143
  constructor(app: App);
143
144
  /**
144
145
  * 设置背景效果
@@ -3357,7 +3358,11 @@ export declare class Heatmap extends Component {
3357
3358
  */
3358
3359
  static scale: number;
3359
3360
  /**
3360
- *
3361
+ * 单位(显示数值时使用)
3362
+ */
3363
+ static unit: string;
3364
+ /**
3365
+ * 图层
3361
3366
  */
3362
3367
  static layers: {
3363
3368
  name: string;
@@ -3366,12 +3371,35 @@ export declare class Heatmap extends Component {
3366
3371
  private _heattype;
3367
3372
  private _layerName;
3368
3373
  private _built;
3369
- private _meshes;
3370
- private _particleSystems;
3374
+ _meshes: Mesh[];
3375
+ _particleSystems: ParticleSystem[];
3376
+ _tips: Billboard[];
3377
+ private _renderType;
3378
+ private _renderLayerName;
3371
3379
  /**
3372
3380
  * 数据点位列表
3373
3381
  */
3374
3382
  readonly points: Entity[];
3383
+ /**
3384
+ * 房间列表
3385
+ */
3386
+ readonly rooms: Room[];
3387
+ private _showValues;
3388
+ /**
3389
+ * 获取或设置是否显示值
3390
+ */
3391
+ get showValues(): boolean;
3392
+ set showValues(value: boolean);
3393
+ /**
3394
+ * 获取或设置热力图类型
3395
+ */
3396
+ get heattype(): HeatmapType;
3397
+ set heattype(value: HeatmapType);
3398
+ /**
3399
+ * 获取或设置热力图图层名称(仅水平图有效)
3400
+ */
3401
+ get layerName(): string;
3402
+ set layerName(value: string);
3375
3403
  /**
3376
3404
  * 实例化一个热力图对象
3377
3405
  * @param entity 楼层
@@ -3386,6 +3414,14 @@ export declare class Heatmap extends Component {
3386
3414
  * 拆毁
3387
3415
  */
3388
3416
  unbuild(): void;
3417
+ /**
3418
+ * 渲染
3419
+ */
3420
+ render(): Promise<void>;
3421
+ /**
3422
+ * 清理
3423
+ */
3424
+ clean(): void;
3389
3425
  /**
3390
3426
  * 显示指定类型的热力图
3391
3427
  * @param type 类型
@@ -4640,11 +4676,6 @@ export declare class RunTime implements IDisposable {
4640
4676
  * @param projectFile 项目文件地址
4641
4677
  */
4642
4678
  static getHeatmapList(projectFile: string): Promise<EntityItem[]>;
4643
- /**
4644
- * 获取建筑楼层轮询链接列表
4645
- * @param projectFile 项目文件地址
4646
- */
4647
- static getPollingLinkList(projectFile: string): Promise<PollingLink[]>;
4648
4679
  /**
4649
4680
  * 应用
4650
4681
  */
@@ -4713,7 +4744,7 @@ export declare class RunTime implements IDisposable {
4713
4744
  export declare class SkyBox extends Base {
4714
4745
  private _mesh;
4715
4746
  private _size;
4716
- private _material;
4747
+ _material: BackgroundMaterial;
4717
4748
  private _textureId;
4718
4749
  /**
4719
4750
  * 实例化一个天空盒子对象
@@ -5471,6 +5502,10 @@ export declare enum EventType {
5471
5502
  * 实体创建后事件(Entity)
5472
5503
  */
5473
5504
  AfterBuild = "AFTER_BUILD",
5505
+ /**
5506
+ * 实体拆毁后事件(Entity)
5507
+ */
5508
+ AfterUnbuild = "AFTER_UNBUILD",
5474
5509
  /**
5475
5510
  * 实体释放前(Entity)
5476
5511
  */