@glowjs/core 2026.3.3 → 2026.3.11
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 -5
- package/dist/glow.core.js +1 -1
- package/package.json +1 -1
package/dist/glow.core.d.ts
CHANGED
|
@@ -791,6 +791,10 @@ export declare class App extends EventDispatcher {
|
|
|
791
791
|
* 实体字典
|
|
792
792
|
*/
|
|
793
793
|
_entityMap: Map<string, Entity>;
|
|
794
|
+
/**
|
|
795
|
+
* 获取所有实体
|
|
796
|
+
*/
|
|
797
|
+
get allEntities(): Entity[];
|
|
794
798
|
/**
|
|
795
799
|
* 所有组件对象
|
|
796
800
|
*/
|
|
@@ -3192,6 +3196,7 @@ export declare class FPSBar extends TextBlock {
|
|
|
3192
3196
|
export declare class Fence extends Entity {
|
|
3193
3197
|
/** 高度 */
|
|
3194
3198
|
static height: number;
|
|
3199
|
+
/** 动画速度 */
|
|
3195
3200
|
static animationSpeed: number;
|
|
3196
3201
|
/** 点集 */
|
|
3197
3202
|
points: Point3D[];
|
|
@@ -3218,7 +3223,7 @@ export declare class Fence extends Entity {
|
|
|
3218
3223
|
unbuild(): void;
|
|
3219
3224
|
}
|
|
3220
3225
|
/**
|
|
3221
|
-
*
|
|
3226
|
+
* 电子围栏管理器组件
|
|
3222
3227
|
*/
|
|
3223
3228
|
export declare class FenceMgr extends Component {
|
|
3224
3229
|
private _edit;
|
|
@@ -3233,15 +3238,15 @@ export declare class FenceMgr extends Component {
|
|
|
3233
3238
|
private _appEvents;
|
|
3234
3239
|
/** 结束编辑时触发的回调函数 */
|
|
3235
3240
|
onEndEdit: (face: Fence) => void;
|
|
3236
|
-
/**
|
|
3241
|
+
/** 电子围栏列表 */
|
|
3237
3242
|
get fenceList(): Fence[];
|
|
3238
3243
|
/**
|
|
3239
|
-
*
|
|
3240
|
-
* @param json
|
|
3244
|
+
* 添加一个电子围栏
|
|
3245
|
+
* @param json 电子围栏JSON对象
|
|
3241
3246
|
*/
|
|
3242
3247
|
addOne(json: any): Fence;
|
|
3243
3248
|
/**
|
|
3244
|
-
*
|
|
3249
|
+
* 创建所有电子围栏
|
|
3245
3250
|
*/
|
|
3246
3251
|
build(): Promise<void>;
|
|
3247
3252
|
/**
|