mx3d 2024.6.4 → 2024.6.12
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 +24 -0
- package/index.d.ts +1078 -23
- package/mx3d.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/3dTile.d.ts +0 -0
- 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/loaders/MJGLLoader.d.ts +0 -4
- package/loaders/Mx3dLoader.d.ts +0 -4
- 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/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
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import DefaultObject from "./DefaultObject";
|
|
2
|
-
import * as Runtime from '../runtime';
|
|
3
|
-
export default class ConduitObject extends DefaultObject {
|
|
4
|
-
alpha: number;
|
|
5
|
-
color: string;
|
|
6
|
-
pints: Runtime.Vector3[];
|
|
7
|
-
radius: number;
|
|
8
|
-
loadProperties(_m: any): void;
|
|
9
|
-
setEnabled(_value: boolean): void;
|
|
10
|
-
bind(): void;
|
|
11
|
-
setColor(_color?: string): void;
|
|
12
|
-
reColor(): void;
|
|
13
|
-
computeView(): void;
|
|
14
|
-
setFlash(_level?: number): void;
|
|
15
|
-
setOpaque(): void;
|
|
16
|
-
setTransparent(alpha?: number): void;
|
|
17
|
-
}
|
package/models/CornerObject.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import IObject from "./IObject";
|
|
2
|
-
import { App } from "../components/App";
|
|
3
|
-
import { StatusType } from "../components/StatusType";
|
|
4
|
-
import Sight from "../tools/Sight";
|
|
5
|
-
import baseModel from "./BaseModel";
|
|
6
|
-
import * as Runtime from '../runtime';
|
|
7
|
-
export default class CornerObject implements IObject {
|
|
8
|
-
app: App;
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
parentId: string;
|
|
12
|
-
objectType: string;
|
|
13
|
-
height: number;
|
|
14
|
-
customNumber: string;
|
|
15
|
-
customType: string;
|
|
16
|
-
instance: Runtime.Mesh | Runtime.InstancedMesh;
|
|
17
|
-
Sight: Sight;
|
|
18
|
-
statusType: StatusType;
|
|
19
|
-
showBoundingBox: boolean;
|
|
20
|
-
pints: any;
|
|
21
|
-
constructor(_app: App);
|
|
22
|
-
getInto(): void;
|
|
23
|
-
goBack(): void;
|
|
24
|
-
baseModel: baseModel;
|
|
25
|
-
loadProperties(_m: any): void;
|
|
26
|
-
alwaysActive(): void;
|
|
27
|
-
optimization(_isOptimization: boolean): void;
|
|
28
|
-
setFlash(_level: number): void;
|
|
29
|
-
setEnabled(isEnabled: any): void;
|
|
30
|
-
addEventListener(_type: string, _callback: Function): void;
|
|
31
|
-
removeEventListener(_type: string): void;
|
|
32
|
-
computeView(): void;
|
|
33
|
-
bind(): boolean;
|
|
34
|
-
toJson(): {
|
|
35
|
-
id: string;
|
|
36
|
-
parentId: string;
|
|
37
|
-
name: string;
|
|
38
|
-
customNumber: string;
|
|
39
|
-
customType: string;
|
|
40
|
-
objectType: string;
|
|
41
|
-
};
|
|
42
|
-
completed(): void;
|
|
43
|
-
setOpaque(): void;
|
|
44
|
-
setTransparent(): void;
|
|
45
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { App } from "../components/App";
|
|
2
|
-
import Dictionary from "../tools/Dictionary";
|
|
3
|
-
import { StatusType } from "../components/StatusType";
|
|
4
|
-
import { EventType } from "../events/EventType";
|
|
5
|
-
import IObject from "./IObject";
|
|
6
|
-
import Sight from "../tools/Sight";
|
|
7
|
-
import baseModel from "./BaseModel";
|
|
8
|
-
import * as Runtime from '../runtime';
|
|
9
|
-
export default class DefaultObject implements IObject {
|
|
10
|
-
app: App;
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
customNumber: string;
|
|
14
|
-
customType: string;
|
|
15
|
-
parentId: string;
|
|
16
|
-
baseModel: baseModel;
|
|
17
|
-
instance: Runtime.Mesh | Runtime.InstancedMesh;
|
|
18
|
-
objectType: string;
|
|
19
|
-
action: Runtime.ActionManager;
|
|
20
|
-
executes: Dictionary<Runtime.ExecuteCodeAction>;
|
|
21
|
-
clickEvents: Dictionary<Function>;
|
|
22
|
-
touchtime: number;
|
|
23
|
-
statusType: StatusType;
|
|
24
|
-
Sight: Sight;
|
|
25
|
-
animation: boolean;
|
|
26
|
-
isLoop: boolean;
|
|
27
|
-
isAutoPlay: boolean;
|
|
28
|
-
position: Runtime.Vector3;
|
|
29
|
-
rotation: Runtime.Vector3;
|
|
30
|
-
scaling: Runtime.Vector3;
|
|
31
|
-
constructor(_app: App);
|
|
32
|
-
loadProperties(_m: any): void;
|
|
33
|
-
setEnabled(_value: boolean): void;
|
|
34
|
-
set showBoundingBox(_value: boolean);
|
|
35
|
-
get showBoundingBox(): boolean;
|
|
36
|
-
set isPickable(_value: boolean);
|
|
37
|
-
get isPickable(): boolean;
|
|
38
|
-
bind(): void;
|
|
39
|
-
completed(): void;
|
|
40
|
-
computeView(): void;
|
|
41
|
-
optimization(_isOptimization: boolean): void;
|
|
42
|
-
alwaysActive(): void;
|
|
43
|
-
addEventListener(type: EventType, callback: Function): void;
|
|
44
|
-
removeEventListener(type: string): void;
|
|
45
|
-
setFlash(_level: number): void;
|
|
46
|
-
setOpaque(): void;
|
|
47
|
-
setTransparent(alpha?: number, enableEdges?: boolean): void;
|
|
48
|
-
setColor(_color?: string): void;
|
|
49
|
-
play(): void;
|
|
50
|
-
stop(): void;
|
|
51
|
-
toJson(): {
|
|
52
|
-
id: string;
|
|
53
|
-
parentId: string;
|
|
54
|
-
name: string;
|
|
55
|
-
customNumber: string;
|
|
56
|
-
customType: string;
|
|
57
|
-
objectType: string;
|
|
58
|
-
};
|
|
59
|
-
getInto(): void;
|
|
60
|
-
goBack(): void;
|
|
61
|
-
}
|
package/models/DoorObject.d.ts
DELETED
package/models/FloorObject.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import DefaultObject from "./DefaultObject";
|
|
2
|
-
import * as Runtime from '../runtime';
|
|
3
|
-
export default class FloorObject extends DefaultObject {
|
|
4
|
-
height: number;
|
|
5
|
-
vectors: Runtime.Vector3[];
|
|
6
|
-
buckles: Runtime.Vector3[][];
|
|
7
|
-
loadProperties(_m: any): void;
|
|
8
|
-
setEnabled(_value: boolean): void;
|
|
9
|
-
bind(): void;
|
|
10
|
-
computeView(): void;
|
|
11
|
-
setOpaque(): void;
|
|
12
|
-
}
|
package/models/IBase.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import Sight from "../tools/Sight";
|
|
2
|
-
import { App } from "../components/App";
|
|
3
|
-
import BaseModel from "./BaseModel";
|
|
4
|
-
import * as Runtime from '../runtime';
|
|
5
|
-
export default interface IBase {
|
|
6
|
-
app: App;
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
parentId: string;
|
|
10
|
-
objectType: string;
|
|
11
|
-
customNumber: string;
|
|
12
|
-
customType: string;
|
|
13
|
-
baseModel: BaseModel | undefined;
|
|
14
|
-
instance: Runtime.Mesh | Runtime.InstancedMesh;
|
|
15
|
-
Sight: Sight;
|
|
16
|
-
loadProperties(_m: any): void;
|
|
17
|
-
bind(): any;
|
|
18
|
-
completed(): any;
|
|
19
|
-
setEnabled(isEnabled: boolean): any;
|
|
20
|
-
toJson(): any;
|
|
21
|
-
getInto(): any;
|
|
22
|
-
goBack(): any;
|
|
23
|
-
}
|
package/models/IObject.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { StatusType } from "../components/StatusType";
|
|
2
|
-
import IBase from "./IBase";
|
|
3
|
-
import { EventType } from "../events/EventType";
|
|
4
|
-
export default interface IObject extends IBase {
|
|
5
|
-
statusType: StatusType;
|
|
6
|
-
showBoundingBox: boolean;
|
|
7
|
-
optimization(isOptimization: boolean): any;
|
|
8
|
-
setFlash(level: number): any;
|
|
9
|
-
setTransparent(): any;
|
|
10
|
-
setOpaque(): any;
|
|
11
|
-
addEventListener(type: EventType, callback: Function): any;
|
|
12
|
-
removeEventListener(type: EventType): any;
|
|
13
|
-
computeView(): any;
|
|
14
|
-
alwaysActive(): any;
|
|
15
|
-
}
|
package/models/IRegion.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { App } from "../components/App";
|
|
2
|
-
import Dictionary from "../tools/Dictionary";
|
|
3
|
-
import baseModel from "./BaseModel";
|
|
4
|
-
import IBase from "./IBase";
|
|
5
|
-
import Sight from "../tools/Sight";
|
|
6
|
-
import * as Runtime from '../runtime';
|
|
7
|
-
export default class IRegion implements IBase {
|
|
8
|
-
app: App;
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
parentId: string;
|
|
12
|
-
objectType: string;
|
|
13
|
-
baseModel: baseModel;
|
|
14
|
-
customNumber: string;
|
|
15
|
-
customType: string;
|
|
16
|
-
Sight: Sight;
|
|
17
|
-
instance: Runtime.Mesh | Runtime.InstancedMesh;
|
|
18
|
-
position: Runtime.Vector3;
|
|
19
|
-
rotation: Runtime.Vector3;
|
|
20
|
-
index: number;
|
|
21
|
-
layerName: string;
|
|
22
|
-
layerHeight: number;
|
|
23
|
-
action: Runtime.ActionManager;
|
|
24
|
-
executes: Dictionary<Runtime.ExecuteCodeAction>;
|
|
25
|
-
clickEvents: Dictionary<Function>;
|
|
26
|
-
touchtime: number;
|
|
27
|
-
constructor(_app: App);
|
|
28
|
-
loadProperties(_m: any): void;
|
|
29
|
-
bind(): void;
|
|
30
|
-
completed(): void;
|
|
31
|
-
setEnabled(_isEnabled: boolean): void;
|
|
32
|
-
addEventListener(type: string, callback: Function): void;
|
|
33
|
-
removeEventListener(type: string): void;
|
|
34
|
-
load(isOptimized: boolean, _objs: Array<any>): void;
|
|
35
|
-
toJson(): {
|
|
36
|
-
id: string;
|
|
37
|
-
parentId: string;
|
|
38
|
-
name: string;
|
|
39
|
-
customNumber: string;
|
|
40
|
-
customType: string;
|
|
41
|
-
objectType: string;
|
|
42
|
-
index: number;
|
|
43
|
-
layerHeight: number;
|
|
44
|
-
layerName: string;
|
|
45
|
-
};
|
|
46
|
-
computeView(): void;
|
|
47
|
-
getInto(): void;
|
|
48
|
-
goBack(): void;
|
|
49
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import DefaultObject from "./DefaultObject";
|
|
2
|
-
import * as Runtime from '../runtime';
|
|
3
|
-
export default class LeakWaterObject extends DefaultObject {
|
|
4
|
-
lines: Runtime.Vector3[];
|
|
5
|
-
loadProperties(_l: any): void;
|
|
6
|
-
setEnabled(_value: boolean): void;
|
|
7
|
-
bind(): void;
|
|
8
|
-
completed(): void;
|
|
9
|
-
computeView(): void;
|
|
10
|
-
addEventListener(type: string, callback: Function): void;
|
|
11
|
-
removeEventListener(type: string): void;
|
|
12
|
-
}
|
package/models/ObjectType.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare enum ObjectType {
|
|
2
|
-
Cabinet = "Cabinet",
|
|
3
|
-
RackModel = "RackModel",
|
|
4
|
-
Corner = "Corner",
|
|
5
|
-
Other = "Other",
|
|
6
|
-
Door = "Door",
|
|
7
|
-
Floor = "Floor",
|
|
8
|
-
LeakWater = "LeakWater",
|
|
9
|
-
UI3D = "UI3D",
|
|
10
|
-
VirtualBox = "VirtualBox",
|
|
11
|
-
Wall = "Wall",
|
|
12
|
-
Window = "Window",
|
|
13
|
-
Conduit = "Conduit",
|
|
14
|
-
Building = "Building",
|
|
15
|
-
Storey = "Storey",
|
|
16
|
-
Campus = "Campus"
|
|
17
|
-
}
|
package/models/Project.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { App } from "../components/App";
|
|
2
|
-
import { ObjectType } from "./ObjectType";
|
|
3
|
-
import Dictionary from "../tools/Dictionary";
|
|
4
|
-
import IBase from "./IBase";
|
|
5
|
-
import IRegion from "./IRegion";
|
|
6
|
-
export default class Project {
|
|
7
|
-
app: App;
|
|
8
|
-
id: string;
|
|
9
|
-
current: IBase;
|
|
10
|
-
root: IRegion;
|
|
11
|
-
levelEvent: Function;
|
|
12
|
-
objectDatas: Dictionary<IBase>;
|
|
13
|
-
constructor(_app: App);
|
|
14
|
-
clear(): void;
|
|
15
|
-
optimization(): void;
|
|
16
|
-
getChildsById(_id: string, _includeSub?: boolean): IBase[];
|
|
17
|
-
getSceneTree(_id?: string, _excludeTypes?: Array<string>): any;
|
|
18
|
-
findObjectById(_id: string): IBase;
|
|
19
|
-
findObjectByCustomNumber(_customNumber: string): any;
|
|
20
|
-
findObjectsByCustomType(_customType: string, queryParameters?: {
|
|
21
|
-
isCurrent: boolean;
|
|
22
|
-
isEnabled: boolean;
|
|
23
|
-
}): any[];
|
|
24
|
-
findObjectsByType(_type: ObjectType): IBase[];
|
|
25
|
-
computeSight(_objs: Array<IBase>): any;
|
|
26
|
-
switchLevel(_id?: string, _isFocus?: boolean): void;
|
|
27
|
-
goBack(): void;
|
|
28
|
-
getTypes(_parentId?: string): any[];
|
|
29
|
-
getCustomTypes(_parentId?: string): any[];
|
|
30
|
-
}
|
package/models/RackModel.d.ts
DELETED
package/models/RackObject.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { App } from "../components/App";
|
|
2
|
-
import { StatusType } from "../components/StatusType";
|
|
3
|
-
import { EventType } from "../events/EventType";
|
|
4
|
-
import { Mesh, InstancedMesh } from "../runtime";
|
|
5
|
-
import Sight from "../tools/Sight";
|
|
6
|
-
import BaseModel from "./BaseModel";
|
|
7
|
-
import IObject from "./IObject";
|
|
8
|
-
import { ObjectType } from "./ObjectType";
|
|
9
|
-
import RackModel from "./RackModel";
|
|
10
|
-
import * as Runtime from '../runtime';
|
|
11
|
-
import Dictionary from "../tools/Dictionary";
|
|
12
|
-
export default class RackObject implements IObject {
|
|
13
|
-
app: App;
|
|
14
|
-
id: string;
|
|
15
|
-
name: string;
|
|
16
|
-
parentId: string;
|
|
17
|
-
objectType: ObjectType;
|
|
18
|
-
customNumber: string;
|
|
19
|
-
customType: string;
|
|
20
|
-
baseModel: BaseModel;
|
|
21
|
-
instance: Mesh | InstancedMesh;
|
|
22
|
-
Sight: Sight;
|
|
23
|
-
statusType: StatusType;
|
|
24
|
-
showBoundingBox: boolean;
|
|
25
|
-
action: Runtime.ActionManager;
|
|
26
|
-
executes: Dictionary<Runtime.ExecuteCodeAction>;
|
|
27
|
-
clickEvents: Dictionary<Function>;
|
|
28
|
-
touchtime: number;
|
|
29
|
-
uHeight: number;
|
|
30
|
-
uStart: number;
|
|
31
|
-
color: string;
|
|
32
|
-
frontImgUrl: string;
|
|
33
|
-
backImgUrl: string;
|
|
34
|
-
direction: boolean;
|
|
35
|
-
width: number;
|
|
36
|
-
depth: number;
|
|
37
|
-
constructor(_app: App, _parentId: string);
|
|
38
|
-
setEnabled(isEnabled: boolean): void;
|
|
39
|
-
loadProperties(_m: RackModel): void;
|
|
40
|
-
bind(): void;
|
|
41
|
-
optimization(_isOptimization: boolean): void;
|
|
42
|
-
alwaysActive(): void;
|
|
43
|
-
addEventListener(type: EventType, callback: Function): void;
|
|
44
|
-
removeEventListener(type: string): void;
|
|
45
|
-
setFlash(_level: number): void;
|
|
46
|
-
setOpaque(): void;
|
|
47
|
-
setTransparent(alpha?: number): void;
|
|
48
|
-
setColor(_color?: string): void;
|
|
49
|
-
computeView(): void;
|
|
50
|
-
completed(): void;
|
|
51
|
-
toJson(): {
|
|
52
|
-
id: string;
|
|
53
|
-
parentId: string;
|
|
54
|
-
name: string;
|
|
55
|
-
customNumber: string;
|
|
56
|
-
customType: string;
|
|
57
|
-
objectType: ObjectType;
|
|
58
|
-
};
|
|
59
|
-
getInto(): void;
|
|
60
|
-
goBack(): void;
|
|
61
|
-
}
|
package/models/StoreyObject.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import IRegion from "./IRegion";
|
|
2
|
-
import * as Runtime from '../runtime';
|
|
3
|
-
export default class StoreyObject extends IRegion {
|
|
4
|
-
scaling: Runtime.Vector3;
|
|
5
|
-
loadProperties(_m: any): void;
|
|
6
|
-
bind(): void;
|
|
7
|
-
alwaysActive(): void;
|
|
8
|
-
completed(): void;
|
|
9
|
-
computeView(): void;
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import DefaultObject from "./DefaultObject";
|
|
2
|
-
export default class UI3DTextObject extends DefaultObject {
|
|
3
|
-
tconfig: {
|
|
4
|
-
color: string;
|
|
5
|
-
position: any;
|
|
6
|
-
rotation: any;
|
|
7
|
-
scaling: any;
|
|
8
|
-
clearColor: string;
|
|
9
|
-
};
|
|
10
|
-
isLookAt: boolean;
|
|
11
|
-
setEnabled(_value: boolean): void;
|
|
12
|
-
loadProperties(_u: any): void;
|
|
13
|
-
bind(): void;
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import DefaultObject from "./DefaultObject";
|
|
2
|
-
import * as Runtime from '../runtime';
|
|
3
|
-
export default class VirtualBoxObject extends DefaultObject {
|
|
4
|
-
virtualType: string;
|
|
5
|
-
color: Runtime.Color3;
|
|
6
|
-
alpha: number;
|
|
7
|
-
isEdges: boolean;
|
|
8
|
-
edgesWidth: number;
|
|
9
|
-
edgesColor: Runtime.Color4;
|
|
10
|
-
loadProperties(_m: any): void;
|
|
11
|
-
setEnabled(_value: boolean): void;
|
|
12
|
-
bind(): void;
|
|
13
|
-
}
|
package/models/WallObject.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import DefaultObject from "./DefaultObject";
|
|
2
|
-
import * as Runtime from '../runtime';
|
|
3
|
-
export default class WallObject extends DefaultObject {
|
|
4
|
-
nativeMaterial: Runtime.StandardMaterial;
|
|
5
|
-
height: number;
|
|
6
|
-
walls: Runtime.Mesh[];
|
|
7
|
-
loadProperties(_m: any): void;
|
|
8
|
-
setEnabled(_value: boolean): void;
|
|
9
|
-
bind(): void;
|
|
10
|
-
completed(): void;
|
|
11
|
-
setOpaque(): void;
|
|
12
|
-
}
|
package/models/WindowObject.d.ts
DELETED
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