@vyr/three 0.0.33 → 0.0.35

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 (683) hide show
  1. package/build/actor/ComposerServiceActor.d.ts +7 -8
  2. package/build/actor/ComposerServiceActor.js +4 -5
  3. package/build/actor/ComposerServiceActor.js.map +1 -1
  4. package/build/actor/GeometryActor.d.ts +1 -2
  5. package/build/actor/GeometryActor.js +1 -2
  6. package/build/actor/GeometryActor.js.map +1 -1
  7. package/build/actor/HTMLConvertActor.d.ts +1 -2
  8. package/build/actor/HTMLConvertActor.js +7 -8
  9. package/build/actor/HTMLConvertActor.js.map +1 -1
  10. package/build/actor/MaterialActor.d.ts +1 -2
  11. package/build/actor/MaterialActor.js +1 -2
  12. package/build/actor/MaterialActor.js.map +1 -1
  13. package/build/actor/NodeActor.d.ts +1 -2
  14. package/build/actor/NodeActor.js +1 -2
  15. package/build/actor/NodeActor.js.map +1 -1
  16. package/build/actor/OrbitControllerActor.d.ts +5 -6
  17. package/build/actor/OrbitControllerActor.js +14 -18
  18. package/build/actor/OrbitControllerActor.js.map +1 -1
  19. package/build/actor/PassActor.d.ts +4 -5
  20. package/build/actor/PassActor.js +1 -2
  21. package/build/actor/PassActor.js.map +1 -1
  22. package/build/actor/{SceneServiceActor.d.ts → Scene3DServiceActor.d.ts} +8 -7
  23. package/build/actor/{SceneServiceActor.js → Scene3DServiceActor.js} +43 -36
  24. package/build/actor/Scene3DServiceActor.js.map +1 -0
  25. package/build/actor/TextureActor.d.ts +1 -2
  26. package/build/actor/TextureActor.js +1 -2
  27. package/build/actor/TextureActor.js.map +1 -1
  28. package/build/actor/TransformControllerActor.d.ts +3 -4
  29. package/build/actor/TransformControllerActor.js +1 -2
  30. package/build/actor/TransformControllerActor.js.map +1 -1
  31. package/build/actor/index.d.ts +1 -1
  32. package/build/actor/index.js +1 -1
  33. package/build/actor/index.js.map +1 -1
  34. package/build/asset/index.js +39 -56
  35. package/build/asset/index.js.map +1 -1
  36. package/build/controls/CameraControls.d.ts +2 -2
  37. package/build/controls/CameraControls.js +1 -2
  38. package/build/controls/CameraControls.js.map +1 -1
  39. package/build/controls/TransformControls.d.ts +7 -8
  40. package/build/controls/TransformControls.js +12 -15
  41. package/build/controls/TransformControls.js.map +1 -1
  42. package/build/descriptor/ComposerService.d.ts +60 -0
  43. package/build/descriptor/ComposerService.js +68 -0
  44. package/build/descriptor/ComposerService.js.map +1 -0
  45. package/build/descriptor/GeoMap.d.ts +49 -0
  46. package/build/descriptor/GeoMap.js +59 -0
  47. package/build/descriptor/GeoMap.js.map +1 -0
  48. package/build/descriptor/HTMLConvert.d.ts +13 -0
  49. package/build/descriptor/HTMLConvert.js +17 -0
  50. package/build/descriptor/HTMLConvert.js.map +1 -0
  51. package/build/descriptor/InstancedMesh.d.ts +30 -0
  52. package/build/descriptor/InstancedMesh.js +24 -0
  53. package/build/descriptor/InstancedMesh.js.map +1 -0
  54. package/build/descriptor/Mesh.d.ts +25 -0
  55. package/build/descriptor/Mesh.js +31 -0
  56. package/build/descriptor/Mesh.js.map +1 -0
  57. package/build/descriptor/Model.d.ts +19 -0
  58. package/build/descriptor/Model.js +24 -0
  59. package/build/descriptor/Model.js.map +1 -0
  60. package/build/descriptor/OrbitController.d.ts +156 -0
  61. package/build/descriptor/OrbitController.js +169 -0
  62. package/build/descriptor/OrbitController.js.map +1 -0
  63. package/build/descriptor/OrthographicCamera.d.ts +14 -0
  64. package/build/descriptor/OrthographicCamera.js +18 -0
  65. package/build/descriptor/OrthographicCamera.js.map +1 -0
  66. package/build/descriptor/Particle.d.ts +144 -0
  67. package/build/descriptor/Particle.js +175 -0
  68. package/build/descriptor/Particle.js.map +1 -0
  69. package/build/descriptor/Pass.d.ts +41 -0
  70. package/build/descriptor/Pass.js +43 -0
  71. package/build/descriptor/Pass.js.map +1 -0
  72. package/build/descriptor/PerspectiveCamera.d.ts +20 -0
  73. package/build/descriptor/PerspectiveCamera.js +25 -0
  74. package/build/descriptor/PerspectiveCamera.js.map +1 -0
  75. package/build/descriptor/Points.d.ts +25 -0
  76. package/build/descriptor/Points.js +31 -0
  77. package/build/descriptor/Points.js.map +1 -0
  78. package/build/descriptor/Scene3DService.d.ts +62 -0
  79. package/build/descriptor/Scene3DService.js +74 -0
  80. package/build/descriptor/Scene3DService.js.map +1 -0
  81. package/build/descriptor/Sprite.d.ts +20 -0
  82. package/build/descriptor/Sprite.js +26 -0
  83. package/build/descriptor/Sprite.js.map +1 -0
  84. package/build/descriptor/Text3D.d.ts +34 -0
  85. package/build/descriptor/Text3D.js +49 -0
  86. package/build/descriptor/Text3D.js.map +1 -0
  87. package/build/descriptor/TransformController.d.ts +22 -0
  88. package/build/descriptor/TransformController.js +31 -0
  89. package/build/descriptor/TransformController.js.map +1 -0
  90. package/build/descriptor/animation/AnimationAction.d.ts +63 -0
  91. package/build/descriptor/animation/AnimationAction.js +81 -0
  92. package/build/descriptor/animation/AnimationAction.js.map +1 -0
  93. package/build/descriptor/geometry/BoxGeometry.d.ts +27 -0
  94. package/build/descriptor/geometry/BoxGeometry.js +36 -0
  95. package/build/descriptor/geometry/BoxGeometry.js.map +1 -0
  96. package/build/descriptor/geometry/BufferGeometry.d.ts +17 -0
  97. package/build/descriptor/geometry/BufferGeometry.js +21 -0
  98. package/build/descriptor/geometry/BufferGeometry.js.map +1 -0
  99. package/build/descriptor/geometry/CircleGeometry.d.ts +23 -0
  100. package/build/descriptor/geometry/CircleGeometry.js +30 -0
  101. package/build/descriptor/geometry/CircleGeometry.js.map +1 -0
  102. package/build/descriptor/geometry/CylinderGeometry.d.ts +31 -0
  103. package/build/descriptor/geometry/CylinderGeometry.js +42 -0
  104. package/build/descriptor/geometry/CylinderGeometry.js.map +1 -0
  105. package/build/descriptor/geometry/ExtrudeGeometry.d.ts +37 -0
  106. package/build/descriptor/geometry/ExtrudeGeometry.js +51 -0
  107. package/build/descriptor/geometry/ExtrudeGeometry.js.map +1 -0
  108. package/build/descriptor/geometry/Geometry.d.ts +11 -0
  109. package/build/descriptor/geometry/Geometry.js +2 -0
  110. package/build/descriptor/geometry/Geometry.js.map +1 -0
  111. package/build/descriptor/geometry/PlaneGeometry.d.ts +23 -0
  112. package/build/descriptor/geometry/PlaneGeometry.js +30 -0
  113. package/build/descriptor/geometry/PlaneGeometry.js.map +1 -0
  114. package/build/descriptor/geometry/RingGeometry.d.ts +27 -0
  115. package/build/descriptor/geometry/RingGeometry.js +36 -0
  116. package/build/descriptor/geometry/RingGeometry.js.map +1 -0
  117. package/build/descriptor/geometry/SphereGeometry.d.ts +29 -0
  118. package/build/descriptor/geometry/SphereGeometry.js +39 -0
  119. package/build/descriptor/geometry/SphereGeometry.js.map +1 -0
  120. package/build/descriptor/geometry/SurfaceGeometry.d.ts +15 -0
  121. package/build/descriptor/geometry/SurfaceGeometry.js +20 -0
  122. package/build/descriptor/geometry/SurfaceGeometry.js.map +1 -0
  123. package/build/descriptor/geometry/TubeGeometry.d.ts +27 -0
  124. package/build/descriptor/geometry/TubeGeometry.js +36 -0
  125. package/build/descriptor/geometry/TubeGeometry.js.map +1 -0
  126. package/build/descriptor/helper/AxesHelper.d.ts +11 -0
  127. package/build/descriptor/helper/AxesHelper.js +13 -0
  128. package/build/descriptor/helper/AxesHelper.js.map +1 -0
  129. package/build/descriptor/index.d.ts +45 -43
  130. package/build/descriptor/index.js +45 -45
  131. package/build/descriptor/index.js.map +1 -1
  132. package/build/descriptor/light/AmbientLight.d.ts +19 -0
  133. package/build/descriptor/light/AmbientLight.js +24 -0
  134. package/build/descriptor/light/AmbientLight.js.map +1 -0
  135. package/build/descriptor/light/DirectionalLight.d.ts +49 -0
  136. package/build/descriptor/light/DirectionalLight.js +39 -0
  137. package/build/descriptor/light/DirectionalLight.js.map +1 -0
  138. package/build/descriptor/light/HemisphereLight.d.ts +21 -0
  139. package/build/descriptor/light/HemisphereLight.js +27 -0
  140. package/build/descriptor/light/HemisphereLight.js.map +1 -0
  141. package/build/descriptor/light/Light.d.ts +15 -0
  142. package/build/descriptor/light/Light.js +2 -0
  143. package/build/descriptor/light/Light.js.map +1 -0
  144. package/build/descriptor/light/PointLight.d.ts +32 -0
  145. package/build/descriptor/light/PointLight.js +39 -0
  146. package/build/descriptor/light/PointLight.js.map +1 -0
  147. package/build/descriptor/light/RectAreaLight.d.ts +25 -0
  148. package/build/descriptor/light/RectAreaLight.js +33 -0
  149. package/build/descriptor/light/RectAreaLight.js.map +1 -0
  150. package/build/descriptor/light/SpotLight.d.ts +38 -0
  151. package/build/descriptor/light/SpotLight.js +48 -0
  152. package/build/descriptor/light/SpotLight.js.map +1 -0
  153. package/build/descriptor/material/Material.d.ts +109 -0
  154. package/build/descriptor/material/Material.js +86 -0
  155. package/build/descriptor/material/Material.js.map +1 -0
  156. package/build/descriptor/material/MeshBasicMaterial.d.ts +69 -0
  157. package/build/descriptor/material/MeshBasicMaterial.js +95 -0
  158. package/build/descriptor/material/MeshBasicMaterial.js.map +1 -0
  159. package/build/descriptor/material/MeshPhongMaterial.d.ts +99 -0
  160. package/build/descriptor/material/MeshPhongMaterial.js +142 -0
  161. package/build/descriptor/material/MeshPhongMaterial.js.map +1 -0
  162. package/build/descriptor/material/MeshStandardMaterial.d.ts +97 -0
  163. package/build/descriptor/material/MeshStandardMaterial.js +139 -0
  164. package/build/descriptor/material/MeshStandardMaterial.js.map +1 -0
  165. package/build/descriptor/material/PointsMaterial.d.ts +53 -0
  166. package/build/descriptor/material/PointsMaterial.js +73 -0
  167. package/build/descriptor/material/PointsMaterial.js.map +1 -0
  168. package/build/descriptor/material/ShaderMaterial.d.ts +59 -0
  169. package/build/descriptor/material/ShaderMaterial.js +61 -0
  170. package/build/descriptor/material/ShaderMaterial.js.map +1 -0
  171. package/build/descriptor/material/ShadowMaterial.d.ts +45 -0
  172. package/build/descriptor/material/ShadowMaterial.js +61 -0
  173. package/build/descriptor/material/ShadowMaterial.js.map +1 -0
  174. package/build/descriptor/material/SpriteMaterial.d.ts +53 -0
  175. package/build/descriptor/material/SpriteMaterial.js +73 -0
  176. package/build/descriptor/material/SpriteMaterial.js.map +1 -0
  177. package/build/descriptor/texture/Texture.d.ts +148 -0
  178. package/build/descriptor/texture/Texture.js +170 -0
  179. package/build/descriptor/texture/Texture.js.map +1 -0
  180. package/build/index.d.ts +0 -1
  181. package/build/index.js +0 -1
  182. package/build/index.js.map +1 -1
  183. package/build/interpreter/ComposerServiceInterpreter.js +3 -3
  184. package/build/interpreter/ComposerServiceInterpreter.js.map +1 -1
  185. package/build/interpreter/GeoMapInterpreter.d.ts +14 -15
  186. package/build/interpreter/GeoMapInterpreter.js +69 -74
  187. package/build/interpreter/GeoMapInterpreter.js.map +1 -1
  188. package/build/interpreter/HTMLConvertInterpreter.d.ts +5 -6
  189. package/build/interpreter/HTMLConvertInterpreter.js +3 -4
  190. package/build/interpreter/HTMLConvertInterpreter.js.map +1 -1
  191. package/build/interpreter/InstancedMeshInterpreter.d.ts +11 -12
  192. package/build/interpreter/InstancedMeshInterpreter.js +15 -16
  193. package/build/interpreter/InstancedMeshInterpreter.js.map +1 -1
  194. package/build/interpreter/MeshInterpreter.d.ts +4 -5
  195. package/build/interpreter/MeshInterpreter.js +5 -6
  196. package/build/interpreter/MeshInterpreter.js.map +1 -1
  197. package/build/interpreter/ModelInterpreter.d.ts +6 -7
  198. package/build/interpreter/ModelInterpreter.js +3 -4
  199. package/build/interpreter/ModelInterpreter.js.map +1 -1
  200. package/build/interpreter/NodeInterpreter.d.ts +9 -10
  201. package/build/interpreter/NodeInterpreter.js +3 -4
  202. package/build/interpreter/NodeInterpreter.js.map +1 -1
  203. package/build/interpreter/OrbitControllerInterpreter.d.ts +8 -9
  204. package/build/interpreter/OrbitControllerInterpreter.js +3 -4
  205. package/build/interpreter/OrbitControllerInterpreter.js.map +1 -1
  206. package/build/interpreter/OrthographicCameraInterpreter.d.ts +3 -4
  207. package/build/interpreter/OrthographicCameraInterpreter.js +3 -4
  208. package/build/interpreter/OrthographicCameraInterpreter.js.map +1 -1
  209. package/build/interpreter/ParticleInterpreter.d.ts +5 -6
  210. package/build/interpreter/ParticleInterpreter.js +8 -9
  211. package/build/interpreter/ParticleInterpreter.js.map +1 -1
  212. package/build/interpreter/PerspectiveCameraInterpreter.d.ts +7 -8
  213. package/build/interpreter/PerspectiveCameraInterpreter.js +5 -6
  214. package/build/interpreter/PerspectiveCameraInterpreter.js.map +1 -1
  215. package/build/interpreter/PointsInterpreter.d.ts +7 -8
  216. package/build/interpreter/PointsInterpreter.js +5 -6
  217. package/build/interpreter/PointsInterpreter.js.map +1 -1
  218. package/build/interpreter/Scene3DServiceInterpreter.d.ts +27 -0
  219. package/build/interpreter/{SceneServiceInterpreter.js → Scene3DServiceInterpreter.js} +16 -17
  220. package/build/interpreter/Scene3DServiceInterpreter.js.map +1 -0
  221. package/build/interpreter/SceneInterpreter.d.ts +8 -0
  222. package/build/interpreter/{ServiceSchedulerInterpreter.js → SceneInterpreter.js} +4 -5
  223. package/build/interpreter/SceneInterpreter.js.map +1 -0
  224. package/build/interpreter/SpriteInterpreter.d.ts +6 -7
  225. package/build/interpreter/SpriteInterpreter.js +5 -6
  226. package/build/interpreter/SpriteInterpreter.js.map +1 -1
  227. package/build/interpreter/Text3DInterpreter.d.ts +15 -0
  228. package/build/interpreter/{TextInterpreter.js → Text3DInterpreter.js} +5 -6
  229. package/build/interpreter/Text3DInterpreter.js.map +1 -0
  230. package/build/interpreter/TransformControllerInterpreter.d.ts +7 -8
  231. package/build/interpreter/TransformControllerInterpreter.js +3 -4
  232. package/build/interpreter/TransformControllerInterpreter.js.map +1 -1
  233. package/build/interpreter/animation/AnimationActionInterpreter.d.ts +8 -9
  234. package/build/interpreter/animation/AnimationActionInterpreter.js +9 -10
  235. package/build/interpreter/animation/AnimationActionInterpreter.js.map +1 -1
  236. package/build/interpreter/geometry/BoxGeometryInterpreter.d.ts +7 -8
  237. package/build/interpreter/geometry/BoxGeometryInterpreter.js +5 -6
  238. package/build/interpreter/geometry/BoxGeometryInterpreter.js.map +1 -1
  239. package/build/interpreter/geometry/BufferGeometryInterpreter.d.ts +7 -8
  240. package/build/interpreter/geometry/BufferGeometryInterpreter.js +8 -9
  241. package/build/interpreter/geometry/BufferGeometryInterpreter.js.map +1 -1
  242. package/build/interpreter/geometry/CircleGeometryInterpreter.d.ts +7 -8
  243. package/build/interpreter/geometry/CircleGeometryInterpreter.js +5 -6
  244. package/build/interpreter/geometry/CircleGeometryInterpreter.js.map +1 -1
  245. package/build/interpreter/geometry/CylinderGeometryInterpreter.d.ts +7 -8
  246. package/build/interpreter/geometry/CylinderGeometryInterpreter.js +5 -6
  247. package/build/interpreter/geometry/CylinderGeometryInterpreter.js.map +1 -1
  248. package/build/interpreter/geometry/ExtrudeGeometryInterpreter.d.ts +8 -9
  249. package/build/interpreter/geometry/ExtrudeGeometryInterpreter.js +7 -8
  250. package/build/interpreter/geometry/ExtrudeGeometryInterpreter.js.map +1 -1
  251. package/build/interpreter/geometry/PlaneGeometryInterpreter.d.ts +7 -8
  252. package/build/interpreter/geometry/PlaneGeometryInterpreter.js +5 -6
  253. package/build/interpreter/geometry/PlaneGeometryInterpreter.js.map +1 -1
  254. package/build/interpreter/geometry/RingGeometryInterpreter.d.ts +7 -8
  255. package/build/interpreter/geometry/RingGeometryInterpreter.js +5 -6
  256. package/build/interpreter/geometry/RingGeometryInterpreter.js.map +1 -1
  257. package/build/interpreter/geometry/SphereGeometryInterpreter.d.ts +7 -8
  258. package/build/interpreter/geometry/SphereGeometryInterpreter.js +5 -6
  259. package/build/interpreter/geometry/SphereGeometryInterpreter.js.map +1 -1
  260. package/build/interpreter/geometry/SurfaceGeometryInterpreter.d.ts +4 -5
  261. package/build/interpreter/geometry/SurfaceGeometryInterpreter.js +3 -4
  262. package/build/interpreter/geometry/SurfaceGeometryInterpreter.js.map +1 -1
  263. package/build/interpreter/geometry/TubeGeometryInterpreter.d.ts +8 -9
  264. package/build/interpreter/geometry/TubeGeometryInterpreter.js +7 -8
  265. package/build/interpreter/geometry/TubeGeometryInterpreter.js.map +1 -1
  266. package/build/interpreter/helper/AxesHelperInterpreter.d.ts +7 -8
  267. package/build/interpreter/helper/AxesHelperInterpreter.js +5 -6
  268. package/build/interpreter/helper/AxesHelperInterpreter.js.map +1 -1
  269. package/build/interpreter/index.d.ts +3 -3
  270. package/build/interpreter/index.js +3 -3
  271. package/build/interpreter/index.js.map +1 -1
  272. package/build/interpreter/light/AmbientLightInterpreter.d.ts +7 -8
  273. package/build/interpreter/light/AmbientLightInterpreter.js +6 -7
  274. package/build/interpreter/light/AmbientLightInterpreter.js.map +1 -1
  275. package/build/interpreter/light/DirectionalLightInterpreter.d.ts +9 -10
  276. package/build/interpreter/light/DirectionalLightInterpreter.js +6 -7
  277. package/build/interpreter/light/DirectionalLightInterpreter.js.map +1 -1
  278. package/build/interpreter/light/HemisphereLightInterpreter.d.ts +7 -8
  279. package/build/interpreter/light/HemisphereLightInterpreter.js +7 -8
  280. package/build/interpreter/light/HemisphereLightInterpreter.js.map +1 -1
  281. package/build/interpreter/light/PointLightInterpreter.d.ts +8 -9
  282. package/build/interpreter/light/PointLightInterpreter.js +5 -6
  283. package/build/interpreter/light/PointLightInterpreter.js.map +1 -1
  284. package/build/interpreter/light/RectAreaLightInterpreter.d.ts +7 -8
  285. package/build/interpreter/light/RectAreaLightInterpreter.js +5 -6
  286. package/build/interpreter/light/RectAreaLightInterpreter.js.map +1 -1
  287. package/build/interpreter/light/SpotLightInterpreter.d.ts +9 -10
  288. package/build/interpreter/light/SpotLightInterpreter.js +5 -6
  289. package/build/interpreter/light/SpotLightInterpreter.js.map +1 -1
  290. package/build/interpreter/material/MaterialInterpreter.d.ts +5 -7
  291. package/build/interpreter/material/MaterialInterpreter.js +2 -6
  292. package/build/interpreter/material/MaterialInterpreter.js.map +1 -1
  293. package/build/interpreter/material/MeshBasicMaterialInterpreter.d.ts +6 -7
  294. package/build/interpreter/material/MeshBasicMaterialInterpreter.js +7 -8
  295. package/build/interpreter/material/MeshBasicMaterialInterpreter.js.map +1 -1
  296. package/build/interpreter/material/MeshPhongMaterialInterpreter.d.ts +7 -8
  297. package/build/interpreter/material/MeshPhongMaterialInterpreter.js +8 -9
  298. package/build/interpreter/material/MeshPhongMaterialInterpreter.js.map +1 -1
  299. package/build/interpreter/material/MeshStandardMaterialInterpreter.d.ts +7 -8
  300. package/build/interpreter/material/MeshStandardMaterialInterpreter.js +8 -9
  301. package/build/interpreter/material/MeshStandardMaterialInterpreter.js.map +1 -1
  302. package/build/interpreter/material/PointsMaterialInterpreter.d.ts +6 -7
  303. package/build/interpreter/material/PointsMaterialInterpreter.js +7 -8
  304. package/build/interpreter/material/PointsMaterialInterpreter.js.map +1 -1
  305. package/build/interpreter/material/ShaderMaterialInterpreter.d.ts +7 -8
  306. package/build/interpreter/material/ShaderMaterialInterpreter.js +8 -9
  307. package/build/interpreter/material/ShaderMaterialInterpreter.js.map +1 -1
  308. package/build/interpreter/material/ShadowMaterialInterpreter.d.ts +6 -7
  309. package/build/interpreter/material/ShadowMaterialInterpreter.js +7 -9
  310. package/build/interpreter/material/ShadowMaterialInterpreter.js.map +1 -1
  311. package/build/interpreter/material/SpriteMaterialInterpreter.d.ts +6 -7
  312. package/build/interpreter/material/SpriteMaterialInterpreter.js +7 -10
  313. package/build/interpreter/material/SpriteMaterialInterpreter.js.map +1 -1
  314. package/build/interpreter/texture/TextureInterpreter.d.ts +8 -9
  315. package/build/interpreter/texture/TextureInterpreter.js +5 -6
  316. package/build/interpreter/texture/TextureInterpreter.js.map +1 -1
  317. package/build/locale/Language.d.ts +1 -2
  318. package/build/locale/Language.js +1 -2
  319. package/build/locale/Language.js.map +1 -1
  320. package/build/locale/LanguageProvider.d.ts +2 -4
  321. package/build/locale/LanguageProvider.js +1 -3
  322. package/build/locale/LanguageProvider.js.map +1 -1
  323. package/build/utils/dispose/index.d.ts +1 -2
  324. package/build/utils/dispose/index.js +1 -2
  325. package/build/utils/dispose/index.js.map +1 -1
  326. package/build/utils/geometry/index.d.ts +8 -8
  327. package/build/utils/geometry/index.js +9 -7
  328. package/build/utils/geometry/index.js.map +1 -1
  329. package/build/utils/index.d.ts +1 -0
  330. package/build/utils/index.js +1 -0
  331. package/build/utils/index.js.map +1 -1
  332. package/build/utils/light/index.d.ts +2 -0
  333. package/build/utils/light/index.js +4 -0
  334. package/build/utils/light/index.js.map +1 -0
  335. package/build/utils/material/index.d.ts +7 -6
  336. package/build/utils/material/index.js +9 -7
  337. package/build/utils/material/index.js.map +1 -1
  338. package/build/utils/pickup/index.d.ts +1 -2
  339. package/build/utils/pickup/index.js +4 -5
  340. package/build/utils/pickup/index.js.map +1 -1
  341. package/build/utils/random/index.d.ts +1 -2
  342. package/build/utils/random/index.js +1 -2
  343. package/build/utils/random/index.js.map +1 -1
  344. package/build/utils/text/index.d.ts +2 -2
  345. package/build/utils/text/index.js +1 -2
  346. package/build/utils/text/index.js.map +1 -1
  347. package/build/utils/texture/index.d.ts +1 -2
  348. package/build/utils/texture/index.js +3 -4
  349. package/build/utils/texture/index.js.map +1 -1
  350. package/package.json +1 -1
  351. package/src/actor/ComposerServiceActor.ts +9 -13
  352. package/src/actor/GeometryActor.ts +2 -4
  353. package/src/actor/HTMLConvertActor.ts +8 -10
  354. package/src/actor/MaterialActor.ts +2 -4
  355. package/src/actor/NodeActor.ts +23 -25
  356. package/src/actor/OrbitControllerActor.ts +21 -28
  357. package/src/actor/PassActor.ts +5 -7
  358. package/src/actor/{SceneServiceActor.ts → Scene3DServiceActor.ts} +49 -41
  359. package/src/actor/TextureActor.ts +2 -4
  360. package/src/actor/TransformControllerActor.ts +3 -5
  361. package/src/actor/index.ts +1 -1
  362. package/src/asset/index.ts +38 -53
  363. package/src/controls/CameraControls.ts +1 -3
  364. package/src/controls/TransformControls.ts +18 -24
  365. package/src/descriptor/ComposerService.ts +72 -0
  366. package/src/descriptor/GeoMap.ts +60 -0
  367. package/src/descriptor/HTMLConvert.ts +18 -0
  368. package/src/descriptor/InstancedMesh.ts +38 -0
  369. package/src/descriptor/Mesh.ts +32 -0
  370. package/src/descriptor/Model.ts +26 -0
  371. package/src/descriptor/OrbitController.ts +186 -0
  372. package/src/descriptor/OrthographicCamera.ts +19 -0
  373. package/src/descriptor/Particle.ts +177 -0
  374. package/src/descriptor/Pass.ts +54 -0
  375. package/src/descriptor/PerspectiveCamera.ts +27 -0
  376. package/src/descriptor/Points.ts +32 -0
  377. package/src/descriptor/Scene3DService.ts +80 -0
  378. package/src/descriptor/Sprite.ts +27 -0
  379. package/src/descriptor/Text3D.ts +51 -0
  380. package/src/descriptor/TransformController.ts +33 -0
  381. package/src/descriptor/animation/AnimationAction.ts +82 -0
  382. package/src/descriptor/geometry/BoxGeometry.ts +38 -0
  383. package/src/descriptor/geometry/BufferGeometry.ts +23 -0
  384. package/src/descriptor/geometry/CircleGeometry.ts +32 -0
  385. package/src/descriptor/geometry/CylinderGeometry.ts +44 -0
  386. package/src/descriptor/geometry/ExtrudeGeometry.ts +53 -0
  387. package/src/descriptor/geometry/Geometry.ts +12 -0
  388. package/src/descriptor/geometry/PlaneGeometry.ts +32 -0
  389. package/src/descriptor/geometry/RingGeometry.ts +38 -0
  390. package/src/descriptor/geometry/SphereGeometry.ts +41 -0
  391. package/src/descriptor/geometry/SurfaceGeometry.ts +21 -0
  392. package/src/descriptor/geometry/TubeGeometry.ts +38 -0
  393. package/src/descriptor/helper/AxesHelper.ts +13 -0
  394. package/src/descriptor/index.ts +45 -45
  395. package/src/descriptor/light/AmbientLight.ts +26 -0
  396. package/src/descriptor/light/DirectionalLight.ts +62 -0
  397. package/src/descriptor/light/HemisphereLight.ts +29 -0
  398. package/src/descriptor/light/Light.ts +16 -0
  399. package/src/descriptor/light/PointLight.ts +41 -0
  400. package/src/descriptor/light/RectAreaLight.ts +35 -0
  401. package/src/descriptor/light/SpotLight.ts +50 -0
  402. package/src/descriptor/material/Material.ts +115 -0
  403. package/src/descriptor/material/MeshBasicMaterial.ts +96 -0
  404. package/src/descriptor/material/MeshPhongMaterial.ts +143 -0
  405. package/src/descriptor/material/MeshStandardMaterial.ts +141 -0
  406. package/src/descriptor/material/PointsMaterial.ts +74 -0
  407. package/src/descriptor/material/ShaderMaterial.ts +77 -0
  408. package/src/descriptor/material/ShadowMaterial.ts +62 -0
  409. package/src/descriptor/material/SpriteMaterial.ts +74 -0
  410. package/src/descriptor/texture/Texture.ts +172 -0
  411. package/src/index.ts +0 -1
  412. package/src/interpreter/ComposerServiceInterpreter.ts +3 -3
  413. package/src/interpreter/GeoMapInterpreter.ts +91 -94
  414. package/src/interpreter/HTMLConvertInterpreter.ts +7 -9
  415. package/src/interpreter/InstancedMeshInterpreter.ts +22 -24
  416. package/src/interpreter/MeshInterpreter.ts +22 -24
  417. package/src/interpreter/ModelInterpreter.ts +8 -10
  418. package/src/interpreter/NodeInterpreter.ts +11 -13
  419. package/src/interpreter/OrbitControllerInterpreter.ts +10 -13
  420. package/src/interpreter/OrthographicCameraInterpreter.ts +5 -8
  421. package/src/interpreter/ParticleInterpreter.ts +15 -17
  422. package/src/interpreter/PerspectiveCameraInterpreter.ts +11 -14
  423. package/src/interpreter/PointsInterpreter.ts +11 -13
  424. package/src/interpreter/Scene3DServiceInterpreter.ts +118 -0
  425. package/src/interpreter/{ServiceSchedulerInterpreter.ts → SceneInterpreter.ts} +5 -7
  426. package/src/interpreter/SpriteInterpreter.ts +10 -12
  427. package/src/interpreter/{TextInterpreter.ts → Text3DInterpreter.ts} +9 -11
  428. package/src/interpreter/TransformControllerInterpreter.ts +9 -12
  429. package/src/interpreter/animation/AnimationActionInterpreter.ts +17 -19
  430. package/src/interpreter/geometry/BoxGeometryInterpreter.ts +12 -14
  431. package/src/interpreter/geometry/BufferGeometryInterpreter.ts +15 -17
  432. package/src/interpreter/geometry/CircleGeometryInterpreter.ts +12 -14
  433. package/src/interpreter/geometry/CylinderGeometryInterpreter.ts +12 -14
  434. package/src/interpreter/geometry/ExtrudeGeometryInterpreter.ts +15 -17
  435. package/src/interpreter/geometry/PlaneGeometryInterpreter.ts +12 -14
  436. package/src/interpreter/geometry/RingGeometryInterpreter.ts +12 -14
  437. package/src/interpreter/geometry/SphereGeometryInterpreter.ts +12 -14
  438. package/src/interpreter/geometry/SurfaceGeometryInterpreter.ts +6 -8
  439. package/src/interpreter/geometry/TubeGeometryInterpreter.ts +15 -17
  440. package/src/interpreter/helper/AxesHelperInterpreter.ts +12 -14
  441. package/src/interpreter/index.ts +3 -3
  442. package/src/interpreter/light/AmbientLightInterpreter.ts +12 -14
  443. package/src/interpreter/light/DirectionalLightInterpreter.ts +15 -17
  444. package/src/interpreter/light/HemisphereLightInterpreter.ts +14 -17
  445. package/src/interpreter/light/PointLightInterpreter.ts +13 -16
  446. package/src/interpreter/light/RectAreaLightInterpreter.ts +12 -14
  447. package/src/interpreter/light/SpotLightInterpreter.ts +14 -17
  448. package/src/interpreter/material/MaterialInterpreter.ts +7 -12
  449. package/src/interpreter/material/MeshBasicMaterialInterpreter.ts +12 -14
  450. package/src/interpreter/material/MeshPhongMaterialInterpreter.ts +13 -15
  451. package/src/interpreter/material/MeshStandardMaterialInterpreter.ts +13 -15
  452. package/src/interpreter/material/PointsMaterialInterpreter.ts +12 -14
  453. package/src/interpreter/material/ShaderMaterialInterpreter.ts +13 -15
  454. package/src/interpreter/material/ShadowMaterialInterpreter.ts +12 -15
  455. package/src/interpreter/material/SpriteMaterialInterpreter.ts +12 -16
  456. package/src/interpreter/texture/TextureInterpreter.ts +11 -13
  457. package/src/locale/Language.ts +1 -5
  458. package/src/locale/LanguageProvider.ts +2 -9
  459. package/src/utils/dispose/index.ts +2 -4
  460. package/src/utils/geometry/index.ts +9 -14
  461. package/src/utils/index.ts +2 -1
  462. package/src/utils/light/index.ts +5 -0
  463. package/src/utils/material/index.ts +14 -16
  464. package/src/utils/pickup/index.ts +4 -8
  465. package/src/utils/random/index.ts +1 -5
  466. package/src/utils/text/index.ts +1 -5
  467. package/src/utils/texture/index.ts +4 -6
  468. package/build/actor/SceneServiceActor.js.map +0 -1
  469. package/build/descriptor/ComposerServiceDescriptor.d.ts +0 -33
  470. package/build/descriptor/ComposerServiceDescriptor.js +0 -42
  471. package/build/descriptor/ComposerServiceDescriptor.js.map +0 -1
  472. package/build/descriptor/GeoMapDescriptor.d.ts +0 -12
  473. package/build/descriptor/GeoMapDescriptor.js +0 -22
  474. package/build/descriptor/GeoMapDescriptor.js.map +0 -1
  475. package/build/descriptor/HTMLConvertDescriptor.d.ts +0 -6
  476. package/build/descriptor/HTMLConvertDescriptor.js +0 -10
  477. package/build/descriptor/HTMLConvertDescriptor.js.map +0 -1
  478. package/build/descriptor/InstancedMeshDescriptor.d.ts +0 -12
  479. package/build/descriptor/InstancedMeshDescriptor.js +0 -12
  480. package/build/descriptor/InstancedMeshDescriptor.js.map +0 -1
  481. package/build/descriptor/MeshDescriptor.d.ts +0 -8
  482. package/build/descriptor/MeshDescriptor.js +0 -14
  483. package/build/descriptor/MeshDescriptor.js.map +0 -1
  484. package/build/descriptor/ModelDescriptor.d.ts +0 -7
  485. package/build/descriptor/ModelDescriptor.js +0 -12
  486. package/build/descriptor/ModelDescriptor.js.map +0 -1
  487. package/build/descriptor/OrbitControllerDescriptor.d.ts +0 -54
  488. package/build/descriptor/OrbitControllerDescriptor.js +0 -73
  489. package/build/descriptor/OrbitControllerDescriptor.js.map +0 -1
  490. package/build/descriptor/OrthographicCameraDescriptor.d.ts +0 -6
  491. package/build/descriptor/OrthographicCameraDescriptor.js +0 -10
  492. package/build/descriptor/OrthographicCameraDescriptor.js.map +0 -1
  493. package/build/descriptor/ParticleDescriptor.d.ts +0 -55
  494. package/build/descriptor/ParticleDescriptor.js +0 -85
  495. package/build/descriptor/ParticleDescriptor.js.map +0 -1
  496. package/build/descriptor/PassDescriptor.d.ts +0 -16
  497. package/build/descriptor/PassDescriptor.js +0 -23
  498. package/build/descriptor/PassDescriptor.js.map +0 -1
  499. package/build/descriptor/PerspectiveCameraDescriptor.d.ts +0 -7
  500. package/build/descriptor/PerspectiveCameraDescriptor.js +0 -12
  501. package/build/descriptor/PerspectiveCameraDescriptor.js.map +0 -1
  502. package/build/descriptor/PointsDescriptor.d.ts +0 -8
  503. package/build/descriptor/PointsDescriptor.js +0 -14
  504. package/build/descriptor/PointsDescriptor.js.map +0 -1
  505. package/build/descriptor/SceneServiceDescriptor.d.ts +0 -20
  506. package/build/descriptor/SceneServiceDescriptor.js +0 -35
  507. package/build/descriptor/SceneServiceDescriptor.js.map +0 -1
  508. package/build/descriptor/SpriteDescriptor.d.ts +0 -8
  509. package/build/descriptor/SpriteDescriptor.js +0 -14
  510. package/build/descriptor/SpriteDescriptor.js.map +0 -1
  511. package/build/descriptor/TextDescriptor.d.ts +0 -21
  512. package/build/descriptor/TextDescriptor.js +0 -37
  513. package/build/descriptor/TextDescriptor.js.map +0 -1
  514. package/build/descriptor/TransformControllerDescriptor.d.ts +0 -20
  515. package/build/descriptor/TransformControllerDescriptor.js +0 -22
  516. package/build/descriptor/TransformControllerDescriptor.js.map +0 -1
  517. package/build/descriptor/animation/AnimationActionDescriptor.d.ts +0 -27
  518. package/build/descriptor/animation/AnimationActionDescriptor.js +0 -46
  519. package/build/descriptor/animation/AnimationActionDescriptor.js.map +0 -1
  520. package/build/descriptor/geometry/BoxGeometryDescriptor.d.ts +0 -14
  521. package/build/descriptor/geometry/BoxGeometryDescriptor.js +0 -23
  522. package/build/descriptor/geometry/BoxGeometryDescriptor.js.map +0 -1
  523. package/build/descriptor/geometry/BufferGeometryDescriptor.d.ts +0 -8
  524. package/build/descriptor/geometry/BufferGeometryDescriptor.js +0 -12
  525. package/build/descriptor/geometry/BufferGeometryDescriptor.js.map +0 -1
  526. package/build/descriptor/geometry/CircleGeometryDescriptor.d.ts +0 -12
  527. package/build/descriptor/geometry/CircleGeometryDescriptor.js +0 -19
  528. package/build/descriptor/geometry/CircleGeometryDescriptor.js.map +0 -1
  529. package/build/descriptor/geometry/CylinderGeometryDescriptor.d.ts +0 -16
  530. package/build/descriptor/geometry/CylinderGeometryDescriptor.js +0 -27
  531. package/build/descriptor/geometry/CylinderGeometryDescriptor.js.map +0 -1
  532. package/build/descriptor/geometry/ExtrudeGeometryDescriptor.d.ts +0 -18
  533. package/build/descriptor/geometry/ExtrudeGeometryDescriptor.js +0 -33
  534. package/build/descriptor/geometry/ExtrudeGeometryDescriptor.js.map +0 -1
  535. package/build/descriptor/geometry/GeometryDescriptor.d.ts +0 -5
  536. package/build/descriptor/geometry/GeometryDescriptor.js +0 -7
  537. package/build/descriptor/geometry/GeometryDescriptor.js.map +0 -1
  538. package/build/descriptor/geometry/PlaneGeometryDescriptor.d.ts +0 -12
  539. package/build/descriptor/geometry/PlaneGeometryDescriptor.js +0 -19
  540. package/build/descriptor/geometry/PlaneGeometryDescriptor.js.map +0 -1
  541. package/build/descriptor/geometry/RingGeometryDescriptor.d.ts +0 -14
  542. package/build/descriptor/geometry/RingGeometryDescriptor.js +0 -23
  543. package/build/descriptor/geometry/RingGeometryDescriptor.js.map +0 -1
  544. package/build/descriptor/geometry/SphereGeometryDescriptor.d.ts +0 -14
  545. package/build/descriptor/geometry/SphereGeometryDescriptor.js +0 -24
  546. package/build/descriptor/geometry/SphereGeometryDescriptor.js.map +0 -1
  547. package/build/descriptor/geometry/SurfaceGeometryDescriptor.d.ts +0 -8
  548. package/build/descriptor/geometry/SurfaceGeometryDescriptor.js +0 -12
  549. package/build/descriptor/geometry/SurfaceGeometryDescriptor.js.map +0 -1
  550. package/build/descriptor/geometry/TubeGeometryDescriptor.d.ts +0 -13
  551. package/build/descriptor/geometry/TubeGeometryDescriptor.js +0 -23
  552. package/build/descriptor/geometry/TubeGeometryDescriptor.js.map +0 -1
  553. package/build/descriptor/helper/AxesHelperDescriptor.d.ts +0 -5
  554. package/build/descriptor/helper/AxesHelperDescriptor.js +0 -7
  555. package/build/descriptor/helper/AxesHelperDescriptor.js.map +0 -1
  556. package/build/descriptor/light/AmbientLightDescriptor.d.ts +0 -5
  557. package/build/descriptor/light/AmbientLightDescriptor.js +0 -7
  558. package/build/descriptor/light/AmbientLightDescriptor.js.map +0 -1
  559. package/build/descriptor/light/DirectionalLightDescriptor.d.ts +0 -20
  560. package/build/descriptor/light/DirectionalLightDescriptor.js +0 -21
  561. package/build/descriptor/light/DirectionalLightDescriptor.js.map +0 -1
  562. package/build/descriptor/light/HemisphereLightDescriptor.d.ts +0 -8
  563. package/build/descriptor/light/HemisphereLightDescriptor.js +0 -12
  564. package/build/descriptor/light/HemisphereLightDescriptor.js.map +0 -1
  565. package/build/descriptor/light/LightDescriptor.d.ts +0 -8
  566. package/build/descriptor/light/LightDescriptor.js +0 -14
  567. package/build/descriptor/light/LightDescriptor.js.map +0 -1
  568. package/build/descriptor/light/PointLightDescriptor.d.ts +0 -15
  569. package/build/descriptor/light/PointLightDescriptor.js +0 -21
  570. package/build/descriptor/light/PointLightDescriptor.js.map +0 -1
  571. package/build/descriptor/light/RectAreaLightDescriptor.d.ts +0 -10
  572. package/build/descriptor/light/RectAreaLightDescriptor.js +0 -16
  573. package/build/descriptor/light/RectAreaLightDescriptor.js.map +0 -1
  574. package/build/descriptor/light/SpotLightDescriptor.d.ts +0 -18
  575. package/build/descriptor/light/SpotLightDescriptor.js +0 -27
  576. package/build/descriptor/light/SpotLightDescriptor.js.map +0 -1
  577. package/build/descriptor/material/MaterialDescriptor.d.ts +0 -54
  578. package/build/descriptor/material/MaterialDescriptor.js +0 -73
  579. package/build/descriptor/material/MaterialDescriptor.js.map +0 -1
  580. package/build/descriptor/material/MeshBasicMaterialDescriptor.d.ts +0 -35
  581. package/build/descriptor/material/MeshBasicMaterialDescriptor.js +0 -51
  582. package/build/descriptor/material/MeshBasicMaterialDescriptor.js.map +0 -1
  583. package/build/descriptor/material/MeshPhongMaterialDescriptor.d.ts +0 -65
  584. package/build/descriptor/material/MeshPhongMaterialDescriptor.js +0 -98
  585. package/build/descriptor/material/MeshPhongMaterialDescriptor.js.map +0 -1
  586. package/build/descriptor/material/MeshStandardMaterialDescriptor.d.ts +0 -63
  587. package/build/descriptor/material/MeshStandardMaterialDescriptor.js +0 -95
  588. package/build/descriptor/material/MeshStandardMaterialDescriptor.js.map +0 -1
  589. package/build/descriptor/material/PointsMaterialDescriptor.d.ts +0 -19
  590. package/build/descriptor/material/PointsMaterialDescriptor.js +0 -29
  591. package/build/descriptor/material/PointsMaterialDescriptor.js.map +0 -1
  592. package/build/descriptor/material/ShaderMaterialDescriptor.d.ts +0 -24
  593. package/build/descriptor/material/ShaderMaterialDescriptor.js +0 -26
  594. package/build/descriptor/material/ShaderMaterialDescriptor.js.map +0 -1
  595. package/build/descriptor/material/ShadowMaterialDescriptor.d.ts +0 -11
  596. package/build/descriptor/material/ShadowMaterialDescriptor.js +0 -17
  597. package/build/descriptor/material/ShadowMaterialDescriptor.js.map +0 -1
  598. package/build/descriptor/material/SpriteMaterialDescriptor.d.ts +0 -19
  599. package/build/descriptor/material/SpriteMaterialDescriptor.js +0 -29
  600. package/build/descriptor/material/SpriteMaterialDescriptor.js.map +0 -1
  601. package/build/descriptor/texture/TextureDescriptor.d.ts +0 -80
  602. package/build/descriptor/texture/TextureDescriptor.js +0 -103
  603. package/build/descriptor/texture/TextureDescriptor.js.map +0 -1
  604. package/build/interpreter/SceneServiceInterpreter.d.ts +0 -27
  605. package/build/interpreter/SceneServiceInterpreter.js.map +0 -1
  606. package/build/interpreter/ServiceSchedulerInterpreter.d.ts +0 -9
  607. package/build/interpreter/ServiceSchedulerInterpreter.js.map +0 -1
  608. package/build/interpreter/TextInterpreter.d.ts +0 -16
  609. package/build/interpreter/TextInterpreter.js.map +0 -1
  610. package/build/preset/execute/GeoMap/drilldown.d.ts +0 -16
  611. package/build/preset/execute/GeoMap/drilldown.js +0 -45
  612. package/build/preset/execute/GeoMap/drilldown.js.map +0 -1
  613. package/build/preset/execute/GeoMap/index.d.ts +0 -1
  614. package/build/preset/execute/GeoMap/index.js +0 -2
  615. package/build/preset/execute/GeoMap/index.js.map +0 -1
  616. package/build/preset/execute/index.d.ts +0 -1
  617. package/build/preset/execute/index.js +0 -2
  618. package/build/preset/execute/index.js.map +0 -1
  619. package/build/preset/index.d.ts +0 -3
  620. package/build/preset/index.js +0 -4
  621. package/build/preset/index.js.map +0 -1
  622. package/build/preset/interaction/GeoMap/drilldown.d.ts +0 -5
  623. package/build/preset/interaction/GeoMap/drilldown.js +0 -19
  624. package/build/preset/interaction/GeoMap/drilldown.js.map +0 -1
  625. package/build/preset/interaction/GeoMap/index.d.ts +0 -1
  626. package/build/preset/interaction/GeoMap/index.js +0 -2
  627. package/build/preset/interaction/GeoMap/index.js.map +0 -1
  628. package/build/preset/interaction/index.d.ts +0 -1
  629. package/build/preset/interaction/index.js +0 -2
  630. package/build/preset/interaction/index.js.map +0 -1
  631. package/src/descriptor/ComposerServiceDescriptor.ts +0 -47
  632. package/src/descriptor/GeoMapDescriptor.ts +0 -24
  633. package/src/descriptor/HTMLConvertDescriptor.ts +0 -12
  634. package/src/descriptor/InstancedMeshDescriptor.ts +0 -21
  635. package/src/descriptor/MeshDescriptor.ts +0 -16
  636. package/src/descriptor/ModelDescriptor.ts +0 -15
  637. package/src/descriptor/OrbitControllerDescriptor.ts +0 -84
  638. package/src/descriptor/OrthographicCameraDescriptor.ts +0 -12
  639. package/src/descriptor/ParticleDescriptor.ts +0 -88
  640. package/src/descriptor/PassDescriptor.ts +0 -33
  641. package/src/descriptor/PerspectiveCameraDescriptor.ts +0 -15
  642. package/src/descriptor/PointsDescriptor.ts +0 -16
  643. package/src/descriptor/SceneServiceDescriptor.ts +0 -39
  644. package/src/descriptor/SpriteDescriptor.ts +0 -16
  645. package/src/descriptor/TextDescriptor.ts +0 -41
  646. package/src/descriptor/TransformControllerDescriptor.ts +0 -32
  647. package/src/descriptor/animation/AnimationActionDescriptor.ts +0 -52
  648. package/src/descriptor/geometry/BoxGeometryDescriptor.ts +0 -26
  649. package/src/descriptor/geometry/BufferGeometryDescriptor.ts +0 -15
  650. package/src/descriptor/geometry/CircleGeometryDescriptor.ts +0 -22
  651. package/src/descriptor/geometry/CylinderGeometryDescriptor.ts +0 -30
  652. package/src/descriptor/geometry/ExtrudeGeometryDescriptor.ts +0 -35
  653. package/src/descriptor/geometry/GeometryDescriptor.ts +0 -8
  654. package/src/descriptor/geometry/PlaneGeometryDescriptor.ts +0 -22
  655. package/src/descriptor/geometry/RingGeometryDescriptor.ts +0 -26
  656. package/src/descriptor/geometry/SphereGeometryDescriptor.ts +0 -27
  657. package/src/descriptor/geometry/SurfaceGeometryDescriptor.ts +0 -15
  658. package/src/descriptor/geometry/TubeGeometryDescriptor.ts +0 -25
  659. package/src/descriptor/helper/AxesHelperDescriptor.ts +0 -8
  660. package/src/descriptor/light/AmbientLightDescriptor.ts +0 -8
  661. package/src/descriptor/light/DirectionalLightDescriptor.ts +0 -33
  662. package/src/descriptor/light/HemisphereLightDescriptor.ts +0 -16
  663. package/src/descriptor/light/LightDescriptor.ts +0 -16
  664. package/src/descriptor/light/PointLightDescriptor.ts +0 -24
  665. package/src/descriptor/light/RectAreaLightDescriptor.ts +0 -20
  666. package/src/descriptor/light/SpotLightDescriptor.ts +0 -30
  667. package/src/descriptor/material/MaterialDescriptor.ts +0 -84
  668. package/src/descriptor/material/MeshBasicMaterialDescriptor.ts +0 -53
  669. package/src/descriptor/material/MeshPhongMaterialDescriptor.ts +0 -102
  670. package/src/descriptor/material/MeshStandardMaterialDescriptor.ts +0 -99
  671. package/src/descriptor/material/PointsMaterialDescriptor.ts +0 -31
  672. package/src/descriptor/material/ShaderMaterialDescriptor.ts +0 -35
  673. package/src/descriptor/material/ShadowMaterialDescriptor.ts +0 -19
  674. package/src/descriptor/material/SpriteMaterialDescriptor.ts +0 -31
  675. package/src/descriptor/texture/TextureDescriptor.ts +0 -110
  676. package/src/interpreter/SceneServiceInterpreter.ts +0 -119
  677. package/src/preset/execute/GeoMap/drilldown.ts +0 -60
  678. package/src/preset/execute/GeoMap/index.ts +0 -1
  679. package/src/preset/execute/index.ts +0 -1
  680. package/src/preset/index.ts +0 -7
  681. package/src/preset/interaction/GeoMap/drilldown.ts +0 -26
  682. package/src/preset/interaction/GeoMap/index.ts +0 -1
  683. package/src/preset/interaction/index.ts +0 -1
@@ -0,0 +1,170 @@
1
+ import { Descriptor, Vector2 } from '@vyr/engine';
2
+ /**
3
+ * TextureMapping枚举
4
+ * 纹理映射枚举
5
+ *
6
+ * 作用:定义纹理如何应用到物体上
7
+ */
8
+ export var TextureMapping;
9
+ (function (TextureMapping) {
10
+ /**UV映射 */
11
+ TextureMapping[TextureMapping["UVMapping"] = 300] = "UVMapping";
12
+ /**立方体反射映射 */
13
+ TextureMapping[TextureMapping["CubeReflectionMapping"] = 301] = "CubeReflectionMapping";
14
+ /**立方体折射映射 */
15
+ TextureMapping[TextureMapping["CubeRefractionMapping"] = 302] = "CubeRefractionMapping";
16
+ /**等矩形反射映射 */
17
+ TextureMapping[TextureMapping["EquirectangularReflectionMapping"] = 303] = "EquirectangularReflectionMapping";
18
+ /**等矩形折射映射 */
19
+ TextureMapping[TextureMapping["EquirectangularRefractionMapping"] = 304] = "EquirectangularRefractionMapping";
20
+ /**立方体UV反射映射 */
21
+ TextureMapping[TextureMapping["CubeUVReflectionMapping"] = 306] = "CubeUVReflectionMapping";
22
+ })(TextureMapping || (TextureMapping = {}));
23
+ /**
24
+ * TextureWrap枚举
25
+ * 纹理包裹枚举
26
+ *
27
+ * 作用:定义纹理在边缘如何包裹
28
+ */
29
+ export var TextureWrap;
30
+ (function (TextureWrap) {
31
+ /**重复包裹 */
32
+ TextureWrap[TextureWrap["RepeatWrapping"] = 1000] = "RepeatWrapping";
33
+ /**边缘夹紧包裹 */
34
+ TextureWrap[TextureWrap["ClampToEdgeWrapping"] = 1001] = "ClampToEdgeWrapping";
35
+ /**镜像重复包裹 */
36
+ TextureWrap[TextureWrap["MirroredRepeatWrapping"] = 1002] = "MirroredRepeatWrapping";
37
+ })(TextureWrap || (TextureWrap = {}));
38
+ /**
39
+ * TextureFType枚举
40
+ * 纹理类型枚举
41
+ *
42
+ * 作用:定义纹理数据的类型
43
+ */
44
+ export var TextureFType;
45
+ (function (TextureFType) {
46
+ /**无符号字节类型 */
47
+ TextureFType[TextureFType["UnsignedByteType"] = 1009] = "UnsignedByteType";
48
+ /**半浮点数类型 */
49
+ TextureFType[TextureFType["HalfFloatType"] = 1016] = "HalfFloatType";
50
+ /**浮点数类型 */
51
+ TextureFType[TextureFType["FloatType"] = 1015] = "FloatType";
52
+ /**字节类型 */
53
+ TextureFType[TextureFType["ByteType"] = 1010] = "ByteType";
54
+ /**短整数类型 */
55
+ TextureFType[TextureFType["ShortType"] = 1011] = "ShortType";
56
+ /**无符号短整数类型 */
57
+ TextureFType[TextureFType["UnsignedShortType"] = 1012] = "UnsignedShortType";
58
+ /**整数类型 */
59
+ TextureFType[TextureFType["IntType"] = 1013] = "IntType";
60
+ /**无符号整数类型 */
61
+ TextureFType[TextureFType["UnsignedIntType"] = 1014] = "UnsignedIntType";
62
+ /**无符号短整数4444类型 */
63
+ TextureFType[TextureFType["UnsignedShort4444Type"] = 1017] = "UnsignedShort4444Type";
64
+ /**无符号短整数5551类型 */
65
+ TextureFType[TextureFType["UnsignedShort5551Type"] = 1018] = "UnsignedShort5551Type";
66
+ /**无符号整数248类型 */
67
+ TextureFType[TextureFType["UnsignedInt248Type"] = 1020] = "UnsignedInt248Type";
68
+ /**无符号整数5999类型 */
69
+ TextureFType[TextureFType["UnsignedInt5999Type"] = 35902] = "UnsignedInt5999Type";
70
+ })(TextureFType || (TextureFType = {}));
71
+ /**
72
+ * TextureFormat枚举
73
+ * 纹理格式枚举
74
+ *
75
+ * 作用:定义纹理的像素格式
76
+ */
77
+ export var TextureFormat;
78
+ (function (TextureFormat) {
79
+ /**Alpha格式 */
80
+ TextureFormat[TextureFormat["AlphaFormat"] = 1021] = "AlphaFormat";
81
+ /**红色通道格式 */
82
+ TextureFormat[TextureFormat["RedFormat"] = 1028] = "RedFormat";
83
+ /**红色通道整数格式 */
84
+ TextureFormat[TextureFormat["RedIntegerFormat"] = 1029] = "RedIntegerFormat";
85
+ /**红绿通道格式 */
86
+ TextureFormat[TextureFormat["RGFormat"] = 1030] = "RGFormat";
87
+ /**红绿通道整数格式 */
88
+ TextureFormat[TextureFormat["RGIntegerFormat"] = 1031] = "RGIntegerFormat";
89
+ /**RGB格式 */
90
+ TextureFormat[TextureFormat["RGBFormat"] = 1022] = "RGBFormat";
91
+ /**RGBA格式 */
92
+ TextureFormat[TextureFormat["RGBAFormat"] = 1023] = "RGBAFormat";
93
+ /**RGBA整数格式 */
94
+ TextureFormat[TextureFormat["RGBAIntegerFormat"] = 1033] = "RGBAIntegerFormat";
95
+ /**深度格式 */
96
+ TextureFormat[TextureFormat["DepthFormat"] = 1026] = "DepthFormat";
97
+ /**深度模板格式 */
98
+ TextureFormat[TextureFormat["DepthStencilFormat"] = 1027] = "DepthStencilFormat";
99
+ })(TextureFormat || (TextureFormat = {}));
100
+ /**
101
+ * TextureColorSpace常量
102
+ * 纹理颜色空间常量
103
+ *
104
+ * 作用:定义纹理的颜色空间
105
+ */
106
+ export const TextureColorSpace = {
107
+ /**无颜色空间 */
108
+ NoColorSpace: "",
109
+ /**SRGB颜色空间 */
110
+ SRGBColorSpace: "srgb",
111
+ /**线性SRGB颜色空间 */
112
+ LinearSRGBColorSpace: "srgb-linear",
113
+ };
114
+ /**
115
+ * Texture类
116
+ * 纹理类
117
+ *
118
+ * 作用:创建和管理纹理实例,用于为材质提供纹理贴图
119
+ */
120
+ export class Texture extends Descriptor {
121
+ /**类类型标识 */
122
+ static type = 'Texture';
123
+ /**纹理文件URL @default "" */
124
+ url;
125
+ /**纹理映射方式 @default TextureMapping.UVMapping */
126
+ mapping;
127
+ /**纹理水平方向包裹方式 @default TextureWrap.ClampToEdgeWrapping */
128
+ wrapS;
129
+ /**纹理垂直方向包裹方式 @default TextureWrap.ClampToEdgeWrapping */
130
+ wrapT;
131
+ /**纹理格式 @default TextureFormat.RGBAFormat */
132
+ format;
133
+ /**纹理数据类型 @default TextureFType.UnsignedByteType */
134
+ ftype;
135
+ /**纹理偏移 @default {x:0,y:0} */
136
+ offset;
137
+ /**纹理重复 @default {x:1,y:1} */
138
+ repeat;
139
+ /**纹理中心点 @default {x:0,y:0} */
140
+ center;
141
+ /**纹理旋转角度 @default 0 */
142
+ rotation;
143
+ /**是否生成mipmap @default true */
144
+ generateMipmaps;
145
+ /**是否预乘alpha通道 @default false */
146
+ premultiplyAlpha;
147
+ /**是否沿Y轴翻转 @default true */
148
+ flipY;
149
+ /**纹理颜色空间 @default TextureColorSpace.SRGBColorSpace */
150
+ colorSpace;
151
+ constructor(descriptor = {}) {
152
+ super(descriptor);
153
+ this.url = descriptor.url ?? '';
154
+ this.mapping = descriptor.mapping ?? TextureMapping.UVMapping;
155
+ this.wrapS = descriptor.wrapS ?? TextureWrap.ClampToEdgeWrapping;
156
+ this.wrapT = descriptor.wrapT ?? TextureWrap.ClampToEdgeWrapping;
157
+ this.format = descriptor.format ?? TextureFormat.RGBAFormat;
158
+ this.ftype = descriptor.ftype ?? TextureFType.UnsignedByteType;
159
+ this.offset = Vector2.create(descriptor.offset);
160
+ this.repeat = descriptor.repeat ? Vector2.create(descriptor.repeat) : Vector2.create(1, 1);
161
+ this.center = Vector2.create(descriptor.center);
162
+ this.rotation = descriptor.rotation ?? 0;
163
+ this.generateMipmaps = descriptor.generateMipmaps ?? true;
164
+ this.premultiplyAlpha = descriptor.premultiplyAlpha ?? false;
165
+ this.flipY = descriptor.flipY ?? true;
166
+ this.colorSpace = descriptor.colorSpace ?? TextureColorSpace.SRGBColorSpace;
167
+ }
168
+ }
169
+ Descriptor.register(Texture);
170
+ //# sourceMappingURL=Texture.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Texture.js","sourceRoot":"","sources":["../../../src/descriptor/texture/Texture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAyB,OAAO,EAAE,MAAM,aAAa,CAAA;AAExE;;;;;GAKG;AACH,MAAM,CAAN,IAAY,cAaX;AAbD,WAAY,cAAc;IACtB,UAAU;IACV,+DAAe,CAAA;IACf,aAAa;IACb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UAAU,CAAC,MAAM,IAAI,aAAa,CAAC,UAAU,CAAA;QAC3D,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,IAAI,YAAY,CAAC,gBAAgB,CAAA;QAC9D,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;QAC/C,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;QAC1F,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;QAC/C,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,IAAI,CAAC,CAAA;QACxC,IAAI,CAAC,eAAe,GAAG,UAAU,CAAC,eAAe,IAAI,IAAI,CAAA;QACzD,IAAI,CAAC,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,IAAI,KAAK,CAAA;QAC5D,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,IAAI,IAAI,CAAA;QACrC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,IAAI,iBAAiB,CAAC,cAAc,CAAA;IAC/E,CAAC;;AAEL,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA"}
package/build/index.d.ts CHANGED
@@ -5,5 +5,4 @@ export * from './asset';
5
5
  export * from './descriptor';
6
6
  export * from './actor';
7
7
  export * from './interpreter';
8
- export * from './preset';
9
8
  export * from './controls';
package/build/index.js CHANGED
@@ -5,6 +5,5 @@ export * from './asset';
5
5
  export * from './descriptor';
6
6
  export * from './actor';
7
7
  export * from './interpreter';
8
- export * from './preset';
9
8
  export * from './controls';
10
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  // import { UpdateArgs } from '@vyr/engine'
3
3
  // import { ComposerServiceDescriptor } from '../descriptor/ComposerServiceDescriptor'
4
- // import { SceneServiceInterpreter } from './SceneServiceInterpreter'
4
+ // import { Scene3DServiceInterpreter } from './Scene3DServiceInterpreter'
5
5
  // import { ComposerServiceActor } from '../actor'
6
- // class ComposerServiceInterpreter extends SceneServiceInterpreter {
6
+ // class ComposerServiceInterpreter extends Scene3DServiceInterpreter {
7
7
  // static type = ComposerServiceDescriptor.type
8
8
  // protected createActor(descriptor: ComposerServiceDescriptor) {
9
9
  // const actor = new ComposerServiceActor(descriptor)
@@ -17,6 +17,6 @@
17
17
  // return rect
18
18
  // }
19
19
  // }
20
- // SceneServiceInterpreter.register(ComposerServiceInterpreter)
20
+ // Scene3DServiceInterpreter.register(ComposerServiceInterpreter)
21
21
  // export { ComposerServiceInterpreter }
22
22
  //# sourceMappingURL=ComposerServiceInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComposerServiceInterpreter.js","sourceRoot":"","sources":["../../src/interpreter/ComposerServiceInterpreter.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,sFAAsF;AACtF,sEAAsE;AACtE,kDAAkD;AAElD,qEAAqE;AACrE,mDAAmD;AAEnD,qEAAqE;AACrE,6DAA6D;AAC7D,uBAAuB;AACvB,QAAQ;AAER,uDAAuD;AACvD,4CAA4C;AAC5C,sGAAsG;AACtG,+DAA+D;AAC/D,oDAAoD;AACpD,sBAAsB;AACtB,QAAQ;AACR,IAAI;AAEJ,+DAA+D;AAE/D,wCAAwC"}
1
+ {"version":3,"file":"ComposerServiceInterpreter.js","sourceRoot":"","sources":["../../src/interpreter/ComposerServiceInterpreter.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,sFAAsF;AACtF,0EAA0E;AAC1E,kDAAkD;AAElD,uEAAuE;AACvE,mDAAmD;AAEnD,qEAAqE;AACrE,6DAA6D;AAC7D,uBAAuB;AACvB,QAAQ;AAER,uDAAuD;AACvD,4CAA4C;AAC5C,sGAAsG;AACtG,+DAA+D;AAC/D,oDAAoD;AACpD,sBAAsB;AACtB,QAAQ;AACR,IAAI;AAEJ,iEAAiE;AAEjE,wCAAwC"}
@@ -1,36 +1,35 @@
1
1
  import { Material, Mesh, Object3D, BufferGeometry } from "three";
2
- import { Descriptor, Interpreter, JsonAsset, InteractionDescriptor, Vector2 } from "@vyr/engine";
3
- import { GeoMapDescriptor, GeometryDescriptor, HTMLConvertDescriptor } from '../descriptor';
2
+ import { Descriptor, Interpreter, JsonAsset, Vector2 } from "@vyr/engine";
3
+ import { GeoMap, Geometry, HTMLConvert } from '../descriptor';
4
4
  import { NodeInterpreter, PickupNode } from "./NodeInterpreter";
5
5
  import { NodeActor } from "../actor";
6
6
  interface GeoFeature<T extends BufferGeometry = BufferGeometry> {
7
7
  url: string;
8
- descriptor: GeometryDescriptor;
8
+ descriptor: Geometry;
9
9
  interpreter: Interpreter;
10
- dataset: string;
10
+ store: string;
11
11
  mesh: Mesh<T>;
12
12
  }
13
- type GeometryFactory<T extends GeometryDescriptor = GeometryDescriptor> = (url: string, dataset: string, feature: JsonAsset, offset: Vector2) => T;
14
- declare class GeoMapInterpreter extends NodeInterpreter {
13
+ type GeometryFactory<T extends Geometry = Geometry> = (url: string, store: string, feature: JsonAsset, offset: Vector2) => T;
14
+ export declare class GeoMapInterpreter extends NodeInterpreter {
15
15
  static type: string;
16
16
  private _task;
17
17
  readonly wrapper: Object3D<import("three").Object3DEventMap>;
18
18
  readonly features: GeoFeature[];
19
- readonly labels: HTMLConvertDescriptor[];
20
- readonly interactions: InteractionDescriptor[];
19
+ readonly labels: HTMLConvert[];
21
20
  protected createActor(descriptor: Descriptor): NodeActor<Object3D<import("three").Object3DEventMap>>;
22
21
  private createLabel;
23
22
  private _createGeoData;
24
- buildLabel(descriptor: GeoMapDescriptor, fullJson: JsonAsset, offset: Vector2): void;
23
+ buildLabel(descriptor: GeoMap, fullJson: JsonAsset, offset: Vector2): void;
25
24
  buildFeature(feature: JsonAsset, materials: Material | Material[], offset: Vector2, factory: GeometryFactory, flag: string): GeoFeature<BufferGeometry<import("three").NormalBufferAttributes>>;
26
25
  buildBorder(fullJson: JsonAsset, materials: Material | Material[], offset: Vector2, features: GeoFeature[]): void;
27
26
  buildShadow(feature: JsonAsset, materials: Material | Material[], offset: Vector2): GeoFeature<BufferGeometry<import("three").NormalBufferAttributes>>;
28
27
  buildRegion(feature: JsonAsset, materials: Material | Material[], offset: Vector2): GeoFeature<BufferGeometry<import("three").NormalBufferAttributes>>;
29
- build(descriptor: GeoMapDescriptor): Promise<void>;
28
+ build(descriptor: GeoMap): Promise<void>;
30
29
  clear(): Promise<void>;
31
- update(descriptor: GeoMapDescriptor): void;
32
- unmount(descriptor: GeoMapDescriptor, parentInterpreter: Interpreter, parentDescriptor: Descriptor): void;
33
- free(descriptor: GeoMapDescriptor): void;
34
- pickup(descriptor: GeoMapDescriptor, result: PickupNode[]): void;
30
+ update(descriptor: GeoMap): void;
31
+ unmount(descriptor: GeoMap, parentInterpreter: Interpreter, parentDescriptor: Descriptor): void;
32
+ free(descriptor: GeoMap): void;
33
+ pickup(descriptor: GeoMap, result: PickupNode[]): void;
35
34
  }
36
- export { GeoMapInterpreter };
35
+ export {};
@@ -1,16 +1,15 @@
1
1
  import { Mesh, Object3D } from "three";
2
- import { Asset, Category, DatasetDescriptor, Generate, Graphics, observer, PrefabInstanceDescriptor, Unit, Vector2 } from "@vyr/engine";
3
- import { ExtrudeGeometryDescriptor, GeoMapDescriptor, HTMLConvertDescriptor, PlaneGeometryDescriptor, TubeGeometryDescriptor } from '../descriptor';
2
+ import { Asset, Suffix, Store, Graphics, observer, Unit, Vector2 } from "@vyr/engine";
3
+ import { ExtrudeGeometry, GeoMap, PlaneGeometry, TubeGeometry } from '../descriptor';
4
4
  import { NodeInterpreter } from "./NodeInterpreter";
5
5
  import { material, diaposeObject3D, collectionPickupResult } from "../utils";
6
6
  import { NodeActor } from "../actor";
7
- import { executePreset, interactionPreset } from "../preset";
8
- const tubeFactory = (url, dataset, feature, offset) => {
9
- const descriptor = new TubeGeometryDescriptor({ name: feature.properties.adcode, track: dataset, offset, radius: 0.05, tubularSegments: 1000 });
7
+ const tubeFactory = (url, store, feature, offset) => {
8
+ const descriptor = new TubeGeometry({ name: feature.properties.adcode, track: store, offset, radius: 0.05, tubularSegments: 1000 });
10
9
  Asset.set(url, descriptor);
11
- let datasetDescriptor = Asset.get(dataset);
12
- if (datasetDescriptor === null) {
13
- datasetDescriptor = new DatasetDescriptor({ name: feature.properties.adcode });
10
+ let storeDescriptor = Asset.get(store);
11
+ if (storeDescriptor === null) {
12
+ storeDescriptor = new Store({ name: feature.properties.adcode });
14
13
  let data;
15
14
  if (feature.geometry.type === 'MultiPolygon') {
16
15
  data = feature.geometry.coordinates[0][0];
@@ -21,22 +20,22 @@ const tubeFactory = (url, dataset, feature, offset) => {
21
20
  else {
22
21
  data = [];
23
22
  }
24
- datasetDescriptor.setData(data);
25
- Asset.set(dataset, datasetDescriptor);
23
+ storeDescriptor.data = data;
24
+ Asset.set(store, storeDescriptor);
26
25
  }
27
26
  return descriptor;
28
27
  };
29
- const shadowFactory = (url, dataset, feature, offset) => {
30
- const descriptor = new PlaneGeometryDescriptor({ name: feature.properties.adcode, width: 100, height: 100 });
28
+ const shadowFactory = (url, store, feature, offset) => {
29
+ const descriptor = new PlaneGeometry({ name: feature.properties.adcode, width: 100, height: 100 });
31
30
  Asset.set(url, descriptor);
32
31
  return descriptor;
33
32
  };
34
- const extrudeFactory = (url, dataset, feature, offset) => {
35
- const descriptor = new ExtrudeGeometryDescriptor({ name: feature.properties.adcode, shapes: dataset, offset, flattenUVsToPlane: true });
33
+ const extrudeFactory = (url, store, feature, offset) => {
34
+ const descriptor = new ExtrudeGeometry({ name: feature.properties.adcode, shapes: store, offset, flattenUVsToPlane: true });
36
35
  Asset.set(url, descriptor);
37
- let datasetDescriptor = Asset.get(dataset);
38
- if (datasetDescriptor === null) {
39
- datasetDescriptor = new DatasetDescriptor({ name: feature.properties.adcode });
36
+ let storeDescriptor = Asset.get(store);
37
+ if (storeDescriptor === null) {
38
+ storeDescriptor = new Store({ name: feature.properties.adcode });
40
39
  let data;
41
40
  if (feature.geometry.type === 'MultiPolygon') {
42
41
  data = feature.geometry.coordinates;
@@ -44,56 +43,55 @@ const extrudeFactory = (url, dataset, feature, offset) => {
44
43
  else {
45
44
  data = [];
46
45
  }
47
- datasetDescriptor.setData(data);
48
- Asset.set(dataset, datasetDescriptor);
46
+ storeDescriptor.data = data;
47
+ Asset.set(store, storeDescriptor);
49
48
  }
50
49
  return descriptor;
51
50
  };
52
- class GeoMapInterpreter extends NodeInterpreter {
53
- static type = GeoMapDescriptor.type;
51
+ export class GeoMapInterpreter extends NodeInterpreter {
52
+ static type = GeoMap.type;
54
53
  _task = null;
55
54
  wrapper = new Object3D();
56
55
  features = [];
57
56
  labels = [];
58
- interactions = [];
59
57
  createActor(descriptor) {
60
58
  const actor = new NodeActor(new Object3D());
61
59
  actor.object.add(this.wrapper);
62
60
  return actor;
63
61
  }
64
62
  createLabel(descriptor, prefab, featureData, feature, offset) {
65
- const point = feature.properties.centroid ?? feature.properties.center;
66
- if (!point)
67
- return null;
68
- const label = new HTMLConvertDescriptor({});
69
- label.position.x = point[0] + offset.x;
70
- label.position.y = point[1] + offset.y;
71
- label.position.z = 2;
72
- label.scale.x = 0.05;
73
- label.scale.y = 0.05;
74
- label.scale.z = 0.05;
75
- const clone = PrefabInstanceDescriptor.fromPrefab(descriptor.label, prefab);
76
- label.add(clone);
77
- const datasetUrl = Asset.createVirtualUrl(`GeoMap/dataset/label/${feature.properties.adcode}${Category.datasetSuffix}`);
78
- const dataset = new DatasetDescriptor();
79
- dataset.setData(featureData);
80
- Asset.set(datasetUrl, dataset);
81
- const inputs = {
82
- [interactionPreset.GeoMap.drilldown.nodes.drilldown]: executePreset.GeoMap.drilldown.createExecuteInput({
83
- dataset,
84
- geoMap: descriptor,
85
- })
86
- };
87
- clone.traverse(sub => {
88
- sub.dataset = datasetUrl;
89
- sub.interactions.push({
90
- uuid: Generate.uuid(),
91
- type: "click",
92
- url: interactionPreset.GeoMap.drilldown.url,
93
- inputs,
94
- });
95
- });
96
- return label;
63
+ // const point = feature.properties.centroid ?? feature.properties.center
64
+ // if (!point) return null
65
+ // const label = new HTMLConvert({})
66
+ // label.position.x = point[0] + offset.x
67
+ // label.position.y = point[1] + offset.y
68
+ // label.position.z = 2
69
+ // label.scale.x = 0.05
70
+ // label.scale.y = 0.05
71
+ // label.scale.z = 0.05
72
+ // const clone = HTMLInstance.fromHTML(descriptor.label, prefab)
73
+ // clone.traverse(child => { child.generatedBy = descriptor.uuid })
74
+ // label.add(clone)
75
+ // const storeUrl = Asset.createVirtualUrl(`GeoMap/store/label/${feature.properties.adcode}${Suffix.storeSuffix}`)
76
+ // const store = new Store()
77
+ // store.setData(featureData)
78
+ // Asset.set(storeUrl, store)
79
+ // const inputs = {
80
+ // [interactionPreset.GeoMap.drilldown.nodes.drilldown]: executePreset.GeoMap.drilldown.createExecuteInput({
81
+ // store,
82
+ // geoMap: descriptor,
83
+ // })
84
+ // }
85
+ // clone.traverse(sub => {
86
+ // sub.store = storeUrl
87
+ // sub.interactions.push({
88
+ // uuid: Generate.uuid(),
89
+ // type: "click",
90
+ // url: interactionPreset.GeoMap.drilldown.url,
91
+ // inputs,
92
+ // })
93
+ // })
94
+ // return label
97
95
  }
98
96
  _createGeoData(fullJson) {
99
97
  const data = {};
@@ -103,26 +101,24 @@ class GeoMapInterpreter extends NodeInterpreter {
103
101
  return data;
104
102
  }
105
103
  buildLabel(descriptor, fullJson, offset) {
106
- const prefab = Asset.get(descriptor.label);
107
- if (prefab === null)
108
- return;
109
- const dataset = Asset.get(descriptor.dataset);
110
- const data = dataset === null ? this._createGeoData(fullJson) : dataset.getData();
111
- for (const feature of fullJson.features) {
112
- const featureData = data[feature.properties.adcode];
113
- const label = this.createLabel(descriptor, prefab, featureData, feature, offset);
114
- if (label === null)
115
- continue;
116
- this.labels.push(label);
117
- observer.trigger('add', { puid: this.unit.uuid, self: label.uuid });
118
- }
104
+ // const prefab = Asset.get<HTML>(descriptor.label)
105
+ // if (prefab === null) return
106
+ // const store = Asset.get<Store>(descriptor.store)
107
+ // const data = store === null ? this._createGeoData(fullJson) : store.getData<Data>()
108
+ // for (const feature of fullJson.features) {
109
+ // const featureData = data[feature.properties.adcode]
110
+ // const label = this.createLabel(descriptor, prefab, featureData, feature, offset)
111
+ // if (label === null) continue
112
+ // this.labels.push(label)
113
+ // observer.trigger('add', { puid: this.unit.uuid, self: label.uuid })
114
+ // }
119
115
  }
120
116
  buildFeature(feature, materials, offset, factory, flag) {
121
- const geometryUrl = Asset.createVirtualUrl(`GeoMap/geometry/${flag}/${feature.properties.adcode}${Category.geometrySuffix}`);
122
- const datasetUrl = Asset.createVirtualUrl(`GeoMap/dataset/${flag}/${feature.properties.adcode}${Category.datasetSuffix}`);
117
+ const geometryUrl = Asset.createVirtualUrl(`GeoMap/geometry/${flag}/${feature.properties.adcode}${Suffix.geometrySuffix}`);
118
+ const storeUrl = Asset.createVirtualUrl(`GeoMap/store/${flag}/${feature.properties.adcode}${Suffix.storeSuffix}`);
123
119
  let geometry = Asset.get(geometryUrl);
124
120
  if (geometry === null) {
125
- geometry = factory(geometryUrl, datasetUrl, feature, offset);
121
+ geometry = factory(geometryUrl, storeUrl, feature, offset);
126
122
  }
127
123
  const interpreter = Graphics.createInterpreter(geometry, this.graphics);
128
124
  //@ts-ignore
@@ -131,7 +127,7 @@ class GeoMapInterpreter extends NodeInterpreter {
131
127
  const actor = interpreter.getActor(geometry);
132
128
  const mesh = new Mesh(actor.object, materials);
133
129
  this.wrapper.add(mesh);
134
- const item = { url: geometryUrl, descriptor: geometry, interpreter, dataset: datasetUrl, mesh };
130
+ const item = { url: geometryUrl, descriptor: geometry, interpreter, store: storeUrl, mesh };
135
131
  return item;
136
132
  }
137
133
  buildBorder(fullJson, materials, offset, features) {
@@ -178,12 +174,12 @@ class GeoMapInterpreter extends NodeInterpreter {
178
174
  for (const feature of this.features) {
179
175
  diaposeObject3D(feature.mesh);
180
176
  Asset.unload(feature.url);
181
- Asset.unload(feature.dataset);
177
+ Asset.unload(feature.store);
182
178
  }
183
179
  this.features.length = 0;
184
180
  for (const label of this.labels) {
185
181
  observer.trigger('remove', { puid: this.unit.uuid, self: label.uuid });
186
- Asset.unload(label.dataset);
182
+ Asset.unload(label.store);
187
183
  }
188
184
  this.labels.length = 0;
189
185
  if (this._task !== null)
@@ -212,5 +208,4 @@ class GeoMapInterpreter extends NodeInterpreter {
212
208
  }
213
209
  }
214
210
  NodeInterpreter.register(GeoMapInterpreter);
215
- export { GeoMapInterpreter };
216
211
  //# sourceMappingURL=GeoMapInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GeoMapInterpreter.js","sourceRoot":"","sources":["../../src/interpreter/GeoMapInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,IAAI,EAAE,QAAQ,EAAkC,MAAM,OAAO,CAAC;AACjF,OAAO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AC,CAAA;QACzC,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;QAEzC,IAAI,CAAC,KAAK,EAAE,CAAA;QACZ,IAAI,UAAU,CAAC,aAAa;YAAE,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;IACxD,CAAC;IAED,OAAO,CAAC,UAAkB,EAAE,iBAA8B,EAAE,gBAA4B;QACpF,IAAI,CAAC,KAAK,EAAE,CAAA;QACZ,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE,iBAAiB,EAAE,gBAAgB,CAAC,CAAA;IAClE,CAAC;IAED,IAAI,CAAC,UAAkB;QACnB,IAAI,CAAC,KAAK,EAAE,CAAA;QACZ,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;IAED,MAAM,CAAC,UAAkB,EAAE,MAAoB;QAC3C,IAAI,UAAU,CAAC,OAAO,KAAK,KAAK;YAAE,OAAM;QACxC,sBAAsB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,CAAC,CAAA;IAClE,CAAC;;AAEL,eAAe,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAA"}
@@ -1,12 +1,11 @@
1
1
  import { Descriptor, Interpreter, PickupObject } from "@vyr/engine";
2
- import { HTMLConvertDescriptor } from "../descriptor";
2
+ import { HTMLConvert } from "../descriptor";
3
3
  import { NodeInterpreter } from "./NodeInterpreter";
4
4
  import { HTMLConvertActor } from '../actor';
5
- declare class HTMLConvertInterpreter extends NodeInterpreter {
5
+ export declare class HTMLConvertInterpreter extends NodeInterpreter {
6
6
  static type: string;
7
7
  protected createActor(descriptor: Descriptor): HTMLConvertActor;
8
- unmount(descriptor: HTMLConvertDescriptor, parentInterpreter: Interpreter, parentDescriptor: Descriptor): void;
9
- free(descriptor: HTMLConvertDescriptor): void;
10
- pickup(descriptor: HTMLConvertDescriptor, result: PickupObject[]): void;
8
+ unmount(descriptor: HTMLConvert, parentInterpreter: Interpreter, parentDescriptor: Descriptor): void;
9
+ free(descriptor: HTMLConvert): void;
10
+ pickup(descriptor: HTMLConvert, result: PickupObject[]): void;
11
11
  }
12
- export { HTMLConvertInterpreter };
@@ -1,9 +1,9 @@
1
1
  import { Object3D } from 'three';
2
- import { HTMLConvertDescriptor } from "../descriptor";
2
+ import { HTMLConvert } from "../descriptor";
3
3
  import { NodeInterpreter } from "./NodeInterpreter";
4
4
  import { HTMLConvertActor } from '../actor';
5
- class HTMLConvertInterpreter extends NodeInterpreter {
6
- static type = HTMLConvertDescriptor.type;
5
+ export class HTMLConvertInterpreter extends NodeInterpreter {
6
+ static type = HTMLConvert.type;
7
7
  createActor(descriptor) {
8
8
  const actor = new HTMLConvertActor(new Object3D());
9
9
  return actor;
@@ -21,5 +21,4 @@ class HTMLConvertInterpreter extends NodeInterpreter {
21
21
  pickup(descriptor, result) { }
22
22
  }
23
23
  NodeInterpreter.register(HTMLConvertInterpreter);
24
- export { HTMLConvertInterpreter };
25
24
  //# sourceMappingURL=HTMLConvertInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HTMLConvertInterpreter.js","sourceRoot":"","sources":["../../src/interpreter/HTMLConvertInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEhC,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,sBAAuB,SAAQ,eAAe;IAChD,MAAM,CAAC,IAAI,GAAG,qBAAqB,CAAC,IAAI,CAAA;IAE9B,WAAW,CAAC,UAAsB;QACxC,MAAM,KAAK,GAAG,IAAI,gBAAgB,CAAC,IAAI,QAAQ,EAAE,CAAC,CAAA;QAClD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,OAAO,CAAC,UAAiC,EAAE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CAAA;QACb,KAAK,CAAC,OAAO,CAAC,UAAU,EAAG,iBAAiB,EAAE,gBAAgB,CAAC,CAAA;IACnE,CAAC;IAED,IAAI,CAAC,UAAuB;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAmB,UAAU,CAAC,CAAA;QACzD,KAAK,CAAC,KAAK,EAAE,CAAA;QACb,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;IAED,MAAM,CAAC,UAAuB,EAAE,MAAsB,IAAI,CAAC;;AAE/D,eAAe,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAA"}
@@ -1,19 +1,18 @@
1
- import { InstancedMesh, Object3D } from 'three';
2
- import { InstancedMeshDescriptor, InstancedSetting } from "../descriptor";
1
+ import { InstancedMesh as ThreeInstancedMesh, Object3D } from 'three';
2
+ import { InstancedMesh, InstancedData } from "../descriptor";
3
3
  import { PickupNode } from './NodeInterpreter';
4
4
  import { MeshInterpreter } from "./MeshInterpreter";
5
5
  import { NodeActor } from '../actor';
6
- declare class InstancedMeshInterpreter extends MeshInterpreter {
6
+ export declare class InstancedMeshInterpreter extends MeshInterpreter {
7
7
  static type: string;
8
8
  readonly wrapper: Object3D;
9
- instancedMesh: InstancedMesh;
9
+ instancedMesh: ThreeInstancedMesh;
10
10
  count: number;
11
- createActor(descriptor: InstancedMeshDescriptor): NodeActor<Object3D<import("three").Object3DEventMap>>;
12
- updateInstanceMesh(setting: InstancedSetting[], instance: InstancedMesh): void;
13
- getInstancedMesh(descriptor: InstancedMeshDescriptor, setting: InstancedSetting[]): InstancedMesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material, import("three").InstancedMeshEventMap>;
14
- setInstancedMesh(descriptor: InstancedMeshDescriptor): void;
15
- update(descriptor: InstancedMeshDescriptor): void;
16
- free(descriptor: InstancedMeshDescriptor): void;
17
- pickup(descriptor: InstancedMeshDescriptor, result: PickupNode[]): void;
11
+ createActor(descriptor: InstancedMesh): NodeActor<Object3D<import("three").Object3DEventMap>>;
12
+ updateInstanceMesh(data: InstancedData[], instance: ThreeInstancedMesh): void;
13
+ getInstancedMesh(descriptor: InstancedMesh, data: InstancedData[]): ThreeInstancedMesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material, import("three").InstancedMeshEventMap>;
14
+ setInstancedMesh(descriptor: InstancedMesh): void;
15
+ update(descriptor: InstancedMesh): void;
16
+ free(descriptor: InstancedMesh): void;
17
+ pickup(descriptor: InstancedMesh, result: PickupNode[]): void;
18
18
  }
19
- export { InstancedMeshInterpreter };