@glowjs/core 2025.12.24 → 2026.1.7
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 +10 -0
- package/dist/glow.core.js +1 -1
- package/package.json +1 -1
package/dist/glow.core.d.ts
CHANGED
|
@@ -5262,6 +5262,12 @@ export declare class Thing extends Entity {
|
|
|
5262
5262
|
* 是否包含实例网格
|
|
5263
5263
|
*/
|
|
5264
5264
|
protected get _instanced(): boolean;
|
|
5265
|
+
private _optimized;
|
|
5266
|
+
/**
|
|
5267
|
+
* 是否实例,默认是
|
|
5268
|
+
*/
|
|
5269
|
+
get instanced(): boolean;
|
|
5270
|
+
set instanced(value: boolean);
|
|
5265
5271
|
/**
|
|
5266
5272
|
* 根
|
|
5267
5273
|
*/
|
|
@@ -6268,6 +6274,10 @@ export declare function getJson(url: string, onProgress?: (progress: number) =>
|
|
|
6268
6274
|
* @returns 交点
|
|
6269
6275
|
*/
|
|
6270
6276
|
export declare function getLineIntersection(line1: Line, line2: Line): Point;
|
|
6277
|
+
/**
|
|
6278
|
+
* 获取当前页面的根地址,避免iframe跨域问题
|
|
6279
|
+
*/
|
|
6280
|
+
export declare function getOrigin(): string;
|
|
6271
6281
|
/**
|
|
6272
6282
|
* 获取URL指定名称的参数值
|
|
6273
6283
|
* @param name 参数名称
|