@glowjs/core 2026.3.16 → 2026.3.17-2
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 -9
- package/dist/glow.core.js +1 -1
- package/package.json +1 -1
package/dist/glow.core.d.ts
CHANGED
|
@@ -1467,8 +1467,12 @@ export declare class Billboard extends EventDispatcher {
|
|
|
1467
1467
|
/**
|
|
1468
1468
|
* 获取或设置数据
|
|
1469
1469
|
*/
|
|
1470
|
-
get data():
|
|
1471
|
-
|
|
1470
|
+
get data(): {
|
|
1471
|
+
[key: string]: string;
|
|
1472
|
+
};
|
|
1473
|
+
set data(value: {
|
|
1474
|
+
[key: string]: string;
|
|
1475
|
+
});
|
|
1472
1476
|
/**
|
|
1473
1477
|
* 设置颜色
|
|
1474
1478
|
* @param value 值
|
|
@@ -1476,6 +1480,17 @@ export declare class Billboard extends EventDispatcher {
|
|
|
1476
1480
|
setColor(value: {
|
|
1477
1481
|
[key: string]: string;
|
|
1478
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;
|
|
1479
1494
|
private _observer;
|
|
1480
1495
|
private _scale;
|
|
1481
1496
|
private _direction;
|
|
@@ -4453,10 +4468,6 @@ export declare class Pipe extends Entity {
|
|
|
4453
4468
|
* 拆毁
|
|
4454
4469
|
*/
|
|
4455
4470
|
unbuild(): void;
|
|
4456
|
-
/**
|
|
4457
|
-
* 释放
|
|
4458
|
-
*/
|
|
4459
|
-
dispose(): void;
|
|
4460
4471
|
}
|
|
4461
4472
|
/**
|
|
4462
4473
|
* 管线管理器
|
|
@@ -4736,14 +4747,14 @@ export declare class ResPool extends Base {
|
|
|
4736
4747
|
/**
|
|
4737
4748
|
* 获取指定资源
|
|
4738
4749
|
* @param id 编号
|
|
4739
|
-
* @param
|
|
4750
|
+
* @param optimizedOrInvertY 是否优化网格或贴图Y方向翻转
|
|
4740
4751
|
* @param archiveGrid 是否包含档案格
|
|
4741
4752
|
* @param unionNodeName 联合体节点名称
|
|
4742
4753
|
*/
|
|
4743
|
-
getRes(id: string,
|
|
4754
|
+
getRes(id: string, optimizedOrInvertY?: boolean, archiveGrid?: boolean, unionNodeName?: string): Promise<Texture | InstantiatedEntries | NodeMaterial | any>;
|
|
4744
4755
|
private _cloneEntires;
|
|
4745
4756
|
private _loadModel;
|
|
4746
|
-
|
|
4757
|
+
_getTexture(info: ResOptions, invertY: boolean): Texture;
|
|
4747
4758
|
private _loadMaterial;
|
|
4748
4759
|
private _loadParticle;
|
|
4749
4760
|
private _getResType;
|