@glowjs/core 2025.8.13 → 2025.8.15
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
|
@@ -3250,7 +3250,7 @@ export declare class Floor extends Entity {
|
|
|
3250
3250
|
/**
|
|
3251
3251
|
* 获取当前层级的所有图层
|
|
3252
3252
|
*/
|
|
3253
|
-
get layers():
|
|
3253
|
+
get layers(): string[];
|
|
3254
3254
|
/**
|
|
3255
3255
|
* 序列化成JSON对象
|
|
3256
3256
|
*/
|
|
@@ -3295,14 +3295,14 @@ export declare class Floor extends Entity {
|
|
|
3295
3295
|
dispose(): void;
|
|
3296
3296
|
/**
|
|
3297
3297
|
* 创建指定图层
|
|
3298
|
-
* @param
|
|
3298
|
+
* @param layers 图层列表
|
|
3299
3299
|
*/
|
|
3300
|
-
|
|
3300
|
+
createLayers(...layers: string[]): Promise<void>;
|
|
3301
3301
|
/**
|
|
3302
3302
|
* 销毁指定图层
|
|
3303
|
-
* @param layer
|
|
3303
|
+
* @param layer 图层列表
|
|
3304
3304
|
*/
|
|
3305
|
-
|
|
3305
|
+
destroyLayers(...layers: string[]): Promise<void>;
|
|
3306
3306
|
}
|
|
3307
3307
|
/**
|
|
3308
3308
|
* 雾效
|
|
@@ -5223,7 +5223,7 @@ export declare class Thing extends Entity {
|
|
|
5223
5223
|
/**
|
|
5224
5224
|
* 图层。默认物体无图层,切换场景时会被创建。当设置了图层时,场景切换时不会被创建。需要手动调用createLayer()和destroyLayer()方法。
|
|
5225
5225
|
*/
|
|
5226
|
-
layers: Set<
|
|
5226
|
+
layers: Set<string>;
|
|
5227
5227
|
/**
|
|
5228
5228
|
* 获取或设置自动动画循环索引
|
|
5229
5229
|
* @deprecated 已废弃,请使用新属性defaultAnimation
|