@glowjs/core 2025.9.12 → 2025.10.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 +73 -2
- package/dist/glow.core.js +1 -1
- package/package.json +2 -17
- package/dist/typings/base/Base.d.ts +0 -24
- package/dist/typings/base/IDisposable.d.ts +0 -9
- package/dist/typings/camera/AutoRotate.d.ts +0 -36
- package/dist/typings/camera/CameraCacheData.d.ts +0 -21
- package/dist/typings/camera/CameraMgr.d.ts +0 -353
- package/dist/typings/camera/CameraMode.d.ts +0 -13
- package/dist/typings/camera/CameraPerson.d.ts +0 -13
- package/dist/typings/camera/CustomArcRotateCameraKeyboardMoveInput.d.ts +0 -28
- package/dist/typings/camera/CustomArcRotateCameraMouseWheelInput.d.ts +0 -17
- package/dist/typings/camera/EasingFunction.d.ts +0 -36
- package/dist/typings/camera/FlyData.d.ts +0 -29
- package/dist/typings/camera/OrthographicView.d.ts +0 -21
- package/dist/typings/core/App.d.ts +0 -162
- package/dist/typings/core/AppOptions.d.ts +0 -25
- package/dist/typings/core/Size.d.ts +0 -13
- package/dist/typings/core/create.d.ts +0 -9
- package/dist/typings/core/version.d.ts +0 -1
- package/dist/typings/effect/Background.d.ts +0 -12
- package/dist/typings/effect/ColorCorrection.d.ts +0 -129
- package/dist/typings/effect/Decoration.d.ts +0 -10
- package/dist/typings/effect/EffectData.d.ts +0 -197
- package/dist/typings/effect/EffectMgr.d.ts +0 -79
- package/dist/typings/effect/EnvironmentTexture.d.ts +0 -20
- package/dist/typings/effect/EnvironmentTextureSource.d.ts +0 -25
- package/dist/typings/effect/Fog.d.ts +0 -16
- package/dist/typings/effect/Glow.d.ts +0 -43
- package/dist/typings/effect/HighLight.d.ts +0 -49
- package/dist/typings/effect/ImageProcessing.d.ts +0 -43
- package/dist/typings/effect/Light.d.ts +0 -38
- package/dist/typings/effect/Particle.d.ts +0 -13
- package/dist/typings/effect/ParticleData.d.ts +0 -20
- package/dist/typings/effect/SkyBox.d.ts +0 -22
- package/dist/typings/effect/ToneMappingType.d.ts +0 -13
- package/dist/typings/effect/defaultEffectValue.d.ts +0 -5
- package/dist/typings/entity/Building.d.ts +0 -119
- package/dist/typings/entity/Campus.d.ts +0 -35
- package/dist/typings/entity/Corner.d.ts +0 -43
- package/dist/typings/entity/DecorateGrid.d.ts +0 -21
- package/dist/typings/entity/DoorWindow.d.ts +0 -77
- package/dist/typings/entity/DoorWindowDirection.d.ts +0 -21
- package/dist/typings/entity/Entity.d.ts +0 -393
- package/dist/typings/entity/EntityType.d.ts +0 -81
- package/dist/typings/entity/Floor.d.ts +0 -128
- package/dist/typings/entity/Group.d.ts +0 -34
- package/dist/typings/entity/LeakLine.d.ts +0 -44
- package/dist/typings/entity/LevelMgr.d.ts +0 -84
- package/dist/typings/entity/ManualWall.d.ts +0 -85
- package/dist/typings/entity/ManualWallBuilder.d.ts +0 -157
- package/dist/typings/entity/MeshFaceData.d.ts +0 -25
- package/dist/typings/entity/OtherEntity.d.ts +0 -24
- package/dist/typings/entity/POI.d.ts +0 -90
- package/dist/typings/entity/Path.d.ts +0 -1
- package/dist/typings/entity/Pipe.d.ts +0 -68
- package/dist/typings/entity/PrefabWall.d.ts +0 -57
- package/dist/typings/entity/Room.d.ts +0 -167
- package/dist/typings/entity/Text3D.d.ts +0 -70
- package/dist/typings/entity/Thing.d.ts +0 -142
- package/dist/typings/entity/Tracker.d.ts +0 -34
- package/dist/typings/entity/Union.d.ts +0 -38
- package/dist/typings/entity/UnionItem.d.ts +0 -18
- package/dist/typings/entity/VideoFusion.d.ts +0 -61
- package/dist/typings/entity/ViewInfo.d.ts +0 -14
- package/dist/typings/entity/Wall.d.ts +0 -95
- package/dist/typings/entity/building/buildBuilding.d.ts +0 -7
- package/dist/typings/entity/building/buildBuildingOnClient.d.ts +0 -2
- package/dist/typings/entity/building/buildBuildingOnEditor.d.ts +0 -2
- package/dist/typings/entity/component/Animator.d.ts +0 -52
- package/dist/typings/entity/component/AutoOpenDoor.d.ts +0 -24
- package/dist/typings/entity/component/Component.d.ts +0 -22
- package/dist/typings/entity/component/PathAnimation.d.ts +0 -63
- package/dist/typings/entity/component/Style.d.ts +0 -51
- package/dist/typings/entity/component/archive/ArchiveBox.d.ts +0 -97
- package/dist/typings/entity/component/archive/ArchiveCabinet.d.ts +0 -120
- package/dist/typings/entity/component/archive/ArchiveCabinetGroup.d.ts +0 -169
- package/dist/typings/entity/component/archive/ArchiveCabinetGroupCount.d.ts +0 -16
- package/dist/typings/entity/component/archive/ArchiveCabinetGroupState.d.ts +0 -21
- package/dist/typings/entity/component/archive/ArchiveDoor.d.ts +0 -33
- package/dist/typings/entity/component/archive/ArchiveGrid.d.ts +0 -47
- package/dist/typings/entity/component/archive/ArchiveMgr.d.ts +0 -36
- package/dist/typings/entity/component/archive/ColumnPosition.d.ts +0 -17
- package/dist/typings/entity/component/archive/createArchiveGrid.d.ts +0 -6
- package/dist/typings/entity/component/archive/createColumnTag.d.ts +0 -6
- package/dist/typings/entity/component/archive/events/onAppMove.d.ts +0 -6
- package/dist/typings/entity/component/archive/events/onAppRightDoubleClick.d.ts +0 -6
- package/dist/typings/entity/component/archive/events/onGroupLeftDoubleClick.d.ts +0 -8
- package/dist/typings/entity/component/archive/events/onGroupPointerLeave.d.ts +0 -6
- package/dist/typings/entity/component/archive/events/onGroupRightClick.d.ts +0 -8
- package/dist/typings/entity/component/archive/events/onLevelChanged.d.ts +0 -8
- package/dist/typings/entity/component/archive/getCapacityOriginBox.d.ts +0 -6
- package/dist/typings/entity/component/cabinet/AssetData.d.ts +0 -19
- package/dist/typings/entity/component/cabinet/BoardCard.d.ts +0 -63
- package/dist/typings/entity/component/cabinet/Cabinet.d.ts +0 -121
- package/dist/typings/entity/component/cabinet/CabinetCapacityData.d.ts +0 -17
- package/dist/typings/entity/component/cabinet/CabinetMgr.d.ts +0 -54
- package/dist/typings/entity/component/cabinet/CabinetTagStyleConfig.d.ts +0 -25
- package/dist/typings/entity/component/cabinet/NetworkPort.d.ts +0 -46
- package/dist/typings/entity/component/cabinet/RackMounted.d.ts +0 -109
- package/dist/typings/entity/component/cabinet/ResImageSource.d.ts +0 -13
- package/dist/typings/entity/component/cabinet/events/onAppMove.d.ts +0 -6
- package/dist/typings/entity/component/cabinet/events/onAppRightDoubleClick.d.ts +0 -6
- package/dist/typings/entity/component/cabinet/events/onCabinetLeftDoubleClick.d.ts +0 -7
- package/dist/typings/entity/component/cabinet/events/onCabinetPointerLeave.d.ts +0 -2
- package/dist/typings/entity/component/cabinet/events/onCabinetRightClick.d.ts +0 -3
- package/dist/typings/entity/component/cabinet/events/onLevelChanged.d.ts +0 -8
- package/dist/typings/entity/component/heatmap/Heatmap.d.ts +0 -95
- package/dist/typings/entity/component/heatmap/HeatmapType.d.ts +0 -17
- package/dist/typings/entity/component/heatmap/buildHorizontal.d.ts +0 -6
- package/dist/typings/entity/component/heatmap/buildTips.d.ts +0 -2
- package/dist/typings/entity/component/heatmap/buildVertical.d.ts +0 -6
- package/dist/typings/entity/component/heatmap/updateHorizontal.d.ts +0 -6
- package/dist/typings/entity/component/heatmap/updateTips.d.ts +0 -2
- package/dist/typings/entity/component/heatmap/updateVertical.d.ts +0 -2
- package/dist/typings/entity/component/roaming/Roaming.d.ts +0 -116
- package/dist/typings/entity/component/roaming/pencil.d.ts +0 -1
- package/dist/typings/entity/init/afterLevelCreate.d.ts +0 -6
- package/dist/typings/entity/init/setBuildings.d.ts +0 -2
- package/dist/typings/entity/init/setDefaultView.d.ts +0 -6
- package/dist/typings/entity/init/setPOILink.d.ts +0 -5
- package/dist/typings/entity/init/setTransition.d.ts +0 -6
- package/dist/typings/entity/path/Path.d.ts +0 -53
- package/dist/typings/entity/path/attachDrag.d.ts +0 -2
- package/dist/typings/entity/path/createLineMeshData.d.ts +0 -3
- package/dist/typings/entity/path/createPointInstance.d.ts +0 -6
- package/dist/typings/entity/path/detachDrag.d.ts +0 -2
- package/dist/typings/entity/path/dragData.d.ts +0 -9
- package/dist/typings/entity/path/getLineMaterial.d.ts +0 -2
- package/dist/typings/entity/placement.d.ts +0 -20
- package/dist/typings/entity/poi_plus/Container.d.ts +0 -14
- package/dist/typings/entity/poi_plus/Img.d.ts +0 -21
- package/dist/typings/entity/poi_plus/Line.d.ts +0 -15
- package/dist/typings/entity/poi_plus/POIPlus.d.ts +0 -138
- package/dist/typings/entity/poi_plus/Txt.d.ts +0 -20
- package/dist/typings/entity/poi_plus/TxtAlign.d.ts +0 -9
- package/dist/typings/entity/poi_plus/render.d.ts +0 -7
- package/dist/typings/entity/util/box.d.ts +0 -9
- package/dist/typings/entity/util/createManualWallEdgeMaterial.d.ts +0 -8
- package/dist/typings/entity/util/createManualWallFaceMaterial.d.ts +0 -8
- package/dist/typings/entity/util/createManualWallMesh.d.ts +0 -12
- package/dist/typings/entity/util/createMergedMesh.d.ts +0 -13
- package/dist/typings/entity/util/createPathArrowIcon.d.ts +0 -4
- package/dist/typings/entity/util/createPathCircleIcon.d.ts +0 -4
- package/dist/typings/entity/util/createRoomMaterial.d.ts +0 -3
- package/dist/typings/entity/util/createRoomMesh.d.ts +0 -14
- package/dist/typings/entity/util/getPathIconMesh.d.ts +0 -7
- package/dist/typings/entity/util/getPathLineMesh.d.ts +0 -2
- package/dist/typings/entity/util/getPerWeight.d.ts +0 -6
- package/dist/typings/entity/util/hideAllBoundingBox.d.ts +0 -6
- package/dist/typings/entity/util/setRes.d.ts +0 -5
- package/dist/typings/entity/util/smoothTube.d.ts +0 -7
- package/dist/typings/entity/util/technologyBuildingMaterial.d.ts +0 -67
- package/dist/typings/event/EventArg.d.ts +0 -14
- package/dist/typings/event/EventDispatcher.d.ts +0 -67
- package/dist/typings/event/EventMgr.d.ts +0 -110
- package/dist/typings/event/EventObject.d.ts +0 -26
- package/dist/typings/event/EventType.d.ts +0 -173
- package/dist/typings/event/KeyCode.d.ts +0 -55
- package/dist/typings/event/PropertyChangedData.d.ts +0 -21
- package/dist/typings/gui/Billboard.d.ts +0 -104
- package/dist/typings/gui/BillboardOptions.d.ts +0 -62
- package/dist/typings/gui/FPSBar.d.ts +0 -25
- package/dist/typings/gui/GUIMgr.d.ts +0 -41
- package/dist/typings/gui/GradientRectangle.d.ts +0 -57
- package/dist/typings/gui/InfoListDataItem.d.ts +0 -17
- package/dist/typings/gui/InfoListPanel.d.ts +0 -106
- package/dist/typings/gui/LinkTip.d.ts +0 -30
- package/dist/typings/gui/PerformancePanel.d.ts +0 -43
- package/dist/typings/gui/RectangleProgress.d.ts +0 -20
- package/dist/typings/gui/ToolTip.d.ts +0 -34
- package/dist/typings/gui/getTextWidth.d.ts +0 -6
- package/dist/typings/index.d.ts +0 -93
- package/dist/typings/material/MaterialMgr.d.ts +0 -18
- package/dist/typings/misc/Point2D.d.ts +0 -4
- package/dist/typings/misc/Point3D.d.ts +0 -4
- package/dist/typings/misc/Point4D.d.ts +0 -4
- package/dist/typings/misc/SystemResId.d.ts +0 -105
- package/dist/typings/misc/blobToDataURL.d.ts +0 -5
- package/dist/typings/misc/cookie.d.ts +0 -17
- package/dist/typings/misc/dataURLtoBlob.d.ts +0 -5
- package/dist/typings/misc/getQueryString.d.ts +0 -5
- package/dist/typings/misc/guid.d.ts +0 -21
- package/dist/typings/misc/http.d.ts +0 -46
- package/dist/typings/misc/index.d.ts +0 -15
- package/dist/typings/misc/isHexColor.d.ts +0 -5
- package/dist/typings/misc/isLAN.d.ts +0 -4
- package/dist/typings/misc/math/Line.d.ts +0 -5
- package/dist/typings/misc/math/Point.d.ts +0 -7
- package/dist/typings/misc/math/compare/EPSILON.d.ts +0 -4
- package/dist/typings/misc/math/compare/greateThanOrEqual.d.ts +0 -8
- package/dist/typings/misc/math/compare/greaterThan.d.ts +0 -7
- package/dist/typings/misc/math/compare/lessThan.d.ts +0 -7
- package/dist/typings/misc/math/compare/lessThanOrEqual.d.ts +0 -7
- package/dist/typings/misc/math/compare/withinEpsilon.d.ts +0 -9
- package/dist/typings/misc/math/index.d.ts +0 -34
- package/dist/typings/misc/math/line/distanceToParallelLine.d.ts +0 -7
- package/dist/typings/misc/math/line/distanceToProjection.d.ts +0 -8
- package/dist/typings/misc/math/line/getLineIntersection.d.ts +0 -9
- package/dist/typings/misc/math/line/isLineParallel.d.ts +0 -7
- package/dist/typings/misc/math/line/project.d.ts +0 -8
- package/dist/typings/misc/math/line/relateToPoint.d.ts +0 -8
- package/dist/typings/misc/math/round.d.ts +0 -6
- package/dist/typings/misc/math/segment/getSegmentIntersection.d.ts +0 -8
- package/dist/typings/misc/math/segment/getSegmentPartIncludePoint.d.ts +0 -8
- package/dist/typings/misc/math/segment/onSegment.d.ts +0 -8
- package/dist/typings/misc/math/segment/segmentFullInclude.d.ts +0 -8
- package/dist/typings/misc/math/vec/addTo.d.ts +0 -7
- package/dist/typings/misc/math/vec/angleTo.d.ts +0 -7
- package/dist/typings/misc/math/vec/centerTo.d.ts +0 -7
- package/dist/typings/misc/math/vec/cross.d.ts +0 -7
- package/dist/typings/misc/math/vec/distanceTo.d.ts +0 -7
- package/dist/typings/misc/math/vec/dot.d.ts +0 -7
- package/dist/typings/misc/math/vec/ignoreYAxis.d.ts +0 -7
- package/dist/typings/misc/math/vec/isClockwise.d.ts +0 -6
- package/dist/typings/misc/math/vec/lengthTo.d.ts +0 -6
- package/dist/typings/misc/math/vec/multiplyTo.d.ts +0 -7
- package/dist/typings/misc/math/vec/normalizeTo.d.ts +0 -6
- package/dist/typings/misc/math/vec/scaleTo.d.ts +0 -7
- package/dist/typings/misc/math/vec/subtractTo.d.ts +0 -7
- package/dist/typings/misc/math/vec/toPoint.d.ts +0 -8
- package/dist/typings/misc/math/vec/toVector3.d.ts +0 -7
- package/dist/typings/misc/math/vec/verticalVector.d.ts +0 -7
- package/dist/typings/misc/object.d.ts +0 -16
- package/dist/typings/misc/randomColor.d.ts +0 -4
- package/dist/typings/misc/runAsyncTasks.d.ts +0 -5
- package/dist/typings/misc/to.d.ts +0 -5
- package/dist/typings/res/ResCacheData.d.ts +0 -13
- package/dist/typings/res/ResOptions.d.ts +0 -89
- package/dist/typings/res/ResPool.d.ts +0 -72
- package/dist/typings/res/registerBufferAndSetEffect.d.ts +0 -7
- package/dist/typings/res/replaceInstancedMesh.d.ts +0 -6
- package/dist/typings/runtime/RunTime.d.ts +0 -137
- package/dist/typings/runtime/babylonjs/babylonjs-core.d.ts +0 -77
- package/dist/typings/runtime/babylonjs/babylonjs-gui.d.ts +0 -12
- package/dist/typings/runtime/babylonjs/babylonjs-loaders.d.ts +0 -1
- package/dist/typings/runtime/babylonjs/babylonjs-materials.d.ts +0 -1
- package/dist/typings/runtime/index.d.ts +0 -8
- package/dist/typings/runtime/tweenjs/index.d.ts +0 -1
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { Point3D } from '../misc';
|
|
2
|
-
/**
|
|
3
|
-
* 资源参数选项
|
|
4
|
-
*/
|
|
5
|
-
export type ResOptions = {
|
|
6
|
-
/**
|
|
7
|
-
* 唯一编号
|
|
8
|
-
*/
|
|
9
|
-
id: string;
|
|
10
|
-
/**
|
|
11
|
-
* 扩展名
|
|
12
|
-
*/
|
|
13
|
-
ext?: string;
|
|
14
|
-
/**
|
|
15
|
-
* 是否默认值
|
|
16
|
-
*/
|
|
17
|
-
isDefault?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* 标题
|
|
20
|
-
*/
|
|
21
|
-
title?: string;
|
|
22
|
-
/**
|
|
23
|
-
* 尺寸
|
|
24
|
-
*/
|
|
25
|
-
size?: number[];
|
|
26
|
-
/**
|
|
27
|
-
* 版本号
|
|
28
|
-
*/
|
|
29
|
-
version?: string;
|
|
30
|
-
name?: string;
|
|
31
|
-
/**
|
|
32
|
-
* 资源类型ID
|
|
33
|
-
*/
|
|
34
|
-
res_type_id?: string;
|
|
35
|
-
/**
|
|
36
|
-
* 是否资产图片
|
|
37
|
-
*/
|
|
38
|
-
asset?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* 是否在资产库
|
|
41
|
-
*/
|
|
42
|
-
lib?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* 偏移量,有的模型的轴心点不在底部中心
|
|
45
|
-
*/
|
|
46
|
-
offset?: Point3D;
|
|
47
|
-
/**
|
|
48
|
-
* 离地高度
|
|
49
|
-
*/
|
|
50
|
-
above?: number;
|
|
51
|
-
/**
|
|
52
|
-
* 透明模式(贴图)
|
|
53
|
-
*/
|
|
54
|
-
transparencyMode?: number;
|
|
55
|
-
/**
|
|
56
|
-
* 粗糙度(贴图)
|
|
57
|
-
*/
|
|
58
|
-
roughness?: number;
|
|
59
|
-
/**
|
|
60
|
-
* 金属度(贴图)
|
|
61
|
-
*/
|
|
62
|
-
metallic?: number;
|
|
63
|
-
/**
|
|
64
|
-
* U缩放(贴图)
|
|
65
|
-
*/
|
|
66
|
-
uScale?: number;
|
|
67
|
-
/**
|
|
68
|
-
* V缩放(贴图)
|
|
69
|
-
*/
|
|
70
|
-
vScale?: number;
|
|
71
|
-
/**
|
|
72
|
-
* 颜色(贴图)
|
|
73
|
-
*/
|
|
74
|
-
color?: string;
|
|
75
|
-
/**
|
|
76
|
-
* 贴图类型
|
|
77
|
-
*/
|
|
78
|
-
textureType?: 'panorama' | 'background' | 'grid';
|
|
79
|
-
/**
|
|
80
|
-
* 资源类型
|
|
81
|
-
*/
|
|
82
|
-
type?: string;
|
|
83
|
-
/**
|
|
84
|
-
* 是否有透明通道
|
|
85
|
-
*/
|
|
86
|
-
hasAlpha?: boolean;
|
|
87
|
-
/** 资源文件MD5值 */
|
|
88
|
-
md5?: string;
|
|
89
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { Base } from "../base/Base";
|
|
2
|
-
import { App } from "../core/App";
|
|
3
|
-
import { ParticleData } from "../effect/ParticleData";
|
|
4
|
-
import { InstantiatedEntries, NodeMaterial, Texture } from "../runtime";
|
|
5
|
-
import { ResCacheData } from "./ResCacheData";
|
|
6
|
-
import { ResOptions } from "./ResOptions";
|
|
7
|
-
/**
|
|
8
|
-
* 资源池
|
|
9
|
-
*/
|
|
10
|
-
export declare class ResPool extends Base {
|
|
11
|
-
/**
|
|
12
|
-
* 资源列表
|
|
13
|
-
*/
|
|
14
|
-
readonly resList: ResOptions[];
|
|
15
|
-
_cacheVertices: number;
|
|
16
|
-
/**
|
|
17
|
-
* 缓存
|
|
18
|
-
*/
|
|
19
|
-
_cache: Map<string, ResCacheData>;
|
|
20
|
-
/**
|
|
21
|
-
* 加载中的资源列表
|
|
22
|
-
*/
|
|
23
|
-
private _locked;
|
|
24
|
-
/**
|
|
25
|
-
* 实例化一个资源池对象
|
|
26
|
-
* @param app 应用
|
|
27
|
-
*/
|
|
28
|
-
constructor(app: App);
|
|
29
|
-
/**
|
|
30
|
-
* 判断指定编号的的资源是否已缓存
|
|
31
|
-
* @param id 编号
|
|
32
|
-
*/
|
|
33
|
-
isCached(id: string): boolean;
|
|
34
|
-
/**
|
|
35
|
-
* 获取资源信息
|
|
36
|
-
* @param index 索引或资源编号
|
|
37
|
-
*/
|
|
38
|
-
getResInfo(index: number | string): ResOptions;
|
|
39
|
-
/**
|
|
40
|
-
* 获取资源编号
|
|
41
|
-
* @param index 索引
|
|
42
|
-
*/
|
|
43
|
-
getResId(index: number): string | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* 获取资源索引
|
|
46
|
-
* @param id 编号
|
|
47
|
-
*/
|
|
48
|
-
getResIndex(id: string): number | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* 加载指定资源
|
|
51
|
-
* @param id 编号
|
|
52
|
-
*/
|
|
53
|
-
_loadRes(info: ResOptions): Promise<void>;
|
|
54
|
-
/**
|
|
55
|
-
* 获取指定资源
|
|
56
|
-
* @param id 编号
|
|
57
|
-
* @param optimized 是否优化网格
|
|
58
|
-
* @param archiveGrid 是否包含档案格
|
|
59
|
-
*/
|
|
60
|
-
getRes(id: string, optimized?: boolean, archiveGrid?: boolean): Promise<Texture | InstantiatedEntries | NodeMaterial | any>;
|
|
61
|
-
private _cloneEntires;
|
|
62
|
-
private _loadModel;
|
|
63
|
-
private _getTexture;
|
|
64
|
-
private _loadMaterial;
|
|
65
|
-
private _loadParticle;
|
|
66
|
-
private _getResType;
|
|
67
|
-
/**
|
|
68
|
-
* 获取粒子默认数据(仅用于编辑器)
|
|
69
|
-
* @param id 编号
|
|
70
|
-
*/
|
|
71
|
-
getDefaultParticleData(id: string): Promise<ParticleData>;
|
|
72
|
-
}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { FunctionModule } from './FunctionModule';
|
|
2
|
-
import { IDisposable } from '../base/IDisposable';
|
|
3
|
-
/**
|
|
4
|
-
* 资源项
|
|
5
|
-
*/
|
|
6
|
-
export interface ResItem {
|
|
7
|
-
/**
|
|
8
|
-
* ID
|
|
9
|
-
*/
|
|
10
|
-
id: string;
|
|
11
|
-
/**
|
|
12
|
-
* 文件扩展名
|
|
13
|
-
*/
|
|
14
|
-
ext: string;
|
|
15
|
-
/**
|
|
16
|
-
* 名称
|
|
17
|
-
*/
|
|
18
|
-
name: string;
|
|
19
|
-
}
|
|
20
|
-
export type EntityItem = {
|
|
21
|
-
id: string;
|
|
22
|
-
name: string;
|
|
23
|
-
children?: EntityItem[];
|
|
24
|
-
};
|
|
25
|
-
export type PollingLink = {
|
|
26
|
-
building_id: string;
|
|
27
|
-
building_name: string;
|
|
28
|
-
link_id: string;
|
|
29
|
-
link_name: string;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* 运行时
|
|
33
|
-
*/
|
|
34
|
-
export declare class RunTime implements IDisposable {
|
|
35
|
-
/**
|
|
36
|
-
* 获取项目文件的资源列表(不实例化App)
|
|
37
|
-
* @param projectFile 项目文件地址
|
|
38
|
-
*/
|
|
39
|
-
static getProjectResList(projectFile: string): Promise<ResItem[]>;
|
|
40
|
-
/**
|
|
41
|
-
* 获取项目文件的序列号
|
|
42
|
-
* @param projectFile 项目文件地址
|
|
43
|
-
*/
|
|
44
|
-
static getProjectSerialNum(projectFile: string): Promise<string>;
|
|
45
|
-
/**
|
|
46
|
-
* 获取项目文件的园区列表
|
|
47
|
-
* @param projectFile 项目文件地址
|
|
48
|
-
*/
|
|
49
|
-
static getCampuses(projectFile: string): Promise<EntityItem[]>;
|
|
50
|
-
/**
|
|
51
|
-
* 获取项目文件的主要层级列表
|
|
52
|
-
* @param projectFile 项目文件地址
|
|
53
|
-
*/
|
|
54
|
-
static getMainLevel(projectFile: string): Promise<EntityItem[]>;
|
|
55
|
-
/**
|
|
56
|
-
* 获取功能模块
|
|
57
|
-
* @param projectFile 项目文件地址
|
|
58
|
-
* @param licenseFile 授权文件地址
|
|
59
|
-
*/
|
|
60
|
-
static getFunctionModule(projectFile: string, licenseFile: string): Promise<FunctionModule[]>;
|
|
61
|
-
/**
|
|
62
|
-
* 获取完整授权信息
|
|
63
|
-
* @param projectFile 项目文件地址
|
|
64
|
-
* @param licenseFile 授权文件地址
|
|
65
|
-
*/
|
|
66
|
-
static getFullLicenseInfo(projectFile: string, licenseFile: string): Promise<{
|
|
67
|
-
serialNum: string;
|
|
68
|
-
info: string;
|
|
69
|
-
modules: FunctionModule[];
|
|
70
|
-
}>;
|
|
71
|
-
/**
|
|
72
|
-
* 获取温度云图列表
|
|
73
|
-
* @param projectFile 项目文件地址
|
|
74
|
-
*/
|
|
75
|
-
static getHeatmapList(projectFile: string): Promise<EntityItem[]>;
|
|
76
|
-
/**
|
|
77
|
-
* 应用
|
|
78
|
-
*/
|
|
79
|
-
app: any;
|
|
80
|
-
private _loaded;
|
|
81
|
-
/**
|
|
82
|
-
* 实例化一个运行时对象
|
|
83
|
-
* @param app 应用
|
|
84
|
-
*/
|
|
85
|
-
constructor(app: any);
|
|
86
|
-
/**
|
|
87
|
-
* 截图
|
|
88
|
-
* @param width 宽度
|
|
89
|
-
* @param height 高度
|
|
90
|
-
* @returns base64字符串
|
|
91
|
-
*/
|
|
92
|
-
screenShot(width: number, height: number): Promise<string>;
|
|
93
|
-
/**
|
|
94
|
-
* 创建默认截图并保存
|
|
95
|
-
*/
|
|
96
|
-
createDefaultScreenShotAndSave(): void;
|
|
97
|
-
/**
|
|
98
|
-
* 获取授权信息
|
|
99
|
-
*/
|
|
100
|
-
getLicenseInfo(): string;
|
|
101
|
-
/**
|
|
102
|
-
* 获取序列号
|
|
103
|
-
*/
|
|
104
|
-
getSerialNum(): string;
|
|
105
|
-
/**
|
|
106
|
-
* 动环监控模块
|
|
107
|
-
*/
|
|
108
|
-
hasPowerEnvir(): boolean;
|
|
109
|
-
/**
|
|
110
|
-
* 资产容量模块
|
|
111
|
-
*/
|
|
112
|
-
hasAssetVolume(): boolean;
|
|
113
|
-
/**
|
|
114
|
-
* 配线拓扑模块
|
|
115
|
-
*/
|
|
116
|
-
hasLink(): boolean;
|
|
117
|
-
/**
|
|
118
|
-
* 档案库房模块
|
|
119
|
-
*/
|
|
120
|
-
hasArchive(): boolean;
|
|
121
|
-
/**
|
|
122
|
-
* IT网管模块
|
|
123
|
-
*/
|
|
124
|
-
hasIt(): boolean;
|
|
125
|
-
/**
|
|
126
|
-
* 持久化成项目文件
|
|
127
|
-
*/
|
|
128
|
-
toProjectFile(): Promise<Uint8Array>;
|
|
129
|
-
/**
|
|
130
|
-
* 加载项目
|
|
131
|
-
*/
|
|
132
|
-
loadProject(): Promise<void>;
|
|
133
|
-
/**
|
|
134
|
-
* 释放
|
|
135
|
-
*/
|
|
136
|
-
dispose(): void;
|
|
137
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export { Scene } from '@babylonjs/core/scene';
|
|
2
|
-
export { InstantiatedEntries } from '@babylonjs/core/assetContainer';
|
|
3
|
-
export { Node } from '@babylonjs/core/node';
|
|
4
|
-
export { AssetContainer } from '@babylonjs/core/assetContainer';
|
|
5
|
-
export { Engine } from '@babylonjs/core/Engines/engine';
|
|
6
|
-
export type { ICanvasRenderingContext } from '@babylonjs/core/Engines/ICanvas';
|
|
7
|
-
export { CreateGround } from '@babylonjs/core/Meshes/Builders/groundBuilder';
|
|
8
|
-
export { CreateBox } from '@babylonjs/core/Meshes/Builders/boxBuilder';
|
|
9
|
-
export { CreateLines, CreateLineSystem } from '@babylonjs/core/Meshes/Builders/linesBuilder';
|
|
10
|
-
export { CreateSphere } from '@babylonjs/core/Meshes/Builders/sphereBuilder';
|
|
11
|
-
export { CreateTube } from '@babylonjs/core/Meshes/Builders/tubeBuilder';
|
|
12
|
-
export { CreateCylinder } from '@babylonjs/core/Meshes/Builders/cylinderBuilder';
|
|
13
|
-
export { CreatePlane } from '@babylonjs/core/Meshes/Builders/planeBuilder';
|
|
14
|
-
export { Mesh } from '@babylonjs/core/Meshes/mesh';
|
|
15
|
-
export { AbstractMesh } from '@babylonjs/core/Meshes/abstractMesh';
|
|
16
|
-
export { TransformNode } from '@babylonjs/core/Meshes/transformNode';
|
|
17
|
-
export { Geometry } from '@babylonjs/core/Meshes/geometry';
|
|
18
|
-
export { VertexData } from '@babylonjs/core/Meshes/mesh.vertexData';
|
|
19
|
-
export { InstancedMesh } from '@babylonjs/core/Meshes/instancedMesh';
|
|
20
|
-
export { LinesMesh } from '@babylonjs/core/Meshes/linesMesh';
|
|
21
|
-
export { Color3 } from '@babylonjs/core/Maths/math.color';
|
|
22
|
-
export { Color4 } from '@babylonjs/core/Maths/math.color';
|
|
23
|
-
export { Vector2 } from '@babylonjs/core/Maths/math.vector';
|
|
24
|
-
export { Vector3 } from '@babylonjs/core/Maths/math.vector';
|
|
25
|
-
export { Vector4 } from '@babylonjs/core/Maths/math.vector';
|
|
26
|
-
export { Quaternion } from '@babylonjs/core/Maths/math.vector';
|
|
27
|
-
export { Matrix } from '@babylonjs/core/Maths/math.vector';
|
|
28
|
-
export { Scalar } from '@babylonjs/core/Maths/math.scalar';
|
|
29
|
-
export { SphericalPolynomial } from '@babylonjs/core/Maths/sphericalPolynomial';
|
|
30
|
-
export { Plane } from '@babylonjs/core/Maths/math.plane';
|
|
31
|
-
export type { FloatArray } from '@babylonjs/core/types';
|
|
32
|
-
export { VertexBuffer } from '@babylonjs/core/Buffers/buffer';
|
|
33
|
-
export { PBRMaterial } from '@babylonjs/core/Materials/PBR/pbrMaterial';
|
|
34
|
-
export { StandardMaterial } from '@babylonjs/core/Materials/standardMaterial';
|
|
35
|
-
export { Material } from '@babylonjs/core/Materials/material';
|
|
36
|
-
export { Texture } from '@babylonjs/core/Materials/Textures/texture';
|
|
37
|
-
export { FresnelParameters } from '@babylonjs/core/Materials/fresnelParameters';
|
|
38
|
-
export { ImageProcessingConfiguration } from '@babylonjs/core/Materials/imageProcessingConfiguration';
|
|
39
|
-
export { ColorCurves } from '@babylonjs/core/Materials/colorCurves';
|
|
40
|
-
export { CubeTexture } from '@babylonjs/core/Materials/Textures/cubeTexture';
|
|
41
|
-
export { NodeMaterial } from '@babylonjs/core/Materials/Node/nodeMaterial';
|
|
42
|
-
export { Effect } from '@babylonjs/core/Materials/effect';
|
|
43
|
-
import '@babylonjs/core/Materials/Node/Blocks';
|
|
44
|
-
import '@babylonjs/core/Materials/Textures';
|
|
45
|
-
export { EquiRectangularCubeTexture } from '@babylonjs/core/Materials/Textures/equiRectangularCubeTexture';
|
|
46
|
-
export { PickingInfo } from '@babylonjs/core/Collisions/pickingInfo';
|
|
47
|
-
export { Tools } from '@babylonjs/core/Misc/tools';
|
|
48
|
-
export { Observer } from '@babylonjs/core/Misc/observable';
|
|
49
|
-
export { EnvironmentTextureTools } from '@babylonjs/core/Misc/environmentTextureTools';
|
|
50
|
-
export { PointerInfo } from '@babylonjs/core/Events/pointerEvents';
|
|
51
|
-
export { PointerEventTypes } from '@babylonjs/core/Events/pointerEvents';
|
|
52
|
-
export { BoundingBox } from '@babylonjs/core/Culling/boundingBox';
|
|
53
|
-
export { Ray } from '@babylonjs/core/Culling/ray';
|
|
54
|
-
export type { TrianglePickingPredicate } from '@babylonjs/core/Culling/ray';
|
|
55
|
-
export { BoundingInfo } from '@babylonjs/core/Culling/boundingInfo';
|
|
56
|
-
export { Camera } from '@babylonjs/core/Cameras/camera';
|
|
57
|
-
export { ArcRotateCamera } from '@babylonjs/core/Cameras/arcRotateCamera';
|
|
58
|
-
export type { ICameraInput } from '@babylonjs/core/Cameras/cameraInputsManager';
|
|
59
|
-
export { ParticleHelper } from '@babylonjs/core/Particles/particleHelper';
|
|
60
|
-
export { ParticleSystem } from '@babylonjs/core/Particles/particleSystem';
|
|
61
|
-
import '@babylonjs/core/Particles/particleSystemComponent';
|
|
62
|
-
import '@babylonjs/core/Helpers/sceneHelpers';
|
|
63
|
-
export { GlowLayer } from '@babylonjs/core/Layers/glowLayer';
|
|
64
|
-
export { HighlightLayer } from '@babylonjs/core/Layers/highlightLayer';
|
|
65
|
-
export { HemisphericLight } from '@babylonjs/core/Lights/hemisphericLight';
|
|
66
|
-
import '@babylonjs/core/Rendering/boundingBoxRenderer';
|
|
67
|
-
import '@babylonjs/core/Rendering/edgesRenderer';
|
|
68
|
-
export { AnimationGroup } from '@babylonjs/core/Animations/animationGroup';
|
|
69
|
-
export { ActionManager } from '@babylonjs/core/Actions/actionManager';
|
|
70
|
-
export { ExecuteCodeAction } from '@babylonjs/core/Actions/directActions';
|
|
71
|
-
export { SceneInstrumentation } from '@babylonjs/core/Instrumentation/sceneInstrumentation';
|
|
72
|
-
export { EngineInstrumentation } from '@babylonjs/core/Instrumentation/engineInstrumentation';
|
|
73
|
-
import '@babylonjs/core/Engines/Extensions/engine.query';
|
|
74
|
-
export { SceneLoader } from '@babylonjs/core/Loading/sceneLoader';
|
|
75
|
-
export { PointerDragBehavior } from '@babylonjs/core/Behaviors/Meshes/pointerDragBehavior';
|
|
76
|
-
export { GizmoManager } from '@babylonjs/core/Gizmos/gizmoManager';
|
|
77
|
-
export { Gizmo } from '@babylonjs/core/Gizmos/gizmo';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { AdvancedDynamicTexture } from '@babylonjs/gui/2D/advancedDynamicTexture';
|
|
2
|
-
export { Container } from '@babylonjs/gui/2D/controls/container';
|
|
3
|
-
export { Rectangle } from '@babylonjs/gui/2D/controls/rectangle';
|
|
4
|
-
export { Control } from '@babylonjs/gui/2D/controls/control';
|
|
5
|
-
export { Ellipse } from '@babylonjs/gui/2D/controls/ellipse';
|
|
6
|
-
export { Image } from '@babylonjs/gui/2D/controls/image';
|
|
7
|
-
export { TextBlock } from '@babylonjs/gui/2D/controls/textBlock';
|
|
8
|
-
export { Measure } from '@babylonjs/gui/2D/measure';
|
|
9
|
-
export { StackPanel } from '@babylonjs/gui/2D/controls/stackPanel';
|
|
10
|
-
export { Line as Line2D } from '@babylonjs/gui/2D/controls/line';
|
|
11
|
-
export { Button } from '@babylonjs/gui/2D/controls/button';
|
|
12
|
-
export { InputText } from '@babylonjs/gui/2D/controls/inputText';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@babylonjs/loaders/glTF/2.0/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { GridMaterial } from '@babylonjs/materials/grid';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './babylonjs/babylonjs-core';
|
|
2
|
-
export * from './babylonjs/babylonjs-gui';
|
|
3
|
-
import './babylonjs/babylonjs-loaders';
|
|
4
|
-
export * from './babylonjs/babylonjs-materials';
|
|
5
|
-
import './extension';
|
|
6
|
-
export * from './tweenjs';
|
|
7
|
-
export * from './RunTime';
|
|
8
|
-
export * from './FunctionModule';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Tween, Easing } from '@tweenjs/tween.js';
|