@glowjs/core 2025.6.16 → 2025.6.25
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 +75 -199
- package/dist/glow.core.js +1 -1
- package/dist/typings/base/Base.d.ts +24 -24
- package/dist/typings/base/IDisposable.d.ts +9 -9
- package/dist/typings/camera/AutoRotate.d.ts +36 -36
- package/dist/typings/camera/CameraCacheData.d.ts +21 -21
- package/dist/typings/camera/CameraMgr.d.ts +337 -337
- package/dist/typings/camera/CameraMode.d.ts +13 -13
- package/dist/typings/camera/CameraPerson.d.ts +13 -13
- package/dist/typings/camera/CustomArcRotateCameraKeyboardMoveInput.d.ts +28 -28
- package/dist/typings/camera/CustomArcRotateCameraMouseWheelInput.d.ts +17 -17
- package/dist/typings/camera/EasingFunction.d.ts +36 -36
- package/dist/typings/camera/FlyData.d.ts +29 -29
- package/dist/typings/camera/OrthographicView.d.ts +21 -21
- package/dist/typings/core/App.d.ts +158 -158
- package/dist/typings/core/AppOptions.d.ts +25 -25
- package/dist/typings/core/Size.d.ts +13 -13
- package/dist/typings/core/create.d.ts +9 -9
- package/dist/typings/core/version.d.ts +1 -1
- package/dist/typings/effect/Background.d.ts +12 -12
- package/dist/typings/effect/ColorCorrection.d.ts +129 -129
- package/dist/typings/effect/Decoration.d.ts +10 -10
- package/dist/typings/effect/EffectData.d.ts +197 -197
- package/dist/typings/effect/EffectMgr.d.ts +80 -84
- package/dist/typings/effect/EnvironmentTexture.d.ts +20 -20
- package/dist/typings/effect/EnvironmentTextureSource.d.ts +25 -25
- package/dist/typings/effect/Fog.d.ts +16 -16
- package/dist/typings/effect/Glow.d.ts +43 -43
- package/dist/typings/effect/HighLight.d.ts +49 -49
- package/dist/typings/effect/ImageProcessing.d.ts +43 -43
- package/dist/typings/effect/Light.d.ts +38 -38
- package/dist/typings/effect/Particle.d.ts +13 -13
- package/dist/typings/effect/ParticleData.d.ts +20 -20
- package/dist/typings/effect/SkyBox.d.ts +22 -22
- package/dist/typings/effect/ToneMappingType.d.ts +13 -13
- package/dist/typings/effect/defaultEffectValue.d.ts +5 -5
- package/dist/typings/entity/Building.d.ts +123 -123
- package/dist/typings/entity/Campus.d.ts +35 -35
- package/dist/typings/entity/Corner.d.ts +43 -43
- package/dist/typings/entity/DecorateGrid.d.ts +21 -21
- package/dist/typings/entity/DoorWindow.d.ts +77 -77
- package/dist/typings/entity/DoorWindowDirection.d.ts +21 -21
- package/dist/typings/entity/Entity.d.ts +393 -388
- package/dist/typings/entity/EntityType.d.ts +81 -81
- package/dist/typings/entity/Floor.d.ts +118 -118
- package/dist/typings/entity/Group.d.ts +34 -34
- package/dist/typings/entity/LeakLine.d.ts +44 -44
- package/dist/typings/entity/LevelMgr.d.ts +84 -84
- package/dist/typings/entity/ManualWall.d.ts +85 -85
- package/dist/typings/entity/ManualWallBuilder.d.ts +157 -157
- package/dist/typings/entity/MeshFaceData.d.ts +25 -25
- package/dist/typings/entity/OtherEntity.d.ts +24 -24
- package/dist/typings/entity/POI.d.ts +90 -90
- package/dist/typings/entity/Path.d.ts +1 -1
- package/dist/typings/entity/Pipe.d.ts +68 -68
- package/dist/typings/entity/PrefabWall.d.ts +57 -57
- package/dist/typings/entity/Room.d.ts +167 -167
- package/dist/typings/entity/Text3D.d.ts +70 -70
- package/dist/typings/entity/Thing.d.ts +133 -133
- package/dist/typings/entity/Tracker.d.ts +34 -34
- package/dist/typings/entity/VideoFusion.d.ts +61 -61
- package/dist/typings/entity/ViewInfo.d.ts +14 -14
- package/dist/typings/entity/Wall.d.ts +95 -95
- package/dist/typings/entity/building/buildBuilding.d.ts +7 -7
- package/dist/typings/entity/building/buildBuildingOnClient.d.ts +2 -2
- package/dist/typings/entity/building/buildBuildingOnEditor.d.ts +2 -2
- package/dist/typings/entity/component/Animator.d.ts +48 -48
- package/dist/typings/entity/component/AutoOpenDoor.d.ts +24 -24
- package/dist/typings/entity/component/Component.d.ts +22 -22
- package/dist/typings/entity/component/PathAnimation.d.ts +63 -63
- package/dist/typings/entity/component/Style.d.ts +51 -51
- package/dist/typings/entity/component/archive/ArchiveBox.d.ts +97 -97
- package/dist/typings/entity/component/archive/ArchiveCabinet.d.ts +120 -120
- package/dist/typings/entity/component/archive/ArchiveCabinetGroup.d.ts +167 -167
- package/dist/typings/entity/component/archive/ArchiveCabinetGroupCount.d.ts +16 -16
- package/dist/typings/entity/component/archive/ArchiveCabinetGroupState.d.ts +21 -21
- package/dist/typings/entity/component/archive/ArchiveDoor.d.ts +33 -33
- package/dist/typings/entity/component/archive/ArchiveGrid.d.ts +47 -47
- package/dist/typings/entity/component/archive/ArchiveMgr.d.ts +36 -36
- package/dist/typings/entity/component/archive/ColumnPosition.d.ts +17 -17
- package/dist/typings/entity/component/archive/createArchiveGrid.d.ts +6 -6
- package/dist/typings/entity/component/archive/createColumnTag.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onAppMove.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onAppRightDoubleClick.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onGroupLeftDoubleClick.d.ts +8 -8
- package/dist/typings/entity/component/archive/events/onGroupPointerLeave.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onGroupRightClick.d.ts +8 -8
- package/dist/typings/entity/component/archive/events/onLevelChanged.d.ts +8 -8
- package/dist/typings/entity/component/archive/getCapacityOriginBox.d.ts +6 -6
- package/dist/typings/entity/component/cabinet/AssetData.d.ts +19 -19
- package/dist/typings/entity/component/cabinet/BoardCard.d.ts +63 -63
- package/dist/typings/entity/component/cabinet/Cabinet.d.ts +132 -132
- package/dist/typings/entity/component/cabinet/CabinetCapacityData.d.ts +17 -17
- package/dist/typings/entity/component/cabinet/CabinetMgr.d.ts +54 -47
- package/dist/typings/entity/component/cabinet/NetworkPort.d.ts +46 -46
- package/dist/typings/entity/component/cabinet/RackMounted.d.ts +106 -106
- package/dist/typings/entity/component/cabinet/ResImageSource.d.ts +13 -13
- package/dist/typings/entity/component/cabinet/events/onAppMove.d.ts +6 -6
- package/dist/typings/entity/component/cabinet/events/onAppRightDoubleClick.d.ts +6 -6
- package/dist/typings/entity/component/cabinet/events/onCabinetLeftDoubleClick.d.ts +7 -7
- package/dist/typings/entity/component/cabinet/events/onCabinetPointerLeave.d.ts +2 -2
- package/dist/typings/entity/component/cabinet/events/onCabinetRightClick.d.ts +3 -3
- package/dist/typings/entity/component/cabinet/events/onLevelChanged.d.ts +8 -8
- package/dist/typings/entity/component/heatmap/Heatmap.d.ts +95 -95
- package/dist/typings/entity/component/heatmap/HeatmapType.d.ts +17 -17
- package/dist/typings/entity/component/heatmap/buildHorizontal.d.ts +6 -6
- package/dist/typings/entity/component/heatmap/buildTips.d.ts +2 -2
- package/dist/typings/entity/component/heatmap/buildVertical.d.ts +6 -6
- package/dist/typings/entity/component/heatmap/updateHorizontal.d.ts +6 -6
- package/dist/typings/entity/component/heatmap/updateTips.d.ts +2 -2
- package/dist/typings/entity/component/heatmap/updateVertical.d.ts +2 -2
- package/dist/typings/entity/component/roaming/Roaming.d.ts +112 -112
- package/dist/typings/entity/component/roaming/pencil.d.ts +1 -1
- package/dist/typings/entity/init/afterLevelCreate.d.ts +6 -6
- package/dist/typings/entity/init/setBuildings.d.ts +2 -2
- package/dist/typings/entity/init/setDefaultView.d.ts +6 -6
- package/dist/typings/entity/init/setPOILink.d.ts +5 -5
- package/dist/typings/entity/init/setTransition.d.ts +6 -6
- package/dist/typings/entity/path/Path.d.ts +53 -53
- package/dist/typings/entity/path/attachDrag.d.ts +2 -2
- package/dist/typings/entity/path/createLineMeshData.d.ts +3 -3
- package/dist/typings/entity/path/createPointInstance.d.ts +5 -5
- package/dist/typings/entity/path/detachDrag.d.ts +2 -2
- package/dist/typings/entity/path/dragData.d.ts +9 -9
- package/dist/typings/entity/path/getLineMaterial.d.ts +2 -2
- package/dist/typings/entity/placement.d.ts +20 -20
- package/dist/typings/entity/poi_plus/Container.d.ts +14 -14
- package/dist/typings/entity/poi_plus/Img.d.ts +21 -21
- package/dist/typings/entity/poi_plus/Line.d.ts +15 -15
- package/dist/typings/entity/poi_plus/POIPlus.d.ts +138 -138
- package/dist/typings/entity/poi_plus/Txt.d.ts +20 -20
- package/dist/typings/entity/poi_plus/TxtAlign.d.ts +9 -9
- package/dist/typings/entity/poi_plus/render.d.ts +7 -7
- package/dist/typings/entity/util/box.d.ts +9 -9
- package/dist/typings/entity/util/createManualWallEdgeMaterial.d.ts +8 -8
- package/dist/typings/entity/util/createManualWallFaceMaterial.d.ts +8 -8
- package/dist/typings/entity/util/createManualWallMesh.d.ts +12 -12
- package/dist/typings/entity/util/createMergedMesh.d.ts +13 -13
- package/dist/typings/entity/util/createPathArrowIcon.d.ts +4 -4
- package/dist/typings/entity/util/createPathCircleIcon.d.ts +4 -4
- package/dist/typings/entity/util/createRoomMaterial.d.ts +3 -3
- package/dist/typings/entity/util/createRoomMesh.d.ts +14 -14
- package/dist/typings/entity/util/getPathIconMesh.d.ts +7 -7
- package/dist/typings/entity/util/getPathLineMesh.d.ts +2 -2
- package/dist/typings/entity/util/getPerWeight.d.ts +6 -6
- package/dist/typings/entity/util/hideAllBoundingBox.d.ts +6 -6
- package/dist/typings/entity/util/setRes.d.ts +5 -5
- package/dist/typings/entity/util/smoothTube.d.ts +7 -7
- package/dist/typings/entity/util/technologyBuildingMaterial.d.ts +67 -67
- package/dist/typings/event/EventArg.d.ts +14 -14
- package/dist/typings/event/EventDispatcher.d.ts +67 -67
- package/dist/typings/event/EventMgr.d.ts +110 -110
- package/dist/typings/event/EventObject.d.ts +26 -26
- package/dist/typings/event/EventType.d.ts +173 -173
- package/dist/typings/event/KeyCode.d.ts +55 -55
- package/dist/typings/event/PropertyChangedData.d.ts +21 -21
- package/dist/typings/gui/Billboard.d.ts +104 -104
- package/dist/typings/gui/BillboardOptions.d.ts +62 -62
- package/dist/typings/gui/FPSBar.d.ts +25 -25
- package/dist/typings/gui/GUIMgr.d.ts +41 -41
- package/dist/typings/gui/GradientRectangle.d.ts +57 -57
- package/dist/typings/gui/InfoListDataItem.d.ts +17 -17
- package/dist/typings/gui/InfoListPanel.d.ts +106 -106
- package/dist/typings/gui/LinkTip.d.ts +30 -30
- package/dist/typings/gui/PerformancePanel.d.ts +41 -41
- package/dist/typings/gui/RectangleProgress.d.ts +20 -20
- package/dist/typings/gui/ToolTip.d.ts +29 -29
- package/dist/typings/gui/getTextWidth.d.ts +6 -6
- package/dist/typings/index.d.ts +91 -93
- package/dist/typings/material/MaterialMgr.d.ts +18 -18
- package/dist/typings/misc/Point2D.d.ts +4 -4
- package/dist/typings/misc/Point3D.d.ts +4 -4
- package/dist/typings/misc/Point4D.d.ts +4 -4
- package/dist/typings/misc/SystemResId.d.ts +105 -105
- package/dist/typings/misc/blobToDataURL.d.ts +5 -5
- package/dist/typings/misc/cookie.d.ts +17 -17
- package/dist/typings/misc/dataURLtoBlob.d.ts +5 -5
- package/dist/typings/misc/getQueryString.d.ts +5 -5
- package/dist/typings/misc/guid.d.ts +21 -21
- package/dist/typings/misc/http.d.ts +46 -46
- package/dist/typings/misc/index.d.ts +15 -15
- package/dist/typings/misc/isHexColor.d.ts +5 -5
- package/dist/typings/misc/isLAN.d.ts +4 -4
- package/dist/typings/misc/math/Line.d.ts +5 -5
- package/dist/typings/misc/math/Point.d.ts +7 -7
- package/dist/typings/misc/math/compare/EPSILON.d.ts +4 -4
- package/dist/typings/misc/math/compare/greateThanOrEqual.d.ts +8 -8
- package/dist/typings/misc/math/compare/greaterThan.d.ts +7 -7
- package/dist/typings/misc/math/compare/lessThan.d.ts +7 -7
- package/dist/typings/misc/math/compare/lessThanOrEqual.d.ts +7 -7
- package/dist/typings/misc/math/compare/withinEpsilon.d.ts +9 -9
- package/dist/typings/misc/math/index.d.ts +34 -34
- package/dist/typings/misc/math/line/distanceToParallelLine.d.ts +7 -7
- package/dist/typings/misc/math/line/distanceToProjection.d.ts +8 -8
- package/dist/typings/misc/math/line/getLineIntersection.d.ts +9 -9
- package/dist/typings/misc/math/line/isLineParallel.d.ts +7 -7
- package/dist/typings/misc/math/line/project.d.ts +8 -8
- package/dist/typings/misc/math/line/relateToPoint.d.ts +8 -8
- package/dist/typings/misc/math/round.d.ts +6 -6
- package/dist/typings/misc/math/segment/getSegmentIntersection.d.ts +8 -8
- package/dist/typings/misc/math/segment/getSegmentPartIncludePoint.d.ts +8 -8
- package/dist/typings/misc/math/segment/onSegment.d.ts +8 -8
- package/dist/typings/misc/math/segment/segmentFullInclude.d.ts +8 -8
- package/dist/typings/misc/math/vec/addTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/angleTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/centerTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/cross.d.ts +7 -7
- package/dist/typings/misc/math/vec/distanceTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/dot.d.ts +7 -7
- package/dist/typings/misc/math/vec/ignoreYAxis.d.ts +7 -7
- package/dist/typings/misc/math/vec/isClockwise.d.ts +6 -6
- package/dist/typings/misc/math/vec/lengthTo.d.ts +6 -6
- package/dist/typings/misc/math/vec/multiplyTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/normalizeTo.d.ts +6 -6
- package/dist/typings/misc/math/vec/scaleTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/subtractTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/toPoint.d.ts +8 -8
- package/dist/typings/misc/math/vec/toVector3.d.ts +7 -7
- package/dist/typings/misc/math/vec/verticalVector.d.ts +7 -7
- package/dist/typings/misc/object.d.ts +16 -16
- package/dist/typings/misc/randomColor.d.ts +4 -4
- package/dist/typings/misc/to.d.ts +5 -5
- package/dist/typings/res/ResCacheData.d.ts +14 -14
- package/dist/typings/res/ResOptions.d.ts +87 -87
- package/dist/typings/res/ResPool.d.ts +64 -64
- package/dist/typings/res/registerBuffer.d.ts +6 -6
- package/dist/typings/res/replaceInstancedMesh.d.ts +6 -6
- package/dist/typings/runtime/RunTime.d.ts +137 -137
- package/dist/typings/runtime/babylonjs/babylonjs-core.d.ts +76 -76
- package/dist/typings/runtime/babylonjs/babylonjs-gui.d.ts +12 -12
- package/dist/typings/runtime/babylonjs/babylonjs-loaders.d.ts +1 -1
- package/dist/typings/runtime/babylonjs/babylonjs-materials.d.ts +1 -1
- package/dist/typings/runtime/index.d.ts +8 -8
- package/dist/typings/runtime/tweenjs/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
import { App } from '../../../core/App';
|
|
2
|
-
import { Entity } from '../../Entity';
|
|
3
|
-
import { ResImageSource } from './ResImageSource';
|
|
4
|
-
import { Cabinet } from '../../..';
|
|
5
|
-
/**
|
|
6
|
-
* 机架设备
|
|
7
|
-
*/
|
|
8
|
-
export declare class RackMounted extends Entity {
|
|
9
|
-
/**
|
|
10
|
-
* 1U(1.75英寸,44.45mm)
|
|
11
|
-
*/
|
|
12
|
-
static readonly U: number;
|
|
13
|
-
/**
|
|
14
|
-
* 默认宽度(19英寸,482.6mm)
|
|
15
|
-
*/
|
|
16
|
-
static readonly defaultWidth: number;
|
|
17
|
-
/**
|
|
18
|
-
* 默认深度(600mm)
|
|
19
|
-
*/
|
|
20
|
-
static readonly defaultHeight: number;
|
|
21
|
-
private _box;
|
|
22
|
-
private _front;
|
|
23
|
-
private _back;
|
|
24
|
-
private _width;
|
|
25
|
-
private _height;
|
|
26
|
-
private _depth;
|
|
27
|
-
private _frontImg;
|
|
28
|
-
private _backImg;
|
|
29
|
-
private _backgroundColor;
|
|
30
|
-
data: any;
|
|
31
|
-
/**
|
|
32
|
-
* 机柜
|
|
33
|
-
*/
|
|
34
|
-
cabinet: Cabinet;
|
|
35
|
-
/**
|
|
36
|
-
* 实例化一个机架设备
|
|
37
|
-
* @param app 应用
|
|
38
|
-
*/
|
|
39
|
-
constructor(app: App);
|
|
40
|
-
/**
|
|
41
|
-
* 获取或设置宽度
|
|
42
|
-
*/
|
|
43
|
-
get width(): number;
|
|
44
|
-
set width(value: number);
|
|
45
|
-
/**
|
|
46
|
-
* 获取或设置高度
|
|
47
|
-
*/
|
|
48
|
-
get height(): number;
|
|
49
|
-
set height(value: number);
|
|
50
|
-
/**
|
|
51
|
-
* 获取或设置U高
|
|
52
|
-
*/
|
|
53
|
-
get uHeight(): number;
|
|
54
|
-
set uHeight(value: number);
|
|
55
|
-
/**
|
|
56
|
-
* 获取或设置深度
|
|
57
|
-
*/
|
|
58
|
-
get depth(): number;
|
|
59
|
-
set depth(value: number);
|
|
60
|
-
/**
|
|
61
|
-
* 获取或设置U位
|
|
62
|
-
*/
|
|
63
|
-
get uPosition(): number;
|
|
64
|
-
set uPosition(value: number);
|
|
65
|
-
/**
|
|
66
|
-
* 获取或设置前面图片
|
|
67
|
-
*/
|
|
68
|
-
get frontImg(): ResImageSource;
|
|
69
|
-
set frontImg(value: ResImageSource);
|
|
70
|
-
/**
|
|
71
|
-
* 获取或设置后面图片
|
|
72
|
-
*/
|
|
73
|
-
get backImg(): ResImageSource;
|
|
74
|
-
set backImg(value: ResImageSource);
|
|
75
|
-
/**
|
|
76
|
-
* 获取或设置背景颜色
|
|
77
|
-
*/
|
|
78
|
-
get backgroundColor(): string;
|
|
79
|
-
set backgroundColor(value: string);
|
|
80
|
-
/**
|
|
81
|
-
* 居中显示
|
|
82
|
-
*/
|
|
83
|
-
frontOn(): void;
|
|
84
|
-
/**
|
|
85
|
-
* 序列化成JSON对象
|
|
86
|
-
*/
|
|
87
|
-
toJson(): any;
|
|
88
|
-
/**
|
|
89
|
-
* 从JSON对象反序列化(仅生成层级树)
|
|
90
|
-
* @param json JSON对象
|
|
91
|
-
*/
|
|
92
|
-
fromJson(json: any): void;
|
|
93
|
-
/**
|
|
94
|
-
* 创建(仅当前层级可见对象)
|
|
95
|
-
* @param force 是否强制
|
|
96
|
-
*/
|
|
97
|
-
build(force?: boolean): Promise<void>;
|
|
98
|
-
/**
|
|
99
|
-
* 拆毁
|
|
100
|
-
*/
|
|
101
|
-
unbuild(): void;
|
|
102
|
-
/**
|
|
103
|
-
* 释放
|
|
104
|
-
*/
|
|
105
|
-
dispose(): void;
|
|
106
|
-
}
|
|
1
|
+
import { App } from '../../../core/App';
|
|
2
|
+
import { Entity } from '../../Entity';
|
|
3
|
+
import { ResImageSource } from './ResImageSource';
|
|
4
|
+
import { Cabinet } from '../../..';
|
|
5
|
+
/**
|
|
6
|
+
* 机架设备
|
|
7
|
+
*/
|
|
8
|
+
export declare class RackMounted extends Entity {
|
|
9
|
+
/**
|
|
10
|
+
* 1U(1.75英寸,44.45mm)
|
|
11
|
+
*/
|
|
12
|
+
static readonly U: number;
|
|
13
|
+
/**
|
|
14
|
+
* 默认宽度(19英寸,482.6mm)
|
|
15
|
+
*/
|
|
16
|
+
static readonly defaultWidth: number;
|
|
17
|
+
/**
|
|
18
|
+
* 默认深度(600mm)
|
|
19
|
+
*/
|
|
20
|
+
static readonly defaultHeight: number;
|
|
21
|
+
private _box;
|
|
22
|
+
private _front;
|
|
23
|
+
private _back;
|
|
24
|
+
private _width;
|
|
25
|
+
private _height;
|
|
26
|
+
private _depth;
|
|
27
|
+
private _frontImg;
|
|
28
|
+
private _backImg;
|
|
29
|
+
private _backgroundColor;
|
|
30
|
+
data: any;
|
|
31
|
+
/**
|
|
32
|
+
* 机柜
|
|
33
|
+
*/
|
|
34
|
+
cabinet: Cabinet;
|
|
35
|
+
/**
|
|
36
|
+
* 实例化一个机架设备
|
|
37
|
+
* @param app 应用
|
|
38
|
+
*/
|
|
39
|
+
constructor(app: App);
|
|
40
|
+
/**
|
|
41
|
+
* 获取或设置宽度
|
|
42
|
+
*/
|
|
43
|
+
get width(): number;
|
|
44
|
+
set width(value: number);
|
|
45
|
+
/**
|
|
46
|
+
* 获取或设置高度
|
|
47
|
+
*/
|
|
48
|
+
get height(): number;
|
|
49
|
+
set height(value: number);
|
|
50
|
+
/**
|
|
51
|
+
* 获取或设置U高
|
|
52
|
+
*/
|
|
53
|
+
get uHeight(): number;
|
|
54
|
+
set uHeight(value: number);
|
|
55
|
+
/**
|
|
56
|
+
* 获取或设置深度
|
|
57
|
+
*/
|
|
58
|
+
get depth(): number;
|
|
59
|
+
set depth(value: number);
|
|
60
|
+
/**
|
|
61
|
+
* 获取或设置U位
|
|
62
|
+
*/
|
|
63
|
+
get uPosition(): number;
|
|
64
|
+
set uPosition(value: number);
|
|
65
|
+
/**
|
|
66
|
+
* 获取或设置前面图片
|
|
67
|
+
*/
|
|
68
|
+
get frontImg(): ResImageSource;
|
|
69
|
+
set frontImg(value: ResImageSource);
|
|
70
|
+
/**
|
|
71
|
+
* 获取或设置后面图片
|
|
72
|
+
*/
|
|
73
|
+
get backImg(): ResImageSource;
|
|
74
|
+
set backImg(value: ResImageSource);
|
|
75
|
+
/**
|
|
76
|
+
* 获取或设置背景颜色
|
|
77
|
+
*/
|
|
78
|
+
get backgroundColor(): string;
|
|
79
|
+
set backgroundColor(value: string);
|
|
80
|
+
/**
|
|
81
|
+
* 居中显示
|
|
82
|
+
*/
|
|
83
|
+
frontOn(): void;
|
|
84
|
+
/**
|
|
85
|
+
* 序列化成JSON对象
|
|
86
|
+
*/
|
|
87
|
+
toJson(): any;
|
|
88
|
+
/**
|
|
89
|
+
* 从JSON对象反序列化(仅生成层级树)
|
|
90
|
+
* @param json JSON对象
|
|
91
|
+
*/
|
|
92
|
+
fromJson(json: any): void;
|
|
93
|
+
/**
|
|
94
|
+
* 创建(仅当前层级可见对象)
|
|
95
|
+
* @param force 是否强制
|
|
96
|
+
*/
|
|
97
|
+
build(force?: boolean): Promise<void>;
|
|
98
|
+
/**
|
|
99
|
+
* 拆毁
|
|
100
|
+
*/
|
|
101
|
+
unbuild(): void;
|
|
102
|
+
/**
|
|
103
|
+
* 释放
|
|
104
|
+
*/
|
|
105
|
+
dispose(): void;
|
|
106
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 动态模型图片(字符串表示图片base64编码,对象表示文件信息)
|
|
3
|
-
*/
|
|
4
|
-
export type ResImageSource = string | {
|
|
5
|
-
/**
|
|
6
|
-
* 图片资源ID
|
|
7
|
-
*/
|
|
8
|
-
id: string;
|
|
9
|
-
/**
|
|
10
|
-
* 扩展名
|
|
11
|
-
*/
|
|
12
|
-
ext: string;
|
|
13
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* 动态模型图片(字符串表示图片base64编码,对象表示文件信息)
|
|
3
|
+
*/
|
|
4
|
+
export type ResImageSource = string | {
|
|
5
|
+
/**
|
|
6
|
+
* 图片资源ID
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* 扩展名
|
|
11
|
+
*/
|
|
12
|
+
ext: string;
|
|
13
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
-
/**
|
|
3
|
-
* 应用的鼠标移动事件
|
|
4
|
-
* @param ev 事件参数
|
|
5
|
-
*/
|
|
6
|
-
export declare function onAppMove(ev: EventArg): void;
|
|
1
|
+
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
+
/**
|
|
3
|
+
* 应用的鼠标移动事件
|
|
4
|
+
* @param ev 事件参数
|
|
5
|
+
*/
|
|
6
|
+
export declare function onAppMove(ev: EventArg): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
-
/**
|
|
3
|
-
* 应用右键双击事件
|
|
4
|
-
* @param ev 事件参数
|
|
5
|
-
*/
|
|
6
|
-
export declare function onAppRightDoubleClick(ev: EventArg): void;
|
|
1
|
+
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
+
/**
|
|
3
|
+
* 应用右键双击事件
|
|
4
|
+
* @param ev 事件参数
|
|
5
|
+
*/
|
|
6
|
+
export declare function onAppRightDoubleClick(ev: EventArg): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Cabinet } from '../Cabinet';
|
|
2
|
-
/**
|
|
3
|
-
* 机柜左键双击事件
|
|
4
|
-
* @param this 机柜
|
|
5
|
-
* @param ev 事件参数
|
|
6
|
-
*/
|
|
7
|
-
export declare function onCabinetLeftDoubleClick(this: Cabinet): void;
|
|
1
|
+
import { Cabinet } from '../Cabinet';
|
|
2
|
+
/**
|
|
3
|
+
* 机柜左键双击事件
|
|
4
|
+
* @param this 机柜
|
|
5
|
+
* @param ev 事件参数
|
|
6
|
+
*/
|
|
7
|
+
export declare function onCabinetLeftDoubleClick(this: Cabinet): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cabinet } from '../Cabinet';
|
|
2
|
-
export declare function onCabinetPointerLeave(this: Cabinet): void;
|
|
1
|
+
import { Cabinet } from '../Cabinet';
|
|
2
|
+
export declare function onCabinetPointerLeave(this: Cabinet): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
-
import { Cabinet } from '../Cabinet';
|
|
3
|
-
export declare function onCabinetRightClick(this: Cabinet, ev: EventArg): void;
|
|
1
|
+
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
+
import { Cabinet } from '../Cabinet';
|
|
3
|
+
export declare function onCabinetRightClick(this: Cabinet, ev: EventArg): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { App } from '../../../../core/App';
|
|
2
|
-
import { CabinetMgr } from '../CabinetMgr';
|
|
3
|
-
/**
|
|
4
|
-
* 层级切换事件
|
|
5
|
-
* @param app 应用
|
|
6
|
-
* @param mgr 机柜管理器
|
|
7
|
-
*/
|
|
8
|
-
export declare function onLevelChanged(app: App, mgr: CabinetMgr): void;
|
|
1
|
+
import { App } from '../../../../core/App';
|
|
2
|
+
import { CabinetMgr } from '../CabinetMgr';
|
|
3
|
+
/**
|
|
4
|
+
* 层级切换事件
|
|
5
|
+
* @param app 应用
|
|
6
|
+
* @param mgr 机柜管理器
|
|
7
|
+
*/
|
|
8
|
+
export declare function onLevelChanged(app: App, mgr: CabinetMgr): void;
|
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
import { Component } from '.././Component';
|
|
2
|
-
import { Entity } from '../../Entity';
|
|
3
|
-
import { HeatmapType } from './HeatmapType';
|
|
4
|
-
import { Mesh, ParticleSystem } from '../../../runtime';
|
|
5
|
-
import { Room } from '../../Room';
|
|
6
|
-
import { Billboard } from '../../../gui/Billboard';
|
|
7
|
-
/**
|
|
8
|
-
* 热力图
|
|
9
|
-
*/
|
|
10
|
-
export declare class Heatmap extends Component {
|
|
11
|
-
/**
|
|
12
|
-
* 最小值
|
|
13
|
-
*/
|
|
14
|
-
static min: number;
|
|
15
|
-
/**
|
|
16
|
-
* 最大值
|
|
17
|
-
*/
|
|
18
|
-
static max: number;
|
|
19
|
-
/**
|
|
20
|
-
* 缩放倍数
|
|
21
|
-
*/
|
|
22
|
-
static scale: number;
|
|
23
|
-
/**
|
|
24
|
-
* 单位(显示数值时使用)
|
|
25
|
-
*/
|
|
26
|
-
static unit: string;
|
|
27
|
-
/**
|
|
28
|
-
* 图层
|
|
29
|
-
*/
|
|
30
|
-
static layers: {
|
|
31
|
-
name: string;
|
|
32
|
-
offsetY: number;
|
|
33
|
-
}[];
|
|
34
|
-
private _heattype;
|
|
35
|
-
private _layerName;
|
|
36
|
-
private _built;
|
|
37
|
-
_meshes: Mesh[];
|
|
38
|
-
_particleSystems: ParticleSystem[];
|
|
39
|
-
_tips: Billboard[];
|
|
40
|
-
private _renderType;
|
|
41
|
-
private _renderLayerName;
|
|
42
|
-
/**
|
|
43
|
-
* 数据点位列表
|
|
44
|
-
*/
|
|
45
|
-
readonly points: Entity[];
|
|
46
|
-
/**
|
|
47
|
-
* 房间列表
|
|
48
|
-
*/
|
|
49
|
-
readonly rooms: Room[];
|
|
50
|
-
private _showValues;
|
|
51
|
-
/**
|
|
52
|
-
* 获取或设置是否显示值
|
|
53
|
-
*/
|
|
54
|
-
get showValues(): boolean;
|
|
55
|
-
set showValues(value: boolean);
|
|
56
|
-
/**
|
|
57
|
-
* 获取或设置热力图类型
|
|
58
|
-
*/
|
|
59
|
-
get heattype(): HeatmapType;
|
|
60
|
-
set heattype(value: HeatmapType);
|
|
61
|
-
/**
|
|
62
|
-
* 获取或设置热力图图层名称(仅水平图有效)
|
|
63
|
-
*/
|
|
64
|
-
get layerName(): string;
|
|
65
|
-
set layerName(value: string);
|
|
66
|
-
/**
|
|
67
|
-
* 实例化一个热力图对象
|
|
68
|
-
* @param entity 楼层
|
|
69
|
-
*/
|
|
70
|
-
constructor(entity: Entity);
|
|
71
|
-
private _fixMirrorBug;
|
|
72
|
-
/**
|
|
73
|
-
* 创建
|
|
74
|
-
*/
|
|
75
|
-
private _build;
|
|
76
|
-
/**
|
|
77
|
-
* 拆毁
|
|
78
|
-
*/
|
|
79
|
-
unbuild(): void;
|
|
80
|
-
/**
|
|
81
|
-
* 渲染
|
|
82
|
-
*/
|
|
83
|
-
render(): Promise<void>;
|
|
84
|
-
/**
|
|
85
|
-
* 清理
|
|
86
|
-
*/
|
|
87
|
-
clean(): void;
|
|
88
|
-
/**
|
|
89
|
-
* 显示指定类型的热力图
|
|
90
|
-
* @param type 类型
|
|
91
|
-
* @param layerName 层名称
|
|
92
|
-
*/
|
|
93
|
-
show(type: HeatmapType, layerName?: string): Promise<void>;
|
|
94
|
-
dispose(): void;
|
|
95
|
-
}
|
|
1
|
+
import { Component } from '.././Component';
|
|
2
|
+
import { Entity } from '../../Entity';
|
|
3
|
+
import { HeatmapType } from './HeatmapType';
|
|
4
|
+
import { Mesh, ParticleSystem } from '../../../runtime';
|
|
5
|
+
import { Room } from '../../Room';
|
|
6
|
+
import { Billboard } from '../../../gui/Billboard';
|
|
7
|
+
/**
|
|
8
|
+
* 热力图
|
|
9
|
+
*/
|
|
10
|
+
export declare class Heatmap extends Component {
|
|
11
|
+
/**
|
|
12
|
+
* 最小值
|
|
13
|
+
*/
|
|
14
|
+
static min: number;
|
|
15
|
+
/**
|
|
16
|
+
* 最大值
|
|
17
|
+
*/
|
|
18
|
+
static max: number;
|
|
19
|
+
/**
|
|
20
|
+
* 缩放倍数
|
|
21
|
+
*/
|
|
22
|
+
static scale: number;
|
|
23
|
+
/**
|
|
24
|
+
* 单位(显示数值时使用)
|
|
25
|
+
*/
|
|
26
|
+
static unit: string;
|
|
27
|
+
/**
|
|
28
|
+
* 图层
|
|
29
|
+
*/
|
|
30
|
+
static layers: {
|
|
31
|
+
name: string;
|
|
32
|
+
offsetY: number;
|
|
33
|
+
}[];
|
|
34
|
+
private _heattype;
|
|
35
|
+
private _layerName;
|
|
36
|
+
private _built;
|
|
37
|
+
_meshes: Mesh[];
|
|
38
|
+
_particleSystems: ParticleSystem[];
|
|
39
|
+
_tips: Billboard[];
|
|
40
|
+
private _renderType;
|
|
41
|
+
private _renderLayerName;
|
|
42
|
+
/**
|
|
43
|
+
* 数据点位列表
|
|
44
|
+
*/
|
|
45
|
+
readonly points: Entity[];
|
|
46
|
+
/**
|
|
47
|
+
* 房间列表
|
|
48
|
+
*/
|
|
49
|
+
readonly rooms: Room[];
|
|
50
|
+
private _showValues;
|
|
51
|
+
/**
|
|
52
|
+
* 获取或设置是否显示值
|
|
53
|
+
*/
|
|
54
|
+
get showValues(): boolean;
|
|
55
|
+
set showValues(value: boolean);
|
|
56
|
+
/**
|
|
57
|
+
* 获取或设置热力图类型
|
|
58
|
+
*/
|
|
59
|
+
get heattype(): HeatmapType;
|
|
60
|
+
set heattype(value: HeatmapType);
|
|
61
|
+
/**
|
|
62
|
+
* 获取或设置热力图图层名称(仅水平图有效)
|
|
63
|
+
*/
|
|
64
|
+
get layerName(): string;
|
|
65
|
+
set layerName(value: string);
|
|
66
|
+
/**
|
|
67
|
+
* 实例化一个热力图对象
|
|
68
|
+
* @param entity 楼层
|
|
69
|
+
*/
|
|
70
|
+
constructor(entity: Entity);
|
|
71
|
+
private _fixMirrorBug;
|
|
72
|
+
/**
|
|
73
|
+
* 创建
|
|
74
|
+
*/
|
|
75
|
+
private _build;
|
|
76
|
+
/**
|
|
77
|
+
* 拆毁
|
|
78
|
+
*/
|
|
79
|
+
unbuild(): void;
|
|
80
|
+
/**
|
|
81
|
+
* 渲染
|
|
82
|
+
*/
|
|
83
|
+
render(): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* 清理
|
|
86
|
+
*/
|
|
87
|
+
clean(): void;
|
|
88
|
+
/**
|
|
89
|
+
* 显示指定类型的热力图
|
|
90
|
+
* @param type 类型
|
|
91
|
+
* @param layerName 层名称
|
|
92
|
+
*/
|
|
93
|
+
show(type: HeatmapType, layerName?: string): Promise<void>;
|
|
94
|
+
dispose(): void;
|
|
95
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 热力图类型
|
|
3
|
-
*/
|
|
4
|
-
export declare enum HeatmapType {
|
|
5
|
-
/**
|
|
6
|
-
* 无
|
|
7
|
-
*/
|
|
8
|
-
None = 1,
|
|
9
|
-
/**
|
|
10
|
-
* 水平
|
|
11
|
-
*/
|
|
12
|
-
Horizontal = 2,
|
|
13
|
-
/**
|
|
14
|
-
* 垂直
|
|
15
|
-
*/
|
|
16
|
-
Vertical = 4
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* 热力图类型
|
|
3
|
+
*/
|
|
4
|
+
export declare enum HeatmapType {
|
|
5
|
+
/**
|
|
6
|
+
* 无
|
|
7
|
+
*/
|
|
8
|
+
None = 1,
|
|
9
|
+
/**
|
|
10
|
+
* 水平
|
|
11
|
+
*/
|
|
12
|
+
Horizontal = 2,
|
|
13
|
+
/**
|
|
14
|
+
* 垂直
|
|
15
|
+
*/
|
|
16
|
+
Vertical = 4
|
|
17
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Heatmap } from './Heatmap';
|
|
2
|
-
/**
|
|
3
|
-
* 创建水平图
|
|
4
|
-
* @param heatmap 热力图对象
|
|
5
|
-
*/
|
|
6
|
-
export declare function buildHorizontal(heatmap: Heatmap): Promise<void>;
|
|
1
|
+
import { Heatmap } from './Heatmap';
|
|
2
|
+
/**
|
|
3
|
+
* 创建水平图
|
|
4
|
+
* @param heatmap 热力图对象
|
|
5
|
+
*/
|
|
6
|
+
export declare function buildHorizontal(heatmap: Heatmap): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Heatmap } from "./Heatmap";
|
|
2
|
-
export declare function buildTips(heatmap: Heatmap): void;
|
|
1
|
+
import { Heatmap } from "./Heatmap";
|
|
2
|
+
export declare function buildTips(heatmap: Heatmap): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Heatmap } from './Heatmap';
|
|
2
|
-
/**
|
|
3
|
-
* 创建垂直图
|
|
4
|
-
* @param heatmap 热力图对象
|
|
5
|
-
*/
|
|
6
|
-
export declare function buildVertical(heatmap: Heatmap): Promise<void>;
|
|
1
|
+
import { Heatmap } from './Heatmap';
|
|
2
|
+
/**
|
|
3
|
+
* 创建垂直图
|
|
4
|
+
* @param heatmap 热力图对象
|
|
5
|
+
*/
|
|
6
|
+
export declare function buildVertical(heatmap: Heatmap): Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Heatmap } from './Heatmap';
|
|
2
|
-
/**
|
|
3
|
-
* 更新水平图
|
|
4
|
-
* @param heatmap
|
|
5
|
-
*/
|
|
6
|
-
export declare function updateHorizontal(heatmap: Heatmap): Promise<void>;
|
|
1
|
+
import { Heatmap } from './Heatmap';
|
|
2
|
+
/**
|
|
3
|
+
* 更新水平图
|
|
4
|
+
* @param heatmap
|
|
5
|
+
*/
|
|
6
|
+
export declare function updateHorizontal(heatmap: Heatmap): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Heatmap } from "./Heatmap";
|
|
2
|
-
export declare function updateTips(heatmap: Heatmap): void;
|
|
1
|
+
import { Heatmap } from "./Heatmap";
|
|
2
|
+
export declare function updateTips(heatmap: Heatmap): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Heatmap } from './Heatmap';
|
|
2
|
-
export declare function updateVertical(heatmap: Heatmap): Promise<void>;
|
|
1
|
+
import { Heatmap } from './Heatmap';
|
|
2
|
+
export declare function updateVertical(heatmap: Heatmap): Promise<void>;
|