@glowjs/core 2026.1.7 → 2026.2.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.
- package/dist/glow.core.d.ts +19 -17
- package/dist/glow.core.js +1 -1
- package/package.json +1 -1
package/dist/glow.core.d.ts
CHANGED
|
@@ -872,7 +872,7 @@ export declare class App extends EventDispatcher {
|
|
|
872
872
|
*/
|
|
873
873
|
eventMgr: EventMgr;
|
|
874
874
|
/**
|
|
875
|
-
*
|
|
875
|
+
* 管线管理器
|
|
876
876
|
*/
|
|
877
877
|
pipelineMgr: PipelineMgr;
|
|
878
878
|
/**
|
|
@@ -1867,6 +1867,8 @@ export declare class CameraMgr extends Base {
|
|
|
1867
1867
|
*/
|
|
1868
1868
|
get person(): CameraPerson;
|
|
1869
1869
|
set person(value: CameraPerson);
|
|
1870
|
+
get roaming(): Roaming;
|
|
1871
|
+
get isRoaming(): boolean;
|
|
1870
1872
|
_setCameraByRoaming(): Promise<void>;
|
|
1871
1873
|
/**
|
|
1872
1874
|
* 获取相机是否在飞行
|
|
@@ -1902,7 +1904,7 @@ export declare class CameraMgr extends Base {
|
|
|
1902
1904
|
*/
|
|
1903
1905
|
get enablePan(): boolean;
|
|
1904
1906
|
set enablePan(value: boolean);
|
|
1905
|
-
|
|
1907
|
+
_setButtonEnable(button: 0 | 1 | 2, enable: boolean): void;
|
|
1906
1908
|
/**
|
|
1907
1909
|
* 获取或设置相机沿Y轴的旋转角度(弧度)
|
|
1908
1910
|
*/
|
|
@@ -2625,9 +2627,12 @@ export declare class EffectMgr extends Base {
|
|
|
2625
2627
|
*/
|
|
2626
2628
|
export declare class Entity extends Base {
|
|
2627
2629
|
/**
|
|
2628
|
-
*
|
|
2630
|
+
* 自定义检查函数,用于管线模块查找端点实体
|
|
2629
2631
|
*/
|
|
2630
|
-
static customCheckFun: (data:
|
|
2632
|
+
static customCheckFun: (data: {
|
|
2633
|
+
type: "\u8BBE\u5907" | "\u7AEF\u53E3";
|
|
2634
|
+
fields: string[];
|
|
2635
|
+
}) => Entity;
|
|
2631
2636
|
protected _viewInfo: ViewInfo | null;
|
|
2632
2637
|
protected _cursor: string;
|
|
2633
2638
|
_boundingInfoNode: TransformNode;
|
|
@@ -4359,11 +4364,11 @@ export declare class Pipe extends Entity {
|
|
|
4359
4364
|
dispose(): void;
|
|
4360
4365
|
}
|
|
4361
4366
|
/**
|
|
4362
|
-
*
|
|
4367
|
+
* 管线管理器
|
|
4363
4368
|
*/
|
|
4364
4369
|
export declare class PipelineMgr extends Base {
|
|
4365
4370
|
/**
|
|
4366
|
-
*
|
|
4371
|
+
* 管线样式列表
|
|
4367
4372
|
*/
|
|
4368
4373
|
readonly pipelineStyles: PipelineStyle[];
|
|
4369
4374
|
/** 连线列表 */
|
|
@@ -4373,11 +4378,14 @@ export declare class PipelineMgr extends Base {
|
|
|
4373
4378
|
private _boundingInfo;
|
|
4374
4379
|
constructor(app: App);
|
|
4375
4380
|
/**
|
|
4376
|
-
*
|
|
4377
|
-
* @param list
|
|
4381
|
+
* 显示管线
|
|
4382
|
+
* @param list 管线数据列表
|
|
4378
4383
|
* @param assetDic 资产字典,key为机柜id,value为资产列表
|
|
4379
4384
|
*/
|
|
4380
4385
|
show(list: PipelineData[], assetDic?: Map<string, AssetData[]>): Promise<void>;
|
|
4386
|
+
/**
|
|
4387
|
+
* 重置
|
|
4388
|
+
*/
|
|
4381
4389
|
reset(): Promise<void>;
|
|
4382
4390
|
private _showCurrentLevel;
|
|
4383
4391
|
private _destroyCabinetAsset;
|
|
@@ -5262,12 +5270,6 @@ export declare class Thing extends Entity {
|
|
|
5262
5270
|
* 是否包含实例网格
|
|
5263
5271
|
*/
|
|
5264
5272
|
protected get _instanced(): boolean;
|
|
5265
|
-
private _optimized;
|
|
5266
|
-
/**
|
|
5267
|
-
* 是否实例,默认是
|
|
5268
|
-
*/
|
|
5269
|
-
get instanced(): boolean;
|
|
5270
|
-
set instanced(value: boolean);
|
|
5271
5273
|
/**
|
|
5272
5274
|
* 根
|
|
5273
5275
|
*/
|
|
@@ -7138,7 +7140,7 @@ export type ParticleData = {
|
|
|
7138
7140
|
maxLifeTime: number;
|
|
7139
7141
|
};
|
|
7140
7142
|
/**
|
|
7141
|
-
*
|
|
7143
|
+
* 管线数据
|
|
7142
7144
|
*/
|
|
7143
7145
|
export type PipelineData = {
|
|
7144
7146
|
/** 开始端点类型 */
|
|
@@ -7161,13 +7163,13 @@ export type PipelineData = {
|
|
|
7161
7163
|
end_field3: string;
|
|
7162
7164
|
/** 结束端点名称 */
|
|
7163
7165
|
end_name: string;
|
|
7164
|
-
/**
|
|
7166
|
+
/** 管线样式名称 */
|
|
7165
7167
|
style_name: string;
|
|
7166
7168
|
/** 扩展,保留字段 */
|
|
7167
7169
|
extension: string;
|
|
7168
7170
|
};
|
|
7169
7171
|
/**
|
|
7170
|
-
*
|
|
7172
|
+
* 管线样式
|
|
7171
7173
|
*/
|
|
7172
7174
|
export type PipelineStyle = {
|
|
7173
7175
|
/** 名称 */
|