@vyr/three 0.0.14 → 0.0.15

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 (379) hide show
  1. package/package.json +1 -25
  2. package/build/actor/ComposerServiceActor.d.ts +0 -23
  3. package/build/actor/ComposerServiceActor.js +0 -93
  4. package/build/actor/ComposerServiceActor.js.map +0 -1
  5. package/build/actor/GeometryActor.d.ts +0 -7
  6. package/build/actor/GeometryActor.js +0 -10
  7. package/build/actor/GeometryActor.js.map +0 -1
  8. package/build/actor/HTMLConvertActor.d.ts +0 -14
  9. package/build/actor/HTMLConvertActor.js +0 -52
  10. package/build/actor/HTMLConvertActor.js.map +0 -1
  11. package/build/actor/MaterialActor.d.ts +0 -7
  12. package/build/actor/MaterialActor.js +0 -10
  13. package/build/actor/MaterialActor.js.map +0 -1
  14. package/build/actor/NodeActor.d.ts +0 -9
  15. package/build/actor/NodeActor.js +0 -21
  16. package/build/actor/NodeActor.js.map +0 -1
  17. package/build/actor/OrbitControllerActor.d.ts +0 -20
  18. package/build/actor/OrbitControllerActor.js +0 -103
  19. package/build/actor/OrbitControllerActor.js.map +0 -1
  20. package/build/actor/PassActor.d.ts +0 -8
  21. package/build/actor/PassActor.js +0 -16
  22. package/build/actor/PassActor.js.map +0 -1
  23. package/build/actor/SceneServiceActor.d.ts +0 -21
  24. package/build/actor/SceneServiceActor.js +0 -112
  25. package/build/actor/SceneServiceActor.js.map +0 -1
  26. package/build/actor/TextureActor.d.ts +0 -7
  27. package/build/actor/TextureActor.js +0 -10
  28. package/build/actor/TextureActor.js.map +0 -1
  29. package/build/actor/TransformControllerActor.d.ts +0 -10
  30. package/build/actor/TransformControllerActor.js +0 -19
  31. package/build/actor/TransformControllerActor.js.map +0 -1
  32. package/build/actor/index.d.ts +0 -8
  33. package/build/actor/index.js +0 -11
  34. package/build/actor/index.js.map +0 -1
  35. package/build/asset/index.d.ts +0 -1
  36. package/build/asset/index.js +0 -219
  37. package/build/asset/index.js.map +0 -1
  38. package/build/controls/CameraControls.d.ts +0 -647
  39. package/build/controls/CameraControls.js +0 -2332
  40. package/build/controls/CameraControls.js.map +0 -1
  41. package/build/controls/TransformControls.d.ts +0 -72
  42. package/build/controls/TransformControls.js +0 -1359
  43. package/build/controls/TransformControls.js.map +0 -1
  44. package/build/controls/index.d.ts +0 -2
  45. package/build/controls/index.js +0 -3
  46. package/build/controls/index.js.map +0 -1
  47. package/build/descriptor/ComposerServiceDescriptor.d.ts +0 -33
  48. package/build/descriptor/ComposerServiceDescriptor.js +0 -42
  49. package/build/descriptor/ComposerServiceDescriptor.js.map +0 -1
  50. package/build/descriptor/GeoMapDescriptor.d.ts +0 -12
  51. package/build/descriptor/GeoMapDescriptor.js +0 -22
  52. package/build/descriptor/GeoMapDescriptor.js.map +0 -1
  53. package/build/descriptor/HTMLConvertDescriptor.d.ts +0 -6
  54. package/build/descriptor/HTMLConvertDescriptor.js +0 -10
  55. package/build/descriptor/HTMLConvertDescriptor.js.map +0 -1
  56. package/build/descriptor/InstancedMeshDescriptor.d.ts +0 -12
  57. package/build/descriptor/InstancedMeshDescriptor.js +0 -12
  58. package/build/descriptor/InstancedMeshDescriptor.js.map +0 -1
  59. package/build/descriptor/MeshDescriptor.d.ts +0 -8
  60. package/build/descriptor/MeshDescriptor.js +0 -14
  61. package/build/descriptor/MeshDescriptor.js.map +0 -1
  62. package/build/descriptor/ModelDescriptor.d.ts +0 -7
  63. package/build/descriptor/ModelDescriptor.js +0 -12
  64. package/build/descriptor/ModelDescriptor.js.map +0 -1
  65. package/build/descriptor/OrbitControllerDescriptor.d.ts +0 -54
  66. package/build/descriptor/OrbitControllerDescriptor.js +0 -73
  67. package/build/descriptor/OrbitControllerDescriptor.js.map +0 -1
  68. package/build/descriptor/OrthographicCameraDescriptor.d.ts +0 -6
  69. package/build/descriptor/OrthographicCameraDescriptor.js +0 -10
  70. package/build/descriptor/OrthographicCameraDescriptor.js.map +0 -1
  71. package/build/descriptor/ParticleDescriptor.d.ts +0 -55
  72. package/build/descriptor/ParticleDescriptor.js +0 -85
  73. package/build/descriptor/ParticleDescriptor.js.map +0 -1
  74. package/build/descriptor/PassDescriptor.d.ts +0 -16
  75. package/build/descriptor/PassDescriptor.js +0 -23
  76. package/build/descriptor/PassDescriptor.js.map +0 -1
  77. package/build/descriptor/PerspectiveCameraDescriptor.d.ts +0 -7
  78. package/build/descriptor/PerspectiveCameraDescriptor.js +0 -12
  79. package/build/descriptor/PerspectiveCameraDescriptor.js.map +0 -1
  80. package/build/descriptor/PointsDescriptor.d.ts +0 -8
  81. package/build/descriptor/PointsDescriptor.js +0 -14
  82. package/build/descriptor/PointsDescriptor.js.map +0 -1
  83. package/build/descriptor/SceneServiceDescriptor.d.ts +0 -20
  84. package/build/descriptor/SceneServiceDescriptor.js +0 -35
  85. package/build/descriptor/SceneServiceDescriptor.js.map +0 -1
  86. package/build/descriptor/SpriteDescriptor.d.ts +0 -8
  87. package/build/descriptor/SpriteDescriptor.js +0 -14
  88. package/build/descriptor/SpriteDescriptor.js.map +0 -1
  89. package/build/descriptor/TextDescriptor.d.ts +0 -21
  90. package/build/descriptor/TextDescriptor.js +0 -37
  91. package/build/descriptor/TextDescriptor.js.map +0 -1
  92. package/build/descriptor/TransformControllerDescriptor.d.ts +0 -20
  93. package/build/descriptor/TransformControllerDescriptor.js +0 -22
  94. package/build/descriptor/TransformControllerDescriptor.js.map +0 -1
  95. package/build/descriptor/animation/AnimationActionDescriptor.d.ts +0 -27
  96. package/build/descriptor/animation/AnimationActionDescriptor.js +0 -46
  97. package/build/descriptor/animation/AnimationActionDescriptor.js.map +0 -1
  98. package/build/descriptor/geometry/BoxGeometryDescriptor.d.ts +0 -14
  99. package/build/descriptor/geometry/BoxGeometryDescriptor.js +0 -23
  100. package/build/descriptor/geometry/BoxGeometryDescriptor.js.map +0 -1
  101. package/build/descriptor/geometry/BufferGeometryDescriptor.d.ts +0 -8
  102. package/build/descriptor/geometry/BufferGeometryDescriptor.js +0 -12
  103. package/build/descriptor/geometry/BufferGeometryDescriptor.js.map +0 -1
  104. package/build/descriptor/geometry/CircleGeometryDescriptor.d.ts +0 -12
  105. package/build/descriptor/geometry/CircleGeometryDescriptor.js +0 -19
  106. package/build/descriptor/geometry/CircleGeometryDescriptor.js.map +0 -1
  107. package/build/descriptor/geometry/CylinderGeometryDescriptor.d.ts +0 -16
  108. package/build/descriptor/geometry/CylinderGeometryDescriptor.js +0 -27
  109. package/build/descriptor/geometry/CylinderGeometryDescriptor.js.map +0 -1
  110. package/build/descriptor/geometry/ExtrudeGeometryDescriptor.d.ts +0 -18
  111. package/build/descriptor/geometry/ExtrudeGeometryDescriptor.js +0 -33
  112. package/build/descriptor/geometry/ExtrudeGeometryDescriptor.js.map +0 -1
  113. package/build/descriptor/geometry/GeometryDescriptor.d.ts +0 -5
  114. package/build/descriptor/geometry/GeometryDescriptor.js +0 -7
  115. package/build/descriptor/geometry/GeometryDescriptor.js.map +0 -1
  116. package/build/descriptor/geometry/PlaneGeometryDescriptor.d.ts +0 -12
  117. package/build/descriptor/geometry/PlaneGeometryDescriptor.js +0 -19
  118. package/build/descriptor/geometry/PlaneGeometryDescriptor.js.map +0 -1
  119. package/build/descriptor/geometry/RingGeometryDescriptor.d.ts +0 -14
  120. package/build/descriptor/geometry/RingGeometryDescriptor.js +0 -23
  121. package/build/descriptor/geometry/RingGeometryDescriptor.js.map +0 -1
  122. package/build/descriptor/geometry/SphereGeometryDescriptor.d.ts +0 -14
  123. package/build/descriptor/geometry/SphereGeometryDescriptor.js +0 -24
  124. package/build/descriptor/geometry/SphereGeometryDescriptor.js.map +0 -1
  125. package/build/descriptor/geometry/SurfaceGeometryDescriptor.d.ts +0 -8
  126. package/build/descriptor/geometry/SurfaceGeometryDescriptor.js +0 -12
  127. package/build/descriptor/geometry/SurfaceGeometryDescriptor.js.map +0 -1
  128. package/build/descriptor/geometry/TubeGeometryDescriptor.d.ts +0 -13
  129. package/build/descriptor/geometry/TubeGeometryDescriptor.js +0 -23
  130. package/build/descriptor/geometry/TubeGeometryDescriptor.js.map +0 -1
  131. package/build/descriptor/helper/AxesHelperDescriptor.d.ts +0 -5
  132. package/build/descriptor/helper/AxesHelperDescriptor.js +0 -7
  133. package/build/descriptor/helper/AxesHelperDescriptor.js.map +0 -1
  134. package/build/descriptor/index.d.ts +0 -43
  135. package/build/descriptor/index.js +0 -46
  136. package/build/descriptor/index.js.map +0 -1
  137. package/build/descriptor/light/AmbientLightDescriptor.d.ts +0 -5
  138. package/build/descriptor/light/AmbientLightDescriptor.js +0 -7
  139. package/build/descriptor/light/AmbientLightDescriptor.js.map +0 -1
  140. package/build/descriptor/light/DirectionalLightDescriptor.d.ts +0 -20
  141. package/build/descriptor/light/DirectionalLightDescriptor.js +0 -21
  142. package/build/descriptor/light/DirectionalLightDescriptor.js.map +0 -1
  143. package/build/descriptor/light/HemisphereLightDescriptor.d.ts +0 -8
  144. package/build/descriptor/light/HemisphereLightDescriptor.js +0 -12
  145. package/build/descriptor/light/HemisphereLightDescriptor.js.map +0 -1
  146. package/build/descriptor/light/LightDescriptor.d.ts +0 -8
  147. package/build/descriptor/light/LightDescriptor.js +0 -14
  148. package/build/descriptor/light/LightDescriptor.js.map +0 -1
  149. package/build/descriptor/light/PointLightDescriptor.d.ts +0 -15
  150. package/build/descriptor/light/PointLightDescriptor.js +0 -21
  151. package/build/descriptor/light/PointLightDescriptor.js.map +0 -1
  152. package/build/descriptor/light/RectAreaLightDescriptor.d.ts +0 -10
  153. package/build/descriptor/light/RectAreaLightDescriptor.js +0 -16
  154. package/build/descriptor/light/RectAreaLightDescriptor.js.map +0 -1
  155. package/build/descriptor/light/SpotLightDescriptor.d.ts +0 -18
  156. package/build/descriptor/light/SpotLightDescriptor.js +0 -27
  157. package/build/descriptor/light/SpotLightDescriptor.js.map +0 -1
  158. package/build/descriptor/material/MaterialDescriptor.d.ts +0 -54
  159. package/build/descriptor/material/MaterialDescriptor.js +0 -73
  160. package/build/descriptor/material/MaterialDescriptor.js.map +0 -1
  161. package/build/descriptor/material/MeshBasicMaterialDescriptor.d.ts +0 -35
  162. package/build/descriptor/material/MeshBasicMaterialDescriptor.js +0 -51
  163. package/build/descriptor/material/MeshBasicMaterialDescriptor.js.map +0 -1
  164. package/build/descriptor/material/MeshPhongMaterialDescriptor.d.ts +0 -65
  165. package/build/descriptor/material/MeshPhongMaterialDescriptor.js +0 -98
  166. package/build/descriptor/material/MeshPhongMaterialDescriptor.js.map +0 -1
  167. package/build/descriptor/material/MeshStandardMaterialDescriptor.d.ts +0 -63
  168. package/build/descriptor/material/MeshStandardMaterialDescriptor.js +0 -95
  169. package/build/descriptor/material/MeshStandardMaterialDescriptor.js.map +0 -1
  170. package/build/descriptor/material/PointsMaterialDescriptor.d.ts +0 -19
  171. package/build/descriptor/material/PointsMaterialDescriptor.js +0 -29
  172. package/build/descriptor/material/PointsMaterialDescriptor.js.map +0 -1
  173. package/build/descriptor/material/ShaderMaterialDescriptor.d.ts +0 -24
  174. package/build/descriptor/material/ShaderMaterialDescriptor.js +0 -26
  175. package/build/descriptor/material/ShaderMaterialDescriptor.js.map +0 -1
  176. package/build/descriptor/material/ShadowMaterialDescriptor.d.ts +0 -11
  177. package/build/descriptor/material/ShadowMaterialDescriptor.js +0 -17
  178. package/build/descriptor/material/ShadowMaterialDescriptor.js.map +0 -1
  179. package/build/descriptor/material/SpriteMaterialDescriptor.d.ts +0 -19
  180. package/build/descriptor/material/SpriteMaterialDescriptor.js +0 -29
  181. package/build/descriptor/material/SpriteMaterialDescriptor.js.map +0 -1
  182. package/build/descriptor/texture/TextureDescriptor.d.ts +0 -80
  183. package/build/descriptor/texture/TextureDescriptor.js +0 -103
  184. package/build/descriptor/texture/TextureDescriptor.js.map +0 -1
  185. package/build/index.d.ts +0 -9
  186. package/build/index.js +0 -10
  187. package/build/index.js.map +0 -1
  188. package/build/interpreter/ComposerServiceInterpreter.d.ts +0 -0
  189. package/build/interpreter/ComposerServiceInterpreter.js +0 -22
  190. package/build/interpreter/ComposerServiceInterpreter.js.map +0 -1
  191. package/build/interpreter/GeoMapInterpreter.d.ts +0 -36
  192. package/build/interpreter/GeoMapInterpreter.js +0 -216
  193. package/build/interpreter/GeoMapInterpreter.js.map +0 -1
  194. package/build/interpreter/HTMLConvertInterpreter.d.ts +0 -12
  195. package/build/interpreter/HTMLConvertInterpreter.js +0 -25
  196. package/build/interpreter/HTMLConvertInterpreter.js.map +0 -1
  197. package/build/interpreter/InstancedMeshInterpreter.d.ts +0 -19
  198. package/build/interpreter/InstancedMeshInterpreter.js +0 -67
  199. package/build/interpreter/InstancedMeshInterpreter.js.map +0 -1
  200. package/build/interpreter/MeshInterpreter.d.ts +0 -9
  201. package/build/interpreter/MeshInterpreter.js +0 -21
  202. package/build/interpreter/MeshInterpreter.js.map +0 -1
  203. package/build/interpreter/ModelInterpreter.d.ts +0 -16
  204. package/build/interpreter/ModelInterpreter.js +0 -52
  205. package/build/interpreter/ModelInterpreter.js.map +0 -1
  206. package/build/interpreter/NodeInterpreter.d.ts +0 -18
  207. package/build/interpreter/NodeInterpreter.js +0 -53
  208. package/build/interpreter/NodeInterpreter.js.map +0 -1
  209. package/build/interpreter/OrbitControllerInterpreter.d.ts +0 -13
  210. package/build/interpreter/OrbitControllerInterpreter.js +0 -38
  211. package/build/interpreter/OrbitControllerInterpreter.js.map +0 -1
  212. package/build/interpreter/OrthographicCameraInterpreter.d.ts +0 -8
  213. package/build/interpreter/OrthographicCameraInterpreter.js +0 -9
  214. package/build/interpreter/OrthographicCameraInterpreter.js.map +0 -1
  215. package/build/interpreter/ParticleInterpreter.d.ts +0 -24
  216. package/build/interpreter/ParticleInterpreter.js +0 -180
  217. package/build/interpreter/ParticleInterpreter.js.map +0 -1
  218. package/build/interpreter/PassInterpreter.d.ts +0 -0
  219. package/build/interpreter/PassInterpreter.js +0 -36
  220. package/build/interpreter/PassInterpreter.js.map +0 -1
  221. package/build/interpreter/PerspectiveCameraInterpreter.d.ts +0 -13
  222. package/build/interpreter/PerspectiveCameraInterpreter.js +0 -26
  223. package/build/interpreter/PerspectiveCameraInterpreter.js.map +0 -1
  224. package/build/interpreter/PointsInterpreter.d.ts +0 -17
  225. package/build/interpreter/PointsInterpreter.js +0 -54
  226. package/build/interpreter/PointsInterpreter.js.map +0 -1
  227. package/build/interpreter/SceneServiceInterpreter.d.ts +0 -27
  228. package/build/interpreter/SceneServiceInterpreter.js +0 -95
  229. package/build/interpreter/SceneServiceInterpreter.js.map +0 -1
  230. package/build/interpreter/ServiceSchedulerInterpreter.d.ts +0 -9
  231. package/build/interpreter/ServiceSchedulerInterpreter.js +0 -19
  232. package/build/interpreter/ServiceSchedulerInterpreter.js.map +0 -1
  233. package/build/interpreter/SpriteInterpreter.d.ts +0 -14
  234. package/build/interpreter/SpriteInterpreter.js +0 -38
  235. package/build/interpreter/SpriteInterpreter.js.map +0 -1
  236. package/build/interpreter/TextInterpreter.d.ts +0 -16
  237. package/build/interpreter/TextInterpreter.js +0 -68
  238. package/build/interpreter/TextInterpreter.js.map +0 -1
  239. package/build/interpreter/TransformControllerInterpreter.d.ts +0 -12
  240. package/build/interpreter/TransformControllerInterpreter.js +0 -36
  241. package/build/interpreter/TransformControllerInterpreter.js.map +0 -1
  242. package/build/interpreter/animation/AnimationActionInterpreter.d.ts +0 -13
  243. package/build/interpreter/animation/AnimationActionInterpreter.js +0 -57
  244. package/build/interpreter/animation/AnimationActionInterpreter.js.map +0 -1
  245. package/build/interpreter/geometry/BoxGeometryInterpreter.d.ts +0 -12
  246. package/build/interpreter/geometry/BoxGeometryInterpreter.js +0 -29
  247. package/build/interpreter/geometry/BoxGeometryInterpreter.js.map +0 -1
  248. package/build/interpreter/geometry/BufferGeometryInterpreter.d.ts +0 -13
  249. package/build/interpreter/geometry/BufferGeometryInterpreter.js +0 -43
  250. package/build/interpreter/geometry/BufferGeometryInterpreter.js.map +0 -1
  251. package/build/interpreter/geometry/CircleGeometryInterpreter.d.ts +0 -12
  252. package/build/interpreter/geometry/CircleGeometryInterpreter.js +0 -29
  253. package/build/interpreter/geometry/CircleGeometryInterpreter.js.map +0 -1
  254. package/build/interpreter/geometry/CylinderGeometryInterpreter.d.ts +0 -12
  255. package/build/interpreter/geometry/CylinderGeometryInterpreter.js +0 -29
  256. package/build/interpreter/geometry/CylinderGeometryInterpreter.js.map +0 -1
  257. package/build/interpreter/geometry/ExtrudeGeometryInterpreter.d.ts +0 -13
  258. package/build/interpreter/geometry/ExtrudeGeometryInterpreter.js +0 -48
  259. package/build/interpreter/geometry/ExtrudeGeometryInterpreter.js.map +0 -1
  260. package/build/interpreter/geometry/PlaneGeometryInterpreter.d.ts +0 -12
  261. package/build/interpreter/geometry/PlaneGeometryInterpreter.js +0 -29
  262. package/build/interpreter/geometry/PlaneGeometryInterpreter.js.map +0 -1
  263. package/build/interpreter/geometry/RingGeometryInterpreter.d.ts +0 -12
  264. package/build/interpreter/geometry/RingGeometryInterpreter.js +0 -29
  265. package/build/interpreter/geometry/RingGeometryInterpreter.js.map +0 -1
  266. package/build/interpreter/geometry/SphereGeometryInterpreter.d.ts +0 -12
  267. package/build/interpreter/geometry/SphereGeometryInterpreter.js +0 -29
  268. package/build/interpreter/geometry/SphereGeometryInterpreter.js.map +0 -1
  269. package/build/interpreter/geometry/SurfaceGeometryInterpreter.d.ts +0 -16
  270. package/build/interpreter/geometry/SurfaceGeometryInterpreter.js +0 -29
  271. package/build/interpreter/geometry/SurfaceGeometryInterpreter.js.map +0 -1
  272. package/build/interpreter/geometry/TubeGeometryInterpreter.d.ts +0 -13
  273. package/build/interpreter/geometry/TubeGeometryInterpreter.js +0 -36
  274. package/build/interpreter/geometry/TubeGeometryInterpreter.js.map +0 -1
  275. package/build/interpreter/helper/AxesHelperInterpreter.d.ts +0 -12
  276. package/build/interpreter/helper/AxesHelperInterpreter.js +0 -32
  277. package/build/interpreter/helper/AxesHelperInterpreter.js.map +0 -1
  278. package/build/interpreter/index.d.ts +0 -43
  279. package/build/interpreter/index.js +0 -46
  280. package/build/interpreter/index.js.map +0 -1
  281. package/build/interpreter/light/AmbientLightInterpreter.d.ts +0 -13
  282. package/build/interpreter/light/AmbientLightInterpreter.js +0 -24
  283. package/build/interpreter/light/AmbientLightInterpreter.js.map +0 -1
  284. package/build/interpreter/light/DirectionalLightInterpreter.d.ts +0 -16
  285. package/build/interpreter/light/DirectionalLightInterpreter.js +0 -75
  286. package/build/interpreter/light/DirectionalLightInterpreter.js.map +0 -1
  287. package/build/interpreter/light/HemisphereLightInterpreter.d.ts +0 -13
  288. package/build/interpreter/light/HemisphereLightInterpreter.js +0 -25
  289. package/build/interpreter/light/HemisphereLightInterpreter.js.map +0 -1
  290. package/build/interpreter/light/PointLightInterpreter.d.ts +0 -14
  291. package/build/interpreter/light/PointLightInterpreter.js +0 -37
  292. package/build/interpreter/light/PointLightInterpreter.js.map +0 -1
  293. package/build/interpreter/light/RectAreaLightInterpreter.d.ts +0 -13
  294. package/build/interpreter/light/RectAreaLightInterpreter.js +0 -27
  295. package/build/interpreter/light/RectAreaLightInterpreter.js.map +0 -1
  296. package/build/interpreter/light/SpotLightInterpreter.d.ts +0 -15
  297. package/build/interpreter/light/SpotLightInterpreter.js +0 -63
  298. package/build/interpreter/light/SpotLightInterpreter.js.map +0 -1
  299. package/build/interpreter/material/MaterialInterpreter.d.ts +0 -9
  300. package/build/interpreter/material/MaterialInterpreter.js +0 -28
  301. package/build/interpreter/material/MaterialInterpreter.js.map +0 -1
  302. package/build/interpreter/material/MeshBasicMaterialInterpreter.d.ts +0 -11
  303. package/build/interpreter/material/MeshBasicMaterialInterpreter.js +0 -37
  304. package/build/interpreter/material/MeshBasicMaterialInterpreter.js.map +0 -1
  305. package/build/interpreter/material/MeshPhongMaterialInterpreter.d.ts +0 -11
  306. package/build/interpreter/material/MeshPhongMaterialInterpreter.js +0 -56
  307. package/build/interpreter/material/MeshPhongMaterialInterpreter.js.map +0 -1
  308. package/build/interpreter/material/MeshStandardMaterialInterpreter.d.ts +0 -11
  309. package/build/interpreter/material/MeshStandardMaterialInterpreter.js +0 -52
  310. package/build/interpreter/material/MeshStandardMaterialInterpreter.js.map +0 -1
  311. package/build/interpreter/material/PointsMaterialInterpreter.d.ts +0 -11
  312. package/build/interpreter/material/PointsMaterialInterpreter.js +0 -30
  313. package/build/interpreter/material/PointsMaterialInterpreter.js.map +0 -1
  314. package/build/interpreter/material/ShaderMaterialInterpreter.d.ts +0 -14
  315. package/build/interpreter/material/ShaderMaterialInterpreter.js +0 -46
  316. package/build/interpreter/material/ShaderMaterialInterpreter.js.map +0 -1
  317. package/build/interpreter/material/ShadowMaterialInterpreter.d.ts +0 -11
  318. package/build/interpreter/material/ShadowMaterialInterpreter.js +0 -25
  319. package/build/interpreter/material/ShadowMaterialInterpreter.js.map +0 -1
  320. package/build/interpreter/material/SpriteMaterialInterpreter.d.ts +0 -11
  321. package/build/interpreter/material/SpriteMaterialInterpreter.js +0 -30
  322. package/build/interpreter/material/SpriteMaterialInterpreter.js.map +0 -1
  323. package/build/interpreter/texture/TextureInterpreter.d.ts +0 -13
  324. package/build/interpreter/texture/TextureInterpreter.js +0 -54
  325. package/build/interpreter/texture/TextureInterpreter.js.map +0 -1
  326. package/build/locale/Language.d.ts +0 -3
  327. package/build/locale/Language.js +0 -6
  328. package/build/locale/Language.js.map +0 -1
  329. package/build/locale/LanguageProvider.d.ts +0 -6
  330. package/build/locale/LanguageProvider.js +0 -7
  331. package/build/locale/LanguageProvider.js.map +0 -1
  332. package/build/locale/index.d.ts +0 -2
  333. package/build/locale/index.js +0 -3
  334. package/build/locale/index.js.map +0 -1
  335. package/build/preset/execute/GeoMap/drilldown.d.ts +0 -16
  336. package/build/preset/execute/GeoMap/drilldown.js +0 -45
  337. package/build/preset/execute/GeoMap/drilldown.js.map +0 -1
  338. package/build/preset/execute/GeoMap/index.d.ts +0 -1
  339. package/build/preset/execute/GeoMap/index.js +0 -2
  340. package/build/preset/execute/GeoMap/index.js.map +0 -1
  341. package/build/preset/execute/index.d.ts +0 -1
  342. package/build/preset/execute/index.js +0 -2
  343. package/build/preset/execute/index.js.map +0 -1
  344. package/build/preset/index.d.ts +0 -3
  345. package/build/preset/index.js +0 -4
  346. package/build/preset/index.js.map +0 -1
  347. package/build/preset/interaction/GeoMap/drilldown.d.ts +0 -5
  348. package/build/preset/interaction/GeoMap/drilldown.js +0 -19
  349. package/build/preset/interaction/GeoMap/drilldown.js.map +0 -1
  350. package/build/preset/interaction/GeoMap/index.d.ts +0 -1
  351. package/build/preset/interaction/GeoMap/index.js +0 -2
  352. package/build/preset/interaction/GeoMap/index.js.map +0 -1
  353. package/build/preset/interaction/index.d.ts +0 -1
  354. package/build/preset/interaction/index.js +0 -2
  355. package/build/preset/interaction/index.js.map +0 -1
  356. package/build/utils/dispose/index.d.ts +0 -3
  357. package/build/utils/dispose/index.js +0 -22
  358. package/build/utils/dispose/index.js.map +0 -1
  359. package/build/utils/geometry/index.d.ts +0 -19
  360. package/build/utils/geometry/index.js +0 -61
  361. package/build/utils/geometry/index.js.map +0 -1
  362. package/build/utils/index.d.ts +0 -7
  363. package/build/utils/index.js +0 -8
  364. package/build/utils/index.js.map +0 -1
  365. package/build/utils/material/index.d.ts +0 -7
  366. package/build/utils/material/index.js +0 -46
  367. package/build/utils/material/index.js.map +0 -1
  368. package/build/utils/pickup/index.d.ts +0 -5
  369. package/build/utils/pickup/index.js +0 -14
  370. package/build/utils/pickup/index.js.map +0 -1
  371. package/build/utils/random/index.d.ts +0 -2
  372. package/build/utils/random/index.js +0 -5
  373. package/build/utils/random/index.js.map +0 -1
  374. package/build/utils/text/index.d.ts +0 -98
  375. package/build/utils/text/index.js +0 -379
  376. package/build/utils/text/index.js.map +0 -1
  377. package/build/utils/texture/index.d.ts +0 -4
  378. package/build/utils/texture/index.js +0 -17
  379. package/build/utils/texture/index.js.map +0 -1
@@ -1,29 +0,0 @@
1
- import { BufferGeometry, SphereGeometry } from "three";
2
- import { Interpreter } from "@vyr/engine";
3
- import { SphereGeometryDescriptor } from "../../descriptor";
4
- import { GeometryActor } from "../../actor";
5
- class SphereGeometryInterpreter extends Interpreter {
6
- static type = SphereGeometryDescriptor.type;
7
- createActor(descriptor) {
8
- const actor = new GeometryActor(new BufferGeometry());
9
- return actor;
10
- }
11
- setAttribute(actor, descriptor) {
12
- const source = new SphereGeometry(descriptor.radius, descriptor.widthSegments, descriptor.heightSegments, descriptor.phiStart, descriptor.phiLength, descriptor.thetaStart, descriptor.thetaLength);
13
- actor.object.copy(source);
14
- source.dispose();
15
- }
16
- update(descriptor) {
17
- super.update(descriptor);
18
- const actor = this.getActor(descriptor);
19
- this.setAttribute(actor, descriptor);
20
- }
21
- free(descriptor) {
22
- const actor = this.getActor(descriptor);
23
- actor.object.dispose();
24
- super.free(descriptor);
25
- }
26
- }
27
- Interpreter.register(SphereGeometryInterpreter);
28
- export { SphereGeometryInterpreter };
29
- //# sourceMappingURL=SphereGeometryInterpreter.js.map
@@ -1 +0,0 @@
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;IAChB,CAAC;IAED,YAAY,CAAC,KAAoC,EAAE,UAAoC;QACnF,MAAM,MAAM,GAAG,IAAI,cAAc,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;QACnM,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACzB,MAAM,CAAC,OAAO,EAAE,CAAA;IACpB,CAAC;IAED,MAAM,CAAC,UAAoC;QACvC,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,UAAoC;QACrC,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;AAE/C,OAAO,EAAE,yBAAyB,EAAE,CAAA"}
@@ -1,16 +0,0 @@
1
- import { ExtrudeGeometry, Vector3 } from "three";
2
- import { SurfaceGeometryDescriptor } from "../../descriptor";
3
- import { GeometryActor } from "../../actor";
4
- import { ExtrudeGeometryInterpreter } from "./ExtrudeGeometryInterpreter";
5
- declare class SurfaceGeometryInterpreter extends ExtrudeGeometryInterpreter {
6
- static type: string;
7
- /**
8
- * 经纬度转V3
9
- * @param lng 经度
10
- * @param lat 纬度
11
- * @param radius 半径
12
- */
13
- static lnglatToV3(lng: number, lat: number, radius: number): Vector3;
14
- setAttribute(actor: GeometryActor<ExtrudeGeometry>, descriptor: SurfaceGeometryDescriptor): void;
15
- }
16
- export { SurfaceGeometryInterpreter };
@@ -1,29 +0,0 @@
1
- import { Spherical, Vector3 } from "three";
2
- import { SurfaceGeometryDescriptor } from "../../descriptor";
3
- import { ExtrudeGeometryInterpreter } from "./ExtrudeGeometryInterpreter";
4
- class SurfaceGeometryInterpreter extends ExtrudeGeometryInterpreter {
5
- static type = SurfaceGeometryDescriptor.type;
6
- /**
7
- * 经纬度转V3
8
- * @param lng 经度
9
- * @param lat 纬度
10
- * @param radius 半径
11
- */
12
- static lnglatToV3(lng, lat, radius) {
13
- const theta = (90 + lng) * (Math.PI / 180);
14
- const phi = (90 - lat) * (Math.PI / 180);
15
- return new Vector3().setFromSpherical(new Spherical(radius, phi, theta));
16
- }
17
- setAttribute(actor, descriptor) {
18
- super.setAttribute(actor, descriptor);
19
- const position = actor.object.getAttribute('position');
20
- for (let i = 0; i < position.count; i++) {
21
- const v = SurfaceGeometryInterpreter.lnglatToV3(position.getX(i), position.getY(i), position.getZ(i) + descriptor.radius);
22
- position.setXYZ(i, v.x, v.y, v.z);
23
- }
24
- actor.object.computeVertexNormals();
25
- }
26
- }
27
- ExtrudeGeometryInterpreter.register(SurfaceGeometryInterpreter);
28
- export { SurfaceGeometryInterpreter };
29
- //# sourceMappingURL=SurfaceGeometryInterpreter.js.map
@@ -1 +0,0 @@
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,kBAAkB,CAAC;AAE7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,MAAM,0BAA2B,SAAQ,0BAA0B;IAC/D,MAAM,CAAC,IAAI,GAAG,yBAAyB,CAAC,IAAI,CAAA;IAC5C;;;;;MAKE;IACF,MAAM,CAAC,UAAU,CAAC,GAAW,EAAE,GAAW,EAAE,MAAc;QACtD,MAAM,KAAK,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,CAAC,CAAA;QAE1C,MAAM,GAAG,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,CAAC,CAAA;QAExC,OAAO,IAAI,OAAO,EAAE,CAAC,gBAAgB,CAAC,IAAI,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAA;IAC5E,CAAC;IAED,YAAY,CAAC,KAAqC,EAAE,UAAqC;QACrF,KAAK,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;QACrC,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,CAAA;QACtD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;YACtC,MAAM,CAAC,GAAG,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;AAE/D,OAAO,EAAE,0BAA0B,EAAE,CAAA"}
@@ -1,13 +0,0 @@
1
- import { BufferGeometry, CatmullRomCurve3, TubeGeometry } from "three";
2
- import { Interpreter, JsonAsset } from "@vyr/engine";
3
- import { TubeGeometryDescriptor } from "../../descriptor";
4
- import { GeometryActor } from "../../actor";
5
- declare class TubeGeometryInterpreter extends Interpreter {
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;
12
- }
13
- export { TubeGeometryInterpreter };
@@ -1,36 +0,0 @@
1
- import { BufferGeometry, CatmullRomCurve3, TubeGeometry, Vector3, } from "three";
2
- import { DatasetDescriptor, Interpreter } from "@vyr/engine";
3
- import { TubeGeometryDescriptor } from "../../descriptor";
4
- import { GeometryActor } from "../../actor";
5
- import { geometry } from "../../utils";
6
- class TubeGeometryInterpreter extends Interpreter {
7
- static type = TubeGeometryDescriptor.type;
8
- createActor(descriptor) {
9
- const actor = new GeometryActor(new BufferGeometry());
10
- return actor;
11
- }
12
- createPath(line, descriptor) {
13
- const points = geometry.getPointsOfLineData(line, descriptor.offset);
14
- return new CatmullRomCurve3(points, false);
15
- }
16
- setAttribute(actor, descriptor) {
17
- const data = DatasetDescriptor.getCollection(descriptor.track);
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);
20
- actor.object.copy(source);
21
- source.dispose();
22
- }
23
- update(descriptor) {
24
- super.update(descriptor);
25
- const actor = this.getActor(descriptor);
26
- this.setAttribute(actor, descriptor);
27
- }
28
- free(descriptor) {
29
- const actor = this.getActor(descriptor);
30
- actor.object.dispose();
31
- super.free(descriptor);
32
- }
33
- }
34
- Interpreter.register(TubeGeometryInterpreter);
35
- export { TubeGeometryInterpreter };
36
- //# sourceMappingURL=TubeGeometryInterpreter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TubeGeometryInterpreter.js","sour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C,MAAM,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;QAClI,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;QACnC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA8B,UAAU,CAAC,CAAA;QACpE,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;AAE7C,OAAO,EAAE,uBAAuB,EAAE,CAAA"}
@@ -1,12 +0,0 @@
1
- import { AxesHelper } from 'three';
2
- import { AxesHelperDescriptor } from "../../descriptor";
3
- import { NodeInterpreter } from "../NodeInterpreter";
4
- import { NodeActor } from '../../actor';
5
- declare class AxesHelperInterpreter extends NodeInterpreter {
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;
11
- }
12
- export { AxesHelperInterpreter };
@@ -1,32 +0,0 @@
1
- import { AxesHelper } from 'three';
2
- import { AxesHelperDescriptor } from "../../descriptor";
3
- import { NodeInterpreter } from "../NodeInterpreter";
4
- import { NodeActor } from '../../actor';
5
- class AxesHelperInterpreter extends NodeInterpreter {
6
- static type = AxesHelperDescriptor.type;
7
- createActor(descriptor) {
8
- const actor = new NodeActor(new AxesHelper());
9
- return actor;
10
- }
11
- setAxesHelper(actor, descriptor) {
12
- const size = 1000000;
13
- actor.object.scale.set(size, size, size);
14
- if (Array.isArray(actor.object.material) === false) {
15
- actor.object.material.depthTest = false;
16
- actor.object.material.depthWrite = false;
17
- }
18
- }
19
- update(descriptor) {
20
- super.update(descriptor);
21
- const actor = this.getActor(descriptor);
22
- this.setAxesHelper(actor, descriptor);
23
- }
24
- free(descriptor) {
25
- const actor = this.getActor(descriptor);
26
- actor.object.dispose();
27
- super.free(descriptor);
28
- }
29
- }
30
- NodeInterpreter.register(AxesHelperInterpreter);
31
- export { AxesHelperInterpreter };
32
- //# sourceMappingURL=AxesHelperInterpreter.js.map
@@ -1 +0,0 @@
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,CAAC,CAAA;IACzC,CAAC;IAED,IAAI,CAAC,UAAgC;QACjC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAwB,UAAU,CAAC,CAAA;QAC9D,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;AAE/C,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
@@ -1,43 +0,0 @@
1
- export * from "./geometry/BoxGeometryInterpreter";
2
- export * from "./geometry/CircleGeometryInterpreter";
3
- export * from "./geometry/CylinderGeometryInterpreter";
4
- export * from "./geometry/PlaneGeometryInterpreter";
5
- export * from "./geometry/RingGeometryInterpreter";
6
- export * from "./geometry/SphereGeometryInterpreter";
7
- export * from "./geometry/ExtrudeGeometryInterpreter";
8
- export * from "./geometry/SurfaceGeometryInterpreter";
9
- export * from "./geometry/TubeGeometryInterpreter";
10
- export * from "./geometry/BufferGeometryInterpreter";
11
- export * from "./material/MaterialInterpreter";
12
- export * from "./material/MeshBasicMaterialInterpreter";
13
- export * from "./material/MeshPhongMaterialInterpreter";
14
- export * from "./material/MeshStandardMaterialInterpreter";
15
- export * from "./material/PointsMaterialInterpreter";
16
- export * from "./material/SpriteMaterialInterpreter";
17
- export * from "./material/ShadowMaterialInterpreter";
18
- export * from "./material/ShaderMaterialInterpreter";
19
- export * from './animation/AnimationActionInterpreter';
20
- export * from "./light/AmbientLightInterpreter";
21
- export * from "./light/DirectionalLightInterpreter";
22
- export * from "./light/HemisphereLightInterpreter";
23
- export * from "./light/PointLightInterpreter";
24
- export * from "./light/RectAreaLightInterpreter";
25
- export * from "./light/SpotLightInterpreter";
26
- export * from "./texture/TextureInterpreter";
27
- export * from './helper/AxesHelperInterpreter';
28
- export * from "./ServiceSchedulerInterpreter";
29
- export * from "./SceneServiceInterpreter";
30
- export * from "./NodeInterpreter";
31
- export * from "./MeshInterpreter";
32
- export * from './InstancedMeshInterpreter';
33
- export * from './TextInterpreter';
34
- export * from "./PointsInterpreter";
35
- export * from './ParticleInterpreter';
36
- export * from "./SpriteInterpreter";
37
- export * from './ModelInterpreter';
38
- export * from './HTMLConvertInterpreter';
39
- export * from './GeoMapInterpreter';
40
- export * from "./PerspectiveCameraInterpreter";
41
- export * from "./OrthographicCameraInterpreter";
42
- export * from "./OrbitControllerInterpreter";
43
- export * from "./TransformControllerInterpreter";
@@ -1,46 +0,0 @@
1
- export * from "./geometry/BoxGeometryInterpreter";
2
- export * from "./geometry/CircleGeometryInterpreter";
3
- export * from "./geometry/CylinderGeometryInterpreter";
4
- export * from "./geometry/PlaneGeometryInterpreter";
5
- export * from "./geometry/RingGeometryInterpreter";
6
- export * from "./geometry/SphereGeometryInterpreter";
7
- export * from "./geometry/ExtrudeGeometryInterpreter";
8
- export * from "./geometry/SurfaceGeometryInterpreter";
9
- export * from "./geometry/TubeGeometryInterpreter";
10
- export * from "./geometry/BufferGeometryInterpreter";
11
- export * from "./material/MaterialInterpreter";
12
- export * from "./material/MeshBasicMaterialInterpreter";
13
- export * from "./material/MeshPhongMaterialInterpreter";
14
- export * from "./material/MeshStandardMaterialInterpreter";
15
- export * from "./material/PointsMaterialInterpreter";
16
- export * from "./material/SpriteMaterialInterpreter";
17
- export * from "./material/ShadowMaterialInterpreter";
18
- export * from "./material/ShaderMaterialInterpreter";
19
- export * from './animation/AnimationActionInterpreter';
20
- export * from "./light/AmbientLightInterpreter";
21
- export * from "./light/DirectionalLightInterpreter";
22
- export * from "./light/HemisphereLightInterpreter";
23
- export * from "./light/PointLightInterpreter";
24
- export * from "./light/RectAreaLightInterpreter";
25
- export * from "./light/SpotLightInterpreter";
26
- export * from "./texture/TextureInterpreter";
27
- export * from './helper/AxesHelperInterpreter';
28
- export * from "./ServiceSchedulerInterpreter";
29
- export * from "./SceneServiceInterpreter";
30
- export * from "./NodeInterpreter";
31
- export * from "./MeshInterpreter";
32
- export * from './InstancedMeshInterpreter';
33
- export * from './TextInterpreter';
34
- export * from "./PointsInterpreter";
35
- export * from './ParticleInterpreter';
36
- export * from "./SpriteInterpreter";
37
- export * from './ModelInterpreter';
38
- export * from './HTMLConvertInterpreter';
39
- export * from './GeoMapInterpreter';
40
- export * from "./PerspectiveCameraInterpreter";
41
- export * from "./OrthographicCameraInterpreter";
42
- export * from "./OrbitControllerInterpreter";
43
- export * from "./TransformControllerInterpreter";
44
- // export * from './ComposerServiceInterpreter'
45
- // export * from './PassInterpreter'
46
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
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,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 +0,0 @@
1
- import { AmbientLight } from "three";
2
- import { PickupObject } from "@vyr/engine";
3
- import { NodeInterpreter } from "../NodeInterpreter";
4
- import { AmbientLightDescriptor } from "../../descriptor";
5
- import { NodeActor } from "../../actor";
6
- declare class AmbientLightInterpreter extends NodeInterpreter {
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;
12
- }
13
- export { AmbientLightInterpreter };
@@ -1,24 +0,0 @@
1
- import { AmbientLight } from "three";
2
- import { NodeInterpreter } from "../NodeInterpreter";
3
- import { AmbientLightDescriptor } from "../../descriptor";
4
- import { NodeActor } from "../../actor";
5
- class AmbientLightInterpreter extends NodeInterpreter {
6
- static type = AmbientLightDescriptor.type;
7
- createActor(descriptor) {
8
- const actor = new NodeActor(new AmbientLight());
9
- return actor;
10
- }
11
- setLight(actor, descriptor) {
12
- actor.object.color.set(descriptor.color);
13
- actor.object.intensity = descriptor.intensity;
14
- }
15
- update(descriptor) {
16
- super.update(descriptor);
17
- const actor = this.getActor(descriptor);
18
- this.setLight(actor, descriptor);
19
- }
20
- pickup(descriptor, result) { }
21
- }
22
- NodeInterpreter.register(AmbientLightInterpreter);
23
- export { AmbientLightInterpreter };
24
- //# sourceMappingURL=AmbientLightInterpreter.js.map
@@ -1 +0,0 @@
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,CAAC,CAAA;QAChE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACpC,CAAC;IAED,MAAM,CAAC,UAAkC,EAAE,MAAsB,IAAI,CAAC;;AAE1E,eAAe,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAEjD,OAAO,EAAE,uBAAuB,EAAE,CAAA"}
@@ -1,16 +0,0 @@
1
- import { DirectionalLight, Object3D } from "three";
2
- import { PickupObject } from "@vyr/engine";
3
- import { NodeInterpreter } from "../NodeInterpreter";
4
- import { DirectionalLightDescriptor } from "../../descriptor";
5
- import { NodeActor } from "../../actor";
6
- declare class DirectionalLightInterpreter extends NodeInterpreter {
7
- static type: string;
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;
15
- }
16
- export { DirectionalLightInterpreter };
@@ -1,75 +0,0 @@
1
- import { DirectionalLight, Object3D } from "three";
2
- import { Descriptor } from "@vyr/engine";
3
- import { NodeInterpreter } from "../NodeInterpreter";
4
- import { DirectionalLightDescriptor } from "../../descriptor";
5
- import { NodeActor } from "../../actor";
6
- class DirectionalLightInterpreter extends NodeInterpreter {
7
- static type = DirectionalLightDescriptor.type;
8
- target = null;
9
- createActor(descriptor) {
10
- const actor = new NodeActor(new DirectionalLight());
11
- return actor;
12
- }
13
- setLight(actor, descriptor) {
14
- actor.object.color.set(descriptor.color);
15
- actor.object.intensity = descriptor.intensity;
16
- actor.object.shadow.bias = descriptor.bias;
17
- actor.object.shadow.normalBias = descriptor.normalBias;
18
- const mapSize = descriptor.mapSize;
19
- actor.object.shadow.mapSize.set(mapSize.x, mapSize.y);
20
- if (actor.object.shadow.mapPass) {
21
- actor.object.shadow.mapPass.setSize(mapSize.x, mapSize.y);
22
- actor.object.shadow.mapPass.texture.needsUpdate = true;
23
- }
24
- if (actor.object.shadow.map) {
25
- actor.object.shadow.map.setSize(mapSize.x, mapSize.y);
26
- actor.object.shadow.map.texture.needsUpdate = true;
27
- }
28
- const camera = descriptor.camera;
29
- actor.object.shadow.camera.near = camera.near;
30
- actor.object.shadow.camera.far = camera.far;
31
- actor.object.shadow.camera.left = camera.left;
32
- actor.object.shadow.camera.right = camera.right;
33
- actor.object.shadow.camera.top = camera.top;
34
- actor.object.shadow.camera.bottom = camera.bottom;
35
- actor.object.shadow.camera.updateProjectionMatrix();
36
- }
37
- setTarget(actor, descriptor) {
38
- let targetValue = descriptor.target;
39
- if (targetValue === '') {
40
- const target = new Object3D();
41
- target.position.copy(actor.object.target.position);
42
- actor.object.target = target;
43
- }
44
- else {
45
- const target = Descriptor.get(targetValue);
46
- if (target !== null) {
47
- const targetActor = this.graphics.getActor(target);
48
- if (targetActor instanceof NodeActor) {
49
- actor.object.target = targetActor.object;
50
- }
51
- else {
52
- actor.object.target = new Object3D();
53
- }
54
- }
55
- else {
56
- actor.object.target = new Object3D();
57
- }
58
- }
59
- }
60
- update(descriptor) {
61
- super.update(descriptor);
62
- const actor = this.getActor(descriptor);
63
- this.setLight(actor, descriptor);
64
- this.setTarget(actor, descriptor);
65
- }
66
- free(descriptor) {
67
- const actor = this.getActor(descriptor);
68
- actor.object.dispose();
69
- super.free(descriptor);
70
- }
71
- pickup(descriptor, result) { }
72
- }
73
- NodeInterpreter.register(DirectionalLightInterpreter);
74
- export { DirectionalLightInterpreter };
75
- //# sourceMappingURL=DirectionalLightInterpreter.js.map
@@ -1 +0,0 @@
1
- {"version":3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,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;IAED,MAAM,CAAC,UAAsC,EAAE,MAAsB,IAAI,CAAC;;AAE9E,eAAe,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAA;AAErD,OAAO,EAAE,2BAA2B,EAAE,CAAA"}
@@ -1,13 +0,0 @@
1
- import { HemisphereLight } from "three";
2
- import { PickupObject } from "@vyr/engine";
3
- import { NodeInterpreter } from "../NodeInterpreter";
4
- import { HemisphereLightDescriptor } from "../../descriptor";
5
- import { NodeActor } from "../../actor";
6
- declare class HemisphereLightInterpreter extends NodeInterpreter {
7
- static type: string;
8
- protected createActor(descriptor: HemisphereLightDescriptor): NodeActor<HemisphereLight>;
9
- setLight(actor: NodeActor<HemisphereLight>, descriptor: HemisphereLightDescriptor): void;
10
- update(descriptor: HemisphereLightDescriptor): void;
11
- pickup(descriptor: HemisphereLightDescriptor, result: PickupObject[]): void;
12
- }
13
- export { HemisphereLightInterpreter };
@@ -1,25 +0,0 @@
1
- import { HemisphereLight } from "three";
2
- import { NodeInterpreter } from "../NodeInterpreter";
3
- import { HemisphereLightDescriptor } from "../../descriptor";
4
- import { NodeActor } from "../../actor";
5
- class HemisphereLightInterpreter extends NodeInterpreter {
6
- static type = HemisphereLightDescriptor.type;
7
- createActor(descriptor) {
8
- const actor = new NodeActor(new HemisphereLight());
9
- return actor;
10
- }
11
- setLight(actor, descriptor) {
12
- actor.object.color.set(descriptor.color);
13
- actor.object.intensity = descriptor.intensity;
14
- actor.object.groundColor.set(descriptor.groundColor);
15
- }
16
- update(descriptor) {
17
- super.update(descriptor);
18
- const actor = this.getActor(descriptor);
19
- this.setLight(actor, descriptor);
20
- }
21
- pickup(descriptor, result) { }
22
- }
23
- NodeInterpreter.register(HemisphereLightInterpreter);
24
- export { HemisphereLightInterpreter };
25
- //# sourceMappingURL=HemisphereLightInterpreter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HemisphereLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/HemisphereLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,0BAA2B,SAAQ,eAAe;IACpD,MAAM,CAAC,IAAI,GAAG,yBAAyB,CAAC,IAAI,CAAA;IAElC,WAAW,CAAC,UAAqC;QACvD,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,eAAe,EAAE,CAAC,CAAA;QAClD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,QAAQ,CAAC,KAAiC,EAAE,UAAqC;QAC7E,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QACxC,KAAK,CAAC,MAAM,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAA;QAC7C,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,WAAW,CAAC,CAAA;IACxD,CAAC;IAED,MAAM,CAAC,UAAqC;QACxC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA6B,UAAU,CAAC,CAAA;QACnE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACpC,CAAC;IAED,MAAM,CAAC,UAAqC,EAAE,MAAsB,IAAI,CAAC;;AAE7E,eAAe,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAA;AAGpD,OAAO,EAAE,0BAA0B,EAAE,CAAA"}
@@ -1,14 +0,0 @@
1
- import { PointLight } from "three";
2
- import { PickupObject } from "@vyr/engine";
3
- import { NodeInterpreter } from "../NodeInterpreter";
4
- import { PointLightDescriptor } from "../../descriptor";
5
- import { NodeActor } from "../../actor";
6
- declare class PointLightInterpreter extends NodeInterpreter {
7
- static type: string;
8
- protected createActor(descriptor: PointLightDescriptor): NodeActor<PointLight>;
9
- setLight(actor: NodeActor<PointLight>, descriptor: PointLightDescriptor): void;
10
- update(descriptor: PointLightDescriptor): void;
11
- free(descriptor: PointLightDescriptor): void;
12
- pickup(descriptor: PointLightDescriptor, result: PickupObject[]): void;
13
- }
14
- export { PointLightInterpreter };
@@ -1,37 +0,0 @@
1
- import { PointLight } from "three";
2
- import { NodeInterpreter } from "../NodeInterpreter";
3
- import { PointLightDescriptor } from "../../descriptor";
4
- import { NodeActor } from "../../actor";
5
- class PointLightInterpreter extends NodeInterpreter {
6
- static type = PointLightDescriptor.type;
7
- createActor(descriptor) {
8
- const actor = new NodeActor(new PointLight());
9
- return actor;
10
- }
11
- setLight(actor, descriptor) {
12
- actor.object.color.set(descriptor.color);
13
- actor.object.intensity = descriptor.intensity;
14
- actor.object.decay = descriptor.decay;
15
- actor.object.distance = descriptor.distance;
16
- actor.object.power = descriptor.power;
17
- const mapSize = descriptor.mapSize;
18
- const camera = descriptor.camera;
19
- actor.object.shadow.mapSize.set(mapSize.x, mapSize.y);
20
- actor.object.shadow.camera.near = camera.near;
21
- actor.object.shadow.camera.far = camera.far;
22
- }
23
- update(descriptor) {
24
- super.update(descriptor);
25
- const actor = this.getActor(descriptor);
26
- this.setLight(actor, descriptor);
27
- }
28
- free(descriptor) {
29
- const actor = this.getActor(descriptor);
30
- actor.object.dispose();
31
- super.free(descriptor);
32
- }
33
- pickup(descriptor, result) { }
34
- }
35
- NodeInterpreter.register(PointLightInterpreter);
36
- export { PointLightInterpreter };
37
- //# sourceMappingURL=PointLightInterpreter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PointLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/PointLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UA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AgC;QACnC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAwB,UAAU,CAAC,CAAA;QAC9D,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACpC,CAAC;IAED,IAAI,CAAC,UAAgC;QACjC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAwB,UAAU,CAAC,CAAA;QAC9D,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;IAED,MAAM,CAAC,UAAgC,EAAE,MAAsB,IAAI,CAAC;;AAExE,eAAe,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAA;AAG/C,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
@@ -1,13 +0,0 @@
1
- import { RectAreaLight } from "three";
2
- import { PickupObject } from "@vyr/engine";
3
- import { NodeInterpreter } from "../NodeInterpreter";
4
- import { RectAreaLightDescriptor } from "../../descriptor";
5
- import { NodeActor } from "../../actor";
6
- declare class RectAreaLightInterpreter extends NodeInterpreter {
7
- static type: string;
8
- protected createActor(descriptor: RectAreaLightDescriptor): NodeActor<RectAreaLight>;
9
- setLight(actor: NodeActor<RectAreaLight>, descriptor: RectAreaLightDescriptor): void;
10
- update(descriptor: RectAreaLightDescriptor): void;
11
- pickup(descriptor: RectAreaLightDescriptor, result: PickupObject[]): void;
12
- }
13
- export { RectAreaLightInterpreter };
@@ -1,27 +0,0 @@
1
- import { RectAreaLight } from "three";
2
- import { NodeInterpreter } from "../NodeInterpreter";
3
- import { RectAreaLightDescriptor } from "../../descriptor";
4
- import { NodeActor } from "../../actor";
5
- class RectAreaLightInterpreter extends NodeInterpreter {
6
- static type = RectAreaLightDescriptor.type;
7
- createActor(descriptor) {
8
- const actor = new NodeActor(new RectAreaLight());
9
- return actor;
10
- }
11
- setLight(actor, descriptor) {
12
- actor.object.color.set(descriptor.color);
13
- actor.object.intensity = descriptor.intensity;
14
- actor.object.width = descriptor.width;
15
- actor.object.height = descriptor.height;
16
- actor.object.power = descriptor.power;
17
- }
18
- update(descriptor) {
19
- super.update(descriptor);
20
- const actor = this.getActor(descriptor);
21
- this.setLight(actor, descriptor);
22
- }
23
- pickup(descriptor, result) { }
24
- }
25
- NodeInterpreter.register(RectAreaLightInterpreter);
26
- export { RectAreaLightInterpreter };
27
- //# sourceMappingURL=RectAreaLightInterpreter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RectAreaLightInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/light/RectAreaLightInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,wBAAyB,SAAQ,eAAe;IAClD,MAAM,CAAC,IAAI,GAAG,uBAAuB,CAAC,IAAI,CAAA;IAEhC,WAAW,CAAC,UAAmC;QACrD,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,aAAa,EAAE,CAAC,CAAA;QAChD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,QAAQ,CAAC,KAA+B,EAAE,UAAmC;QACzE,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QACxC,KAAK,CAAC,MAAM,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAA;QAC7C,KAAK,CAAC,MAAM,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAA;QACrC,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAA;QACvC,KAAK,CAAC,MAAM,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAA;IACzC,CAAC;IAED,MAAM,CAAC,UAAmC;QACtC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA2B,UAAU,CAAC,CAAA;QACjE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACpC,CAAC;IAED,MAAM,CAAC,UAAmC,EAAE,MAAsB,IAAI,CAAC;;AAE3E,eAAe,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAA;AAGlD,OAAO,EAAE,wBAAwB,EAAE,CAAA"}
@@ -1,15 +0,0 @@
1
- import { SpotLight } from "three";
2
- import { PickupObject } from "@vyr/engine";
3
- import { NodeInterpreter } from "../NodeInterpreter";
4
- import { SpotLightDescriptor } from "../../descriptor";
5
- import { NodeActor } from "../../actor";
6
- declare class SpotLightInterpreter extends NodeInterpreter {
7
- static type: string;
8
- protected createActor(descriptor: SpotLightDescriptor): NodeActor<SpotLight>;
9
- setLight(actor: NodeActor<SpotLight>, descriptor: SpotLightDescriptor): void;
10
- setTarget(actor: NodeActor<SpotLight>, descriptor: SpotLightDescriptor): void;
11
- update(descriptor: SpotLightDescriptor): void;
12
- free(descriptor: SpotLightDescriptor): void;
13
- pickup(descriptor: SpotLightDescriptor, result: PickupObject[]): void;
14
- }
15
- export { SpotLightInterpreter };