earthsdk3-ue 3.0.3 → 3.0.5
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/earthsdk3-ue.cjs +1 -1
- package/dist/earthsdk3-ue.js +1 -1
- package/dist/earthsdk3-ue.mjs +1 -1
- package/dist/types/ESUeViewer/ESUeViewer.d.ts +13 -0
- package/dist/types/ESUeViewer/Viewers/INNPSViewer/WebRtcManager.d.ts +1 -1
- package/dist/types/ESUeViewer/inner/ReactProps.d.ts +33 -33
- package/package.json +1 -1
|
@@ -2,6 +2,9 @@ import { ESJFlyToParam, ESJsonObjectType, ESJVector2D, ESJVector2DArray, ESJVect
|
|
|
2
2
|
import { Event, UniteChanged } from 'xbsj-base';
|
|
3
3
|
import { UeCloudViewerBase } from './uemsg/UeCloudViewerBase';
|
|
4
4
|
import { NavigationModeCallFuncParam } from './uemsg/UeFuncsType';
|
|
5
|
+
/**
|
|
6
|
+
* https://c0yh9tnn0na.feishu.cn/wiki/RvpywAxsXiP4j8kWMhKce8tannc
|
|
7
|
+
*/
|
|
5
8
|
export declare class ESUeViewer extends ESViewer {
|
|
6
9
|
static readonly type: string;
|
|
7
10
|
get defaultProps(): {
|
|
@@ -37,6 +40,11 @@ export declare class ESUeViewer extends ESViewer {
|
|
|
37
40
|
simulationTime: number;
|
|
38
41
|
timeSync: boolean;
|
|
39
42
|
rain: number;
|
|
43
|
+
/**
|
|
44
|
+
* 新增UE属性步骤!!
|
|
45
|
+
* 1. createReactProps 中定义属性
|
|
46
|
+
* 2. reactPropDefaults 中定义默认值
|
|
47
|
+
*/
|
|
40
48
|
snow: number;
|
|
41
49
|
cloud: number;
|
|
42
50
|
fog: number;
|
|
@@ -467,6 +475,11 @@ export declare namespace ESUeViewer {
|
|
|
467
475
|
simulationTime: number;
|
|
468
476
|
timeSync: boolean;
|
|
469
477
|
rain: number;
|
|
478
|
+
/**
|
|
479
|
+
* 新增UE属性步骤!!
|
|
480
|
+
* 1. createReactProps 中定义属性
|
|
481
|
+
* 2. reactPropDefaults 中定义默认值
|
|
482
|
+
*/
|
|
470
483
|
snow: number;
|
|
471
484
|
cloud: number;
|
|
472
485
|
fog: number;
|
|
@@ -7,7 +7,7 @@ export declare class WebRtcManager extends Destroyable {
|
|
|
7
7
|
private _error;
|
|
8
8
|
get error(): Event<["webRtcDisconnected" | "webRtcFailed" | "webSocketClose" | "webSocketError"]>;
|
|
9
9
|
private _connected;
|
|
10
|
-
get connected(): Event<["
|
|
10
|
+
get connected(): Event<["videoInitialized" | "webRtcConnected" | "webSocketOpen"]>;
|
|
11
11
|
private _ueevent;
|
|
12
12
|
get ueevent(): Event<[string]>;
|
|
13
13
|
get container(): HTMLDivElement;
|
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
import { ESUeViewer } from "../index";
|
|
2
2
|
import { ESJLonLatFormatType, ESJVector3D } from "earthsdk3";
|
|
3
|
+
declare const reactPropDefaults: {
|
|
4
|
+
geoReferenceOrigin: ESJVector3D | undefined;
|
|
5
|
+
keepWorldOriginNearCamera: boolean;
|
|
6
|
+
useCache: boolean;
|
|
7
|
+
widgetInteractionDistance: number;
|
|
8
|
+
memReportInterval: number;
|
|
9
|
+
sceneControlled: boolean;
|
|
10
|
+
brightness: number;
|
|
11
|
+
emissiveIntensity: number;
|
|
12
|
+
statusUpdateInterval: number;
|
|
13
|
+
baseUrl: string;
|
|
14
|
+
show: boolean;
|
|
15
|
+
debug: boolean;
|
|
16
|
+
statusInfo: import("earthsdk3").ESJStatusInfoType;
|
|
17
|
+
terrainShader: {
|
|
18
|
+
slope: {
|
|
19
|
+
show: boolean;
|
|
20
|
+
};
|
|
21
|
+
aspect: {
|
|
22
|
+
show: boolean;
|
|
23
|
+
};
|
|
24
|
+
elevationRamp: {
|
|
25
|
+
show: boolean;
|
|
26
|
+
};
|
|
27
|
+
elevationContour: {
|
|
28
|
+
show: boolean;
|
|
29
|
+
color: import("earthsdk3").ESJVector4D;
|
|
30
|
+
spacing: number;
|
|
31
|
+
width: number;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
globeShow: boolean;
|
|
35
|
+
};
|
|
3
36
|
declare const createReactProps: () => {
|
|
4
37
|
apiKey: string;
|
|
5
38
|
apiUrl: string;
|
|
@@ -59,39 +92,6 @@ declare const createReactProps: () => {
|
|
|
59
92
|
};
|
|
60
93
|
};
|
|
61
94
|
};
|
|
62
|
-
declare const reactPropDefaults: {
|
|
63
|
-
geoReferenceOrigin: ESJVector3D | undefined;
|
|
64
|
-
keepWorldOriginNearCamera: boolean;
|
|
65
|
-
useCache: boolean;
|
|
66
|
-
widgetInteractionDistance: number;
|
|
67
|
-
memReportInterval: number;
|
|
68
|
-
sceneControlled: boolean;
|
|
69
|
-
brightness: number;
|
|
70
|
-
emissiveIntensity: number;
|
|
71
|
-
statusUpdateInterval: number;
|
|
72
|
-
baseUrl: string;
|
|
73
|
-
show: boolean;
|
|
74
|
-
debug: boolean;
|
|
75
|
-
statusInfo: import("earthsdk3").ESJStatusInfoType;
|
|
76
|
-
terrainShader: {
|
|
77
|
-
slope: {
|
|
78
|
-
show: boolean;
|
|
79
|
-
};
|
|
80
|
-
aspect: {
|
|
81
|
-
show: boolean;
|
|
82
|
-
};
|
|
83
|
-
elevationRamp: {
|
|
84
|
-
show: boolean;
|
|
85
|
-
};
|
|
86
|
-
elevationContour: {
|
|
87
|
-
show: boolean;
|
|
88
|
-
color: import("earthsdk3").ESJVector4D;
|
|
89
|
-
spacing: number;
|
|
90
|
-
width: number;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
globeShow: boolean;
|
|
94
|
-
};
|
|
95
95
|
declare function getGlobalPropsKey(): string[];
|
|
96
96
|
declare function getGlobalPropsValue(viewer: ESUeViewer): {
|
|
97
97
|
[key: string]: any;
|