@glowjs/core 2026.3.19 → 2026.3.20
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 +39 -19
- package/dist/glow.core.js +1 -1
- package/package.json +1 -1
package/dist/glow.core.d.ts
CHANGED
|
@@ -3235,14 +3235,8 @@ export declare class FPSBar extends TextBlock {
|
|
|
3235
3235
|
* 电子围栏
|
|
3236
3236
|
*/
|
|
3237
3237
|
export declare class Fence extends Entity {
|
|
3238
|
-
/** 高度 */
|
|
3239
|
-
static height: number;
|
|
3240
|
-
/** 动画速度 */
|
|
3241
|
-
static animationSpeed: number;
|
|
3242
3238
|
/** 点集 */
|
|
3243
3239
|
points: Point3D[];
|
|
3244
|
-
private _mesh;
|
|
3245
|
-
private _material;
|
|
3246
3240
|
/**
|
|
3247
3241
|
* 实例化一个电子围栏对象
|
|
3248
3242
|
* @param app 应用
|
|
@@ -3258,10 +3252,6 @@ export declare class Fence extends Entity {
|
|
|
3258
3252
|
* @param {boolean} force 是否强制
|
|
3259
3253
|
*/
|
|
3260
3254
|
build(force?: boolean): Promise<void>;
|
|
3261
|
-
/**
|
|
3262
|
-
* 拆毁
|
|
3263
|
-
*/
|
|
3264
|
-
unbuild(): void;
|
|
3265
3255
|
}
|
|
3266
3256
|
/**
|
|
3267
3257
|
* 电子围栏管理器组件
|
|
@@ -3270,13 +3260,46 @@ export declare class FenceMgr extends Component {
|
|
|
3270
3260
|
private _edit;
|
|
3271
3261
|
private _curPoints;
|
|
3272
3262
|
private _curMeshes;
|
|
3273
|
-
/**
|
|
3274
|
-
* 线颜色
|
|
3275
|
-
*/
|
|
3276
|
-
private _lineColor;
|
|
3277
3263
|
private _curRoot;
|
|
3264
|
+
private _lastPointMesh;
|
|
3278
3265
|
private _lastLineMesh;
|
|
3279
3266
|
private _appEvents;
|
|
3267
|
+
/**
|
|
3268
|
+
* 离地高度
|
|
3269
|
+
*/
|
|
3270
|
+
static offsetY: number;
|
|
3271
|
+
/**
|
|
3272
|
+
* 区域颜色
|
|
3273
|
+
*/
|
|
3274
|
+
static areaColor: string;
|
|
3275
|
+
/**
|
|
3276
|
+
* 区域透明度
|
|
3277
|
+
*/
|
|
3278
|
+
static areaAlpha: number;
|
|
3279
|
+
/**
|
|
3280
|
+
* 点颜色
|
|
3281
|
+
*/
|
|
3282
|
+
static pointColor: string;
|
|
3283
|
+
/**
|
|
3284
|
+
* 线宽度
|
|
3285
|
+
*/
|
|
3286
|
+
static lineWidth: number;
|
|
3287
|
+
/**
|
|
3288
|
+
* 线颜色
|
|
3289
|
+
*/
|
|
3290
|
+
static lineColor: string;
|
|
3291
|
+
/**
|
|
3292
|
+
* 文本
|
|
3293
|
+
*/
|
|
3294
|
+
static text: string;
|
|
3295
|
+
/**
|
|
3296
|
+
* 文本颜色
|
|
3297
|
+
*/
|
|
3298
|
+
static textColor: string;
|
|
3299
|
+
/**
|
|
3300
|
+
* 文本缩放
|
|
3301
|
+
*/
|
|
3302
|
+
static textScale: number;
|
|
3280
3303
|
/** 结束编辑时触发的回调函数 */
|
|
3281
3304
|
onEndEdit: (face: Fence) => void;
|
|
3282
3305
|
/** 电子围栏列表 */
|
|
@@ -3301,6 +3324,7 @@ export declare class FenceMgr extends Component {
|
|
|
3301
3324
|
startEdit(): void;
|
|
3302
3325
|
private _setAppEvents;
|
|
3303
3326
|
private _onLeftClick;
|
|
3327
|
+
private _addPointMesh;
|
|
3304
3328
|
private _addLineMesh;
|
|
3305
3329
|
private _onAfterFrame;
|
|
3306
3330
|
/**
|
|
@@ -6569,11 +6593,7 @@ export declare enum SystemResId {
|
|
|
6569
6593
|
/**
|
|
6570
6594
|
* 视频融合透明度贴图
|
|
6571
6595
|
*/
|
|
6572
|
-
VideoFusionOpacityTexture = "f29a93b7c7a413ddbd8e5afe18c5afcf"
|
|
6573
|
-
/**
|
|
6574
|
-
* 电子围栏贴图
|
|
6575
|
-
*/
|
|
6576
|
-
FenceTexuture = "0ce6fc68f64afa03bcf7b913071a48cb"
|
|
6596
|
+
VideoFusionOpacityTexture = "f29a93b7c7a413ddbd8e5afe18c5afcf"
|
|
6577
6597
|
}
|
|
6578
6598
|
/** 文本对齐方式 */
|
|
6579
6599
|
export declare enum TxtAlign {
|