angular-three-soba 1.14.1 → 2.0.0-beta.11

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 (426) hide show
  1. package/README.md +2 -2
  2. package/abstractions/billboard/billboard.d.ts +28 -0
  3. package/abstractions/detailed/detailed.d.ts +26 -0
  4. package/abstractions/edges/edges.d.ts +34 -0
  5. package/abstractions/grid/grid.d.ts +50 -0
  6. package/abstractions/index.d.ts +6 -11
  7. package/abstractions/text/text.d.ts +82 -0
  8. package/abstractions/text-3d/text-3d.d.ts +81 -0
  9. package/cameras/{lib/camera → camera}/camera-content.d.ts +2 -2
  10. package/cameras/camera/camera.d.ts +26 -0
  11. package/cameras/cube-camera/cube-camera.d.ts +69 -0
  12. package/cameras/index.d.ts +4 -4
  13. package/cameras/orthographic-camera/orthographic-camera.d.ts +37 -0
  14. package/cameras/{lib/perspective-camera → perspective-camera}/perspective-camera.d.ts +10 -1
  15. package/controls/index.d.ts +1 -1
  16. package/controls/orbit-controls/orbit-controls.d.ts +54 -0
  17. package/esm2022/abstractions/angular-three-soba-abstractions.mjs +1 -1
  18. package/esm2022/abstractions/billboard/billboard.mjs +74 -0
  19. package/esm2022/abstractions/detailed/detailed.mjs +64 -0
  20. package/esm2022/abstractions/edges/edges.mjs +88 -0
  21. package/esm2022/abstractions/grid/grid.mjs +180 -0
  22. package/esm2022/abstractions/index.mjs +7 -12
  23. package/esm2022/abstractions/text/text.mjs +274 -0
  24. package/esm2022/abstractions/text-3d/text-3d.mjs +165 -0
  25. package/esm2022/angular-three-soba.mjs +1 -1
  26. package/esm2022/cameras/angular-three-soba-cameras.mjs +1 -1
  27. package/esm2022/cameras/camera/camera-content.mjs +20 -0
  28. package/esm2022/cameras/camera/camera.mjs +77 -0
  29. package/esm2022/cameras/cube-camera/cube-camera.mjs +161 -0
  30. package/esm2022/cameras/index.mjs +5 -5
  31. package/esm2022/cameras/orthographic-camera/orthographic-camera.mjs +102 -0
  32. package/esm2022/cameras/perspective-camera/perspective-camera.mjs +46 -0
  33. package/esm2022/controls/angular-three-soba-controls.mjs +1 -1
  34. package/esm2022/controls/index.mjs +2 -2
  35. package/esm2022/controls/orbit-controls/orbit-controls.mjs +181 -0
  36. package/esm2022/index.mjs +1 -1
  37. package/esm2022/loaders/angular-three-soba-loaders.mjs +1 -1
  38. package/esm2022/loaders/gltf-loader/gltf-loader.mjs +30 -0
  39. package/esm2022/loaders/index.mjs +5 -6
  40. package/esm2022/loaders/loader/loader.mjs +138 -0
  41. package/esm2022/loaders/progress/progress.mjs +45 -0
  42. package/esm2022/loaders/texture-loader/texture-loader.mjs +28 -0
  43. package/esm2022/materials/angular-three-soba-materials.mjs +1 -1
  44. package/esm2022/materials/index.mjs +7 -6
  45. package/esm2022/materials/mesh-distort-material/mesh-distort-material.mjs +82 -0
  46. package/esm2022/materials/mesh-reflector-material/mesh-reflector-material.mjs +367 -0
  47. package/esm2022/materials/mesh-refraction-material/mesh-refraction-material.mjs +171 -0
  48. package/esm2022/materials/mesh-transmission-material/mesh-transmission-material.mjs +278 -0
  49. package/esm2022/materials/mesh-wobble-material/mesh-wobble-material.mjs +68 -0
  50. package/esm2022/materials/point-material/point-material.mjs +46 -0
  51. package/esm2022/misc/angular-three-soba-misc.mjs +1 -1
  52. package/esm2022/misc/animations/animations.mjs +59 -0
  53. package/esm2022/misc/bake-shadows/bake-shadows.mjs +24 -0
  54. package/esm2022/misc/caustics/caustics.mjs +387 -0
  55. package/esm2022/misc/decal/decal.mjs +187 -0
  56. package/esm2022/misc/depth-buffer/depth-buffer.mjs +44 -0
  57. package/esm2022/misc/example/example.mjs +160 -0
  58. package/esm2022/misc/fbo/fbo.mjs +47 -0
  59. package/esm2022/misc/html/html-wrapper.mjs +478 -0
  60. package/esm2022/misc/html/html.mjs +304 -0
  61. package/esm2022/misc/index.mjs +14 -5
  62. package/esm2022/misc/sampler/sampler.mjs +142 -0
  63. package/esm2022/misc/shadow/shadow.mjs +111 -0
  64. package/esm2022/misc/stats-gl/stats-gl.mjs +61 -0
  65. package/esm2022/misc/trail/trail.mjs +209 -0
  66. package/esm2022/misc/trail-texture/inject-trail-texture.mjs +17 -0
  67. package/esm2022/misc/trail-texture/trail-texture.mjs +106 -0
  68. package/esm2022/modifiers/angular-three-soba-modifiers.mjs +5 -0
  69. package/esm2022/modifiers/curve-modifier/curve-modifier.mjs +64 -0
  70. package/esm2022/modifiers/index.mjs +2 -0
  71. package/esm2022/performances/adaptive-dpr/adaptive-dpr.mjs +44 -0
  72. package/esm2022/performances/adaptive-events/adaptive-events.mjs +27 -0
  73. package/esm2022/performances/angular-three-soba-performances.mjs +5 -0
  74. package/esm2022/performances/index.mjs +6 -0
  75. package/esm2022/performances/points/points-input.mjs +64 -0
  76. package/esm2022/performances/points/points.mjs +329 -0
  77. package/esm2022/performances/points/position-point.mjs +54 -0
  78. package/esm2022/performances/segments/segment-object.mjs +9 -0
  79. package/esm2022/performances/segments/segments.mjs +182 -0
  80. package/esm2022/shaders/angular-three-soba-shaders.mjs +1 -1
  81. package/esm2022/shaders/blur-pass/blur-pass.mjs +61 -0
  82. package/esm2022/shaders/caustics/caustics-material.mjs +130 -0
  83. package/esm2022/shaders/caustics/caustics-projection-material.mjs +31 -0
  84. package/esm2022/shaders/convolution-material/convolution-material.mjs +94 -0
  85. package/esm2022/shaders/discard-material/discard-material.mjs +3 -0
  86. package/esm2022/shaders/grid-material/grid-material.mjs +77 -0
  87. package/esm2022/shaders/index.mjs +18 -15
  88. package/esm2022/shaders/mesh-distort-material/mesh-distort-material.mjs +56 -0
  89. package/esm2022/shaders/mesh-reflector-material/mesh-reflector-material.mjs +223 -0
  90. package/esm2022/shaders/mesh-refraction-material/mesh-refraction-material.mjs +170 -0
  91. package/esm2022/shaders/mesh-transmission-material/mesh-transmission-material.mjs +268 -0
  92. package/esm2022/shaders/mesh-wobble-material/mesh-wobble-material.mjs +37 -0
  93. package/esm2022/shaders/shader-material/shader-material.mjs +34 -0
  94. package/esm2022/shaders/soft-shadow-material/soft-shadow-material.mjs +25 -0
  95. package/esm2022/shaders/sparkles-material/sparkles-material.mjs +33 -0
  96. package/esm2022/shaders/spot-light-material/spot-light-material.mjs +86 -0
  97. package/esm2022/shaders/star-field-material/star-field-material.mjs +33 -0
  98. package/esm2022/shaders/wireframe-material/wireframe-material.mjs +247 -0
  99. package/esm2022/staging/accumulative-shadows/accumulative-shadows.mjs +267 -0
  100. package/esm2022/staging/accumulative-shadows/progressive-light-map.mjs +108 -0
  101. package/esm2022/staging/accumulative-shadows/randomized-lights.mjs +206 -0
  102. package/esm2022/staging/angular-three-soba-staging.mjs +1 -1
  103. package/esm2022/staging/backdrop/backdrop.mjs +77 -0
  104. package/esm2022/staging/bb-anchor/bb-anchor.mjs +69 -0
  105. package/esm2022/staging/bounds/bounds.mjs +308 -0
  106. package/esm2022/staging/camera-shake/camera-shake.mjs +123 -0
  107. package/esm2022/staging/center/center.mjs +163 -0
  108. package/esm2022/staging/cloud/cloud.mjs +158 -0
  109. package/esm2022/staging/contact-shadows/contact-shadows.mjs +246 -0
  110. package/esm2022/staging/environment/assets.mjs +13 -0
  111. package/esm2022/staging/environment/environment-cube.mjs +47 -0
  112. package/esm2022/staging/environment/environment-ground.mjs +41 -0
  113. package/esm2022/staging/environment/environment-input.mjs +119 -0
  114. package/esm2022/staging/environment/environment-map.mjs +53 -0
  115. package/esm2022/staging/environment/environment-portal.mjs +113 -0
  116. package/esm2022/staging/environment/environment.mjs +61 -0
  117. package/esm2022/staging/environment/utils.mjs +105 -0
  118. package/esm2022/staging/float/float.mjs +94 -0
  119. package/esm2022/staging/index.mjs +22 -18
  120. package/esm2022/staging/matcap-texture/matcap-texture.mjs +64 -0
  121. package/esm2022/staging/normal-texture/normal-texture.mjs +53 -0
  122. package/esm2022/staging/sky/sky.mjs +119 -0
  123. package/esm2022/staging/sparkles/sparkles.mjs +164 -0
  124. package/esm2022/staging/spot-light/shadow-mesh-input.mjs +63 -0
  125. package/esm2022/staging/spot-light/shadow-mesh.mjs +266 -0
  126. package/esm2022/staging/spot-light/spot-light-input.mjs +84 -0
  127. package/esm2022/staging/spot-light/spot-light.mjs +81 -0
  128. package/esm2022/staging/spot-light/volumetric-mesh.mjs +98 -0
  129. package/esm2022/staging/stage/stage.mjs +388 -0
  130. package/esm2022/staging/stars/stars.mjs +147 -0
  131. package/esm2022/staging/wireframe/wireframe-input.mjs +191 -0
  132. package/esm2022/staging/wireframe/wireframe.mjs +224 -0
  133. package/esm2022/utils/angular-three-soba-utils.mjs +5 -0
  134. package/esm2022/utils/content/content.mjs +15 -0
  135. package/esm2022/utils/index.mjs +2 -0
  136. package/fesm2022/angular-three-soba-abstractions.mjs +668 -1882
  137. package/fesm2022/angular-three-soba-abstractions.mjs.map +1 -1
  138. package/fesm2022/angular-three-soba-cameras.mjs +279 -232
  139. package/fesm2022/angular-three-soba-cameras.mjs.map +1 -1
  140. package/fesm2022/angular-three-soba-controls.mjs +104 -69
  141. package/fesm2022/angular-three-soba-controls.mjs.map +1 -1
  142. package/fesm2022/angular-three-soba-loaders.mjs +177 -164
  143. package/fesm2022/angular-three-soba-loaders.mjs.map +1 -1
  144. package/fesm2022/angular-three-soba-materials.mjs +630 -482
  145. package/fesm2022/angular-three-soba-materials.mjs.map +1 -1
  146. package/fesm2022/angular-three-soba-misc.mjs +2248 -122
  147. package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
  148. package/fesm2022/angular-three-soba-modifiers.mjs +71 -0
  149. package/fesm2022/angular-three-soba-modifiers.mjs.map +1 -0
  150. package/fesm2022/angular-three-soba-performances.mjs +697 -0
  151. package/fesm2022/angular-three-soba-performances.mjs.map +1 -0
  152. package/fesm2022/angular-three-soba-shaders.mjs +554 -209
  153. package/fesm2022/angular-three-soba-shaders.mjs.map +1 -1
  154. package/fesm2022/angular-three-soba-staging.mjs +3230 -2852
  155. package/fesm2022/angular-three-soba-staging.mjs.map +1 -1
  156. package/fesm2022/angular-three-soba-utils.mjs +22 -0
  157. package/fesm2022/angular-three-soba-utils.mjs.map +1 -0
  158. package/fesm2022/angular-three-soba.mjs.map +1 -1
  159. package/loaders/gltf-loader/gltf-loader.d.ts +10 -0
  160. package/loaders/index.d.ts +4 -5
  161. package/loaders/loader/loader.d.ts +33 -0
  162. package/loaders/progress/progress.d.ts +9 -0
  163. package/loaders/texture-loader/texture-loader.d.ts +7 -0
  164. package/materials/index.d.ts +6 -5
  165. package/materials/mesh-distort-material/mesh-distort-material.d.ts +40 -0
  166. package/materials/mesh-reflector-material/mesh-reflector-material.d.ts +99 -0
  167. package/materials/mesh-refraction-material/mesh-refraction-material.d.ts +62 -0
  168. package/materials/mesh-transmission-material/mesh-transmission-material.d.ts +107 -0
  169. package/materials/mesh-wobble-material/mesh-wobble-material.d.ts +29 -0
  170. package/materials/point-material/point-material.d.ts +24 -0
  171. package/metadata.json +1 -0
  172. package/misc/animations/animations.d.ts +15 -0
  173. package/misc/{lib/bake-shadows → bake-shadows}/bake-shadows.d.ts +2 -5
  174. package/misc/caustics/caustics.d.ts +87 -0
  175. package/misc/decal/decal.d.ts +49 -0
  176. package/misc/depth-buffer/depth-buffer.d.ts +9 -0
  177. package/misc/example/example.d.ts +81 -0
  178. package/misc/{lib/fbo → fbo}/fbo.d.ts +4 -2
  179. package/misc/html/html-wrapper.d.ts +559 -0
  180. package/misc/html/html.d.ts +214 -0
  181. package/misc/index.d.ts +13 -4
  182. package/misc/sampler/sampler.d.ts +67 -0
  183. package/misc/shadow/shadow.d.ts +37 -0
  184. package/misc/stats-gl/stats-gl.d.ts +24 -0
  185. package/misc/trail/trail.d.ts +57 -0
  186. package/misc/trail-texture/inject-trail-texture.d.ts +9 -0
  187. package/misc/trail-texture/trail-texture.d.ts +50 -0
  188. package/modifiers/README.md +3 -0
  189. package/modifiers/curve-modifier/curve-modifier.d.ts +23 -0
  190. package/modifiers/index.d.ts +1 -0
  191. package/package.json +43 -32
  192. package/performances/README.md +3 -0
  193. package/performances/adaptive-dpr/adaptive-dpr.d.ts +14 -0
  194. package/{performance/lib/adaptive → performances/adaptive-events}/adaptive-events.d.ts +5 -6
  195. package/performances/index.d.ts +5 -0
  196. package/performances/points/points-input.d.ts +32 -0
  197. package/performances/points/points.d.ts +92 -0
  198. package/performances/points/position-point.d.ts +11 -0
  199. package/performances/segments/segment-object.d.ts +7 -0
  200. package/performances/segments/segments.d.ts +124 -0
  201. package/shaders/{lib/blur-pass → blur-pass}/blur-pass.d.ts +2 -2
  202. package/shaders/grid-material/grid-material.d.ts +37 -0
  203. package/shaders/index.d.ts +17 -14
  204. package/shaders/{lib/mesh-distort-material → mesh-distort-material}/mesh-distort-material.d.ts +147 -2
  205. package/shaders/{lib/mesh-transmission-material → mesh-transmission-material}/mesh-transmission-material.d.ts +1 -1
  206. package/shaders/{lib/mesh-wobble-material → mesh-wobble-material}/mesh-wobble-material.d.ts +1 -0
  207. package/shaders/{lib/shader-material → shader-material}/shader-material.d.ts +2 -2
  208. package/shaders/soft-shadow-material/soft-shadow-material.d.ts +19 -0
  209. package/shaders/sparkles-material/sparkles-material.d.ts +17 -0
  210. package/shaders/spot-light-material/spot-light-material.d.ts +13 -0
  211. package/shaders/star-field-material/star-field-material.d.ts +13 -0
  212. package/shaders/wireframe-material/wireframe-material.d.ts +58 -0
  213. package/staging/accumulative-shadows/accumulative-shadows.d.ts +146 -0
  214. package/staging/{lib/accumulative-shadows → accumulative-shadows}/progressive-light-map.d.ts +2 -2
  215. package/staging/accumulative-shadows/randomized-lights.d.ts +90 -0
  216. package/staging/backdrop/backdrop.d.ts +30 -0
  217. package/staging/bb-anchor/bb-anchor.d.ts +27 -0
  218. package/staging/bounds/bounds.d.ts +134 -0
  219. package/staging/camera-shake/camera-shake.d.ts +43 -0
  220. package/staging/center/center.d.ts +70 -0
  221. package/staging/cloud/cloud.d.ts +51 -0
  222. package/staging/contact-shadows/contact-shadows.d.ts +70 -0
  223. package/staging/{lib/environment → environment}/assets.d.ts +9 -9
  224. package/staging/environment/environment-cube.d.ts +15 -0
  225. package/staging/environment/environment-ground.d.ts +13 -0
  226. package/staging/environment/environment-input.d.ts +68 -0
  227. package/staging/environment/environment-map.d.ts +16 -0
  228. package/staging/environment/environment-portal.d.ts +18 -0
  229. package/staging/{lib/environment → environment}/environment.d.ts +2 -6
  230. package/staging/environment/utils.d.ts +7 -0
  231. package/staging/float/float.d.ts +31 -0
  232. package/staging/index.d.ts +21 -17
  233. package/staging/matcap-texture/matcap-texture.d.ts +13 -0
  234. package/staging/normal-texture/normal-texture.d.ts +16 -0
  235. package/staging/sky/sky.d.ts +48 -0
  236. package/staging/sparkles/sparkles.d.ts +63 -0
  237. package/staging/spot-light/shadow-mesh-input.d.ts +29 -0
  238. package/staging/spot-light/shadow-mesh.d.ts +37 -0
  239. package/staging/spot-light/spot-light-input.d.ts +38 -0
  240. package/staging/spot-light/spot-light.d.ts +39 -0
  241. package/staging/spot-light/volumetric-mesh.d.ts +24 -0
  242. package/staging/stage/stage.d.ts +130 -0
  243. package/staging/stars/stars.d.ts +45 -0
  244. package/staging/wireframe/wireframe-input.d.ts +65 -0
  245. package/staging/wireframe/wireframe.d.ts +28 -0
  246. package/utils/README.md +3 -0
  247. package/utils/content/content.d.ts +8 -0
  248. package/utils/index.d.ts +1 -0
  249. package/web-types.json +1 -0
  250. package/abstractions/lib/billboard/billboard.d.ts +0 -14
  251. package/abstractions/lib/catmull-rom-line/catmull-rom-line.d.ts +0 -15
  252. package/abstractions/lib/cubic-bezier-line/cubic-bezier-line.d.ts +0 -15
  253. package/abstractions/lib/edges/edges.d.ts +0 -18
  254. package/abstractions/lib/gizmo-helper/gizmo-helper.d.ts +0 -41
  255. package/abstractions/lib/gizmo-helper/gizmo-viewcube/constants.d.ts +0 -12
  256. package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.d.ts +0 -16
  257. package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.d.ts +0 -24
  258. package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-inputs.d.ts +0 -14
  259. package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube.d.ts +0 -15
  260. package/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.d.ts +0 -28
  261. package/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport.d.ts +0 -21
  262. package/abstractions/lib/line/line-input.d.ts +0 -19
  263. package/abstractions/lib/line/line.d.ts +0 -21
  264. package/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.d.ts +0 -19
  265. package/abstractions/lib/text/text.d.ts +0 -21
  266. package/abstractions/lib/text-3d/text-3d.d.ts +0 -39
  267. package/assets/default-spot-light-shadow.glsl +0 -10
  268. package/cameras/lib/camera/camera.d.ts +0 -19
  269. package/cameras/lib/cube-camera/cube-camera.d.ts +0 -27
  270. package/cameras/lib/orthographic-camera/orthographic-camera.d.ts +0 -17
  271. package/controls/lib/orbit-controls/orbit-controls.d.ts +0 -27
  272. package/esm2022/abstractions/lib/billboard/billboard.mjs +0 -74
  273. package/esm2022/abstractions/lib/catmull-rom-line/catmull-rom-line.mjs +0 -120
  274. package/esm2022/abstractions/lib/cubic-bezier-line/cubic-bezier-line.mjs +0 -99
  275. package/esm2022/abstractions/lib/edges/edges.mjs +0 -96
  276. package/esm2022/abstractions/lib/gizmo-helper/gizmo-helper.mjs +0 -213
  277. package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/constants.mjs +0 -31
  278. package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.mjs +0 -92
  279. package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.mjs +0 -184
  280. package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-inputs.mjs +0 -46
  281. package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube.mjs +0 -134
  282. package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.mjs +0 -195
  283. package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport.mjs +0 -267
  284. package/esm2022/abstractions/lib/line/line-input.mjs +0 -76
  285. package/esm2022/abstractions/lib/line/line.mjs +0 -133
  286. package/esm2022/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.mjs +0 -128
  287. package/esm2022/abstractions/lib/text/text.mjs +0 -115
  288. package/esm2022/abstractions/lib/text-3d/text-3d.mjs +0 -145
  289. package/esm2022/cameras/lib/camera/camera-content.mjs +0 -21
  290. package/esm2022/cameras/lib/camera/camera.mjs +0 -75
  291. package/esm2022/cameras/lib/cube-camera/cube-camera.mjs +0 -131
  292. package/esm2022/cameras/lib/orthographic-camera/orthographic-camera.mjs +0 -93
  293. package/esm2022/cameras/lib/perspective-camera/perspective-camera.mjs +0 -47
  294. package/esm2022/controls/lib/orbit-controls/orbit-controls.mjs +0 -147
  295. package/esm2022/loaders/lib/cube-texture-loader/cube-texture-loader.mjs +0 -10
  296. package/esm2022/loaders/lib/gltf-loader/gltf-loader.mjs +0 -32
  297. package/esm2022/loaders/lib/loader/loader.mjs +0 -134
  298. package/esm2022/loaders/lib/progress/progress.mjs +0 -39
  299. package/esm2022/loaders/lib/texture-loader/texture-loader.mjs +0 -19
  300. package/esm2022/materials/lib/mesh-distort-material/mesh-distort-material.mjs +0 -75
  301. package/esm2022/materials/lib/mesh-reflector-material/mesh-reflector-material.mjs +0 -328
  302. package/esm2022/materials/lib/mesh-refraction-material/mesh-refraction-material.mjs +0 -158
  303. package/esm2022/materials/lib/mesh-transmission-material/mesh-transmission-material.mjs +0 -238
  304. package/esm2022/materials/lib/mesh-wobble-material/mesh-wobble-material.mjs +0 -68
  305. package/esm2022/misc/lib/animations/animations.mjs +0 -52
  306. package/esm2022/misc/lib/bake-shadows/bake-shadows.mjs +0 -26
  307. package/esm2022/misc/lib/depth-buffer/depth-buffer.mjs +0 -39
  308. package/esm2022/misc/lib/fbo/fbo.mjs +0 -39
  309. package/esm2022/performance/angular-three-soba-performance.mjs +0 -5
  310. package/esm2022/performance/index.mjs +0 -5
  311. package/esm2022/performance/lib/adaptive/adaptive-dpr.mjs +0 -47
  312. package/esm2022/performance/lib/adaptive/adaptive-events.mjs +0 -37
  313. package/esm2022/performance/lib/detailed/detailed.mjs +0 -54
  314. package/esm2022/performance/lib/stats/stats.mjs +0 -80
  315. package/esm2022/shaders/lib/blur-pass/blur-pass.mjs +0 -61
  316. package/esm2022/shaders/lib/caustics-material/caustics-material.mjs +0 -128
  317. package/esm2022/shaders/lib/caustics-projection-material/caustics-projection-material.mjs +0 -33
  318. package/esm2022/shaders/lib/convolution-material/convolution-material.mjs +0 -94
  319. package/esm2022/shaders/lib/discard-material/discard-material.mjs +0 -3
  320. package/esm2022/shaders/lib/mesh-distort-material/mesh-distort-material.mjs +0 -55
  321. package/esm2022/shaders/lib/mesh-reflector-material/mesh-reflector-material.mjs +0 -223
  322. package/esm2022/shaders/lib/mesh-refraction-material/mesh-refraction-material.mjs +0 -169
  323. package/esm2022/shaders/lib/mesh-transmission-material/mesh-transmission-material.mjs +0 -268
  324. package/esm2022/shaders/lib/mesh-wobble-material/mesh-wobble-material.mjs +0 -37
  325. package/esm2022/shaders/lib/shader-material/shader-material.mjs +0 -34
  326. package/esm2022/shaders/lib/soft-shadow-material/soft-shadow-material.mjs +0 -33
  327. package/esm2022/shaders/lib/spot-light-material/spot-light-material.mjs +0 -86
  328. package/esm2022/shaders/lib/star-field-material/star-field-material.mjs +0 -32
  329. package/esm2022/staging/lib/accumulative-shadows/accumulative-shadows.mjs +0 -249
  330. package/esm2022/staging/lib/accumulative-shadows/progressive-light-map.mjs +0 -108
  331. package/esm2022/staging/lib/accumulative-shadows/randomized-lights.mjs +0 -201
  332. package/esm2022/staging/lib/bounds/bounds.mjs +0 -284
  333. package/esm2022/staging/lib/camera-shake/camera-shake.mjs +0 -122
  334. package/esm2022/staging/lib/caustics/caustics.mjs +0 -364
  335. package/esm2022/staging/lib/center/center.mjs +0 -143
  336. package/esm2022/staging/lib/cloud/cloud.mjs +0 -160
  337. package/esm2022/staging/lib/contact-shadows/contact-shadows.mjs +0 -228
  338. package/esm2022/staging/lib/environment/assets.mjs +0 -13
  339. package/esm2022/staging/lib/environment/environment-cube.mjs +0 -41
  340. package/esm2022/staging/lib/environment/environment-ground.mjs +0 -67
  341. package/esm2022/staging/lib/environment/environment-inputs.mjs +0 -87
  342. package/esm2022/staging/lib/environment/environment-map.mjs +0 -39
  343. package/esm2022/staging/lib/environment/environment-portal.mjs +0 -111
  344. package/esm2022/staging/lib/environment/environment.mjs +0 -165
  345. package/esm2022/staging/lib/environment/utils.mjs +0 -70
  346. package/esm2022/staging/lib/float/float.mjs +0 -77
  347. package/esm2022/staging/lib/sky/sky.mjs +0 -109
  348. package/esm2022/staging/lib/sparkles/sparkles.mjs +0 -210
  349. package/esm2022/staging/lib/spot-light/common.mjs +0 -42
  350. package/esm2022/staging/lib/spot-light/shadow-mesh-input.mjs +0 -51
  351. package/esm2022/staging/lib/spot-light/spot-light-input.mjs +0 -62
  352. package/esm2022/staging/lib/spot-light/spot-light-shadow-no-shader.mjs +0 -74
  353. package/esm2022/staging/lib/spot-light/spot-light-shadow-shader.mjs +0 -126
  354. package/esm2022/staging/lib/spot-light/spot-light-shadow.mjs +0 -63
  355. package/esm2022/staging/lib/spot-light/spot-light.mjs +0 -117
  356. package/esm2022/staging/lib/spot-light/volumetric-mesh.mjs +0 -86
  357. package/esm2022/staging/lib/stage/stage.mjs +0 -368
  358. package/esm2022/staging/lib/stars/stars.mjs +0 -140
  359. package/fesm2022/angular-three-soba-performance.mjs +0 -210
  360. package/fesm2022/angular-three-soba-performance.mjs.map +0 -1
  361. package/loaders/lib/cube-texture-loader/cube-texture-loader.d.ts +0 -3
  362. package/loaders/lib/gltf-loader/gltf-loader.d.ts +0 -8
  363. package/loaders/lib/loader/loader.d.ts +0 -26
  364. package/loaders/lib/progress/progress.d.ts +0 -16
  365. package/loaders/lib/texture-loader/texture-loader.d.ts +0 -5
  366. package/materials/lib/mesh-distort-material/mesh-distort-material.d.ts +0 -24
  367. package/materials/lib/mesh-reflector-material/mesh-reflector-material.d.ts +0 -41
  368. package/materials/lib/mesh-refraction-material/mesh-refraction-material.d.ts +0 -28
  369. package/materials/lib/mesh-transmission-material/mesh-transmission-material.d.ts +0 -46
  370. package/materials/lib/mesh-wobble-material/mesh-wobble-material.d.ts +0 -14
  371. package/misc/lib/animations/animations.d.ts +0 -13
  372. package/misc/lib/depth-buffer/depth-buffer.d.ts +0 -7
  373. package/performance/README.md +0 -3
  374. package/performance/index.d.ts +0 -4
  375. package/performance/lib/adaptive/adaptive-dpr.d.ts +0 -11
  376. package/performance/lib/detailed/detailed.d.ts +0 -13
  377. package/performance/lib/stats/stats.d.ts +0 -15
  378. package/plugin/README.md +0 -11
  379. package/plugin/generators.json +0 -19
  380. package/plugin/package.json +0 -9
  381. package/plugin/src/generators/init/compat.d.ts +0 -2
  382. package/plugin/src/generators/init/compat.js +0 -6
  383. package/plugin/src/generators/init/compat.js.map +0 -1
  384. package/plugin/src/generators/init/init.d.ts +0 -4
  385. package/plugin/src/generators/init/init.js +0 -22
  386. package/plugin/src/generators/init/init.js.map +0 -1
  387. package/plugin/src/generators/init/schema.json +0 -6
  388. package/plugin/src/index.d.ts +0 -1
  389. package/plugin/src/index.js +0 -6
  390. package/plugin/src/index.js.map +0 -1
  391. package/shaders/lib/soft-shadow-material/soft-shadow-material.d.ts +0 -10
  392. package/shaders/lib/spot-light-material/spot-light-material.d.ts +0 -4
  393. package/shaders/lib/star-field-material/star-field-material.d.ts +0 -3
  394. package/staging/lib/accumulative-shadows/accumulative-shadows.d.ts +0 -58
  395. package/staging/lib/accumulative-shadows/randomized-lights.d.ts +0 -42
  396. package/staging/lib/bounds/bounds.d.ts +0 -48
  397. package/staging/lib/camera-shake/camera-shake.d.ts +0 -28
  398. package/staging/lib/caustics/caustics.d.ts +0 -47
  399. package/staging/lib/center/center.d.ts +0 -40
  400. package/staging/lib/cloud/cloud.d.ts +0 -23
  401. package/staging/lib/contact-shadows/contact-shadows.d.ts +0 -29
  402. package/staging/lib/environment/environment-cube.d.ts +0 -11
  403. package/staging/lib/environment/environment-ground.d.ts +0 -9
  404. package/staging/lib/environment/environment-inputs.d.ts +0 -28
  405. package/staging/lib/environment/environment-map.d.ts +0 -10
  406. package/staging/lib/environment/environment-portal.d.ts +0 -15
  407. package/staging/lib/environment/utils.d.ts +0 -8
  408. package/staging/lib/float/float.d.ts +0 -16
  409. package/staging/lib/sky/sky.d.ts +0 -20
  410. package/staging/lib/sparkles/sparkles.d.ts +0 -29
  411. package/staging/lib/spot-light/common.d.ts +0 -3
  412. package/staging/lib/spot-light/shadow-mesh-input.d.ts +0 -14
  413. package/staging/lib/spot-light/spot-light-input.d.ts +0 -16
  414. package/staging/lib/spot-light/spot-light-shadow-no-shader.d.ts +0 -14
  415. package/staging/lib/spot-light/spot-light-shadow-shader.d.ts +0 -25
  416. package/staging/lib/spot-light/spot-light-shadow.d.ts +0 -6
  417. package/staging/lib/spot-light/spot-light.d.ts +0 -17
  418. package/staging/lib/spot-light/volumetric-mesh.d.ts +0 -15
  419. package/staging/lib/stage/stage.d.ts +0 -87
  420. package/staging/lib/stars/stars.d.ts +0 -20
  421. /package/shaders/{lib/caustics-material → caustics}/caustics-material.d.ts +0 -0
  422. /package/shaders/{lib/caustics-projection-material → caustics}/caustics-projection-material.d.ts +0 -0
  423. /package/shaders/{lib/convolution-material → convolution-material}/convolution-material.d.ts +0 -0
  424. /package/shaders/{lib/discard-material → discard-material}/discard-material.d.ts +0 -0
  425. /package/shaders/{lib/mesh-reflector-material → mesh-reflector-material}/mesh-reflector-material.d.ts +0 -0
  426. /package/shaders/{lib/mesh-refraction-material → mesh-refraction-material}/mesh-refraction-material.d.ts +0 -0
@@ -1,13 +0,0 @@
1
- import { NgtInjectedRef } from 'angular-three';
2
- import { Observable } from 'rxjs';
3
- import * as THREE from 'three';
4
- import { AnimationClip } from 'three';
5
- type Api = {
6
- ref: NgtInjectedRef<THREE.Object3D>;
7
- clips: THREE.AnimationClip[];
8
- mixer: THREE.AnimationMixer;
9
- names: string[];
10
- actions: Record<string, THREE.AnimationAction>;
11
- };
12
- export declare function injectNgtsAnimations(animations$: Observable<AnimationClip[]>, ref?: NgtInjectedRef<THREE.Object3D> | THREE.Object3D): Api;
13
- export {};
@@ -1,7 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import * as THREE from 'three';
3
- export interface NgtsDepthBufferParams {
4
- size: number;
5
- frames: number;
6
- }
7
- export declare function injectNgtsDepthBuffer(paramsFactory?: (defaultParams: Partial<NgtsDepthBufferParams>) => NgtsDepthBufferParams | Observable<NgtsDepthBufferParams>): import("angular-three").NgtInjectedRef<THREE.DepthTexture>;
@@ -1,3 +0,0 @@
1
- # angular-three-soba/performance
2
-
3
- Secondary entry point of `angular-three-soba`. It can be used by importing from `angular-three-soba/performance`.
@@ -1,4 +0,0 @@
1
- export * from './lib/adaptive/adaptive-dpr';
2
- export * from './lib/adaptive/adaptive-events';
3
- export * from './lib/detailed/detailed';
4
- export * from './lib/stats/stats';
@@ -1,11 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { NgtRxStore } from 'angular-three';
3
- import * as i0 from "@angular/core";
4
- export declare class NgtsAdaptiveDpr extends NgtRxStore implements OnInit {
5
- private readonly store;
6
- private readonly actions;
7
- pixelated: boolean;
8
- ngOnInit(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsAdaptiveDpr, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsAdaptiveDpr, "ngts-adaptive-dpr", never, { "pixelated": { "alias": "pixelated"; "required": false; }; }, {}, never, never, true, never>;
11
- }
@@ -1,13 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { NgtBeforeRenderEvent, NgtRxStore } from 'angular-three';
3
- import { LOD } from 'three';
4
- import * as i0 from "@angular/core";
5
- export declare class NgtsDetailed extends NgtRxStore implements OnInit {
6
- lodRef: import("angular-three").NgtInjectedRef<LOD>;
7
- set distances(distances: number[]);
8
- ngOnInit(): void;
9
- onLODBeforeRender({ object, state }: NgtBeforeRenderEvent<THREE.LOD>): void;
10
- private updateLodChildren;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsDetailed, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtsDetailed, "ngts-detailed[distances]", never, { "lodRef": { "alias": "lodRef"; "required": false; }; "distances": { "alias": "distances"; "required": false; }; }, {}, never, ["*"], true, never>;
13
- }
@@ -1,15 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import { NgtRxStore } from 'angular-three';
3
- import * as i0 from "@angular/core";
4
- export declare class NgtsStats extends NgtRxStore implements OnInit {
5
- private readonly document;
6
- private readonly stats;
7
- set showPanel(showPanel: number);
8
- set parent(parent: HTMLElement | ElementRef<HTMLElement>);
9
- set classes(classes: string);
10
- set right(right: boolean);
11
- initialize(): void;
12
- ngOnInit(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsStats, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsStats, "ngts-stats", never, { "showPanel": { "alias": "showPanel"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "right": { "alias": "right"; "required": false; }; }, {}, never, never, true, never>;
15
- }
package/plugin/README.md DELETED
@@ -1,11 +0,0 @@
1
- # plugin
2
-
3
- This library was generated with [Nx](https://nx.dev).
4
-
5
- ## Building
6
-
7
- Run `nx build plugin` to build the library.
8
-
9
- ## Running unit tests
10
-
11
- Run `nx test plugin` to execute the unit tests via [Jest](https://jestjs.io).
@@ -1,19 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "name": "plugin",
4
- "version": "0.0.1",
5
- "generators": {
6
- "init": {
7
- "factory": "./src/generators/init/init",
8
- "schema": "./src/generators/init/schema.json",
9
- "description": "Init Angular Three Soba"
10
- }
11
- },
12
- "schematics": {
13
- "ng-add": {
14
- "factory": "./src/generators/init/compat",
15
- "schema": "./src/generators/init/schema.json",
16
- "description": "Add Angular Three Soba"
17
- }
18
- }
19
- }
@@ -1,9 +0,0 @@
1
- {
2
- "type": "commonjs",
3
- "peerDependencies": {
4
- "tslib": "2.5.0"
5
- },
6
- "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
8
- "version": "1.14.1"
9
- }
@@ -1,2 +0,0 @@
1
- declare const _default: (generatorOptions: any) => (tree: any, context: any) => Promise<any>;
2
- export default _default;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const devkit_1 = require("@nx/devkit");
4
- const init_1 = require("./init");
5
- exports.default = (0, devkit_1.convertNxGenerator)(init_1.default);
6
- //# sourceMappingURL=compat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compat.js","sourceRoot":"","sources":["../../../../../../../libs/plugin/src/generators/init/compat.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,iCAA0B;AAE1B,kBAAe,IAAA,2BAAkB,EAAC,cAAI,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { Tree } from '@nx/devkit';
2
- export declare const ANGULAR_THREE_SOBA_VERSION = "^1.0.0";
3
- export declare const THREE_STDLIB_VERSION = "^2.0.0";
4
- export default function (tree: Tree): Promise<() => void>;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.THREE_STDLIB_VERSION = exports.ANGULAR_THREE_SOBA_VERSION = void 0;
4
- const devkit_1 = require("@nx/devkit");
5
- exports.ANGULAR_THREE_SOBA_VERSION = '^1.0.0';
6
- exports.THREE_STDLIB_VERSION = '^2.0.0';
7
- async function default_1(tree) {
8
- devkit_1.logger.log('Initializing Angular Three...');
9
- const packageJson = (0, devkit_1.readJson)(tree, 'package.json');
10
- const version = packageJson['dependencies']?.['angular-three-soba'] ||
11
- packageJson['devDependencies']?.['angular-three-soba'] ||
12
- exports.ANGULAR_THREE_SOBA_VERSION;
13
- (0, devkit_1.addDependenciesToPackageJson)(tree, {
14
- 'angular-three-soba': version,
15
- 'three-stdlib': exports.THREE_STDLIB_VERSION,
16
- }, {});
17
- return () => {
18
- (0, devkit_1.installPackagesTask)(tree);
19
- };
20
- }
21
- exports.default = default_1;
22
- //# sourceMappingURL=init.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"init.js","sourceRoot":"","sources":["../../../../../../../libs/plugin/src/generators/init/init.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AAE1F,QAAA,0BAA0B,GAAG,QAAQ,CAAC;AACtC,QAAA,oBAAoB,GAAG,QAAQ,CAAC;AAE9B,KAAK,oBAAW,IAAU;IACrC,eAAM,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;IAE5C,MAAM,WAAW,GAAG,IAAA,iBAAQ,EAAC,IAAI,EAAE,cAAc,CAAC,CAAC;IAEnD,MAAM,OAAO,GACT,WAAW,CAAC,cAAc,CAAC,EAAE,CAAC,oBAAoB,CAAC;QACnD,WAAW,CAAC,iBAAiB,CAAC,EAAE,CAAC,oBAAoB,CAAC;QACtD,kCAA0B,CAAC;IAE/B,IAAA,qCAA4B,EACxB,IAAI,EACJ;QACI,oBAAoB,EAAE,OAAO;QAC7B,cAAc,EAAE,4BAAoB;KACvC,EACD,EAAE,CACL,CAAC;IAEF,OAAO,GAAG,EAAE;QACR,IAAA,4BAAmB,EAAC,IAAI,CAAC,CAAC;IAC9B,CAAC,CAAC;AACN,CAAC;AAtBD,4BAsBC"}
@@ -1,6 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "cli": "nx",
4
- "$id": "Init",
5
- "title": "Init Angular Three Soba"
6
- }
@@ -1 +0,0 @@
1
- export { default as initGenerator } from './generators/init/init';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.initGenerator = void 0;
4
- var init_1 = require("./generators/init/init");
5
- Object.defineProperty(exports, "initGenerator", { enumerable: true, get: function () { return init_1.default; } });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/plugin/src/index.ts"],"names":[],"mappings":";;;AAAA,+CAAkE;AAAzD,qGAAA,OAAO,OAAiB"}
@@ -1,10 +0,0 @@
1
- import * as THREE from 'three';
2
- export declare const SoftShadowMaterial: typeof THREE.ShaderMaterial & {
3
- key: string;
4
- };
5
- export type SoftShadowMaterialInputs = {
6
- map: THREE.Texture;
7
- color?: THREE.ColorRepresentation;
8
- alphaTest?: number;
9
- blend?: number;
10
- };
@@ -1,4 +0,0 @@
1
- import { ShaderMaterial } from 'three';
2
- export declare class SpotLightMaterial extends ShaderMaterial {
3
- constructor();
4
- }
@@ -1,3 +0,0 @@
1
- export declare const StarFieldMaterial: typeof import("three").ShaderMaterial & {
2
- key: string;
3
- };
@@ -1,58 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { NgtRxStore } from 'angular-three';
3
- import { SoftShadowMaterialInputs } from 'angular-three-soba/shaders';
4
- import * as THREE from 'three';
5
- import { ProgressiveLightMap } from './progressive-light-map';
6
- import * as i0 from "@angular/core";
7
- export type NgtsAccumulativeShadowsLightApi = {
8
- update: () => void;
9
- };
10
- export type NgtsAccumulativeShadowsApi = {
11
- lights: Map<string, NgtsAccumulativeShadowsLightApi>;
12
- temporal: boolean;
13
- frames: number;
14
- blend: number;
15
- count: number;
16
- getMesh: () => THREE.Mesh<THREE.PlaneGeometry, SoftShadowMaterialInputs & THREE.ShaderMaterial>;
17
- reset: () => void;
18
- update: (frames?: number) => void;
19
- };
20
- export declare const NGTS_ACCUMULATIVE_SHADOWS_API: InjectionToken<NgtsAccumulativeShadowsApi>;
21
- export declare class AccumulativeShadowsConsumer {
22
- constructor();
23
- static ɵfac: i0.ɵɵFactoryDeclaration<AccumulativeShadowsConsumer, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<AccumulativeShadowsConsumer, "[ngtsAccumulativeShadowsConsumer]", never, {}, {}, never, never, true, never>;
25
- }
26
- export declare class NgtsAccumulativeShadows extends NgtRxStore {
27
- readonly nullTraverse: () => null;
28
- readonly Math: Math;
29
- private readonly store;
30
- readonly pLM: ProgressiveLightMap;
31
- readonly accumulativeShadowsRef: import("angular-three").NgtInjectedRef<THREE.Group>;
32
- readonly meshRef: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
33
- /** How many frames it can render, more yields cleaner results but takes more time, 40 */
34
- set frames(frames: number);
35
- /** If frames === Infinity blend controls the refresh ratio, 100 */
36
- set blend(blend: number);
37
- /** Can limit the amount of frames rendered if frames === Infinity, usually to get some performance back once a movable scene has settled, Infinity */
38
- set limit(limit: number);
39
- /** Scale of the plane, */
40
- set scale(scale: number);
41
- /** Temporal accumulates shadows over time which is more performant but has a visual regression over instant results, false */
42
- set temporal(temporal: boolean);
43
- /** Opacity of the plane, 1 */
44
- set opacity(opacity: number);
45
- /** Discards alpha pixels, 0.65 */
46
- set alphaTest(alphaTest: number);
47
- /** Shadow color, black */
48
- set color(color: string);
49
- /** Colorblend, how much colors turn to black, 0 is black, 2 */
50
- set colorBlend(colorBlend: number);
51
- /** Buffer resolution, 1024 */
52
- set resolution(resolution: number);
53
- /** Texture tonemapping */
54
- set toneMapped(toneMapped: boolean);
55
- initialize(): void;
56
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsAccumulativeShadows, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtsAccumulativeShadows, "ngts-accumulative-shadows", never, { "frames": { "alias": "frames"; "required": false; }; "blend": { "alias": "blend"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "temporal": { "alias": "temporal"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "alphaTest": { "alias": "alphaTest"; "required": false; }; "color": { "alias": "color"; "required": false; }; "colorBlend": { "alias": "colorBlend"; "required": false; }; "resolution": { "alias": "resolution"; "required": false; }; "toneMapped": { "alias": "toneMapped"; "required": false; }; }, {}, never, ["*"], true, never>;
58
- }
@@ -1,42 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { NgtRxStore } from 'angular-three';
3
- import * as THREE from 'three';
4
- import { NgtsAccumulativeShadowsLightApi } from './accumulative-shadows';
5
- import * as i0 from "@angular/core";
6
- export declare const NGTS_RANDOMIZED_LIGHTS_API: InjectionToken<NgtsAccumulativeShadowsLightApi>;
7
- export declare class RandomizedLightsConsumer {
8
- constructor();
9
- static ɵfac: i0.ɵɵFactoryDeclaration<RandomizedLightsConsumer, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<RandomizedLightsConsumer, "[ngtsRandomizedLightsConsumer]", never, {}, {}, never, never, true, never>;
11
- }
12
- export declare class NgtsRandomizedLights extends NgtRxStore {
13
- lightsRef: import("angular-three").NgtInjectedRef<THREE.Group>;
14
- /** How many frames it will jiggle the lights, 1.
15
- * Frames is context aware, if a provider like AccumulativeShadows exists, frames will be taken from there! */
16
- set frames(frames: number);
17
- /** Light position, [0, 0, 0] */
18
- set position(position: [x: number, y: number, z: number]);
19
- /** Radius of the jiggle, higher values make softer light, 5 */
20
- set radius(radius: number);
21
- /** Amount of lights, 8 */
22
- set amount(amount: number);
23
- /** Light intensity, 1 */
24
- set intensity(intensity: number);
25
- /** Ambient occlusion, lower values mean less AO, hight more, you can mix AO and directional light, 0.5 */
26
- set ambient(ambient: number);
27
- /** If the lights cast shadows, this is true by default */
28
- set castShadow(castShadow: boolean);
29
- /** Default shadow bias, 0 */
30
- set bias(bias: number);
31
- /** Default map size, 512 */
32
- set mapSize(mapSize: number);
33
- /** Default size of the shadow camera, 10 */
34
- set size(size: number);
35
- /** Default shadow camera near, 0.5 */
36
- set near(near: number);
37
- /** Default shadow camera far, 500 */
38
- set far(far: number);
39
- initialize(): void;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsRandomizedLights, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtsRandomizedLights, "ngts-randomized-lights", never, { "lightsRef": { "alias": "lightsRef"; "required": false; }; "frames": { "alias": "frames"; "required": false; }; "position": { "alias": "position"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "amount": { "alias": "amount"; "required": false; }; "intensity": { "alias": "intensity"; "required": false; }; "ambient": { "alias": "ambient"; "required": false; }; "castShadow": { "alias": "castShadow"; "required": false; }; "bias": { "alias": "bias"; "required": false; }; "mapSize": { "alias": "mapSize"; "required": false; }; "size": { "alias": "size"; "required": false; }; "near": { "alias": "near"; "required": false; }; "far": { "alias": "far"; "required": false; }; }, {}, never, never, true, never>;
42
- }
@@ -1,48 +0,0 @@
1
- import { EventEmitter, InjectionToken, OnInit } from '@angular/core';
2
- import { NgtRxStore } from 'angular-three';
3
- import * as THREE from 'three';
4
- import * as i0 from "@angular/core";
5
- export interface NgtsBoundsSize {
6
- box: THREE.Box3;
7
- size: THREE.Vector3;
8
- center: THREE.Vector3;
9
- distance: number;
10
- }
11
- export interface NgtsBoundsApi {
12
- getSize: () => NgtsBoundsSize;
13
- refresh: (object?: THREE.Object3D | THREE.Box3) => NgtsBoundsApi;
14
- clip: () => NgtsBoundsApi;
15
- fit: () => NgtsBoundsApi;
16
- to: ({ position, target, }: {
17
- position: [number, number, number];
18
- target?: [number, number, number];
19
- }) => NgtsBoundsApi;
20
- }
21
- export declare const NGTS_BOUNDS_API: InjectionToken<NgtsBoundsApi>;
22
- export declare class NgtsBounds extends NgtRxStore implements OnInit {
23
- boundsRef: import("angular-three").NgtInjectedRef<THREE.Group>;
24
- set damping(damping: number);
25
- set fit(fit: boolean);
26
- set clip(clip: boolean);
27
- set observe(observe: boolean);
28
- set margin(margin: number);
29
- set eps(eps: number);
30
- fitted: EventEmitter<NgtsBoundsSize>;
31
- private readonly store;
32
- readonly current: {
33
- animating: boolean;
34
- focus: THREE.Vector3;
35
- camera: THREE.Vector3;
36
- zoom: number;
37
- };
38
- readonly goal: {
39
- focus: THREE.Vector3;
40
- camera: THREE.Vector3;
41
- zoom: number;
42
- };
43
- initialize(): void;
44
- ngOnInit(): void;
45
- private preventDragHijacking;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsBounds, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtsBounds, "ngts-bounds", never, { "boundsRef": { "alias": "boundsRef"; "required": false; }; "damping": { "alias": "damping"; "required": false; }; "fit": { "alias": "fit"; "required": false; }; "clip": { "alias": "clip"; "required": false; }; "observe": { "alias": "observe"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "eps": { "alias": "eps"; "required": false; }; }, { "fitted": "fitted"; }, never, ["*"], true, never>;
48
- }
@@ -1,28 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { NgtRxStore } from 'angular-three';
3
- import * as i0 from "@angular/core";
4
- export declare class NgtsCameraShake extends NgtRxStore implements OnInit {
5
- private readonly store;
6
- private initialRotation;
7
- private readonly yawNoise;
8
- private readonly pitchNoise;
9
- private readonly rollNoise;
10
- set intensity(intensity: number);
11
- set decay(decay: boolean);
12
- set decayRate(decayRate: number);
13
- set maxYaw(maxYaw: number);
14
- set maxPitch(maxPitch: number);
15
- set maxRoll(maxRoll: number);
16
- set yawFrequency(yawFrequency: number);
17
- set pitchFrequency(pitchFrequency: number);
18
- set rollFrequency(rollFrequency: number);
19
- initialize(): void;
20
- constructor();
21
- ngOnInit(): void;
22
- private setChangeEvent;
23
- getIntensity(): any;
24
- setIntensity(intensity: number): void;
25
- private constraintIntensity;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCameraShake, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsCameraShake, "ngts-camera-shake", never, { "intensity": { "alias": "intensity"; "required": false; }; "decay": { "alias": "decay"; "required": false; }; "decayRate": { "alias": "decayRate"; "required": false; }; "maxYaw": { "alias": "maxYaw"; "required": false; }; "maxPitch": { "alias": "maxPitch"; "required": false; }; "maxRoll": { "alias": "maxRoll"; "required": false; }; "yawFrequency": { "alias": "yawFrequency"; "required": false; }; "pitchFrequency": { "alias": "pitchFrequency"; "required": false; }; "rollFrequency": { "alias": "rollFrequency"; "required": false; }; }, {}, never, never, true, never>;
28
- }
@@ -1,47 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import { NgtRxStore } from 'angular-three';
3
- import * as THREE from 'three';
4
- import * as i0 from "@angular/core";
5
- export declare class NgtsCaustics extends NgtRxStore implements OnInit {
6
- readonly CustomBlending: 5;
7
- readonly OneFactor: 201;
8
- readonly SrcAlphaFactor: 204;
9
- readonly Math: Math;
10
- readonly planeRef: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
11
- readonly sceneRef: import("angular-three").NgtInjectedRef<THREE.Scene>;
12
- readonly cameraRef: import("angular-three").NgtInjectedRef<THREE.OrthographicCamera>;
13
- causticsRef: import("angular-three").NgtInjectedRef<THREE.Group>;
14
- /** How many frames it will render, set it to Infinity for runtime, default: 1 */
15
- set frames(frames: number);
16
- /** Enables visual cues to help you stage your scene, default: false */
17
- set debug(debug: boolean);
18
- /** Will display caustics only and skip the models, default: false */
19
- set causticsOnly(causticsOnly: boolean);
20
- /** Will include back faces and enable the backsideIOR prop, default: false */
21
- set backside(backside: boolean);
22
- /** The IOR refraction index, default: 1.1 */
23
- set ior(ior: number);
24
- /** The IOR refraction index for back faces (only available when backside is enabled), default: 1.1 */
25
- set backsideIOR(backsideIOR: number);
26
- /** The texel size, default: 0.3125 */
27
- set worldRadius(worldRadius: number);
28
- /** Intensity of the prjected caustics, default: 0.05 */
29
- set intensity(intensity: number);
30
- /** Caustics color, default: white */
31
- set color(color: THREE.ColorRepresentation);
32
- /** Buffer resolution, default: 2048 */
33
- set resolution(resolution: number);
34
- /** Camera position, it will point towards the contents bounds center, default: [5, 5, 5] */
35
- set lightSource(lightSource: [x: number, y: number, z: number] | ElementRef<THREE.Object3D>);
36
- readonly normalTargetFbo: import("angular-three").NgtInjectedRef<THREE.WebGLRenderTarget>;
37
- readonly normalTargetBFbo: import("angular-three").NgtInjectedRef<THREE.WebGLRenderTarget>;
38
- readonly causticsTargetFbo: import("angular-three").NgtInjectedRef<THREE.WebGLRenderTarget>;
39
- readonly causticsTargetBFbo: import("angular-three").NgtInjectedRef<THREE.WebGLRenderTarget>;
40
- private readonly store;
41
- initialize(): void;
42
- ngOnInit(): void;
43
- private updateWorldMatrix;
44
- private setBeforeRender;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCaustics, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtsCaustics, "ngts-caustics", never, { "causticsRef": { "alias": "causticsRef"; "required": false; }; "frames": { "alias": "frames"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "causticsOnly": { "alias": "causticsOnly"; "required": false; }; "backside": { "alias": "backside"; "required": false; }; "ior": { "alias": "ior"; "required": false; }; "backsideIOR": { "alias": "backsideIOR"; "required": false; }; "worldRadius": { "alias": "worldRadius"; "required": false; }; "intensity": { "alias": "intensity"; "required": false; }; "color": { "alias": "color"; "required": false; }; "resolution": { "alias": "resolution"; "required": false; }; "lightSource": { "alias": "lightSource"; "required": false; }; }, {}, never, ["*"], true, never>;
47
- }
@@ -1,40 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { NgtRxStore } from 'angular-three';
3
- import { Box3, Group, Sphere, Vector3 } from 'three';
4
- import * as i0 from "@angular/core";
5
- export declare class NgtsCenter extends NgtRxStore implements OnInit {
6
- centerRef: import("angular-three").NgtInjectedRef<Group>;
7
- readonly outerRef: import("angular-three").NgtInjectedRef<Group>;
8
- readonly innerRef: import("angular-three").NgtInjectedRef<Group>;
9
- set top(top: boolean);
10
- set right(right: boolean);
11
- set bottom(bottom: boolean);
12
- set left(left: boolean);
13
- set front(front: boolean);
14
- set back(back: boolean);
15
- set disableX(disableX: boolean);
16
- set disableY(disableY: boolean);
17
- set disableZ(disableZ: boolean);
18
- set disabled(disabled: boolean);
19
- set precise(precise: boolean);
20
- centered: EventEmitter<{
21
- /** The next parent above <Center> */
22
- parent: THREE.Object3D;
23
- /** The outmost container group of the <Center> component */
24
- container: THREE.Object3D;
25
- width: number;
26
- height: number;
27
- depth: number;
28
- boundingBox: THREE.Box3;
29
- boundingSphere: THREE.Sphere;
30
- center: THREE.Vector3;
31
- verticalAlignment: number;
32
- horizontalAlignment: number;
33
- depthAlignment: number;
34
- }>;
35
- initialize(): void;
36
- ngOnInit(): void;
37
- private setPosition;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCenter, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtsCenter, "ngts-center", never, { "centerRef": { "alias": "centerRef"; "required": false; }; "top": { "alias": "top"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "left": { "alias": "left"; "required": false; }; "front": { "alias": "front"; "required": false; }; "back": { "alias": "back"; "required": false; }; "disableX": { "alias": "disableX"; "required": false; }; "disableY": { "alias": "disableY"; "required": false; }; "disableZ": { "alias": "disableZ"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "precise": { "alias": "precise"; "required": false; }; }, { "centered": "centered"; }, never, ["*"], true, never>;
40
- }
@@ -1,23 +0,0 @@
1
- import { NgtBeforeRenderEvent, NgtRxStore } from 'angular-three';
2
- import { Observable } from 'rxjs';
3
- import { ColorRepresentation, Group, Texture } from 'three';
4
- import * as i0 from "@angular/core";
5
- export declare class NgtsCloud extends NgtRxStore {
6
- private readonly store;
7
- readonly encoding: import("three").TextureEncoding;
8
- groupRef: import("angular-three").NgtInjectedRef<Group>;
9
- set opacity(opacity: number);
10
- set speed(speed: number);
11
- set width(width: number);
12
- set depth(depth: number);
13
- set segments(segments: number);
14
- set texture(texture: string);
15
- set color(color: ColorRepresentation);
16
- set depthTest(depthTest: boolean);
17
- readonly clouds$: Observable<any>;
18
- readonly cloudTexture$: Observable<Texture>;
19
- initialize(): void;
20
- onBeforeRender({ state, object }: NgtBeforeRenderEvent<Group>): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCloud, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtsCloud, "ngts-cloud", never, { "groupRef": { "alias": "groupRef"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "speed": { "alias": "speed"; "required": false; }; "width": { "alias": "width"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "texture": { "alias": "texture"; "required": false; }; "color": { "alias": "color"; "required": false; }; "depthTest": { "alias": "depthTest"; "required": false; }; }, {}, never, never, true, never>;
23
- }
@@ -1,29 +0,0 @@
1
- import { NgtRxStore } from 'angular-three';
2
- import * as THREE from 'three';
3
- import * as i0 from "@angular/core";
4
- export declare class NgtsContactShadows extends NgtRxStore {
5
- private readonly store;
6
- readonly shadowCameraRef: import("angular-three").NgtInjectedRef<THREE.OrthographicCamera>;
7
- readonly encoding: THREE.TextureEncoding;
8
- readonly contactShadows$: import("rxjs").Observable<any>;
9
- readonly Math: Math;
10
- contactShadowsRef: import("angular-three").NgtInjectedRef<THREE.Group>;
11
- set opacity(opacity: number);
12
- set width(width: number);
13
- set height(height: number);
14
- set blur(blur: number);
15
- set far(far: number);
16
- set smooth(smooth: boolean);
17
- set resolution(resolution: number);
18
- set frames(frames: number);
19
- set scale(scale: number | [x: number, y: number]);
20
- set color(color: THREE.ColorRepresentation);
21
- set depthWrite(depthWrite: boolean);
22
- set renderOrder(renderOrder: number);
23
- constructor();
24
- initialize(): void;
25
- private onBeforeRender;
26
- private blurShadows;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsContactShadows, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtsContactShadows, "ngts-contact-shadows", never, { "contactShadowsRef": { "alias": "contactShadowsRef"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "blur": { "alias": "blur"; "required": false; }; "far": { "alias": "far"; "required": false; }; "smooth": { "alias": "smooth"; "required": false; }; "resolution": { "alias": "resolution"; "required": false; }; "frames": { "alias": "frames"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "color": { "alias": "color"; "required": false; }; "depthWrite": { "alias": "depthWrite"; "required": false; }; "renderOrder": { "alias": "renderOrder"; "required": false; }; }, {}, never, never, true, never>;
29
- }
@@ -1,11 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { NgtsEnvironmentInputs } from './environment-inputs';
3
- import * as i0 from "@angular/core";
4
- export declare class NgtsEnvironmentCube extends NgtsEnvironmentInputs implements OnInit {
5
- readonly textureRef: import("angular-three").NgtInjectedRef<import("three").Texture | import("three").CubeTexture>;
6
- initialize(): void;
7
- ngOnInit(): void;
8
- private setEnvProps;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironmentCube, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsEnvironmentCube, "ngts-environment-cube", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,9 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { NgtsEnvironmentInputs } from './environment-inputs';
3
- import * as i0 from "@angular/core";
4
- export declare class NgtsEnvironmentGround extends NgtsEnvironmentInputs implements OnInit {
5
- readonly defaultTexture: import("angular-three").NgtInjectedRef<import("three").Texture | import("three").CubeTexture>;
6
- ngOnInit(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironmentGround, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtsEnvironmentGround, "ngts-environment-ground", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,28 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { NgtRxStore, NgtStore } from 'angular-three';
3
- import { Loader, Scene, Texture, TextureEncoding } from 'three';
4
- import { NgtsEnvironmentPresetsType } from './assets';
5
- import * as i0 from "@angular/core";
6
- export declare abstract class NgtsEnvironmentInputs extends NgtRxStore {
7
- protected readonly store: NgtStore;
8
- set frames(frames: number);
9
- set near(near: number);
10
- set far(far: number);
11
- set resolution(resolution: number);
12
- set background(background: boolean | 'only');
13
- set blur(blur: number);
14
- set map(map: Texture);
15
- set files(files: string | string[]);
16
- set path(path: string);
17
- set preset(preset: NgtsEnvironmentPresetsType);
18
- set scene(scene: Scene | ElementRef<Scene>);
19
- set extensions(extensions: (loader: Loader) => void);
20
- set ground(ground: boolean | {
21
- radius?: number;
22
- height?: number;
23
- scale?: number;
24
- });
25
- set encoding(encoding: TextureEncoding);
26
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironmentInputs, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsEnvironmentInputs, never, never, { "frames": { "alias": "frames"; "required": false; }; "near": { "alias": "near"; "required": false; }; "far": { "alias": "far"; "required": false; }; "resolution": { "alias": "resolution"; "required": false; }; "background": { "alias": "background"; "required": false; }; "blur": { "alias": "blur"; "required": false; }; "map": { "alias": "map"; "required": false; }; "files": { "alias": "files"; "required": false; }; "path": { "alias": "path"; "required": false; }; "preset": { "alias": "preset"; "required": false; }; "scene": { "alias": "scene"; "required": false; }; "extensions": { "alias": "extensions"; "required": false; }; "ground": { "alias": "ground"; "required": false; }; "encoding": { "alias": "encoding"; "required": false; }; }, {}, never, never, false, never>;
28
- }
@@ -1,10 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { NgtsEnvironmentInputs } from './environment-inputs';
3
- import * as i0 from "@angular/core";
4
- export declare class NgtsEnvironmentMap extends NgtsEnvironmentInputs implements OnInit {
5
- initialize(): void;
6
- ngOnInit(): void;
7
- private setEnvProps;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironmentMap, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsEnvironmentMap, "ngts-environment-map", never, {}, {}, never, never, true, never>;
10
- }