@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
@@ -1,15 +1,15 @@
1
- import { BufferGeometry, CylinderGeometry } from "three";
1
+ import { BufferGeometry, CylinderGeometry as ThreeCylinderGeometry } from "three";
2
2
  import { Interpreter } from "@vyr/engine";
3
- import { CylinderGeometryDescriptor } from "../../descriptor";
3
+ import { CylinderGeometry } from "../../descriptor";
4
4
  import { GeometryActor } from "../../actor";
5
- class CylinderGeometryInterpreter extends Interpreter {
6
- static type = CylinderGeometryDescriptor.type;
5
+ export class CylinderGeometryInterpreter extends Interpreter {
6
+ static type = CylinderGeometry.type;
7
7
  createActor(descriptor) {
8
8
  const actor = new GeometryActor(new BufferGeometry());
9
9
  return actor;
10
10
  }
11
11
  setAttribute(actor, descriptor) {
12
- const source = new CylinderGeometry(descriptor.radiusTop, descriptor.radiusBottom, descriptor.height, descriptor.radialSegments, descriptor.heightSegments, descriptor.openEnded, descriptor.thetaStart, descriptor.thetaLength);
12
+ const source = new ThreeCylinderGeometry(descriptor.radiusTop, descriptor.radiusBottom, descriptor.height, descriptor.radialSegments, descriptor.heightSegments, descriptor.openEnded, descriptor.thetaStart, descriptor.thetaLength);
13
13
  actor.object.copy(source);
14
14
  source.dispose();
15
15
  }
@@ -25,5 +25,4 @@ class CylinderGeometryInterpreter extends Interpreter {
25
25
  }
26
26
  }
27
27
  Interpreter.register(CylinderGeometryInterpreter);
28
- export { CylinderGeometryInterpreter };
29
28
  //# sourceMappingURL=CylinderGeometryInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CylinderGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/CylinderGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAA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AA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAA"}
@@ -1,13 +1,12 @@
1
- import { BufferGeometry, ExtrudeGeometry, Shape } from "three";
1
+ import { BufferGeometry, Shape } from "three";
2
2
  import { Interpreter, JsonAsset } from "@vyr/engine";
3
- import { ExtrudeGeometryDescriptor } from "../../descriptor";
3
+ import { ExtrudeGeometry } from "../../descriptor";
4
4
  import { GeometryActor } from "../../actor";
5
- declare class ExtrudeGeometryInterpreter extends Interpreter {
5
+ export declare class ExtrudeGeometryInterpreter extends Interpreter {
6
6
  static type: string;
7
- protected createActor(descriptor: ExtrudeGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
8
- createShapes(collection: JsonAsset[], shapes: Shape[], descriptor: ExtrudeGeometryDescriptor): void;
9
- setAttribute(actor: GeometryActor<ExtrudeGeometry>, descriptor: ExtrudeGeometryDescriptor): void;
10
- update(descriptor: ExtrudeGeometryDescriptor): void;
11
- free(descriptor: ExtrudeGeometryDescriptor): void;
7
+ protected createActor(descriptor: ExtrudeGeometry): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
8
+ createShapes(collection: JsonAsset[], shapes: Shape[], descriptor: ExtrudeGeometry): void;
9
+ setAttribute(actor: GeometryActor<BufferGeometry>, descriptor: ExtrudeGeometry): void;
10
+ update(descriptor: ExtrudeGeometry): void;
11
+ free(descriptor: ExtrudeGeometry): void;
12
12
  }
13
- export { ExtrudeGeometryInterpreter };
@@ -1,10 +1,10 @@
1
- import { BufferGeometry, ExtrudeGeometry, Path, Shape, } from "three";
2
- import { DatasetDescriptor, Interpreter } from "@vyr/engine";
3
- import { ExtrudeGeometryDescriptor } from "../../descriptor";
1
+ import { BufferGeometry, ExtrudeGeometry as ThreeExtrudeGeometry, Path, Shape, } from "three";
2
+ import { Store, Interpreter } from "@vyr/engine";
3
+ import { ExtrudeGeometry } from "../../descriptor";
4
4
  import { GeometryActor } from "../../actor";
5
5
  import { geometry } from "../../utils";
6
- class ExtrudeGeometryInterpreter extends Interpreter {
7
- static type = ExtrudeGeometryDescriptor.type;
6
+ export class ExtrudeGeometryInterpreter extends Interpreter {
7
+ static type = ExtrudeGeometry.type;
8
8
  createActor(descriptor) {
9
9
  const actor = new GeometryActor(new BufferGeometry());
10
10
  return actor;
@@ -23,10 +23,10 @@ class ExtrudeGeometryInterpreter extends Interpreter {
23
23
  }
24
24
  }
25
25
  setAttribute(actor, descriptor) {
26
- const collection = DatasetDescriptor.getCollection(descriptor.shapes);
26
+ const collection = Store.getCollection(descriptor.shapes);
27
27
  const shapes = [];
28
28
  this.createShapes(collection, shapes, descriptor);
29
- const source = new ExtrudeGeometry(shapes, geometry.getExtrudeOptions(descriptor));
29
+ const source = new ThreeExtrudeGeometry(shapes, geometry.getExtrudeOptions(descriptor));
30
30
  actor.object.copy(source);
31
31
  source.dispose();
32
32
  if (descriptor.flattenUVsToPlane)
@@ -44,5 +44,4 @@ class ExtrudeGeometryInterpreter extends Interpreter {
44
44
  }
45
45
  }
46
46
  Interpreter.register(ExtrudeGeometryInterpreter);
47
- export { ExtrudeGeometryInterpreter };
48
47
  //# sourceMappingURL=ExtrudeGeometryInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExtrudeGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/ExtrudeGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,GAAG,MAAM,OAAO,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAa,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,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AAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACzB,MAAM,CAAC,OAAO,EAAE,CAAA;QAEhB,IAAI,UAAU,CAAC,iBAAiB;YAAE,QAAQ,CAAC,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC9E,CAAC;IAED,MAAM,CAAC,UAA2B;QAC9B,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgC,UAAU,CAAC,CAAA;QACtE,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,CAAC,UAA2B;QAC5B,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgC,UAAU,CAAC,CAAA;QACtE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAA"}
@@ -1,12 +1,11 @@
1
- import { BufferGeometry, PlaneGeometry } from "three";
1
+ import { BufferGeometry } from "three";
2
2
  import { Interpreter } from "@vyr/engine";
3
- import { PlaneGeometryDescriptor } from "../../descriptor";
3
+ import { PlaneGeometry } from "../../descriptor";
4
4
  import { GeometryActor } from "../../actor";
5
- declare class PlaneGeometryInterpreter extends Interpreter {
5
+ export declare class PlaneGeometryInterpreter extends Interpreter {
6
6
  static type: string;
7
- protected createActor(descriptor: PlaneGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
8
- setAttribute(actor: GeometryActor<PlaneGeometry>, descriptor: PlaneGeometryDescriptor): void;
9
- update(descriptor: PlaneGeometryDescriptor): void;
10
- free(descriptor: PlaneGeometryDescriptor): void;
7
+ protected createActor(descriptor: PlaneGeometry): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
8
+ setAttribute(actor: GeometryActor<BufferGeometry>, descriptor: PlaneGeometry): void;
9
+ update(descriptor: PlaneGeometry): void;
10
+ free(descriptor: PlaneGeometry): void;
11
11
  }
12
- export { PlaneGeometryInterpreter };
@@ -1,15 +1,15 @@
1
- import { BufferGeometry, PlaneGeometry } from "three";
1
+ import { BufferGeometry, PlaneGeometry as ThreePlaneGeometry } from "three";
2
2
  import { Interpreter } from "@vyr/engine";
3
- import { PlaneGeometryDescriptor } from "../../descriptor";
3
+ import { PlaneGeometry } from "../../descriptor";
4
4
  import { GeometryActor } from "../../actor";
5
- class PlaneGeometryInterpreter extends Interpreter {
6
- static type = PlaneGeometryDescriptor.type;
5
+ export class PlaneGeometryInterpreter extends Interpreter {
6
+ static type = PlaneGeometry.type;
7
7
  createActor(descriptor) {
8
8
  const actor = new GeometryActor(new BufferGeometry());
9
9
  return actor;
10
10
  }
11
11
  setAttribute(actor, descriptor) {
12
- const source = new PlaneGeometry(descriptor.width, descriptor.height, descriptor.widthSegments, descriptor.heightSegments);
12
+ const source = new ThreePlaneGeometry(descriptor.width, descriptor.height, descriptor.widthSegments, descriptor.heightSegments);
13
13
  actor.object.copy(source);
14
14
  source.dispose();
15
15
  }
@@ -25,5 +25,4 @@ class PlaneGeometryInterpreter extends Interpreter {
25
25
  }
26
26
  }
27
27
  Interpreter.register(PlaneGeometryInterpreter);
28
- export { PlaneGeometryInterpreter };
29
28
  //# sourceMappingURL=PlaneGeometryInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlaneGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/PlaneGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,wB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a,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,OAAO,wBAAyB,SAAQ,WAAW;IACrD,MAAM,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,CAAA;IAEtB,WAAW,CAAC,UAAyB;QAC3C,MAAM,KAAK,GAAG,IAAI,aAAa,CAAC,IAAI,cAAc,EAAE,CAAC,CAAA;QACrD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,YAAY,CAAC,KAAoC,EAAE,UAAyB;QACxE,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,aAAa,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;QAC/H,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACzB,MAAM,CAAC,OAAO,EAAE,CAAA;IACpB,CAAC;IAED,MAAM,CAAC,UAAyB;QAC5B,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgC,UAAU,CAAC,CAAA;QACtE,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,CAAC,UAAyB;QAC1B,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgC,UAAU,CAAC,CAAA;QACtE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAA"}
@@ -1,12 +1,11 @@
1
- import { BufferGeometry, RingGeometry } from "three";
1
+ import { BufferGeometry } from "three";
2
2
  import { Interpreter } from "@vyr/engine";
3
- import { RingGeometryDescriptor } from "../../descriptor";
3
+ import { RingGeometry } from "../../descriptor";
4
4
  import { GeometryActor } from "../../actor";
5
- declare class RingGeometryInterpreter extends Interpreter {
5
+ export declare class RingGeometryInterpreter extends Interpreter {
6
6
  static type: string;
7
- protected createActor(descriptor: RingGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
8
- setAttribute(actor: GeometryActor<RingGeometry>, descriptor: RingGeometryDescriptor): void;
9
- update(descriptor: RingGeometryDescriptor): void;
10
- free(descriptor: RingGeometryDescriptor): void;
7
+ protected createActor(descriptor: RingGeometry): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
8
+ setAttribute(actor: GeometryActor<BufferGeometry>, descriptor: RingGeometry): void;
9
+ update(descriptor: RingGeometry): void;
10
+ free(descriptor: RingGeometry): void;
11
11
  }
12
- export { RingGeometryInterpreter };
@@ -1,15 +1,15 @@
1
- import { BufferGeometry, RingGeometry } from "three";
1
+ import { BufferGeometry, RingGeometry as ThreeRingGeometry } from "three";
2
2
  import { Interpreter } from "@vyr/engine";
3
- import { RingGeometryDescriptor } from "../../descriptor";
3
+ import { RingGeometry } from "../../descriptor";
4
4
  import { GeometryActor } from "../../actor";
5
- class RingGeometryInterpreter extends Interpreter {
6
- static type = RingGeometryDescriptor.type;
5
+ export class RingGeometryInterpreter extends Interpreter {
6
+ static type = RingGeometry.type;
7
7
  createActor(descriptor) {
8
8
  const actor = new GeometryActor(new BufferGeometry());
9
9
  return actor;
10
10
  }
11
11
  setAttribute(actor, descriptor) {
12
- const source = new RingGeometry(descriptor.innerRadius, descriptor.outerRadius, descriptor.thetaSegments, descriptor.phiSegments, descriptor.thetaStart, descriptor.thetaLength);
12
+ const source = new ThreeRingGeometry(descriptor.innerRadius, descriptor.outerRadius, descriptor.thetaSegments, descriptor.phiSegments, descriptor.thetaStart, descriptor.thetaLength);
13
13
  actor.object.copy(source);
14
14
  source.dispose();
15
15
  }
@@ -25,5 +25,4 @@ class RingGeometryInterpreter extends Interpreter {
25
25
  }
26
26
  }
27
27
  Interpreter.register(RingGeometryInterpreter);
28
- export { RingGeometryInterpreter };
29
28
  //# sourceMappingURL=RingGeometryInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RingGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/RingGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,uBAAwB,SAAQ,WAAW;IAC7C,MAAM,CAAC,IAAI,GAAG,sBAAsB,CAAC,IAAI,CAAA;IAE/B,WAAW,CAAC,UAAkC;QACpD,MAAM,KAAK,GAAG,IAAI,aAAa,CAAC,IAAI,cAAc,EAAE,CAAC,CAAA;QACrD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,YAAY,CAAC,KAAkC,EAAE,UAAkC;QAC/E,MAAM,MAAM,GAAG,IAAI,YAAY,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,aAAa,EAAE,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;QAChL,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACzB,MAAM,CAAC,OAAO,EAAE,CAAA;IACpB,CAAC;IAED,MAAM,CAAC,UAAkC;QACrC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA8B,UAAU,CAAC,CAAA;QACpE,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,CAAC,UAAkC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C,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgC,UAAU,CAAC,CAAA;QACtE,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,CAAC,UAAwB;QACzB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgC,UAAU,CAAC,CAAA;QACtE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA"}
@@ -1,12 +1,11 @@
1
- import { BufferGeometry, SphereGeometry } from "three";
1
+ import { BufferGeometry } from "three";
2
2
  import { Interpreter } from "@vyr/engine";
3
- import { SphereGeometryDescriptor } from "../../descriptor";
3
+ import { SphereGeometry } from "../../descriptor";
4
4
  import { GeometryActor } from "../../actor";
5
- declare class SphereGeometryInterpreter extends Interpreter {
5
+ export declare class SphereGeometryInterpreter extends Interpreter {
6
6
  static type: string;
7
- protected createActor(descriptor: SphereGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
8
- setAttribute(actor: GeometryActor<SphereGeometry>, descriptor: SphereGeometryDescriptor): void;
9
- update(descriptor: SphereGeometryDescriptor): void;
10
- free(descriptor: SphereGeometryDescriptor): void;
7
+ protected createActor(descriptor: SphereGeometry): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
8
+ setAttribute(actor: GeometryActor<BufferGeometry>, descriptor: SphereGeometry): void;
9
+ update(descriptor: SphereGeometry): void;
10
+ free(descriptor: SphereGeometry): void;
11
11
  }
12
- export { SphereGeometryInterpreter };
@@ -1,15 +1,15 @@
1
- import { BufferGeometry, SphereGeometry } from "three";
1
+ import { BufferGeometry, SphereGeometry as ThreeSphereGeometry } from "three";
2
2
  import { Interpreter } from "@vyr/engine";
3
- import { SphereGeometryDescriptor } from "../../descriptor";
3
+ import { SphereGeometry } from "../../descriptor";
4
4
  import { GeometryActor } from "../../actor";
5
- class SphereGeometryInterpreter extends Interpreter {
6
- static type = SphereGeometryDescriptor.type;
5
+ export class SphereGeometryInterpreter extends Interpreter {
6
+ static type = SphereGeometry.type;
7
7
  createActor(descriptor) {
8
8
  const actor = new GeometryActor(new BufferGeometry());
9
9
  return actor;
10
10
  }
11
11
  setAttribute(actor, descriptor) {
12
- const source = new SphereGeometry(descriptor.radius, descriptor.widthSegments, descriptor.heightSegments, descriptor.phiStart, descriptor.phiLength, descriptor.thetaStart, descriptor.thetaLength);
12
+ const source = new ThreeSphereGeometry(descriptor.radius, descriptor.widthSegments, descriptor.heightSegments, descriptor.phiStart, descriptor.phiLength, descriptor.thetaStart, descriptor.thetaLength);
13
13
  actor.object.copy(source);
14
14
  source.dispose();
15
15
  }
@@ -25,5 +25,4 @@ class SphereGeometryInterpreter extends Interpreter {
25
25
  }
26
26
  }
27
27
  Interpreter.register(SphereGeometryInterpreter);
28
- export { SphereGeometryInterpreter };
29
28
  //# sourceMappingURL=SphereGeometryInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SphereGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/SphereGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,yBAA0B,SAAQ,WAAW;IAC/C,MAAM,CAAC,IAAI,GAAG,wBAAwB,CAAC,IAAI,CAAA;IAEjC,WAAW,CAAC,UAAoC;QACtD,MAAM,KAAK,GAAG,IAAI,aAAa,CAAC,IAAI,cAAc,EAAE,CAAC,CAAA;QACrD,OAAO,KAAK,CAAA;IACh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B,SAAQ,WAAW;IACtD,MAAM,CAAC,IAAI,GAAG,cAAc,CAAC,IAAI,CAAA;IAEvB,WAAW,CAAC,UAA0B;QAC5C,MAAM,KAAK,GAAG,IAAI,aAAa,CAAC,IAAI,cAAc,EAAE,CAAC,CAAA;QACrD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,YAAY,CAAC,KAAoC,EAAE,UAA0B;QACzE,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,aAAa,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;QACxM,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACzB,MAAM,CAAC,OAAO,EAAE,CAAA;IACpB,CAAC;IAED,MAAM,CAAC,UAA0B;QAC7B,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgC,UAAU,CAAC,CAAA;QACtE,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,CAAC,UAA0B;QAC3B,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgC,UAAU,CAAC,CAAA;QACtE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAA"}
@@ -1,8 +1,8 @@
1
- import { ExtrudeGeometry, Vector3 } from "three";
2
- import { SurfaceGeometryDescriptor } from "../../descriptor";
1
+ import { BufferGeometry, Vector3 } from "three";
2
+ import { SurfaceGeometry } from "../../descriptor";
3
3
  import { GeometryActor } from "../../actor";
4
4
  import { ExtrudeGeometryInterpreter } from "./ExtrudeGeometryInterpreter";
5
- declare class SurfaceGeometryInterpreter extends ExtrudeGeometryInterpreter {
5
+ export declare class SurfaceGeometryInterpreter extends ExtrudeGeometryInterpreter {
6
6
  static type: string;
7
7
  /**
8
8
  * 经纬度转V3
@@ -11,6 +11,5 @@ declare class SurfaceGeometryInterpreter extends ExtrudeGeometryInterpreter {
11
11
  * @param radius 半径
12
12
  */
13
13
  static lnglatToV3(lng: number, lat: number, radius: number): Vector3;
14
- setAttribute(actor: GeometryActor<ExtrudeGeometry>, descriptor: SurfaceGeometryDescriptor): void;
14
+ setAttribute(actor: GeometryActor<BufferGeometry>, descriptor: SurfaceGeometry): void;
15
15
  }
16
- export { SurfaceGeometryInterpreter };
@@ -1,8 +1,8 @@
1
1
  import { Spherical, Vector3 } from "three";
2
- import { SurfaceGeometryDescriptor } from "../../descriptor";
2
+ import { SurfaceGeometry } from "../../descriptor";
3
3
  import { ExtrudeGeometryInterpreter } from "./ExtrudeGeometryInterpreter";
4
- class SurfaceGeometryInterpreter extends ExtrudeGeometryInterpreter {
5
- static type = SurfaceGeometryDescriptor.type;
4
+ export class SurfaceGeometryInterpreter extends ExtrudeGeometryInterpreter {
5
+ static type = SurfaceGeometry.type;
6
6
  /**
7
7
  * 经纬度转V3
8
8
  * @param lng 经度
@@ -25,5 +25,4 @@ class SurfaceGeometryInterpreter extends ExtrudeGeometryInterpreter {
25
25
  }
26
26
  }
27
27
  ExtrudeGeometryInterpreter.register(SurfaceGeometryInterpreter);
28
- export { SurfaceGeometryInterpreter };
29
28
  //# sourceMappingURL=SurfaceGeometryInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SurfaceGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/SurfaceGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBA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AG,0BAA0B,CAAC,UAAU,CAC3C,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAChB,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAChB,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,MAAM,CACvC,CAAA;YACD,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QACrC,CAAC;QACD,KAAK,CAAC,MAAM,CAAC,oBAAoB,EAAE,CAAA;IACvC,CAAC;;AAEL,0BAA0B,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAA"}
@@ -1,13 +1,12 @@
1
- import { BufferGeometry, CatmullRomCurve3, TubeGeometry } from "three";
1
+ import { BufferGeometry, CatmullRomCurve3 } from "three";
2
2
  import { Interpreter, JsonAsset } from "@vyr/engine";
3
- import { TubeGeometryDescriptor } from "../../descriptor";
3
+ import { TubeGeometry } from "../../descriptor";
4
4
  import { GeometryActor } from "../../actor";
5
- declare class TubeGeometryInterpreter extends Interpreter {
5
+ export declare class TubeGeometryInterpreter extends Interpreter {
6
6
  static type: string;
7
- protected createActor(descriptor: TubeGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
8
- createPath(line: JsonAsset, descriptor: TubeGeometryDescriptor): CatmullRomCurve3;
9
- setAttribute(actor: GeometryActor<TubeGeometry>, descriptor: TubeGeometryDescriptor): void;
10
- update(descriptor: TubeGeometryDescriptor): void;
11
- free(descriptor: TubeGeometryDescriptor): void;
7
+ protected createActor(descriptor: TubeGeometry): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
8
+ createPath(line: JsonAsset, descriptor: TubeGeometry): CatmullRomCurve3;
9
+ setAttribute(actor: GeometryActor<BufferGeometry>, descriptor: TubeGeometry): void;
10
+ update(descriptor: TubeGeometry): void;
11
+ free(descriptor: TubeGeometry): void;
12
12
  }
13
- export { TubeGeometryInterpreter };
@@ -1,10 +1,10 @@
1
- import { BufferGeometry, CatmullRomCurve3, TubeGeometry, Vector3, } from "three";
2
- import { DatasetDescriptor, Interpreter } from "@vyr/engine";
3
- import { TubeGeometryDescriptor } from "../../descriptor";
1
+ import { BufferGeometry, CatmullRomCurve3, TubeGeometry as ThreeTubeGeometry, Vector3, } from "three";
2
+ import { Store, Interpreter } from "@vyr/engine";
3
+ import { TubeGeometry } from "../../descriptor";
4
4
  import { GeometryActor } from "../../actor";
5
5
  import { geometry } from "../../utils";
6
- class TubeGeometryInterpreter extends Interpreter {
7
- static type = TubeGeometryDescriptor.type;
6
+ export class TubeGeometryInterpreter extends Interpreter {
7
+ static type = TubeGeometry.type;
8
8
  createActor(descriptor) {
9
9
  const actor = new GeometryActor(new BufferGeometry());
10
10
  return actor;
@@ -14,9 +14,9 @@ class TubeGeometryInterpreter extends Interpreter {
14
14
  return new CatmullRomCurve3(points, false);
15
15
  }
16
16
  setAttribute(actor, descriptor) {
17
- const data = DatasetDescriptor.getCollection(descriptor.track);
17
+ const data = Store.getCollection(descriptor.track);
18
18
  const path = data.length === 0 ? new CatmullRomCurve3([new Vector3(), new Vector3()]) : this.createPath(data, descriptor);
19
- const source = new TubeGeometry(path, descriptor.tubularSegments, descriptor.radius, descriptor.radialSegments, descriptor.closed);
19
+ const source = new ThreeTubeGeometry(path, descriptor.tubularSegments, descriptor.radius, descriptor.radialSegments, descriptor.closed);
20
20
  actor.object.copy(source);
21
21
  source.dispose();
22
22
  }
@@ -32,5 +32,4 @@ class TubeGeometryInterpreter extends Interpreter {
32
32
  }
33
33
  }
34
34
  Interpreter.register(TubeGeometryInterpreter);
35
- export { TubeGeometryInterpreter };
36
35
  //# sourceMappingURL=TubeGeometryInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TubeGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/TubeGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAA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AA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA"}
@@ -1,12 +1,11 @@
1
- import { AxesHelper } from 'three';
2
- import { AxesHelperDescriptor } from "../../descriptor";
1
+ import { AxesHelper as ThreeAxesHelper } from 'three';
2
+ import { AxesHelper } from "../../descriptor";
3
3
  import { NodeInterpreter } from "../NodeInterpreter";
4
4
  import { NodeActor } from '../../actor';
5
- declare class AxesHelperInterpreter extends NodeInterpreter {
5
+ export declare class AxesHelperInterpreter extends NodeInterpreter {
6
6
  static type: string;
7
- protected createActor(descriptor: AxesHelperDescriptor): NodeActor<AxesHelper>;
8
- setAxesHelper(actor: NodeActor<AxesHelper>, descriptor: AxesHelperDescriptor): void;
9
- update(descriptor: AxesHelperDescriptor): void;
10
- free(descriptor: AxesHelperDescriptor): void;
7
+ protected createActor(descriptor: AxesHelper): NodeActor<ThreeAxesHelper>;
8
+ setAxesHelper(actor: NodeActor<ThreeAxesHelper>, descriptor: AxesHelper): void;
9
+ update(descriptor: AxesHelper): void;
10
+ free(descriptor: AxesHelper): void;
11
11
  }
12
- export { AxesHelperInterpreter };
@@ -1,11 +1,11 @@
1
- import { AxesHelper } from 'three';
2
- import { AxesHelperDescriptor } from "../../descriptor";
1
+ import { AxesHelper as ThreeAxesHelper } from 'three';
2
+ import { AxesHelper } from "../../descriptor";
3
3
  import { NodeInterpreter } from "../NodeInterpreter";
4
4
  import { NodeActor } from '../../actor';
5
- class AxesHelperInterpreter extends NodeInterpreter {
6
- static type = AxesHelperDescriptor.type;
5
+ export class AxesHelperInterpreter extends NodeInterpreter {
6
+ static type = AxesHelper.type;
7
7
  createActor(descriptor) {
8
- const actor = new NodeActor(new AxesHelper());
8
+ const actor = new NodeActor(new ThreeAxesHelper());
9
9
  return actor;
10
10
  }
11
11
  setAxesHelper(actor, descriptor) {
@@ -28,5 +28,4 @@ class AxesHelperInterpreter extends NodeInterpreter {
28
28
  }
29
29
  }
30
30
  NodeInterpreter.register(AxesHelperInterpreter);
31
- export { AxesHelperInterpreter };
32
31
  //# sourceMappingURL=AxesHelperInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AxesHelperInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/helper/AxesHelperInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,qBAAsB,SAAQ,eAAe;IAC/C,MAAM,CAAC,IAAI,GAAG,oBAAoB,CAAC,IAAI,CAAA;IAE7B,WAAW,CAAC,UAAgC;QAClD,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,UAAU,EAAE,CAAC,CAAA;QAC7C,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,aAAa,CAAC,KAA4B,EAAE,UAAgC;QACxE,MAAM,IAAI,GAAG,OAAO,CAAA;QACpB,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;QACxC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,KAAK,EAAE,CAAC;YACjD,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,GAAG,KAAK,CAAA;YACvC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,GAAG,KAAK,CAAA;QAC5C,CAAC;IACL,CAAC;IAED,MAAM,CAAC,UAAgC;QACnC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAwB,UAAU,CAAC,CAAA;QAC9D,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,UAAU,C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AC,UAAU,GAAG,KAAK,CAAA;QAC5C,CAAC;IACL,CAAC;IAED,MAAM,CAAC,UAAsB;QACzB,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA6B,UAAU,CAAC,CAAA;QACnE,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACzC,CAAC;IAED,IAAI,CAAC,UAAsB;QACvB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA6B,UAAU,CAAC,CAAA;QACnE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,eAAe,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAA"}
@@ -25,12 +25,12 @@ export * from "./light/RectAreaLightInterpreter";
25
25
  export * from "./light/SpotLightInterpreter";
26
26
  export * from "./texture/TextureInterpreter";
27
27
  export * from './helper/AxesHelperInterpreter';
28
- export * from "./ServiceSchedulerInterpreter";
29
- export * from "./SceneServiceInterpreter";
28
+ export * from "./SceneInterpreter";
29
+ export * from "./Scene3DServiceInterpreter";
30
30
  export * from "./NodeInterpreter";
31
31
  export * from "./MeshInterpreter";
32
32
  export * from './InstancedMeshInterpreter';
33
- export * from './TextInterpreter';
33
+ export * from './Text3DInterpreter';
34
34
  export * from "./PointsInterpreter";
35
35
  export * from './ParticleInterpreter';
36
36
  export * from "./SpriteInterpreter";
@@ -25,12 +25,12 @@ export * from "./light/RectAreaLightInterpreter";
25
25
  export * from "./light/SpotLightInterpreter";
26
26
  export * from "./texture/TextureInterpreter";
27
27
  export * from './helper/AxesHelperInterpreter';
28
- export * from "./ServiceSchedulerInterpreter";
29
- export * from "./SceneServiceInterpreter";
28
+ export * from "./SceneInterpreter";
29
+ export * from "./Scene3DServiceInterpreter";
30
30
  export * from "./NodeInterpreter";
31
31
  export * from "./MeshInterpreter";
32
32
  export * from './InstancedMeshInterpreter';
33
- export * from './TextInterpreter';
33
+ export * from './Text3DInterpreter';
34
34
  export * from "./PointsInterpreter";
35
35
  export * from './ParticleInterpreter';
36
36
  export * from "./SpriteInterpreter";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interpreter/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAA;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,0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CAAA;AAClC,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,+CAA+C;AAC/C,oCAAoC"}
@@ -1,13 +1,12 @@
1
- import { AmbientLight } from "three";
1
+ import { AmbientLight as ThreeAmbientLight } from "three";
2
2
  import { PickupObject } from "@vyr/engine";
3
3
  import { NodeInterpreter } from "../NodeInterpreter";
4
- import { AmbientLightDescriptor } from "../../descriptor";
4
+ import { AmbientLight } from "../../descriptor";
5
5
  import { NodeActor } from "../../actor";
6
- declare class AmbientLightInterpreter extends NodeInterpreter {
6
+ export declare class AmbientLightInterpreter extends NodeInterpreter {
7
7
  static type: string;
8
- protected createActor(descriptor: AmbientLightDescriptor): NodeActor<AmbientLight>;
9
- setLight(actor: NodeActor<AmbientLight>, descriptor: AmbientLightDescriptor): void;
10
- update(descriptor: AmbientLightDescriptor): void;
11
- pickup(descriptor: AmbientLightDescriptor, result: PickupObject[]): void;
8
+ protected createActor(descriptor: AmbientLight): NodeActor<ThreeAmbientLight>;
9
+ setLight(actor: NodeActor<ThreeAmbientLight>, descriptor: AmbientLight): void;
10
+ update(descriptor: AmbientLight): void;
11
+ pickup(descriptor: AmbientLight, result: PickupObject[]): void;
12
12
  }
13
- export { AmbientLightInterpreter };
@@ -1,15 +1,15 @@
1
- import { AmbientLight } from "three";
1
+ import { AmbientLight as ThreeAmbientLight } from "three";
2
2
  import { NodeInterpreter } from "../NodeInterpreter";
3
- import { AmbientLightDescriptor } from "../../descriptor";
3
+ import { AmbientLight } from "../../descriptor";
4
4
  import { NodeActor } from "../../actor";
5
- class AmbientLightInterpreter extends NodeInterpreter {
6
- static type = AmbientLightDescriptor.type;
5
+ export class AmbientLightInterpreter extends NodeInterpreter {
6
+ static type = AmbientLight.type;
7
7
  createActor(descriptor) {
8
- const actor = new NodeActor(new AmbientLight());
8
+ const actor = new NodeActor(new ThreeAmbientLight());
9
9
  return actor;
10
10
  }
11
11
  setLight(actor, descriptor) {
12
- actor.object.color.set(descriptor.color);
12
+ actor.object.color.setStyle(descriptor.color);
13
13
  actor.object.intensity = descriptor.intensity;
14
14
  }
15
15
  update(descriptor) {
@@ -20,5 +20,4 @@ class AmbientLightInterpreter extends NodeInterpreter {
20
20
  pickup(descriptor, result) { }
21
21
  }
22
22
  NodeInterpreter.register(AmbientLightInterpreter);
23
- export { AmbientLightInterpreter };
24
23
  //# sourceMappingURL=AmbientLightInterpreter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AmbientLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/AmbientLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,uBAAwB,SAAQ,eAAe;IACjD,MAAM,CAAC,IAAI,GAAG,sBAAsB,CAAC,IAAI,CAAA;IAE/B,WAAW,CAAC,UAAkC;QACpD,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,YAAY,EAAE,CAAC,CAAA;QAC/C,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,QAAQ,CAAC,KAA8B,EAAE,UAAkC;QACvE,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QACxC,KAAK,CAAC,MAAM,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAA;IACjD,CAAC;IAED,MAAM,CAAC,UAAkC;QACrC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA0B,UAAU,C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CAAC;;AAEhE,eAAe,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA"}
@@ -1,16 +1,15 @@
1
- import { DirectionalLight, Object3D } from "three";
1
+ import { DirectionalLight as ThreeDirectionalLight, Object3D } from "three";
2
2
  import { PickupObject } from "@vyr/engine";
3
3
  import { NodeInterpreter } from "../NodeInterpreter";
4
- import { DirectionalLightDescriptor } from "../../descriptor";
4
+ import { DirectionalLight } from "../../descriptor";
5
5
  import { NodeActor } from "../../actor";
6
- declare class DirectionalLightInterpreter extends NodeInterpreter {
6
+ export declare class DirectionalLightInterpreter extends NodeInterpreter {
7
7
  static type: string;
8
8
  target: Object3D | null;
9
- protected createActor(descriptor: DirectionalLightDescriptor): NodeActor<DirectionalLight>;
10
- setLight(actor: NodeActor<DirectionalLight>, descriptor: DirectionalLightDescriptor): void;
11
- setTarget(actor: NodeActor<DirectionalLight>, descriptor: DirectionalLightDescriptor): void;
12
- update(descriptor: DirectionalLightDescriptor): void;
13
- free(descriptor: DirectionalLightDescriptor): void;
14
- pickup(descriptor: DirectionalLightDescriptor, result: PickupObject[]): void;
9
+ protected createActor(descriptor: DirectionalLight): NodeActor<ThreeDirectionalLight>;
10
+ setLight(actor: NodeActor<ThreeDirectionalLight>, descriptor: DirectionalLight): void;
11
+ setTarget(actor: NodeActor<ThreeDirectionalLight>, descriptor: DirectionalLight): void;
12
+ update(descriptor: DirectionalLight): void;
13
+ free(descriptor: DirectionalLight): void;
14
+ pickup(descriptor: DirectionalLight, result: PickupObject[]): void;
15
15
  }
16
- export { DirectionalLightInterpreter };