mx3d 0.0.49 → 0.0.50
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/index.d.ts +167 -165
- package/mx3d.min.js +4 -4
- package/package.json +1 -1
- package/core/jsencrypt.min.js +0 -2
package/index.d.ts
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
@author gzmaijing
|
|
3
3
|
@email mj@gzmaijing.com
|
|
4
4
|
*/
|
|
5
|
-
declare module MX3D
|
|
6
|
-
|
|
5
|
+
declare module MX3D{
|
|
6
|
+
export class App {
|
|
7
7
|
canvas: HTMLCanvasElement;
|
|
8
8
|
engine: BABYLON.Engine;
|
|
9
9
|
scene: BABYLON.Scene;
|
|
10
|
-
|
|
10
|
+
CameraController: CameraController;
|
|
11
11
|
HighlightLayer: BABYLON.HighlightLayer;
|
|
12
12
|
container: BABYLON.GUI.AdvancedDynamicTexture;
|
|
13
13
|
fps: HTMLDivElement;
|
|
@@ -16,19 +16,19 @@ declare module MX3D {
|
|
|
16
16
|
Project: Project;
|
|
17
17
|
ToolTips: ToolTips;
|
|
18
18
|
constructor(_config: {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
container: HTMLElement;
|
|
20
|
+
sl?: string;
|
|
21
|
+
rl?: string;
|
|
22
22
|
});
|
|
23
23
|
load(_config: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
pk: string;
|
|
25
|
+
progress?: Function;
|
|
26
|
+
complete?: Function;
|
|
27
27
|
}): Promise<void>;
|
|
28
28
|
dispose(): void;
|
|
29
|
-
|
|
29
|
+
}
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
export class Capacity {
|
|
32
32
|
anchor: IObject;
|
|
33
33
|
mesh: BABYLON.Mesh;
|
|
34
34
|
ratio: number;
|
|
@@ -36,25 +36,25 @@ declare module MX3D {
|
|
|
36
36
|
textMesh: BABYLON.Mesh;
|
|
37
37
|
constructor(_object: IObject, _RATIO: number);
|
|
38
38
|
dispose(): void;
|
|
39
|
-
|
|
39
|
+
}
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
export class CapacityBuilder {
|
|
42
42
|
static createCapacity(_obj: IObject, _RATIO: number, _text: string, _fontSize?: string): void;
|
|
43
43
|
static createTextMesh(_obj: IObject, _text: string, _RATIO: number, _fontSize?: string, _color?: string): void;
|
|
44
|
-
|
|
44
|
+
}
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
export class EffectMgr {
|
|
47
47
|
static colors: {};
|
|
48
48
|
static init(): void;
|
|
49
|
-
|
|
49
|
+
}
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
export enum EffectType {
|
|
52
52
|
Opaque = 0,
|
|
53
53
|
Flash = 1,
|
|
54
54
|
Transparent = 2
|
|
55
|
-
|
|
55
|
+
}
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
export class Environment {
|
|
58
58
|
app: App;
|
|
59
59
|
lights: any;
|
|
60
60
|
_color: BABYLON.Color4;
|
|
@@ -78,18 +78,18 @@ declare module MX3D {
|
|
|
78
78
|
hideFps(): void;
|
|
79
79
|
showDebug(): void;
|
|
80
80
|
setLightIntensity(_intensity?: number): void;
|
|
81
|
-
|
|
81
|
+
}
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
export enum EventType {
|
|
84
84
|
leftClick = "leftClick",
|
|
85
85
|
rightClick = "rightClick",
|
|
86
86
|
doubleClick = "doubleClick",
|
|
87
87
|
eover = "eover",
|
|
88
88
|
longPress = "longPress",
|
|
89
89
|
out = "out"
|
|
90
|
-
|
|
90
|
+
}
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
export class HeatMap implements BaseNode {
|
|
93
93
|
id: string;
|
|
94
94
|
anchor: IObject;
|
|
95
95
|
mesh: BABYLON.Mesh;
|
|
@@ -99,92 +99,93 @@ declare module MX3D {
|
|
|
99
99
|
isEnabled(_bool: boolean): void;
|
|
100
100
|
set displayValues(_value: boolean);
|
|
101
101
|
dispose(): void;
|
|
102
|
-
|
|
102
|
+
}
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
export class HeatMapBuilder {
|
|
105
105
|
static createMatrixCloud(_data: {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
106
|
+
anchor: IObject;
|
|
107
|
+
value: {
|
|
108
|
+
maxX: number;
|
|
109
|
+
maxY: number;
|
|
110
|
+
data: Array<{
|
|
111
|
+
x: number;
|
|
112
|
+
y: number;
|
|
113
|
+
value: number;
|
|
114
|
+
}>;
|
|
115
|
+
};
|
|
116
|
+
displayValues: boolean;
|
|
117
|
+
height: number;
|
|
118
|
+
isLevelRender: boolean;
|
|
119
|
+
isAlpha: boolean;
|
|
120
|
+
isParticle: boolean;
|
|
121
|
+
radius: number;
|
|
122
|
+
range: {
|
|
123
|
+
max: number;
|
|
124
|
+
min: number;
|
|
125
|
+
};
|
|
126
126
|
}): void;
|
|
127
127
|
static createPunctateCloud(_data: {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
128
|
+
anchor: IObject;
|
|
129
|
+
value: number;
|
|
130
|
+
radius: number;
|
|
131
|
+
isLevelRender: boolean;
|
|
132
|
+
displayValues: boolean;
|
|
133
|
+
isAlpha: boolean;
|
|
134
|
+
isParticle: boolean;
|
|
135
|
+
range: {
|
|
136
|
+
max: number;
|
|
137
|
+
min: number;
|
|
138
|
+
};
|
|
139
139
|
}): void;
|
|
140
140
|
createColumnCloud(_data: {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
141
|
+
anchor: IObject;
|
|
142
|
+
data: Array<{
|
|
143
|
+
index: number;
|
|
144
|
+
value: number;
|
|
145
|
+
}>;
|
|
146
|
+
isLevelRender: boolean;
|
|
147
|
+
displayValues: boolean;
|
|
148
|
+
isAlpha: boolean;
|
|
149
|
+
isParticle: boolean;
|
|
150
|
+
radius: number;
|
|
151
|
+
range: {
|
|
152
|
+
max: number;
|
|
153
|
+
min: number;
|
|
154
|
+
};
|
|
155
155
|
}): void;
|
|
156
|
-
|
|
156
|
+
}
|
|
157
157
|
|
|
158
|
-
|
|
158
|
+
export class Icon implements BaseNode {
|
|
159
159
|
id: string;
|
|
160
160
|
scene: BABYLON.Scene;
|
|
161
161
|
pint: BABYLON.Mesh;
|
|
162
162
|
rect: BABYLON.GUI.Rectangle;
|
|
163
163
|
onPointerClick: Function;
|
|
164
164
|
size: {
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
width: number;
|
|
166
|
+
height: number;
|
|
167
167
|
};
|
|
168
168
|
height: number;
|
|
169
169
|
container: BABYLON.GUI.AdvancedDynamicTexture;
|
|
170
170
|
constructor(_id: string, _scene: BABYLON.Scene);
|
|
171
171
|
set background(_url: string);
|
|
172
|
+
addEventListener(_action: Function): void;
|
|
172
173
|
setTexts(_textArr: [{
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
174
|
+
text: string;
|
|
175
|
+
fontSize: string;
|
|
176
|
+
color: string;
|
|
177
|
+
top: number;
|
|
178
|
+
left: number;
|
|
178
179
|
}]): void;
|
|
179
180
|
line(_line: {
|
|
180
|
-
|
|
181
|
-
|
|
181
|
+
width: number;
|
|
182
|
+
color: string;
|
|
182
183
|
}): void;
|
|
183
184
|
dispose(): void;
|
|
184
185
|
isEnabled(_isEnabled: boolean): void;
|
|
185
|
-
|
|
186
|
+
}
|
|
186
187
|
|
|
187
|
-
|
|
188
|
+
export class IconFromMesh implements BaseNode {
|
|
188
189
|
id: string;
|
|
189
190
|
scene: BABYLON.Scene;
|
|
190
191
|
instance: BABYLON.Mesh;
|
|
@@ -195,53 +196,53 @@ declare module MX3D {
|
|
|
195
196
|
addEventListener(_action: Function): void;
|
|
196
197
|
setColor(_color: string): void;
|
|
197
198
|
setContents(_textArr: [{
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
199
|
+
text: string;
|
|
200
|
+
fontSize: string;
|
|
201
|
+
top: number;
|
|
202
|
+
left: number;
|
|
203
|
+
color?: string;
|
|
203
204
|
}]): void;
|
|
204
205
|
dispose(): void;
|
|
205
206
|
isEnabled(_bool: boolean): void;
|
|
206
|
-
|
|
207
|
+
}
|
|
207
208
|
|
|
208
|
-
|
|
209
|
+
export class UI {
|
|
209
210
|
static createIconFromMesh(_id: string, _anchor: IObject, _url: string, _scaling: number, _height: number): void;
|
|
210
211
|
static createIcon(_id: string, _anchor: IObject, _size: {
|
|
211
|
-
|
|
212
|
-
|
|
212
|
+
width: number;
|
|
213
|
+
height: number;
|
|
213
214
|
}, _height: number): void;
|
|
214
215
|
static create2DLine(_id: string, _objs: Array<IObject>, _options?: {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
_width: number;
|
|
217
|
+
_color: string;
|
|
218
|
+
isDotted: boolean;
|
|
218
219
|
}): void;
|
|
219
220
|
static create3DLine(_id: string, _objs: Array<IObject>, _options?: {
|
|
220
|
-
|
|
221
|
-
|
|
221
|
+
_width: number;
|
|
222
|
+
_color: string;
|
|
222
223
|
}): void;
|
|
223
|
-
|
|
224
|
+
}
|
|
224
225
|
|
|
225
|
-
|
|
226
|
+
export class HubService {
|
|
226
227
|
static connection: any;
|
|
227
228
|
static listener(_Url: string): Promise<void>;
|
|
228
229
|
static start(): Promise<void>;
|
|
229
|
-
|
|
230
|
+
}
|
|
230
231
|
|
|
231
|
-
|
|
232
|
+
export class Directional extends LightObject {
|
|
232
233
|
direction: BABYLON.Vector3;
|
|
233
234
|
position: BABYLON.Vector3;
|
|
234
235
|
light: BABYLON.DirectionalLight;
|
|
235
236
|
load(): void;
|
|
236
|
-
|
|
237
|
+
}
|
|
237
238
|
|
|
238
|
-
|
|
239
|
+
export class Hemispheric extends LightObject {
|
|
239
240
|
direction: BABYLON.Vector3;
|
|
240
241
|
light: BABYLON.HemisphericLight;
|
|
241
242
|
load(): void;
|
|
242
|
-
|
|
243
|
+
}
|
|
243
244
|
|
|
244
|
-
|
|
245
|
+
export interface ILightObject {
|
|
245
246
|
id: string;
|
|
246
247
|
sceneId: string;
|
|
247
248
|
name: string;
|
|
@@ -250,9 +251,9 @@ declare module MX3D {
|
|
|
250
251
|
lightType: string;
|
|
251
252
|
intensity: number;
|
|
252
253
|
load: Function;
|
|
253
|
-
|
|
254
|
+
}
|
|
254
255
|
|
|
255
|
-
|
|
256
|
+
export class LightObject implements ILightObject {
|
|
256
257
|
id: string;
|
|
257
258
|
sceneId: string;
|
|
258
259
|
name: string;
|
|
@@ -264,23 +265,23 @@ declare module MX3D {
|
|
|
264
265
|
app: App;
|
|
265
266
|
constructor(_app: App);
|
|
266
267
|
load(): void;
|
|
267
|
-
|
|
268
|
+
}
|
|
268
269
|
|
|
269
|
-
|
|
270
|
+
export enum LightType {
|
|
270
271
|
Point = "Point",
|
|
271
272
|
Spot = "Spot",
|
|
272
273
|
Directional = "Directional",
|
|
273
274
|
Hemispheric = "Hemispheric"
|
|
274
|
-
|
|
275
|
+
}
|
|
275
276
|
|
|
276
|
-
|
|
277
|
+
export class Point extends LightObject {
|
|
277
278
|
position: BABYLON.Vector3;
|
|
278
279
|
light: BABYLON.PointLight;
|
|
279
280
|
range: number;
|
|
280
281
|
load(): void;
|
|
281
|
-
|
|
282
|
+
}
|
|
282
283
|
|
|
283
|
-
|
|
284
|
+
export class Spot extends LightObject {
|
|
284
285
|
direction: BABYLON.Vector3;
|
|
285
286
|
position: BABYLON.Vector3;
|
|
286
287
|
angle: number;
|
|
@@ -288,12 +289,12 @@ declare module MX3D {
|
|
|
288
289
|
range: number;
|
|
289
290
|
light: BABYLON.SpotLight;
|
|
290
291
|
load(): void;
|
|
291
|
-
|
|
292
|
+
}
|
|
292
293
|
|
|
293
|
-
|
|
294
|
-
|
|
294
|
+
export class CabinetObject extends DefaultObject {
|
|
295
|
+
}
|
|
295
296
|
|
|
296
|
-
|
|
297
|
+
export class ConduitObject extends DefaultObject {
|
|
297
298
|
alpha: number;
|
|
298
299
|
color: string;
|
|
299
300
|
bind(_m: any): void;
|
|
@@ -303,14 +304,14 @@ declare module MX3D {
|
|
|
303
304
|
setFlash(_level?: number): void;
|
|
304
305
|
setOpaque(): void;
|
|
305
306
|
setTransparent(_alpha?: number): void;
|
|
306
|
-
|
|
307
|
+
}
|
|
307
308
|
|
|
308
|
-
|
|
309
|
+
export class CornerObject extends DefaultObject {
|
|
309
310
|
height: number;
|
|
310
311
|
bind(_m: any): void;
|
|
311
|
-
|
|
312
|
+
}
|
|
312
313
|
|
|
313
|
-
|
|
314
|
+
export class DefaultObject implements IObject {
|
|
314
315
|
app: App;
|
|
315
316
|
id: string;
|
|
316
317
|
name: string;
|
|
@@ -343,27 +344,27 @@ declare module MX3D {
|
|
|
343
344
|
setTransparent(_alpha?: number): void;
|
|
344
345
|
play(): void;
|
|
345
346
|
stop(): void;
|
|
346
|
-
|
|
347
|
+
}
|
|
347
348
|
|
|
348
|
-
|
|
349
|
+
export class DoorObject extends DefaultObject {
|
|
349
350
|
height: number;
|
|
350
351
|
bind(_m: any): void;
|
|
351
|
-
|
|
352
|
+
}
|
|
352
353
|
|
|
353
|
-
|
|
354
|
+
export class FloorObject extends DefaultObject {
|
|
354
355
|
height: number;
|
|
355
356
|
bind(_m: any): void;
|
|
356
|
-
|
|
357
|
+
}
|
|
357
358
|
|
|
358
|
-
|
|
359
|
+
export interface IBase {
|
|
359
360
|
app: App;
|
|
360
361
|
id: string;
|
|
361
362
|
name: string;
|
|
362
363
|
parentId: string;
|
|
363
364
|
objectType: string;
|
|
364
|
-
|
|
365
|
+
}
|
|
365
366
|
|
|
366
|
-
|
|
367
|
+
export interface IObject extends IBase {
|
|
367
368
|
customNumber: string;
|
|
368
369
|
customType: string;
|
|
369
370
|
modelId: string;
|
|
@@ -382,16 +383,16 @@ declare module MX3D {
|
|
|
382
383
|
play(isloop: boolean): any;
|
|
383
384
|
stop(): any;
|
|
384
385
|
computeView(): any;
|
|
385
|
-
|
|
386
|
+
}
|
|
386
387
|
|
|
387
|
-
|
|
388
|
+
export class LeakWaterObject extends DefaultObject {
|
|
388
389
|
bind(_l: any): void;
|
|
389
390
|
computeView(): void;
|
|
390
391
|
addEventListener(_type: string, _callback: Function): void;
|
|
391
392
|
removeEventListener(_type: string): void;
|
|
392
|
-
|
|
393
|
+
}
|
|
393
394
|
|
|
394
|
-
|
|
395
|
+
export enum ObjectType {
|
|
395
396
|
Region = "Region",
|
|
396
397
|
Cabinet = "Cabinet",
|
|
397
398
|
Corner = "Corner",
|
|
@@ -404,9 +405,9 @@ declare module MX3D {
|
|
|
404
405
|
Wall = "Wall",
|
|
405
406
|
Window = "Window",
|
|
406
407
|
Conduit = "Conduit"
|
|
407
|
-
|
|
408
|
+
}
|
|
408
409
|
|
|
409
|
-
|
|
410
|
+
export class Project {
|
|
410
411
|
app: App;
|
|
411
412
|
id: string;
|
|
412
413
|
root: IObject;
|
|
@@ -425,9 +426,9 @@ declare module MX3D {
|
|
|
425
426
|
findObjectByCustomNumber(): void;
|
|
426
427
|
findObjectsByCustomType(): void;
|
|
427
428
|
switchLevel(_id?: string, _isFocus?: boolean, _includeSub?: boolean): void;
|
|
428
|
-
|
|
429
|
+
}
|
|
429
430
|
|
|
430
|
-
|
|
431
|
+
export class RegionObject extends DefaultObject {
|
|
431
432
|
index: number;
|
|
432
433
|
height: number;
|
|
433
434
|
constructor(app: App, _storey: any);
|
|
@@ -438,39 +439,39 @@ declare module MX3D {
|
|
|
438
439
|
setEnabled(_value: boolean): void;
|
|
439
440
|
getBounding(): void;
|
|
440
441
|
dispose(): void;
|
|
441
|
-
|
|
442
|
+
}
|
|
442
443
|
|
|
443
|
-
|
|
444
|
+
export class UI3DTextObject extends DefaultObject {
|
|
444
445
|
bind(_u: any): void;
|
|
445
|
-
|
|
446
|
+
}
|
|
446
447
|
|
|
447
|
-
|
|
448
|
+
export class VirtualBoxObject extends DefaultObject {
|
|
448
449
|
bind(_m: any): Promise<void>;
|
|
449
|
-
|
|
450
|
+
}
|
|
450
451
|
|
|
451
|
-
|
|
452
|
+
export class WallObject extends DefaultObject {
|
|
452
453
|
nativeMaterial: BABYLON.StandardMaterial;
|
|
453
454
|
baseModel: any;
|
|
454
455
|
height: number;
|
|
455
456
|
bind(_w: any): void;
|
|
456
|
-
|
|
457
|
+
}
|
|
457
458
|
|
|
458
|
-
|
|
459
|
+
export class WindowObject extends DefaultObject {
|
|
459
460
|
height: number;
|
|
460
461
|
bind(_m: any): void;
|
|
461
|
-
|
|
462
|
+
}
|
|
462
463
|
|
|
463
|
-
|
|
464
|
+
export class ArrayEx<T> extends Array<T> {
|
|
464
465
|
remove(_val: any): void;
|
|
465
|
-
|
|
466
|
+
}
|
|
466
467
|
|
|
467
|
-
|
|
468
|
+
export interface BaseNode {
|
|
468
469
|
id: string;
|
|
469
470
|
dispose(): any;
|
|
470
471
|
isEnabled(bool: boolean): any;
|
|
471
|
-
|
|
472
|
+
}
|
|
472
473
|
|
|
473
|
-
|
|
474
|
+
export class CameraController {
|
|
474
475
|
app: App;
|
|
475
476
|
camera: BABYLON.ArcRotateCamera;
|
|
476
477
|
frustrum: number;
|
|
@@ -483,11 +484,11 @@ declare module MX3D {
|
|
|
483
484
|
lookToTheFront(_object: IObject, _sheep?: number): void;
|
|
484
485
|
computeCameraView(): void;
|
|
485
486
|
_wheel(_p: any): void;
|
|
486
|
-
|
|
487
|
+
}
|
|
487
488
|
|
|
488
|
-
|
|
489
|
+
export class Dictionary<T> {
|
|
489
490
|
map: {
|
|
490
|
-
|
|
491
|
+
[key: string]: T;
|
|
491
492
|
};
|
|
492
493
|
constructor();
|
|
493
494
|
add(_key: string, _value: T): void;
|
|
@@ -497,13 +498,13 @@ declare module MX3D {
|
|
|
497
498
|
showAll(): void;
|
|
498
499
|
count(): void;
|
|
499
500
|
clear(): void;
|
|
500
|
-
|
|
501
|
+
}
|
|
501
502
|
|
|
502
|
-
|
|
503
|
+
export class GUID {
|
|
503
504
|
static getGUID(_length: number): void;
|
|
504
|
-
|
|
505
|
+
}
|
|
505
506
|
|
|
506
|
-
|
|
507
|
+
export class Resources {
|
|
507
508
|
app: App;
|
|
508
509
|
walls: Dictionary<BABYLON.AbstractMesh>;
|
|
509
510
|
resources: Dictionary<BABYLON.AssetContainer>;
|
|
@@ -522,9 +523,9 @@ declare module MX3D {
|
|
|
522
523
|
GetMergeMaterial(_textureData: any, _scene: BABYLON.Scene): void;
|
|
523
524
|
delete(_isAll?: boolean): void;
|
|
524
525
|
GetWalls(_url: string, _projectId: string): Promise<void>;
|
|
525
|
-
|
|
526
|
+
}
|
|
526
527
|
|
|
527
|
-
|
|
528
|
+
export class Sight {
|
|
528
529
|
alpha: number;
|
|
529
530
|
focus: BABYLON.Vector3;
|
|
530
531
|
radius: number;
|
|
@@ -537,9 +538,9 @@ declare module MX3D {
|
|
|
537
538
|
toString(): void;
|
|
538
539
|
setLimit(_miniLimit: number, _maxiLimit: number): void;
|
|
539
540
|
setBeta(_minBeta: number, _maxBeta: number): void;
|
|
540
|
-
|
|
541
|
+
}
|
|
541
542
|
|
|
542
|
-
|
|
543
|
+
export class Tools {
|
|
543
544
|
static vector3ToJson(_old: BABYLON.Vector3): any;
|
|
544
545
|
static vector3ARRToJson(_olds: BABYLON.Vector3[]): void;
|
|
545
546
|
static ToVector3(_old: any): void;
|
|
@@ -556,9 +557,9 @@ declare module MX3D {
|
|
|
556
557
|
static getAngleFromVector2(_startV: BABYLON.Vector2, _coreV: BABYLON.Vector2, _endV: BABYLON.Vector2): void;
|
|
557
558
|
static getAngleFromVector3(_startV: BABYLON.Vector3, _coreV: BABYLON.Vector3, _endV: BABYLON.Vector3): void;
|
|
558
559
|
static RandomNumBoth(_Min: any, _Max: any): void;
|
|
559
|
-
|
|
560
|
+
}
|
|
560
561
|
|
|
561
|
-
|
|
562
|
+
export class ToolTips {
|
|
562
563
|
app: App;
|
|
563
564
|
url: string;
|
|
564
565
|
ele: HTMLDivElement;
|
|
@@ -571,5 +572,6 @@ declare module MX3D {
|
|
|
571
572
|
close(): void;
|
|
572
573
|
setBackground(_url: string): void;
|
|
573
574
|
dispose(): void;
|
|
574
|
-
}
|
|
575
575
|
}
|
|
576
|
+
|
|
577
|
+
}
|