@glowjs/core 2024.7.4 → 2024.8.9
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
CHANGED
|
@@ -2287,6 +2287,56 @@ export declare class DecorateGrid extends Entity {
|
|
|
2287
2287
|
*/
|
|
2288
2288
|
unbuild(): void;
|
|
2289
2289
|
}
|
|
2290
|
+
/**
|
|
2291
|
+
* 测距工具
|
|
2292
|
+
*/
|
|
2293
|
+
export declare class DistanceTool {
|
|
2294
|
+
/**
|
|
2295
|
+
* 应用对象
|
|
2296
|
+
*/
|
|
2297
|
+
app: App;
|
|
2298
|
+
private _started;
|
|
2299
|
+
private _eventIds;
|
|
2300
|
+
private _poins;
|
|
2301
|
+
private _mesh;
|
|
2302
|
+
private _tips;
|
|
2303
|
+
private _nodes;
|
|
2304
|
+
/**
|
|
2305
|
+
* 提示文本颜色
|
|
2306
|
+
*/
|
|
2307
|
+
tipColor: string;
|
|
2308
|
+
/**
|
|
2309
|
+
* 线颜色
|
|
2310
|
+
*/
|
|
2311
|
+
lineColor: string;
|
|
2312
|
+
/**
|
|
2313
|
+
* 点颜色
|
|
2314
|
+
*/
|
|
2315
|
+
pointColor: string;
|
|
2316
|
+
/**
|
|
2317
|
+
* 点大小
|
|
2318
|
+
*/
|
|
2319
|
+
pointSize: number;
|
|
2320
|
+
/**
|
|
2321
|
+
* 最小距离
|
|
2322
|
+
*/
|
|
2323
|
+
minDistance: number;
|
|
2324
|
+
/**
|
|
2325
|
+
* 构造函数
|
|
2326
|
+
* @param app 应用对象
|
|
2327
|
+
*/
|
|
2328
|
+
constructor(app: App);
|
|
2329
|
+
private _onLeftPointerDown;
|
|
2330
|
+
private _onRightPointerUp;
|
|
2331
|
+
/**
|
|
2332
|
+
* 开始
|
|
2333
|
+
*/
|
|
2334
|
+
start(): void;
|
|
2335
|
+
/**
|
|
2336
|
+
* 停止
|
|
2337
|
+
*/
|
|
2338
|
+
stop(): void;
|
|
2339
|
+
}
|
|
2290
2340
|
/**
|
|
2291
2341
|
* 门窗
|
|
2292
2342
|
*/
|
|
@@ -5906,6 +5956,19 @@ export type EffectData = {
|
|
|
5906
5956
|
blockWidth: number;
|
|
5907
5957
|
blockHeight: number;
|
|
5908
5958
|
offsetY: number;
|
|
5959
|
+
textureId?: string;
|
|
5960
|
+
/**
|
|
5961
|
+
* 渲染模式模式:0=OPAQUE 1=ALPHATEST 2=ALPHABLEND 3=ALPHATESTANDBLEND
|
|
5962
|
+
*/
|
|
5963
|
+
transparencyMode?: number;
|
|
5964
|
+
alpha?: number;
|
|
5965
|
+
color?: string;
|
|
5966
|
+
mirror?: boolean;
|
|
5967
|
+
level?: number;
|
|
5968
|
+
/**
|
|
5969
|
+
* 模糊系数
|
|
5970
|
+
*/
|
|
5971
|
+
adaptiveBlurKernel?: number;
|
|
5909
5972
|
};
|
|
5910
5973
|
};
|
|
5911
5974
|
/**
|
|
@@ -6230,11 +6293,15 @@ export type ResOptions = {
|
|
|
6230
6293
|
/**
|
|
6231
6294
|
* 贴图类型
|
|
6232
6295
|
*/
|
|
6233
|
-
textureType?: "panorama" | "background";
|
|
6296
|
+
textureType?: "panorama" | "background" | "grid";
|
|
6234
6297
|
/**
|
|
6235
6298
|
* 资源类型
|
|
6236
6299
|
*/
|
|
6237
6300
|
type?: string;
|
|
6301
|
+
/**
|
|
6302
|
+
* 是否有透明通道
|
|
6303
|
+
*/
|
|
6304
|
+
hasAlpha?: boolean;
|
|
6238
6305
|
};
|
|
6239
6306
|
/**
|
|
6240
6307
|
* 尺寸
|