@cesium/engine 0.1.0 → 1.0.0

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.
Files changed (31) hide show
  1. package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +95 -76
  2. package/README.md +9 -9
  3. package/Source/Core/Ion.js +1 -1
  4. package/Source/Renderer/Context.js +213 -178
  5. package/Source/Scene/I3SDataProvider.js +2 -1
  6. package/Source/Scene/I3SFeature.js +1 -1
  7. package/Source/Scene/I3SLayer.js +64 -2
  8. package/Source/Scene/I3SNode.js +50 -6
  9. package/Source/Scene/Model/Model.js +36 -3
  10. package/Source/Scene/Scene.js +3 -50
  11. package/Source/Shaders/Builtin/CzmBuiltins.js +15 -15
  12. package/Source/ThirdParty/Workers/draco_decoder_nodejs.js +100 -101
  13. package/Source/ThirdParty/Workers/pako_deflate.min.js +2 -2
  14. package/Source/ThirdParty/Workers/pako_inflate.min.js +2 -2
  15. package/Source/ThirdParty/Workers/z-worker-pako.js +0 -0
  16. package/Source/ThirdParty/draco_decoder.wasm +0 -0
  17. package/Source/Widget/CesiumWidget.js +1 -1
  18. package/index.d.ts +2402 -2334
  19. package/index.js +1085 -1085
  20. package/package.json +4 -1
  21. package/Build/ThirdParty/Workers/basis_transcoder.js +0 -2233
  22. package/Build/ThirdParty/Workers/draco_decoder_nodejs.js +0 -1872
  23. package/Build/ThirdParty/Workers/package.json +0 -1
  24. package/Build/ThirdParty/Workers/pako_deflate.min.js +0 -589
  25. package/Build/ThirdParty/Workers/pako_inflate.min.js +0 -798
  26. package/Build/ThirdParty/Workers/z-worker-pako.js +0 -503
  27. package/Build/ThirdParty/basis_transcoder.wasm +0 -0
  28. package/Build/ThirdParty/draco_decoder.wasm +0 -0
  29. package/Build/ThirdParty/google-earth-dbroot-parser.js +0 -8019
  30. package/Build/Widget/CesiumWidget.css +0 -120
  31. package/Build/Widget/lighter.css +0 -13
@@ -1,120 +0,0 @@
1
- /* packages/engine/Source/Widget/CesiumWidget.css */
2
- .cesium-widget {
3
- font-family: sans-serif;
4
- font-size: 16px;
5
- overflow: hidden;
6
- display: block;
7
- position: relative;
8
- top: 0;
9
- left: 0;
10
- width: 100%;
11
- height: 100%;
12
- }
13
- .cesium-widget,
14
- .cesium-widget canvas {
15
- width: 100%;
16
- height: 100%;
17
- touch-action: none;
18
- }
19
- .cesium-widget-credits {
20
- display: block;
21
- position: absolute;
22
- bottom: 0;
23
- left: 0;
24
- color: #fff;
25
- font-size: 10px;
26
- text-shadow: 0px 0px 2px #000000;
27
- padding-right: 5px;
28
- }
29
- .cesium-widget-credits a,
30
- .cesium-widget-credits a:visited {
31
- color: #fff;
32
- }
33
- .cesium-widget-errorPanel {
34
- position: absolute;
35
- top: 0;
36
- right: 0;
37
- bottom: 0;
38
- left: 0;
39
- text-align: center;
40
- background: rgba(0, 0, 0, 0.7);
41
- z-index: 99999;
42
- }
43
- .cesium-widget-errorPanel:before {
44
- display: inline-block;
45
- vertical-align: middle;
46
- height: 100%;
47
- content: "";
48
- }
49
- .cesium-widget-errorPanel-content {
50
- width: 75%;
51
- max-width: 500px;
52
- display: inline-block;
53
- text-align: left;
54
- vertical-align: middle;
55
- border: 1px solid #510c00;
56
- border-radius: 7px;
57
- background-color: #f0d9d5;
58
- font-size: 14px;
59
- color: #510c00;
60
- }
61
- .cesium-widget-errorPanel-content.expanded {
62
- max-width: 75%;
63
- }
64
- .cesium-widget-errorPanel-header {
65
- font-size: 18px;
66
- font-family:
67
- "Open Sans",
68
- Verdana,
69
- Geneva,
70
- sans-serif;
71
- background: #d69d93;
72
- border-bottom: 2px solid #510c00;
73
- padding-bottom: 10px;
74
- border-radius: 3px 3px 0 0;
75
- padding: 15px;
76
- }
77
- .cesium-widget-errorPanel-scroll {
78
- overflow: auto;
79
- font-family:
80
- "Open Sans",
81
- Verdana,
82
- Geneva,
83
- sans-serif;
84
- white-space: pre-wrap;
85
- padding: 0 15px;
86
- margin: 10px 0 20px 0;
87
- }
88
- .cesium-widget-errorPanel-buttonPanel {
89
- padding: 0 15px;
90
- margin: 10px 0 20px 0;
91
- text-align: right;
92
- }
93
- .cesium-widget-errorPanel-buttonPanel button {
94
- border-color: #510c00;
95
- background: #d69d93;
96
- color: #202020;
97
- margin: 0;
98
- }
99
- .cesium-widget-errorPanel-buttonPanel button:focus {
100
- border-color: #510c00;
101
- background: #f0d9d5;
102
- color: #510c00;
103
- }
104
- .cesium-widget-errorPanel-buttonPanel button:hover {
105
- border-color: #510c00;
106
- background: #f0d9d5;
107
- color: #510c00;
108
- }
109
- .cesium-widget-errorPanel-buttonPanel button:active {
110
- border-color: #510c00;
111
- background: #b17b72;
112
- color: #510c00;
113
- }
114
- .cesium-widget-errorPanel-more-details {
115
- text-decoration: underline;
116
- cursor: pointer;
117
- }
118
- .cesium-widget-errorPanel-more-details:hover {
119
- color: #2b0700;
120
- }
@@ -1,13 +0,0 @@
1
- /* packages/engine/Source/Widget/lighter.css */
2
- .cesium-lighter .cesium-widget-errorPanel {
3
- background: rgba(255, 255, 255, 0.7);
4
- }
5
- .cesium-lighter .cesium-widget-errorPanel-content {
6
- border: 1px solid #526f82;
7
- border-radius: 7px;
8
- background-color: white;
9
- color: black;
10
- }
11
- .cesium-lighter .cesium-widget-errorPanel-header {
12
- color: #b87d00;
13
- }