@glowjs/core 2026.3.17 → 2026.3.19
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/dist/glow.core.d.ts +20 -14
- package/dist/glow.core.js +1 -1
- package/package.json +1 -1
package/dist/glow.core.d.ts
CHANGED
|
@@ -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():
|
|
1476
|
-
|
|
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;
|
|
@@ -4458,10 +4468,6 @@ export declare class Pipe extends Entity {
|
|
|
4458
4468
|
* 拆毁
|
|
4459
4469
|
*/
|
|
4460
4470
|
unbuild(): void;
|
|
4461
|
-
/**
|
|
4462
|
-
* 释放
|
|
4463
|
-
*/
|
|
4464
|
-
dispose(): void;
|
|
4465
4471
|
}
|
|
4466
4472
|
/**
|
|
4467
4473
|
* 管线管理器
|
|
@@ -4741,14 +4747,14 @@ export declare class ResPool extends Base {
|
|
|
4741
4747
|
/**
|
|
4742
4748
|
* 获取指定资源
|
|
4743
4749
|
* @param id 编号
|
|
4744
|
-
* @param
|
|
4750
|
+
* @param optimizedOrInvertY 是否优化网格或贴图Y方向翻转
|
|
4745
4751
|
* @param archiveGrid 是否包含档案格
|
|
4746
4752
|
* @param unionNodeName 联合体节点名称
|
|
4747
4753
|
*/
|
|
4748
|
-
getRes(id: string,
|
|
4754
|
+
getRes(id: string, optimizedOrInvertY?: boolean, archiveGrid?: boolean, unionNodeName?: string): Promise<Texture | InstantiatedEntries | NodeMaterial | any>;
|
|
4749
4755
|
private _cloneEntires;
|
|
4750
4756
|
private _loadModel;
|
|
4751
|
-
|
|
4757
|
+
_getTexture(info: ResOptions, invertY: boolean): Texture;
|
|
4752
4758
|
private _loadMaterial;
|
|
4753
4759
|
private _loadParticle;
|
|
4754
4760
|
private _getResType;
|