@glowjs/core 2026.3.17 → 2026.3.20

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.
@@ -1418,7 +1418,6 @@ export declare class Billboard extends EventDispatcher {
1418
1418
  * 提示信息
1419
1419
  */
1420
1420
  tip: string;
1421
- private _options;
1422
1421
  /**
1423
1422
  * 初始化2D广告牌根
1424
1423
  */
@@ -1431,10 +1430,6 @@ export declare class Billboard extends EventDispatcher {
1431
1430
  */
1432
1431
  constructor(type: "2D" | "3D", options: BillboardOptions);
1433
1432
  private _onResize;
1434
- /**
1435
- * 获取广告牌参数选项
1436
- */
1437
- get options(): BillboardOptions;
1438
1433
  /**
1439
1434
  * 获取类型
1440
1435
  */
@@ -1472,8 +1467,12 @@ export declare class Billboard extends EventDispatcher {
1472
1467
  /**
1473
1468
  * 获取或设置数据
1474
1469
  */
1475
- get data(): any;
1476
- set data(value: any);
1470
+ get data(): {
1471
+ [key: string]: string;
1472
+ };
1473
+ set data(value: {
1474
+ [key: string]: string;
1475
+ });
1477
1476
  /**
1478
1477
  * 设置颜色
1479
1478
  * @param value 值
@@ -1481,6 +1480,17 @@ export declare class Billboard extends EventDispatcher {
1481
1480
  setColor(value: {
1482
1481
  [key: string]: string;
1483
1482
  }): void;
1483
+ /**
1484
+ * 获取指定顺序索引的图片地址
1485
+ * @param index 顺序索引,0、1、2...
1486
+ */
1487
+ getImageUrlAt(index: number): string;
1488
+ /**
1489
+ * 设置指定顺序索引的图片地址
1490
+ * @param index 顺序索引,0、1、2...
1491
+ * @param value 图片地址
1492
+ */
1493
+ setImageUrlAt(index: number, value: string): void;
1484
1494
  private _observer;
1485
1495
  private _scale;
1486
1496
  private _direction;
@@ -3225,14 +3235,8 @@ export declare class FPSBar extends TextBlock {
3225
3235
  * 电子围栏
3226
3236
  */
3227
3237
  export declare class Fence extends Entity {
3228
- /** 高度 */
3229
- static height: number;
3230
- /** 动画速度 */
3231
- static animationSpeed: number;
3232
3238
  /** 点集 */
3233
3239
  points: Point3D[];
3234
- private _mesh;
3235
- private _material;
3236
3240
  /**
3237
3241
  * 实例化一个电子围栏对象
3238
3242
  * @param app 应用
@@ -3248,10 +3252,6 @@ export declare class Fence extends Entity {
3248
3252
  * @param {boolean} force 是否强制
3249
3253
  */
3250
3254
  build(force?: boolean): Promise<void>;
3251
- /**
3252
- * 拆毁
3253
- */
3254
- unbuild(): void;
3255
3255
  }
3256
3256
  /**
3257
3257
  * 电子围栏管理器组件
@@ -3260,13 +3260,46 @@ export declare class FenceMgr extends Component {
3260
3260
  private _edit;
3261
3261
  private _curPoints;
3262
3262
  private _curMeshes;
3263
- /**
3264
- * 线颜色
3265
- */
3266
- private _lineColor;
3267
3263
  private _curRoot;
3264
+ private _lastPointMesh;
3268
3265
  private _lastLineMesh;
3269
3266
  private _appEvents;
3267
+ /**
3268
+ * 离地高度
3269
+ */
3270
+ static offsetY: number;
3271
+ /**
3272
+ * 区域颜色
3273
+ */
3274
+ static areaColor: string;
3275
+ /**
3276
+ * 区域透明度
3277
+ */
3278
+ static areaAlpha: number;
3279
+ /**
3280
+ * 点颜色
3281
+ */
3282
+ static pointColor: string;
3283
+ /**
3284
+ * 线宽度
3285
+ */
3286
+ static lineWidth: number;
3287
+ /**
3288
+ * 线颜色
3289
+ */
3290
+ static lineColor: string;
3291
+ /**
3292
+ * 文本
3293
+ */
3294
+ static text: string;
3295
+ /**
3296
+ * 文本颜色
3297
+ */
3298
+ static textColor: string;
3299
+ /**
3300
+ * 文本缩放
3301
+ */
3302
+ static textScale: number;
3270
3303
  /** 结束编辑时触发的回调函数 */
3271
3304
  onEndEdit: (face: Fence) => void;
3272
3305
  /** 电子围栏列表 */
@@ -3291,6 +3324,7 @@ export declare class FenceMgr extends Component {
3291
3324
  startEdit(): void;
3292
3325
  private _setAppEvents;
3293
3326
  private _onLeftClick;
3327
+ private _addPointMesh;
3294
3328
  private _addLineMesh;
3295
3329
  private _onAfterFrame;
3296
3330
  /**
@@ -4458,10 +4492,6 @@ export declare class Pipe extends Entity {
4458
4492
  * 拆毁
4459
4493
  */
4460
4494
  unbuild(): void;
4461
- /**
4462
- * 释放
4463
- */
4464
- dispose(): void;
4465
4495
  }
4466
4496
  /**
4467
4497
  * 管线管理器
@@ -4741,14 +4771,14 @@ export declare class ResPool extends Base {
4741
4771
  /**
4742
4772
  * 获取指定资源
4743
4773
  * @param id 编号
4744
- * @param optimized 是否优化网格
4774
+ * @param optimizedOrInvertY 是否优化网格或贴图Y方向翻转
4745
4775
  * @param archiveGrid 是否包含档案格
4746
4776
  * @param unionNodeName 联合体节点名称
4747
4777
  */
4748
- getRes(id: string, optimized?: boolean, archiveGrid?: boolean, unionNodeName?: string): Promise<Texture | InstantiatedEntries | NodeMaterial | any>;
4778
+ getRes(id: string, optimizedOrInvertY?: boolean, archiveGrid?: boolean, unionNodeName?: string): Promise<Texture | InstantiatedEntries | NodeMaterial | any>;
4749
4779
  private _cloneEntires;
4750
4780
  private _loadModel;
4751
- private _getTexture;
4781
+ _getTexture(info: ResOptions, invertY: boolean): Texture;
4752
4782
  private _loadMaterial;
4753
4783
  private _loadParticle;
4754
4784
  private _getResType;
@@ -6563,11 +6593,7 @@ export declare enum SystemResId {
6563
6593
  /**
6564
6594
  * 视频融合透明度贴图
6565
6595
  */
6566
- VideoFusionOpacityTexture = "f29a93b7c7a413ddbd8e5afe18c5afcf",
6567
- /**
6568
- * 电子围栏贴图
6569
- */
6570
- FenceTexuture = "0ce6fc68f64afa03bcf7b913071a48cb"
6596
+ VideoFusionOpacityTexture = "f29a93b7c7a413ddbd8e5afe18c5afcf"
6571
6597
  }
6572
6598
  /** 文本对齐方式 */
6573
6599
  export declare enum TxtAlign {