mx3d 2024.5.28 → 2024.6.2-8.1
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/README.md +8 -8
- package/docs/README.md +24 -0
- package/docs/_sidebar.md +29 -0
- package/docs/cabinet/24_back.jpg +0 -0
- package/docs/cabinet/24_font.jpg +0 -0
- package/docs/cabinet/43_back.jpg +0 -0
- package/docs/cabinet/43_font.jpg +0 -0
- package/docs/cabinet/cabinet.md +250 -0
- package/docs/camera.md +109 -0
- package/docs/css/dark.css +979 -0
- package/docs/css/local.google.fonts.css +295 -0
- package/docs/css/vue.css +1025 -0
- package/docs/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2 +0 -0
- package/docs/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu.woff2 +0 -0
- package/docs/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdu.woff2 +0 -0
- package/docs/gui/2D.md +153 -0
- package/docs/gui/3D.md +154 -0
- package/docs/gui/bg.png +0 -0
- package/docs/heatMap/heatMap.md +290 -0
- package/docs/index.html +90 -0
- package/docs/js/bootstrap/bootstrap-theme.min.css +5 -0
- package/docs/js/bootstrap/bootstrap.min.css +5 -0
- package/docs/js/bootstrap/bootstrap.min.js +1 -0
- package/docs/js/bootstrap/jquery.min.js +1 -0
- package/docs/js/docsify@4.min.js +1 -0
- package/docs/js/search.min.js +1 -0
- package/docs/models/capacity.md +88 -0
- package/docs/models/effect.md +73 -0
- package/docs/models/event.md +100 -0
- package/docs/models/line.md +97 -0
- package/docs/models/model.md +164 -0
- package/docs/models/modelmgr.md +79 -0
- package/docs/project/projectmgr.md +64 -0
- package/docs/releases.md +128 -0
- package/docs/started/environment.md +103 -0
- package/docs/started/quickstart.md +112 -0
- package/index.d.ts +1109 -23
- package/mx3d.min.js +1 -1
- package/mx3d.seat.min.js +1 -1
- package/package.json +1 -1
- package/components/AlarmFlashing.d.ts +0 -12
- package/components/App.d.ts +0 -39
- package/components/Builder.d.ts +0 -73
- package/components/Capacity.d.ts +0 -11
- package/components/Environment.d.ts +0 -31
- package/components/HeatMap.d.ts +0 -14
- package/components/Icon.d.ts +0 -33
- package/components/IconFromMesh.d.ts +0 -29
- package/components/Line.d.ts +0 -14
- package/components/LineFromMesh.d.ts +0 -13
- package/components/StatusType.d.ts +0 -5
- package/components/UI.d.ts +0 -10
- package/earths/TileLoader.d.ts +0 -6
- package/effects/Cloud.d.ts +0 -42
- package/effects/Effect.d.ts +0 -13
- package/effects/IEffect.d.ts +0 -4
- package/effects/Rain.d.ts +0 -34
- package/effects/Thunder.d.ts +0 -31
- package/events/DefaultEvent.d.ts +0 -14
- package/events/EventType.d.ts +0 -9
- package/events/FPSCameraEvent.d.ts +0 -18
- package/events/IEvent.d.ts +0 -7
- package/hub/HubService.d.ts +0 -5
- package/lights/Directional.d.ts +0 -8
- package/lights/Hemispheric.d.ts +0 -7
- package/lights/ILightObject.d.ts +0 -11
- package/lights/LightObject.d.ts +0 -16
- package/lights/LightType.d.ts +0 -8
- package/lights/Point.d.ts +0 -8
- package/lights/Spot.d.ts +0 -11
- package/mapboxgl/BabylonLayer.d.ts +0 -0
- package/mapboxgl/Earth.d.ts +0 -0
- package/mapboxgl/Parse3dtile.d.ts +0 -0
- package/models/BaseModel.d.ts +0 -15
- package/models/BuildingObject.d.ts +0 -7
- package/models/CabinetObject.d.ts +0 -13
- package/models/CampusObject.d.ts +0 -8
- package/models/ConduitObject.d.ts +0 -17
- package/models/CornerObject.d.ts +0 -45
- package/models/DefaultObject.d.ts +0 -61
- package/models/DoorObject.d.ts +0 -7
- package/models/FloorObject.d.ts +0 -12
- package/models/IBase.d.ts +0 -23
- package/models/IObject.d.ts +0 -15
- package/models/IRegion.d.ts +0 -49
- package/models/LeakWaterObject.d.ts +0 -12
- package/models/ObjectType.d.ts +0 -17
- package/models/OptimizedWallObject.d.ts +0 -7
- package/models/Project.d.ts +0 -30
- package/models/RackModel.d.ts +0 -12
- package/models/RackObject.d.ts +0 -61
- package/models/StoreyObject.d.ts +0 -10
- package/models/UI3DTextObject.d.ts +0 -14
- package/models/VirtualBoxObject.d.ts +0 -13
- package/models/WallObject.d.ts +0 -12
- package/models/WindowObject.d.ts +0 -7
- package/mx3d.kernel.min.js +0 -1
- package/runtime/index.d.ts +0 -52
- package/tools/ArrayEx.d.ts +0 -3
- package/tools/BaseNode.d.ts +0 -5
- package/tools/CameraController.d.ts +0 -26
- package/tools/Dictionary.d.ts +0 -13
- package/tools/GUID.d.ts +0 -3
- package/tools/RES.d.ts +0 -3
- package/tools/Resources.d.ts +0 -26
- package/tools/Sight.d.ts +0 -15
- package/tools/ToolTips.d.ts +0 -14
- package/tools/Tools.d.ts +0 -21
- package/tools/axios.d.ts +0 -2
- /package/{earths/3dTile.d.ts → docs/.nojekyll} +0 -0
package/runtime/index.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
export { Mesh } from "@babylonjs/core/Meshes/mesh";
|
|
2
|
-
export { InstancedMesh } from "@babylonjs/core/Meshes/instancedMesh";
|
|
3
|
-
export { MeshBuilder } from "@babylonjs/core/Meshes/meshBuilder";
|
|
4
|
-
export { Scene } from "@babylonjs/core/scene";
|
|
5
|
-
export { Engine } from '@babylonjs/core/Engines/engine';
|
|
6
|
-
export { BoundingBoxRenderer } from "@babylonjs/core/Rendering/boundingBoxRenderer";
|
|
7
|
-
export { EdgesRenderer } from '@babylonjs/core/Rendering/edgesRenderer';
|
|
8
|
-
export { MultiMaterial } from '@babylonjs/core/Materials/multiMaterial';
|
|
9
|
-
export { DebugLayer } from "@babylonjs/core/Debug/debugLayer";
|
|
10
|
-
export { SceneLoader } from '@babylonjs/core/Loading/sceneLoader';
|
|
11
|
-
export { Color3, Color4 } from '@babylonjs/core/Maths/math.color';
|
|
12
|
-
export { ArcRotateCamera } from '@babylonjs/core/Cameras/arcRotateCamera';
|
|
13
|
-
export { Vector3, Vector2 } from '@babylonjs/core/Maths/math.vector';
|
|
14
|
-
export { StandardMaterial } from '@babylonjs/core/Materials/standardMaterial';
|
|
15
|
-
export { GLTFLoader } from '@babylonjs/loaders/glTF/2.0/glTFLoader';
|
|
16
|
-
export { ExtrasAsMetadata } from '@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata';
|
|
17
|
-
export { VertexBuffer } from '@babylonjs/core/Buffers/buffer';
|
|
18
|
-
export { HighlightLayer } from '@babylonjs/core/Layers/highlightLayer';
|
|
19
|
-
export { AdvancedDynamicTexture } from '@babylonjs/gui/2D/advancedDynamicTexture';
|
|
20
|
-
export { GlowLayer } from '@babylonjs/core/Layers/glowLayer';
|
|
21
|
-
export { PositionGizmo } from '@babylonjs/core/Gizmos/positionGizmo';
|
|
22
|
-
export { UtilityLayerRenderer } from '@babylonjs/core/Rendering/utilityLayerRenderer';
|
|
23
|
-
export { PointerInfo, PointerEventTypes } from '@babylonjs/core/Events/pointerEvents';
|
|
24
|
-
export { KeyboardEventTypes, KeyboardInfo } from '@babylonjs/core/Events/keyboardEvents';
|
|
25
|
-
export { FreeCamera } from '@babylonjs/core/Cameras/freeCamera';
|
|
26
|
-
export { Texture } from '@babylonjs/core/Materials/Textures/texture';
|
|
27
|
-
export { GPUParticleSystem } from '@babylonjs/core/Particles/gpuParticleSystem';
|
|
28
|
-
export { BaseTexture } from '@babylonjs/core/Materials/Textures/baseTexture';
|
|
29
|
-
export { NodeMaterial } from '@babylonjs/core/Materials/Node/nodeMaterial';
|
|
30
|
-
export { ParticleSystem } from '@babylonjs/core/Particles';
|
|
31
|
-
export { Effect } from '@babylonjs/core/Materials/effect';
|
|
32
|
-
export { TextBlock, Line, Rectangle, Image, MultiLine } from '@babylonjs/gui/2D/controls';
|
|
33
|
-
export { Animation } from '@babylonjs/core/Animations';
|
|
34
|
-
export { DynamicTexture } from '@babylonjs/core/Materials/Textures/dynamicTexture';
|
|
35
|
-
export { Layer } from "@babylonjs/core/Layers/layer";
|
|
36
|
-
export { CubeTexture } from "@babylonjs/core/Materials/Textures/cubeTexture";
|
|
37
|
-
export { _ENVTextureLoader } from "@babylonjs/core/Materials/Textures/Loaders/envTextureLoader";
|
|
38
|
-
export { ActionManager } from "@babylonjs/core/Actions/actionManager";
|
|
39
|
-
export { ExecuteCodeAction } from "@babylonjs/core/Actions/directActions";
|
|
40
|
-
export { DirectionalLight, HemisphericLight, Light, PointLight, SpotLight } from "@babylonjs/core/Lights";
|
|
41
|
-
export { SubMesh } from "@babylonjs/core/Meshes/subMesh";
|
|
42
|
-
export { CSG } from "@babylonjs/core/Meshes/csg";
|
|
43
|
-
export { BoundingInfo } from "@babylonjs/core/Culling/boundingInfo";
|
|
44
|
-
export { Camera } from '@babylonjs/core/Cameras/camera';
|
|
45
|
-
export { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh";
|
|
46
|
-
export { AssetContainer } from "@babylonjs/core/assetContainer";
|
|
47
|
-
export { CustomMaterial } from '@babylonjs/materials/custom/customMaterial';
|
|
48
|
-
export { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial";
|
|
49
|
-
export { VertexData } from "@babylonjs/core/Meshes/mesh.vertexData";
|
|
50
|
-
export { Curve3, Path3D } from "@babylonjs/core/Maths/math";
|
|
51
|
-
export * as TWEEN from '@tweenjs/tween.js';
|
|
52
|
-
export * as h337 from 'heatmap.js';
|
package/tools/ArrayEx.d.ts
DELETED
package/tools/BaseNode.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { App } from '../components/App';
|
|
2
|
-
import IObject from '../models/IObject';
|
|
3
|
-
import Sight from "./Sight";
|
|
4
|
-
import * as Runtime from '../runtime';
|
|
5
|
-
import IBase from '../models/IBase';
|
|
6
|
-
export default class CameraController {
|
|
7
|
-
app: App;
|
|
8
|
-
arcRotateCamera: Runtime.ArcRotateCamera;
|
|
9
|
-
frustrum: number;
|
|
10
|
-
freeCamera: Runtime.FreeCamera;
|
|
11
|
-
_isAutoRotation: boolean;
|
|
12
|
-
autoRotationSpeed: number;
|
|
13
|
-
constructor(_app: App);
|
|
14
|
-
orthographic(_object?: IBase): void;
|
|
15
|
-
startAutoRotation(_autoRotationSpeed?: number): void;
|
|
16
|
-
stopAutoRotation(): void;
|
|
17
|
-
perspective(_object?: IBase): void;
|
|
18
|
-
flyTo(_Sight?: Sight, _sheep?: number): void;
|
|
19
|
-
flyToObject(_object: IObject, _sheep?: number): void;
|
|
20
|
-
lookToTheFront(_object: IObject, _sheep?: number): void;
|
|
21
|
-
getSightJson(): string;
|
|
22
|
-
private computeCameraView;
|
|
23
|
-
_wheel(p: any): void;
|
|
24
|
-
switchArcRotateCamera(): void;
|
|
25
|
-
switchFPSCamera(): void;
|
|
26
|
-
}
|
package/tools/Dictionary.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default class Dictionary<T> {
|
|
2
|
-
map: {
|
|
3
|
-
[key: string]: T;
|
|
4
|
-
};
|
|
5
|
-
constructor();
|
|
6
|
-
add(key: string, value: T): void;
|
|
7
|
-
find(key: string): T;
|
|
8
|
-
remove(key: string): void;
|
|
9
|
-
termRemove(callback: Function): void;
|
|
10
|
-
showAll(): void;
|
|
11
|
-
count(): number;
|
|
12
|
-
clear(): void;
|
|
13
|
-
}
|
package/tools/GUID.d.ts
DELETED
package/tools/RES.d.ts
DELETED
package/tools/Resources.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import Dictionary from "./Dictionary";
|
|
2
|
-
import { App } from "../components/App";
|
|
3
|
-
import * as Runtime from '../runtime';
|
|
4
|
-
export default class Resources {
|
|
5
|
-
app: App;
|
|
6
|
-
walls: Dictionary<Runtime.AbstractMesh>;
|
|
7
|
-
resources: Dictionary<Runtime.AssetContainer>;
|
|
8
|
-
ndoeMats: Dictionary<Runtime.NodeMaterial>;
|
|
9
|
-
transparentBox: Runtime.Mesh;
|
|
10
|
-
BOX: Runtime.Mesh;
|
|
11
|
-
FogTex: Runtime.Texture;
|
|
12
|
-
constructor(_app: App);
|
|
13
|
-
loadModelMesh(baseModel: any): Promise<Runtime.AssetContainer>;
|
|
14
|
-
loadModelMeshAsync(baseModel: any, callback: Function): void;
|
|
15
|
-
Materials: Dictionary<Runtime.StandardMaterial>;
|
|
16
|
-
Textures: Dictionary<Runtime.Texture>;
|
|
17
|
-
GetMaterial(textureData: any): Runtime.StandardMaterial;
|
|
18
|
-
GetTexture(textureData: any): Runtime.Texture;
|
|
19
|
-
LoadLightMap(id: string, name: string): Runtime.Texture;
|
|
20
|
-
MergeMaterials: Dictionary<Runtime.CustomMaterial>;
|
|
21
|
-
GetMergeMaterial(textureData: any): Runtime.CustomMaterial;
|
|
22
|
-
delete(isAll?: boolean): void;
|
|
23
|
-
GetWalls(url: string, projectId: string): Promise<void>;
|
|
24
|
-
setTransparent(_visibility?: number): void;
|
|
25
|
-
setTransparentById(modelId: string, _visibility?: number): void;
|
|
26
|
-
}
|
package/tools/Sight.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as Runtime from '../runtime';
|
|
2
|
-
export default class Sight {
|
|
3
|
-
alpha: number;
|
|
4
|
-
focus: Runtime.Vector3;
|
|
5
|
-
radius: number;
|
|
6
|
-
beta: number;
|
|
7
|
-
minimumLimit: number;
|
|
8
|
-
maximumLimit: number;
|
|
9
|
-
minBeta: number;
|
|
10
|
-
maxBeta: number;
|
|
11
|
-
toJosn(_sightJson: any): void;
|
|
12
|
-
toString(): string;
|
|
13
|
-
setLimit(_miniLimit: number, _maxiLimit: number): void;
|
|
14
|
-
setBeta(_minBeta: number, _maxBeta: number): void;
|
|
15
|
-
}
|
package/tools/ToolTips.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { App } from "../components/App";
|
|
2
|
-
import * as Runtime from '../runtime';
|
|
3
|
-
export default class ToolTips {
|
|
4
|
-
app: App;
|
|
5
|
-
url: string;
|
|
6
|
-
ele: HTMLDivElement;
|
|
7
|
-
private _text;
|
|
8
|
-
set text(vlaue: string);
|
|
9
|
-
constructor(_app: App);
|
|
10
|
-
update(e: Runtime.PointerInfo): void;
|
|
11
|
-
close(): void;
|
|
12
|
-
setBackground(_url: string): void;
|
|
13
|
-
dispose(): void;
|
|
14
|
-
}
|
package/tools/Tools.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { App } from "../components/App";
|
|
2
|
-
import * as Runtime from '../runtime';
|
|
3
|
-
export declare class Tools {
|
|
4
|
-
static vector3ToJson(old: Runtime.Vector3): any;
|
|
5
|
-
static vector3ARRToJson(olds: Runtime.Vector3[]): Runtime.Vector3[];
|
|
6
|
-
static ToVector3(old: any): Runtime.Vector3;
|
|
7
|
-
static ToARRVector3(olds: any[]): Runtime.Vector3[];
|
|
8
|
-
static computeBounds(mscene: Runtime.Mesh): Runtime.BoundingInfo;
|
|
9
|
-
static computeBoundsToARR(_meshs: Array<Runtime.Mesh>): Runtime.BoundingInfo;
|
|
10
|
-
static Expand(polygon: Array<Runtime.Vector3>, expand: number): Array<Runtime.Vector3>;
|
|
11
|
-
static norm(x: number, y: number): number;
|
|
12
|
-
static MergeMeshes(meshes: Array<Runtime.Mesh>, app: App): Runtime.Mesh;
|
|
13
|
-
static DeconsTructMesh(mesh: any, height: any, app: App): Array<Runtime.Mesh>;
|
|
14
|
-
static getVisualAngle(_bound: Runtime.BoundingInfo, app: App): any;
|
|
15
|
-
static pathTransformation(oldPath: Array<Runtime.Vector3>, radius: number): any[];
|
|
16
|
-
static createTube(id: string, paths: Array<Runtime.Vector3>, radius: number, app: App): Runtime.Mesh;
|
|
17
|
-
static getAngleFromVector2(startV: Runtime.Vector2, coreV: Runtime.Vector2, endV: Runtime.Vector2): number;
|
|
18
|
-
static getAngleFromVector3(startV: Runtime.Vector3, coreV: Runtime.Vector3, endV: Runtime.Vector3): number;
|
|
19
|
-
static RandomNumBoth(Min: any, Max: any): any;
|
|
20
|
-
static rand(min: number, max: number): number;
|
|
21
|
-
}
|
package/tools/axios.d.ts
DELETED
|
File without changes
|