@glowjs/core 2025.8.21 → 2025.9.3-webgpu

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.
Files changed (237) hide show
  1. package/dist/glow.core.d.ts +8 -0
  2. package/dist/glow.core.js +1 -1
  3. package/dist/typings/base/Base.d.ts +24 -24
  4. package/dist/typings/base/IDisposable.d.ts +9 -9
  5. package/dist/typings/camera/AutoRotate.d.ts +36 -36
  6. package/dist/typings/camera/CameraCacheData.d.ts +21 -21
  7. package/dist/typings/camera/CameraMgr.d.ts +353 -351
  8. package/dist/typings/camera/CameraMode.d.ts +13 -13
  9. package/dist/typings/camera/CameraPerson.d.ts +13 -13
  10. package/dist/typings/camera/CustomArcRotateCameraKeyboardMoveInput.d.ts +28 -28
  11. package/dist/typings/camera/CustomArcRotateCameraMouseWheelInput.d.ts +17 -17
  12. package/dist/typings/camera/EasingFunction.d.ts +36 -36
  13. package/dist/typings/camera/FlyData.d.ts +29 -29
  14. package/dist/typings/camera/OrthographicView.d.ts +21 -21
  15. package/dist/typings/core/App.d.ts +169 -162
  16. package/dist/typings/core/AppOptions.d.ts +25 -25
  17. package/dist/typings/core/Size.d.ts +13 -13
  18. package/dist/typings/core/create.d.ts +9 -9
  19. package/dist/typings/core/version.d.ts +1 -1
  20. package/dist/typings/effect/Background.d.ts +12 -12
  21. package/dist/typings/effect/ColorCorrection.d.ts +129 -129
  22. package/dist/typings/effect/Decoration.d.ts +10 -10
  23. package/dist/typings/effect/EffectData.d.ts +197 -197
  24. package/dist/typings/effect/EffectMgr.d.ts +79 -79
  25. package/dist/typings/effect/EnvironmentTexture.d.ts +20 -20
  26. package/dist/typings/effect/EnvironmentTextureSource.d.ts +25 -25
  27. package/dist/typings/effect/Fog.d.ts +16 -16
  28. package/dist/typings/effect/Glow.d.ts +43 -43
  29. package/dist/typings/effect/HighLight.d.ts +49 -49
  30. package/dist/typings/effect/ImageProcessing.d.ts +43 -43
  31. package/dist/typings/effect/Light.d.ts +38 -38
  32. package/dist/typings/effect/Particle.d.ts +13 -13
  33. package/dist/typings/effect/ParticleData.d.ts +20 -20
  34. package/dist/typings/effect/SkyBox.d.ts +22 -22
  35. package/dist/typings/effect/ToneMappingType.d.ts +13 -13
  36. package/dist/typings/effect/defaultEffectValue.d.ts +5 -5
  37. package/dist/typings/entity/Building.d.ts +119 -119
  38. package/dist/typings/entity/Campus.d.ts +35 -35
  39. package/dist/typings/entity/Corner.d.ts +43 -43
  40. package/dist/typings/entity/DecorateGrid.d.ts +21 -21
  41. package/dist/typings/entity/DoorWindow.d.ts +77 -77
  42. package/dist/typings/entity/DoorWindowDirection.d.ts +21 -21
  43. package/dist/typings/entity/Entity.d.ts +393 -393
  44. package/dist/typings/entity/EntityType.d.ts +81 -81
  45. package/dist/typings/entity/Floor.d.ts +128 -128
  46. package/dist/typings/entity/Group.d.ts +34 -34
  47. package/dist/typings/entity/LeakLine.d.ts +44 -44
  48. package/dist/typings/entity/LevelMgr.d.ts +84 -84
  49. package/dist/typings/entity/ManualWall.d.ts +85 -85
  50. package/dist/typings/entity/ManualWallBuilder.d.ts +157 -157
  51. package/dist/typings/entity/MeshFaceData.d.ts +25 -25
  52. package/dist/typings/entity/OtherEntity.d.ts +24 -24
  53. package/dist/typings/entity/POI.d.ts +90 -90
  54. package/dist/typings/entity/Path.d.ts +1 -1
  55. package/dist/typings/entity/Pipe.d.ts +68 -68
  56. package/dist/typings/entity/PrefabWall.d.ts +57 -57
  57. package/dist/typings/entity/Room.d.ts +167 -167
  58. package/dist/typings/entity/Text3D.d.ts +70 -70
  59. package/dist/typings/entity/Thing.d.ts +142 -142
  60. package/dist/typings/entity/Tracker.d.ts +34 -34
  61. package/dist/typings/entity/VideoFusion.d.ts +61 -61
  62. package/dist/typings/entity/ViewInfo.d.ts +14 -14
  63. package/dist/typings/entity/Wall.d.ts +95 -95
  64. package/dist/typings/entity/building/buildBuilding.d.ts +7 -7
  65. package/dist/typings/entity/building/buildBuildingOnClient.d.ts +2 -2
  66. package/dist/typings/entity/building/buildBuildingOnEditor.d.ts +2 -2
  67. package/dist/typings/entity/component/Animator.d.ts +52 -52
  68. package/dist/typings/entity/component/AutoOpenDoor.d.ts +24 -24
  69. package/dist/typings/entity/component/Component.d.ts +22 -22
  70. package/dist/typings/entity/component/PathAnimation.d.ts +63 -63
  71. package/dist/typings/entity/component/Style.d.ts +51 -51
  72. package/dist/typings/entity/component/archive/ArchiveBox.d.ts +97 -97
  73. package/dist/typings/entity/component/archive/ArchiveCabinet.d.ts +120 -120
  74. package/dist/typings/entity/component/archive/ArchiveCabinetGroup.d.ts +169 -169
  75. package/dist/typings/entity/component/archive/ArchiveCabinetGroupCount.d.ts +16 -16
  76. package/dist/typings/entity/component/archive/ArchiveCabinetGroupState.d.ts +21 -21
  77. package/dist/typings/entity/component/archive/ArchiveDoor.d.ts +33 -33
  78. package/dist/typings/entity/component/archive/ArchiveGrid.d.ts +47 -47
  79. package/dist/typings/entity/component/archive/ArchiveMgr.d.ts +36 -36
  80. package/dist/typings/entity/component/archive/ColumnPosition.d.ts +17 -17
  81. package/dist/typings/entity/component/archive/createArchiveGrid.d.ts +6 -6
  82. package/dist/typings/entity/component/archive/createColumnTag.d.ts +6 -6
  83. package/dist/typings/entity/component/archive/events/onAppMove.d.ts +6 -6
  84. package/dist/typings/entity/component/archive/events/onAppRightDoubleClick.d.ts +6 -6
  85. package/dist/typings/entity/component/archive/events/onGroupLeftDoubleClick.d.ts +8 -8
  86. package/dist/typings/entity/component/archive/events/onGroupPointerLeave.d.ts +6 -6
  87. package/dist/typings/entity/component/archive/events/onGroupRightClick.d.ts +8 -8
  88. package/dist/typings/entity/component/archive/events/onLevelChanged.d.ts +8 -8
  89. package/dist/typings/entity/component/archive/getCapacityOriginBox.d.ts +6 -6
  90. package/dist/typings/entity/component/cabinet/AssetData.d.ts +19 -19
  91. package/dist/typings/entity/component/cabinet/BoardCard.d.ts +63 -63
  92. package/dist/typings/entity/component/cabinet/Cabinet.d.ts +121 -121
  93. package/dist/typings/entity/component/cabinet/CabinetCapacityData.d.ts +17 -17
  94. package/dist/typings/entity/component/cabinet/CabinetMgr.d.ts +54 -54
  95. package/dist/typings/entity/component/cabinet/CabinetTagStyleConfig.d.ts +25 -25
  96. package/dist/typings/entity/component/cabinet/NetworkPort.d.ts +46 -46
  97. package/dist/typings/entity/component/cabinet/RackMounted.d.ts +109 -109
  98. package/dist/typings/entity/component/cabinet/ResImageSource.d.ts +13 -13
  99. package/dist/typings/entity/component/cabinet/events/onAppMove.d.ts +6 -6
  100. package/dist/typings/entity/component/cabinet/events/onAppRightDoubleClick.d.ts +6 -6
  101. package/dist/typings/entity/component/cabinet/events/onCabinetLeftDoubleClick.d.ts +7 -7
  102. package/dist/typings/entity/component/cabinet/events/onCabinetPointerLeave.d.ts +2 -2
  103. package/dist/typings/entity/component/cabinet/events/onCabinetRightClick.d.ts +3 -3
  104. package/dist/typings/entity/component/cabinet/events/onLevelChanged.d.ts +8 -8
  105. package/dist/typings/entity/component/heatmap/Heatmap.d.ts +95 -95
  106. package/dist/typings/entity/component/heatmap/HeatmapType.d.ts +17 -17
  107. package/dist/typings/entity/component/heatmap/buildHorizontal.d.ts +6 -6
  108. package/dist/typings/entity/component/heatmap/buildTips.d.ts +2 -2
  109. package/dist/typings/entity/component/heatmap/buildVertical.d.ts +6 -6
  110. package/dist/typings/entity/component/heatmap/updateHorizontal.d.ts +6 -6
  111. package/dist/typings/entity/component/heatmap/updateTips.d.ts +2 -2
  112. package/dist/typings/entity/component/heatmap/updateVertical.d.ts +2 -2
  113. package/dist/typings/entity/component/roaming/Roaming.d.ts +116 -116
  114. package/dist/typings/entity/component/roaming/pencil.d.ts +1 -1
  115. package/dist/typings/entity/init/afterLevelCreate.d.ts +6 -6
  116. package/dist/typings/entity/init/setBuildings.d.ts +2 -2
  117. package/dist/typings/entity/init/setDefaultView.d.ts +6 -6
  118. package/dist/typings/entity/init/setPOILink.d.ts +5 -5
  119. package/dist/typings/entity/init/setTransition.d.ts +6 -6
  120. package/dist/typings/entity/path/Path.d.ts +53 -53
  121. package/dist/typings/entity/path/attachDrag.d.ts +2 -2
  122. package/dist/typings/entity/path/createLineMeshData.d.ts +3 -3
  123. package/dist/typings/entity/path/createPointInstance.d.ts +6 -6
  124. package/dist/typings/entity/path/detachDrag.d.ts +2 -2
  125. package/dist/typings/entity/path/dragData.d.ts +9 -9
  126. package/dist/typings/entity/path/getLineMaterial.d.ts +2 -2
  127. package/dist/typings/entity/placement.d.ts +20 -20
  128. package/dist/typings/entity/poi_plus/Container.d.ts +14 -14
  129. package/dist/typings/entity/poi_plus/Img.d.ts +21 -21
  130. package/dist/typings/entity/poi_plus/Line.d.ts +15 -15
  131. package/dist/typings/entity/poi_plus/POIPlus.d.ts +138 -138
  132. package/dist/typings/entity/poi_plus/Txt.d.ts +20 -20
  133. package/dist/typings/entity/poi_plus/TxtAlign.d.ts +9 -9
  134. package/dist/typings/entity/poi_plus/render.d.ts +7 -7
  135. package/dist/typings/entity/util/box.d.ts +9 -9
  136. package/dist/typings/entity/util/createManualWallEdgeMaterial.d.ts +8 -8
  137. package/dist/typings/entity/util/createManualWallFaceMaterial.d.ts +8 -8
  138. package/dist/typings/entity/util/createManualWallMesh.d.ts +12 -12
  139. package/dist/typings/entity/util/createMergedMesh.d.ts +13 -13
  140. package/dist/typings/entity/util/createPathArrowIcon.d.ts +4 -4
  141. package/dist/typings/entity/util/createPathCircleIcon.d.ts +4 -4
  142. package/dist/typings/entity/util/createRoomMaterial.d.ts +3 -3
  143. package/dist/typings/entity/util/createRoomMesh.d.ts +14 -14
  144. package/dist/typings/entity/util/getPathIconMesh.d.ts +7 -7
  145. package/dist/typings/entity/util/getPathLineMesh.d.ts +2 -2
  146. package/dist/typings/entity/util/getPerWeight.d.ts +6 -6
  147. package/dist/typings/entity/util/hideAllBoundingBox.d.ts +6 -6
  148. package/dist/typings/entity/util/setRes.d.ts +5 -5
  149. package/dist/typings/entity/util/smoothTube.d.ts +7 -7
  150. package/dist/typings/entity/util/technologyBuildingMaterial.d.ts +67 -67
  151. package/dist/typings/event/EventArg.d.ts +14 -14
  152. package/dist/typings/event/EventDispatcher.d.ts +67 -67
  153. package/dist/typings/event/EventMgr.d.ts +110 -110
  154. package/dist/typings/event/EventObject.d.ts +26 -26
  155. package/dist/typings/event/EventType.d.ts +173 -173
  156. package/dist/typings/event/KeyCode.d.ts +55 -55
  157. package/dist/typings/event/PropertyChangedData.d.ts +21 -21
  158. package/dist/typings/gui/Billboard.d.ts +104 -104
  159. package/dist/typings/gui/BillboardOptions.d.ts +62 -62
  160. package/dist/typings/gui/FPSBar.d.ts +25 -25
  161. package/dist/typings/gui/GUIMgr.d.ts +41 -41
  162. package/dist/typings/gui/GradientRectangle.d.ts +57 -57
  163. package/dist/typings/gui/InfoListDataItem.d.ts +17 -17
  164. package/dist/typings/gui/InfoListPanel.d.ts +106 -106
  165. package/dist/typings/gui/LinkTip.d.ts +30 -30
  166. package/dist/typings/gui/PerformancePanel.d.ts +43 -43
  167. package/dist/typings/gui/RectangleProgress.d.ts +20 -20
  168. package/dist/typings/gui/ToolTip.d.ts +34 -34
  169. package/dist/typings/gui/getTextWidth.d.ts +6 -6
  170. package/dist/typings/index.d.ts +93 -93
  171. package/dist/typings/material/MaterialMgr.d.ts +18 -18
  172. package/dist/typings/misc/Point2D.d.ts +4 -4
  173. package/dist/typings/misc/Point3D.d.ts +4 -4
  174. package/dist/typings/misc/Point4D.d.ts +4 -4
  175. package/dist/typings/misc/SystemResId.d.ts +105 -105
  176. package/dist/typings/misc/blobToDataURL.d.ts +5 -5
  177. package/dist/typings/misc/cookie.d.ts +17 -17
  178. package/dist/typings/misc/dataURLtoBlob.d.ts +5 -5
  179. package/dist/typings/misc/getQueryString.d.ts +5 -5
  180. package/dist/typings/misc/guid.d.ts +21 -21
  181. package/dist/typings/misc/http.d.ts +46 -46
  182. package/dist/typings/misc/index.d.ts +15 -15
  183. package/dist/typings/misc/isHexColor.d.ts +5 -5
  184. package/dist/typings/misc/isLAN.d.ts +4 -4
  185. package/dist/typings/misc/math/Line.d.ts +5 -5
  186. package/dist/typings/misc/math/Point.d.ts +7 -7
  187. package/dist/typings/misc/math/compare/EPSILON.d.ts +4 -4
  188. package/dist/typings/misc/math/compare/greateThanOrEqual.d.ts +8 -8
  189. package/dist/typings/misc/math/compare/greaterThan.d.ts +7 -7
  190. package/dist/typings/misc/math/compare/lessThan.d.ts +7 -7
  191. package/dist/typings/misc/math/compare/lessThanOrEqual.d.ts +7 -7
  192. package/dist/typings/misc/math/compare/withinEpsilon.d.ts +9 -9
  193. package/dist/typings/misc/math/index.d.ts +34 -34
  194. package/dist/typings/misc/math/line/distanceToParallelLine.d.ts +7 -7
  195. package/dist/typings/misc/math/line/distanceToProjection.d.ts +8 -8
  196. package/dist/typings/misc/math/line/getLineIntersection.d.ts +9 -9
  197. package/dist/typings/misc/math/line/isLineParallel.d.ts +7 -7
  198. package/dist/typings/misc/math/line/project.d.ts +8 -8
  199. package/dist/typings/misc/math/line/relateToPoint.d.ts +8 -8
  200. package/dist/typings/misc/math/round.d.ts +6 -6
  201. package/dist/typings/misc/math/segment/getSegmentIntersection.d.ts +8 -8
  202. package/dist/typings/misc/math/segment/getSegmentPartIncludePoint.d.ts +8 -8
  203. package/dist/typings/misc/math/segment/onSegment.d.ts +8 -8
  204. package/dist/typings/misc/math/segment/segmentFullInclude.d.ts +8 -8
  205. package/dist/typings/misc/math/vec/addTo.d.ts +7 -7
  206. package/dist/typings/misc/math/vec/angleTo.d.ts +7 -7
  207. package/dist/typings/misc/math/vec/centerTo.d.ts +7 -7
  208. package/dist/typings/misc/math/vec/cross.d.ts +7 -7
  209. package/dist/typings/misc/math/vec/distanceTo.d.ts +7 -7
  210. package/dist/typings/misc/math/vec/dot.d.ts +7 -7
  211. package/dist/typings/misc/math/vec/ignoreYAxis.d.ts +7 -7
  212. package/dist/typings/misc/math/vec/isClockwise.d.ts +6 -6
  213. package/dist/typings/misc/math/vec/lengthTo.d.ts +6 -6
  214. package/dist/typings/misc/math/vec/multiplyTo.d.ts +7 -7
  215. package/dist/typings/misc/math/vec/normalizeTo.d.ts +6 -6
  216. package/dist/typings/misc/math/vec/scaleTo.d.ts +7 -7
  217. package/dist/typings/misc/math/vec/subtractTo.d.ts +7 -7
  218. package/dist/typings/misc/math/vec/toPoint.d.ts +8 -8
  219. package/dist/typings/misc/math/vec/toVector3.d.ts +7 -7
  220. package/dist/typings/misc/math/vec/verticalVector.d.ts +7 -7
  221. package/dist/typings/misc/object.d.ts +16 -16
  222. package/dist/typings/misc/randomColor.d.ts +4 -4
  223. package/dist/typings/misc/runAsyncTasks.d.ts +5 -5
  224. package/dist/typings/misc/to.d.ts +5 -5
  225. package/dist/typings/res/ResCacheData.d.ts +13 -13
  226. package/dist/typings/res/ResOptions.d.ts +89 -89
  227. package/dist/typings/res/ResPool.d.ts +72 -72
  228. package/dist/typings/res/registerBufferAndSetEffect.d.ts +7 -7
  229. package/dist/typings/res/replaceInstancedMesh.d.ts +6 -6
  230. package/dist/typings/runtime/RunTime.d.ts +137 -137
  231. package/dist/typings/runtime/babylonjs/babylonjs-core.d.ts +77 -77
  232. package/dist/typings/runtime/babylonjs/babylonjs-gui.d.ts +12 -12
  233. package/dist/typings/runtime/babylonjs/babylonjs-loaders.d.ts +1 -1
  234. package/dist/typings/runtime/babylonjs/babylonjs-materials.d.ts +1 -1
  235. package/dist/typings/runtime/index.d.ts +8 -8
  236. package/dist/typings/runtime/tweenjs/index.d.ts +1 -1
  237. package/package.json +6 -6
@@ -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>;
@@ -1,116 +1,116 @@
1
- import { EventArg } from '../../../event/EventArg';
2
- import { Point3D } from '../../../misc';
3
- import { Entity } from '../../Entity';
4
- import { Path } from '../../Path';
5
- import { Thing } from '../../Thing';
6
- import { Component } from '../Component';
7
- import { PathAnimation } from '../PathAnimation';
8
- /**
9
- * 漫游
10
- */
11
- export declare class Roaming extends Component {
12
- private static _app;
13
- private _edit;
14
- /**
15
- * 路径
16
- */
17
- _path: Path;
18
- /**
19
- * 角色
20
- */
21
- _character: Thing;
22
- /**
23
- * 路径动画
24
- */
25
- _pathAnimation: PathAnimation;
26
- private _appEvents;
27
- /**
28
- * 获取或设置垂直偏移
29
- */
30
- get offsetY(): number;
31
- set offsetY(value: number);
32
- /**
33
- * 相机水平方向角度默认值
34
- */
35
- static defaultAlpha: number;
36
- /**
37
- * 相机垂直方向角度默认值
38
- */
39
- static defaultBeta: number;
40
- /**
41
- * 相机到角色距离默认值
42
- */
43
- static defaultRadius: number;
44
- /**
45
- * 实例化一个漫游对象
46
- * @param entity 实体对象
47
- */
48
- constructor(entity: Entity);
49
- /**
50
- * 获取或设置路径点集合
51
- */
52
- get points(): Point3D[];
53
- set points(value: Point3D[]);
54
- /**
55
- * 获取或设置暂停
56
- */
57
- get pause(): boolean;
58
- set pause(value: boolean);
59
- /**
60
- * 获取或设置速度
61
- */
62
- get speed(): number;
63
- set speed(value: number);
64
- /**
65
- * 获取或设置路径可见性
66
- */
67
- get pathVisible(): boolean;
68
- set pathVisible(value: boolean);
69
- /**
70
- * 是否正在执行漫游
71
- */
72
- get executing(): boolean;
73
- /**
74
- * 监听事件
75
- * @param type 事件类型
76
- * @param callback 回调函数
77
- */
78
- on(type: 'EVENT_PAUSE' | 'EVENT_CONTINUE' | 'EVENT_ARRIVE' | 'EVENT_ENDPATHEDIT' | 'EVENT_POINTCLICK', callback: (ev: EventArg) => void): string;
79
- /**
80
- * 移除指定编号的事件
81
- * @param id 事件唯一编号
82
- */
83
- off(id: string): void;
84
- /**
85
- * 开始路径编辑
86
- */
87
- startPathEdit(): void;
88
- /**
89
- * 结束路径编辑
90
- */
91
- private _endPathEdit;
92
- /**
93
- * 创建路径
94
- */
95
- buildPath(): void;
96
- /**
97
- * 开始漫游
98
- * @param person 人称,true表示第一人称,false表示第三人称
99
- */
100
- startToRoam(person: boolean): Promise<void>;
101
- /**
102
- * 结束漫游
103
- */
104
- endToRoam(): void;
105
- private _setAppEvents;
106
- private _onLeftClick;
107
- private _onAfterFrame;
108
- /**
109
- * 结束路径编辑
110
- */
111
- endPathEdit(): Promise<void>;
112
- /**
113
- * 清空路径
114
- */
115
- clearPath(): void;
116
- }
1
+ import { EventArg } from '../../../event/EventArg';
2
+ import { Point3D } from '../../../misc';
3
+ import { Entity } from '../../Entity';
4
+ import { Path } from '../../Path';
5
+ import { Thing } from '../../Thing';
6
+ import { Component } from '../Component';
7
+ import { PathAnimation } from '../PathAnimation';
8
+ /**
9
+ * 漫游
10
+ */
11
+ export declare class Roaming extends Component {
12
+ private static _app;
13
+ private _edit;
14
+ /**
15
+ * 路径
16
+ */
17
+ _path: Path;
18
+ /**
19
+ * 角色
20
+ */
21
+ _character: Thing;
22
+ /**
23
+ * 路径动画
24
+ */
25
+ _pathAnimation: PathAnimation;
26
+ private _appEvents;
27
+ /**
28
+ * 获取或设置垂直偏移
29
+ */
30
+ get offsetY(): number;
31
+ set offsetY(value: number);
32
+ /**
33
+ * 相机水平方向角度默认值
34
+ */
35
+ static defaultAlpha: number;
36
+ /**
37
+ * 相机垂直方向角度默认值
38
+ */
39
+ static defaultBeta: number;
40
+ /**
41
+ * 相机到角色距离默认值
42
+ */
43
+ static defaultRadius: number;
44
+ /**
45
+ * 实例化一个漫游对象
46
+ * @param entity 实体对象
47
+ */
48
+ constructor(entity: Entity);
49
+ /**
50
+ * 获取或设置路径点集合
51
+ */
52
+ get points(): Point3D[];
53
+ set points(value: Point3D[]);
54
+ /**
55
+ * 获取或设置暂停
56
+ */
57
+ get pause(): boolean;
58
+ set pause(value: boolean);
59
+ /**
60
+ * 获取或设置速度
61
+ */
62
+ get speed(): number;
63
+ set speed(value: number);
64
+ /**
65
+ * 获取或设置路径可见性
66
+ */
67
+ get pathVisible(): boolean;
68
+ set pathVisible(value: boolean);
69
+ /**
70
+ * 是否正在执行漫游
71
+ */
72
+ get executing(): boolean;
73
+ /**
74
+ * 监听事件
75
+ * @param type 事件类型
76
+ * @param callback 回调函数
77
+ */
78
+ on(type: 'EVENT_PAUSE' | 'EVENT_CONTINUE' | 'EVENT_ARRIVE' | 'EVENT_ENDPATHEDIT' | 'EVENT_POINTCLICK', callback: (ev: EventArg) => void): string;
79
+ /**
80
+ * 移除指定编号的事件
81
+ * @param id 事件唯一编号
82
+ */
83
+ off(id: string): void;
84
+ /**
85
+ * 开始路径编辑
86
+ */
87
+ startPathEdit(): void;
88
+ /**
89
+ * 结束路径编辑
90
+ */
91
+ private _endPathEdit;
92
+ /**
93
+ * 创建路径
94
+ */
95
+ buildPath(): void;
96
+ /**
97
+ * 开始漫游
98
+ * @param person 人称,true表示第一人称,false表示第三人称
99
+ */
100
+ startToRoam(person: boolean): Promise<void>;
101
+ /**
102
+ * 结束漫游
103
+ */
104
+ endToRoam(): void;
105
+ private _setAppEvents;
106
+ private _onLeftClick;
107
+ private _onAfterFrame;
108
+ /**
109
+ * 结束路径编辑
110
+ */
111
+ endPathEdit(): Promise<void>;
112
+ /**
113
+ * 清空路径
114
+ */
115
+ clearPath(): void;
116
+ }
@@ -1 +1 @@
1
- export declare let pencil: string;
1
+ export declare let pencil: string;
@@ -1,6 +1,6 @@
1
- import { LevelMgr } from "../LevelMgr";
2
- /**
3
- * 执行一些默认的初始化操作
4
- * @param app 应用
5
- */
6
- export declare function afterLevelCreate(this: LevelMgr): void;
1
+ import { LevelMgr } from "../LevelMgr";
2
+ /**
3
+ * 执行一些默认的初始化操作
4
+ * @param app 应用
5
+ */
6
+ export declare function afterLevelCreate(this: LevelMgr): void;
@@ -1,2 +1,2 @@
1
- import { LevelMgr } from "../LevelMgr";
2
- export declare function setBuildings(this: LevelMgr): void;
1
+ import { LevelMgr } from "../LevelMgr";
2
+ export declare function setBuildings(this: LevelMgr): void;
@@ -1,6 +1,6 @@
1
- import { LevelMgr } from "../LevelMgr";
2
- /**
3
- * 设置默认视角
4
- * @param this 场景管理器
5
- */
6
- export declare function setDefaultView(this: LevelMgr): void;
1
+ import { LevelMgr } from "../LevelMgr";
2
+ /**
3
+ * 设置默认视角
4
+ * @param this 场景管理器
5
+ */
6
+ export declare function setDefaultView(this: LevelMgr): void;
@@ -1,5 +1,5 @@
1
- import { LevelMgr } from "../LevelMgr";
2
- /**
3
- * 设置POI的链接
4
- */
5
- export declare function setPOILink(this: LevelMgr): void;
1
+ import { LevelMgr } from "../LevelMgr";
2
+ /**
3
+ * 设置POI的链接
4
+ */
5
+ export declare function setPOILink(this: LevelMgr): void;
@@ -1,6 +1,6 @@
1
- import { LevelMgr } from "../LevelMgr";
2
- /**
3
- * 设置转场
4
- * @param this
5
- */
6
- export declare function setTransition(this: LevelMgr): void;
1
+ import { LevelMgr } from "../LevelMgr";
2
+ /**
3
+ * 设置转场
4
+ * @param this
5
+ */
6
+ export declare function setTransition(this: LevelMgr): void;