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.
- package/README.md +2 -2
- package/abstractions/billboard/billboard.d.ts +28 -0
- package/abstractions/detailed/detailed.d.ts +26 -0
- package/abstractions/edges/edges.d.ts +34 -0
- package/abstractions/grid/grid.d.ts +50 -0
- package/abstractions/index.d.ts +6 -11
- package/abstractions/text/text.d.ts +82 -0
- package/abstractions/text-3d/text-3d.d.ts +81 -0
- package/cameras/{lib/camera → camera}/camera-content.d.ts +2 -2
- package/cameras/camera/camera.d.ts +26 -0
- package/cameras/cube-camera/cube-camera.d.ts +69 -0
- package/cameras/index.d.ts +4 -4
- package/cameras/orthographic-camera/orthographic-camera.d.ts +37 -0
- package/cameras/{lib/perspective-camera → perspective-camera}/perspective-camera.d.ts +10 -1
- package/controls/index.d.ts +1 -1
- package/controls/orbit-controls/orbit-controls.d.ts +54 -0
- package/esm2022/abstractions/angular-three-soba-abstractions.mjs +1 -1
- package/esm2022/abstractions/billboard/billboard.mjs +74 -0
- package/esm2022/abstractions/detailed/detailed.mjs +64 -0
- package/esm2022/abstractions/edges/edges.mjs +88 -0
- package/esm2022/abstractions/grid/grid.mjs +180 -0
- package/esm2022/abstractions/index.mjs +7 -12
- package/esm2022/abstractions/text/text.mjs +274 -0
- package/esm2022/abstractions/text-3d/text-3d.mjs +165 -0
- package/esm2022/angular-three-soba.mjs +1 -1
- package/esm2022/cameras/angular-three-soba-cameras.mjs +1 -1
- package/esm2022/cameras/camera/camera-content.mjs +20 -0
- package/esm2022/cameras/camera/camera.mjs +77 -0
- package/esm2022/cameras/cube-camera/cube-camera.mjs +161 -0
- package/esm2022/cameras/index.mjs +5 -5
- package/esm2022/cameras/orthographic-camera/orthographic-camera.mjs +102 -0
- package/esm2022/cameras/perspective-camera/perspective-camera.mjs +46 -0
- package/esm2022/controls/angular-three-soba-controls.mjs +1 -1
- package/esm2022/controls/index.mjs +2 -2
- package/esm2022/controls/orbit-controls/orbit-controls.mjs +181 -0
- package/esm2022/index.mjs +1 -1
- package/esm2022/loaders/angular-three-soba-loaders.mjs +1 -1
- package/esm2022/loaders/gltf-loader/gltf-loader.mjs +30 -0
- package/esm2022/loaders/index.mjs +5 -6
- package/esm2022/loaders/loader/loader.mjs +138 -0
- package/esm2022/loaders/progress/progress.mjs +45 -0
- package/esm2022/loaders/texture-loader/texture-loader.mjs +28 -0
- package/esm2022/materials/angular-three-soba-materials.mjs +1 -1
- package/esm2022/materials/index.mjs +7 -6
- package/esm2022/materials/mesh-distort-material/mesh-distort-material.mjs +82 -0
- package/esm2022/materials/mesh-reflector-material/mesh-reflector-material.mjs +367 -0
- package/esm2022/materials/mesh-refraction-material/mesh-refraction-material.mjs +171 -0
- package/esm2022/materials/mesh-transmission-material/mesh-transmission-material.mjs +278 -0
- package/esm2022/materials/mesh-wobble-material/mesh-wobble-material.mjs +68 -0
- package/esm2022/materials/point-material/point-material.mjs +46 -0
- package/esm2022/misc/angular-three-soba-misc.mjs +1 -1
- package/esm2022/misc/animations/animations.mjs +59 -0
- package/esm2022/misc/bake-shadows/bake-shadows.mjs +24 -0
- package/esm2022/misc/caustics/caustics.mjs +387 -0
- package/esm2022/misc/decal/decal.mjs +187 -0
- package/esm2022/misc/depth-buffer/depth-buffer.mjs +44 -0
- package/esm2022/misc/example/example.mjs +160 -0
- package/esm2022/misc/fbo/fbo.mjs +47 -0
- package/esm2022/misc/html/html-wrapper.mjs +478 -0
- package/esm2022/misc/html/html.mjs +304 -0
- package/esm2022/misc/index.mjs +14 -5
- package/esm2022/misc/sampler/sampler.mjs +142 -0
- package/esm2022/misc/shadow/shadow.mjs +111 -0
- package/esm2022/misc/stats-gl/stats-gl.mjs +61 -0
- package/esm2022/misc/trail/trail.mjs +209 -0
- package/esm2022/misc/trail-texture/inject-trail-texture.mjs +17 -0
- package/esm2022/misc/trail-texture/trail-texture.mjs +106 -0
- package/esm2022/modifiers/angular-three-soba-modifiers.mjs +5 -0
- package/esm2022/modifiers/curve-modifier/curve-modifier.mjs +64 -0
- package/esm2022/modifiers/index.mjs +2 -0
- package/esm2022/performances/adaptive-dpr/adaptive-dpr.mjs +44 -0
- package/esm2022/performances/adaptive-events/adaptive-events.mjs +27 -0
- package/esm2022/performances/angular-three-soba-performances.mjs +5 -0
- package/esm2022/performances/index.mjs +6 -0
- package/esm2022/performances/points/points-input.mjs +64 -0
- package/esm2022/performances/points/points.mjs +329 -0
- package/esm2022/performances/points/position-point.mjs +54 -0
- package/esm2022/performances/segments/segment-object.mjs +9 -0
- package/esm2022/performances/segments/segments.mjs +182 -0
- package/esm2022/shaders/angular-three-soba-shaders.mjs +1 -1
- package/esm2022/shaders/blur-pass/blur-pass.mjs +61 -0
- package/esm2022/shaders/caustics/caustics-material.mjs +130 -0
- package/esm2022/shaders/caustics/caustics-projection-material.mjs +31 -0
- package/esm2022/shaders/convolution-material/convolution-material.mjs +94 -0
- package/esm2022/shaders/discard-material/discard-material.mjs +3 -0
- package/esm2022/shaders/grid-material/grid-material.mjs +77 -0
- package/esm2022/shaders/index.mjs +18 -15
- package/esm2022/shaders/mesh-distort-material/mesh-distort-material.mjs +56 -0
- package/esm2022/shaders/mesh-reflector-material/mesh-reflector-material.mjs +223 -0
- package/esm2022/shaders/mesh-refraction-material/mesh-refraction-material.mjs +170 -0
- package/esm2022/shaders/mesh-transmission-material/mesh-transmission-material.mjs +268 -0
- package/esm2022/shaders/mesh-wobble-material/mesh-wobble-material.mjs +37 -0
- package/esm2022/shaders/shader-material/shader-material.mjs +34 -0
- package/esm2022/shaders/soft-shadow-material/soft-shadow-material.mjs +25 -0
- package/esm2022/shaders/sparkles-material/sparkles-material.mjs +33 -0
- package/esm2022/shaders/spot-light-material/spot-light-material.mjs +86 -0
- package/esm2022/shaders/star-field-material/star-field-material.mjs +33 -0
- package/esm2022/shaders/wireframe-material/wireframe-material.mjs +247 -0
- package/esm2022/staging/accumulative-shadows/accumulative-shadows.mjs +267 -0
- package/esm2022/staging/accumulative-shadows/progressive-light-map.mjs +108 -0
- package/esm2022/staging/accumulative-shadows/randomized-lights.mjs +206 -0
- package/esm2022/staging/angular-three-soba-staging.mjs +1 -1
- package/esm2022/staging/backdrop/backdrop.mjs +77 -0
- package/esm2022/staging/bb-anchor/bb-anchor.mjs +69 -0
- package/esm2022/staging/bounds/bounds.mjs +308 -0
- package/esm2022/staging/camera-shake/camera-shake.mjs +123 -0
- package/esm2022/staging/center/center.mjs +163 -0
- package/esm2022/staging/cloud/cloud.mjs +158 -0
- package/esm2022/staging/contact-shadows/contact-shadows.mjs +246 -0
- package/esm2022/staging/environment/assets.mjs +13 -0
- package/esm2022/staging/environment/environment-cube.mjs +47 -0
- package/esm2022/staging/environment/environment-ground.mjs +41 -0
- package/esm2022/staging/environment/environment-input.mjs +119 -0
- package/esm2022/staging/environment/environment-map.mjs +53 -0
- package/esm2022/staging/environment/environment-portal.mjs +113 -0
- package/esm2022/staging/environment/environment.mjs +61 -0
- package/esm2022/staging/environment/utils.mjs +105 -0
- package/esm2022/staging/float/float.mjs +94 -0
- package/esm2022/staging/index.mjs +22 -18
- package/esm2022/staging/matcap-texture/matcap-texture.mjs +64 -0
- package/esm2022/staging/normal-texture/normal-texture.mjs +53 -0
- package/esm2022/staging/sky/sky.mjs +119 -0
- package/esm2022/staging/sparkles/sparkles.mjs +164 -0
- package/esm2022/staging/spot-light/shadow-mesh-input.mjs +63 -0
- package/esm2022/staging/spot-light/shadow-mesh.mjs +266 -0
- package/esm2022/staging/spot-light/spot-light-input.mjs +84 -0
- package/esm2022/staging/spot-light/spot-light.mjs +81 -0
- package/esm2022/staging/spot-light/volumetric-mesh.mjs +98 -0
- package/esm2022/staging/stage/stage.mjs +388 -0
- package/esm2022/staging/stars/stars.mjs +147 -0
- package/esm2022/staging/wireframe/wireframe-input.mjs +191 -0
- package/esm2022/staging/wireframe/wireframe.mjs +224 -0
- package/esm2022/utils/angular-three-soba-utils.mjs +5 -0
- package/esm2022/utils/content/content.mjs +15 -0
- package/esm2022/utils/index.mjs +2 -0
- package/fesm2022/angular-three-soba-abstractions.mjs +668 -1882
- package/fesm2022/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2022/angular-three-soba-cameras.mjs +279 -232
- package/fesm2022/angular-three-soba-cameras.mjs.map +1 -1
- package/fesm2022/angular-three-soba-controls.mjs +104 -69
- package/fesm2022/angular-three-soba-controls.mjs.map +1 -1
- package/fesm2022/angular-three-soba-loaders.mjs +177 -164
- package/fesm2022/angular-three-soba-loaders.mjs.map +1 -1
- package/fesm2022/angular-three-soba-materials.mjs +630 -482
- package/fesm2022/angular-three-soba-materials.mjs.map +1 -1
- package/fesm2022/angular-three-soba-misc.mjs +2248 -122
- package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
- package/fesm2022/angular-three-soba-modifiers.mjs +71 -0
- package/fesm2022/angular-three-soba-modifiers.mjs.map +1 -0
- package/fesm2022/angular-three-soba-performances.mjs +697 -0
- package/fesm2022/angular-three-soba-performances.mjs.map +1 -0
- package/fesm2022/angular-three-soba-shaders.mjs +554 -209
- package/fesm2022/angular-three-soba-shaders.mjs.map +1 -1
- package/fesm2022/angular-three-soba-staging.mjs +3230 -2852
- package/fesm2022/angular-three-soba-staging.mjs.map +1 -1
- package/fesm2022/angular-three-soba-utils.mjs +22 -0
- package/fesm2022/angular-three-soba-utils.mjs.map +1 -0
- package/fesm2022/angular-three-soba.mjs.map +1 -1
- package/loaders/gltf-loader/gltf-loader.d.ts +10 -0
- package/loaders/index.d.ts +4 -5
- package/loaders/loader/loader.d.ts +33 -0
- package/loaders/progress/progress.d.ts +9 -0
- package/loaders/texture-loader/texture-loader.d.ts +7 -0
- package/materials/index.d.ts +6 -5
- package/materials/mesh-distort-material/mesh-distort-material.d.ts +40 -0
- package/materials/mesh-reflector-material/mesh-reflector-material.d.ts +99 -0
- package/materials/mesh-refraction-material/mesh-refraction-material.d.ts +62 -0
- package/materials/mesh-transmission-material/mesh-transmission-material.d.ts +107 -0
- package/materials/mesh-wobble-material/mesh-wobble-material.d.ts +29 -0
- package/materials/point-material/point-material.d.ts +24 -0
- package/metadata.json +1 -0
- package/misc/animations/animations.d.ts +15 -0
- package/misc/{lib/bake-shadows → bake-shadows}/bake-shadows.d.ts +2 -5
- package/misc/caustics/caustics.d.ts +87 -0
- package/misc/decal/decal.d.ts +49 -0
- package/misc/depth-buffer/depth-buffer.d.ts +9 -0
- package/misc/example/example.d.ts +81 -0
- package/misc/{lib/fbo → fbo}/fbo.d.ts +4 -2
- package/misc/html/html-wrapper.d.ts +559 -0
- package/misc/html/html.d.ts +214 -0
- package/misc/index.d.ts +13 -4
- package/misc/sampler/sampler.d.ts +67 -0
- package/misc/shadow/shadow.d.ts +37 -0
- package/misc/stats-gl/stats-gl.d.ts +24 -0
- package/misc/trail/trail.d.ts +57 -0
- package/misc/trail-texture/inject-trail-texture.d.ts +9 -0
- package/misc/trail-texture/trail-texture.d.ts +50 -0
- package/modifiers/README.md +3 -0
- package/modifiers/curve-modifier/curve-modifier.d.ts +23 -0
- package/modifiers/index.d.ts +1 -0
- package/package.json +43 -32
- package/performances/README.md +3 -0
- package/performances/adaptive-dpr/adaptive-dpr.d.ts +14 -0
- package/{performance/lib/adaptive → performances/adaptive-events}/adaptive-events.d.ts +5 -6
- package/performances/index.d.ts +5 -0
- package/performances/points/points-input.d.ts +32 -0
- package/performances/points/points.d.ts +92 -0
- package/performances/points/position-point.d.ts +11 -0
- package/performances/segments/segment-object.d.ts +7 -0
- package/performances/segments/segments.d.ts +124 -0
- package/shaders/{lib/blur-pass → blur-pass}/blur-pass.d.ts +2 -2
- package/shaders/grid-material/grid-material.d.ts +37 -0
- package/shaders/index.d.ts +17 -14
- package/shaders/{lib/mesh-distort-material → mesh-distort-material}/mesh-distort-material.d.ts +147 -2
- package/shaders/{lib/mesh-transmission-material → mesh-transmission-material}/mesh-transmission-material.d.ts +1 -1
- package/shaders/{lib/mesh-wobble-material → mesh-wobble-material}/mesh-wobble-material.d.ts +1 -0
- package/shaders/{lib/shader-material → shader-material}/shader-material.d.ts +2 -2
- package/shaders/soft-shadow-material/soft-shadow-material.d.ts +19 -0
- package/shaders/sparkles-material/sparkles-material.d.ts +17 -0
- package/shaders/spot-light-material/spot-light-material.d.ts +13 -0
- package/shaders/star-field-material/star-field-material.d.ts +13 -0
- package/shaders/wireframe-material/wireframe-material.d.ts +58 -0
- package/staging/accumulative-shadows/accumulative-shadows.d.ts +146 -0
- package/staging/{lib/accumulative-shadows → accumulative-shadows}/progressive-light-map.d.ts +2 -2
- package/staging/accumulative-shadows/randomized-lights.d.ts +90 -0
- package/staging/backdrop/backdrop.d.ts +30 -0
- package/staging/bb-anchor/bb-anchor.d.ts +27 -0
- package/staging/bounds/bounds.d.ts +134 -0
- package/staging/camera-shake/camera-shake.d.ts +43 -0
- package/staging/center/center.d.ts +70 -0
- package/staging/cloud/cloud.d.ts +51 -0
- package/staging/contact-shadows/contact-shadows.d.ts +70 -0
- package/staging/{lib/environment → environment}/assets.d.ts +9 -9
- package/staging/environment/environment-cube.d.ts +15 -0
- package/staging/environment/environment-ground.d.ts +13 -0
- package/staging/environment/environment-input.d.ts +68 -0
- package/staging/environment/environment-map.d.ts +16 -0
- package/staging/environment/environment-portal.d.ts +18 -0
- package/staging/{lib/environment → environment}/environment.d.ts +2 -6
- package/staging/environment/utils.d.ts +7 -0
- package/staging/float/float.d.ts +31 -0
- package/staging/index.d.ts +21 -17
- package/staging/matcap-texture/matcap-texture.d.ts +13 -0
- package/staging/normal-texture/normal-texture.d.ts +16 -0
- package/staging/sky/sky.d.ts +48 -0
- package/staging/sparkles/sparkles.d.ts +63 -0
- package/staging/spot-light/shadow-mesh-input.d.ts +29 -0
- package/staging/spot-light/shadow-mesh.d.ts +37 -0
- package/staging/spot-light/spot-light-input.d.ts +38 -0
- package/staging/spot-light/spot-light.d.ts +39 -0
- package/staging/spot-light/volumetric-mesh.d.ts +24 -0
- package/staging/stage/stage.d.ts +130 -0
- package/staging/stars/stars.d.ts +45 -0
- package/staging/wireframe/wireframe-input.d.ts +65 -0
- package/staging/wireframe/wireframe.d.ts +28 -0
- package/utils/README.md +3 -0
- package/utils/content/content.d.ts +8 -0
- package/utils/index.d.ts +1 -0
- package/web-types.json +1 -0
- package/abstractions/lib/billboard/billboard.d.ts +0 -14
- package/abstractions/lib/catmull-rom-line/catmull-rom-line.d.ts +0 -15
- package/abstractions/lib/cubic-bezier-line/cubic-bezier-line.d.ts +0 -15
- package/abstractions/lib/edges/edges.d.ts +0 -18
- package/abstractions/lib/gizmo-helper/gizmo-helper.d.ts +0 -41
- package/abstractions/lib/gizmo-helper/gizmo-viewcube/constants.d.ts +0 -12
- package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.d.ts +0 -16
- package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.d.ts +0 -24
- package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-inputs.d.ts +0 -14
- package/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube.d.ts +0 -15
- package/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.d.ts +0 -28
- package/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport.d.ts +0 -21
- package/abstractions/lib/line/line-input.d.ts +0 -19
- package/abstractions/lib/line/line.d.ts +0 -21
- package/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.d.ts +0 -19
- package/abstractions/lib/text/text.d.ts +0 -21
- package/abstractions/lib/text-3d/text-3d.d.ts +0 -39
- package/assets/default-spot-light-shadow.glsl +0 -10
- package/cameras/lib/camera/camera.d.ts +0 -19
- package/cameras/lib/cube-camera/cube-camera.d.ts +0 -27
- package/cameras/lib/orthographic-camera/orthographic-camera.d.ts +0 -17
- package/controls/lib/orbit-controls/orbit-controls.d.ts +0 -27
- package/esm2022/abstractions/lib/billboard/billboard.mjs +0 -74
- package/esm2022/abstractions/lib/catmull-rom-line/catmull-rom-line.mjs +0 -120
- package/esm2022/abstractions/lib/cubic-bezier-line/cubic-bezier-line.mjs +0 -99
- package/esm2022/abstractions/lib/edges/edges.mjs +0 -96
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-helper.mjs +0 -213
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/constants.mjs +0 -31
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.mjs +0 -92
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.mjs +0 -184
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-inputs.mjs +0 -46
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube.mjs +0 -134
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.mjs +0 -195
- package/esm2022/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport.mjs +0 -267
- package/esm2022/abstractions/lib/line/line-input.mjs +0 -76
- package/esm2022/abstractions/lib/line/line.mjs +0 -133
- package/esm2022/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.mjs +0 -128
- package/esm2022/abstractions/lib/text/text.mjs +0 -115
- package/esm2022/abstractions/lib/text-3d/text-3d.mjs +0 -145
- package/esm2022/cameras/lib/camera/camera-content.mjs +0 -21
- package/esm2022/cameras/lib/camera/camera.mjs +0 -75
- package/esm2022/cameras/lib/cube-camera/cube-camera.mjs +0 -131
- package/esm2022/cameras/lib/orthographic-camera/orthographic-camera.mjs +0 -93
- package/esm2022/cameras/lib/perspective-camera/perspective-camera.mjs +0 -47
- package/esm2022/controls/lib/orbit-controls/orbit-controls.mjs +0 -147
- package/esm2022/loaders/lib/cube-texture-loader/cube-texture-loader.mjs +0 -10
- package/esm2022/loaders/lib/gltf-loader/gltf-loader.mjs +0 -32
- package/esm2022/loaders/lib/loader/loader.mjs +0 -134
- package/esm2022/loaders/lib/progress/progress.mjs +0 -39
- package/esm2022/loaders/lib/texture-loader/texture-loader.mjs +0 -19
- package/esm2022/materials/lib/mesh-distort-material/mesh-distort-material.mjs +0 -75
- package/esm2022/materials/lib/mesh-reflector-material/mesh-reflector-material.mjs +0 -328
- package/esm2022/materials/lib/mesh-refraction-material/mesh-refraction-material.mjs +0 -158
- package/esm2022/materials/lib/mesh-transmission-material/mesh-transmission-material.mjs +0 -238
- package/esm2022/materials/lib/mesh-wobble-material/mesh-wobble-material.mjs +0 -68
- package/esm2022/misc/lib/animations/animations.mjs +0 -52
- package/esm2022/misc/lib/bake-shadows/bake-shadows.mjs +0 -26
- package/esm2022/misc/lib/depth-buffer/depth-buffer.mjs +0 -39
- package/esm2022/misc/lib/fbo/fbo.mjs +0 -39
- package/esm2022/performance/angular-three-soba-performance.mjs +0 -5
- package/esm2022/performance/index.mjs +0 -5
- package/esm2022/performance/lib/adaptive/adaptive-dpr.mjs +0 -47
- package/esm2022/performance/lib/adaptive/adaptive-events.mjs +0 -37
- package/esm2022/performance/lib/detailed/detailed.mjs +0 -54
- package/esm2022/performance/lib/stats/stats.mjs +0 -80
- package/esm2022/shaders/lib/blur-pass/blur-pass.mjs +0 -61
- package/esm2022/shaders/lib/caustics-material/caustics-material.mjs +0 -128
- package/esm2022/shaders/lib/caustics-projection-material/caustics-projection-material.mjs +0 -33
- package/esm2022/shaders/lib/convolution-material/convolution-material.mjs +0 -94
- package/esm2022/shaders/lib/discard-material/discard-material.mjs +0 -3
- package/esm2022/shaders/lib/mesh-distort-material/mesh-distort-material.mjs +0 -55
- package/esm2022/shaders/lib/mesh-reflector-material/mesh-reflector-material.mjs +0 -223
- package/esm2022/shaders/lib/mesh-refraction-material/mesh-refraction-material.mjs +0 -169
- package/esm2022/shaders/lib/mesh-transmission-material/mesh-transmission-material.mjs +0 -268
- package/esm2022/shaders/lib/mesh-wobble-material/mesh-wobble-material.mjs +0 -37
- package/esm2022/shaders/lib/shader-material/shader-material.mjs +0 -34
- package/esm2022/shaders/lib/soft-shadow-material/soft-shadow-material.mjs +0 -33
- package/esm2022/shaders/lib/spot-light-material/spot-light-material.mjs +0 -86
- package/esm2022/shaders/lib/star-field-material/star-field-material.mjs +0 -32
- package/esm2022/staging/lib/accumulative-shadows/accumulative-shadows.mjs +0 -249
- package/esm2022/staging/lib/accumulative-shadows/progressive-light-map.mjs +0 -108
- package/esm2022/staging/lib/accumulative-shadows/randomized-lights.mjs +0 -201
- package/esm2022/staging/lib/bounds/bounds.mjs +0 -284
- package/esm2022/staging/lib/camera-shake/camera-shake.mjs +0 -122
- package/esm2022/staging/lib/caustics/caustics.mjs +0 -364
- package/esm2022/staging/lib/center/center.mjs +0 -143
- package/esm2022/staging/lib/cloud/cloud.mjs +0 -160
- package/esm2022/staging/lib/contact-shadows/contact-shadows.mjs +0 -228
- package/esm2022/staging/lib/environment/assets.mjs +0 -13
- package/esm2022/staging/lib/environment/environment-cube.mjs +0 -41
- package/esm2022/staging/lib/environment/environment-ground.mjs +0 -67
- package/esm2022/staging/lib/environment/environment-inputs.mjs +0 -87
- package/esm2022/staging/lib/environment/environment-map.mjs +0 -39
- package/esm2022/staging/lib/environment/environment-portal.mjs +0 -111
- package/esm2022/staging/lib/environment/environment.mjs +0 -165
- package/esm2022/staging/lib/environment/utils.mjs +0 -70
- package/esm2022/staging/lib/float/float.mjs +0 -77
- package/esm2022/staging/lib/sky/sky.mjs +0 -109
- package/esm2022/staging/lib/sparkles/sparkles.mjs +0 -210
- package/esm2022/staging/lib/spot-light/common.mjs +0 -42
- package/esm2022/staging/lib/spot-light/shadow-mesh-input.mjs +0 -51
- package/esm2022/staging/lib/spot-light/spot-light-input.mjs +0 -62
- package/esm2022/staging/lib/spot-light/spot-light-shadow-no-shader.mjs +0 -74
- package/esm2022/staging/lib/spot-light/spot-light-shadow-shader.mjs +0 -126
- package/esm2022/staging/lib/spot-light/spot-light-shadow.mjs +0 -63
- package/esm2022/staging/lib/spot-light/spot-light.mjs +0 -117
- package/esm2022/staging/lib/spot-light/volumetric-mesh.mjs +0 -86
- package/esm2022/staging/lib/stage/stage.mjs +0 -368
- package/esm2022/staging/lib/stars/stars.mjs +0 -140
- package/fesm2022/angular-three-soba-performance.mjs +0 -210
- package/fesm2022/angular-three-soba-performance.mjs.map +0 -1
- package/loaders/lib/cube-texture-loader/cube-texture-loader.d.ts +0 -3
- package/loaders/lib/gltf-loader/gltf-loader.d.ts +0 -8
- package/loaders/lib/loader/loader.d.ts +0 -26
- package/loaders/lib/progress/progress.d.ts +0 -16
- package/loaders/lib/texture-loader/texture-loader.d.ts +0 -5
- package/materials/lib/mesh-distort-material/mesh-distort-material.d.ts +0 -24
- package/materials/lib/mesh-reflector-material/mesh-reflector-material.d.ts +0 -41
- package/materials/lib/mesh-refraction-material/mesh-refraction-material.d.ts +0 -28
- package/materials/lib/mesh-transmission-material/mesh-transmission-material.d.ts +0 -46
- package/materials/lib/mesh-wobble-material/mesh-wobble-material.d.ts +0 -14
- package/misc/lib/animations/animations.d.ts +0 -13
- package/misc/lib/depth-buffer/depth-buffer.d.ts +0 -7
- package/performance/README.md +0 -3
- package/performance/index.d.ts +0 -4
- package/performance/lib/adaptive/adaptive-dpr.d.ts +0 -11
- package/performance/lib/detailed/detailed.d.ts +0 -13
- package/performance/lib/stats/stats.d.ts +0 -15
- package/plugin/README.md +0 -11
- package/plugin/generators.json +0 -19
- package/plugin/package.json +0 -9
- package/plugin/src/generators/init/compat.d.ts +0 -2
- package/plugin/src/generators/init/compat.js +0 -6
- package/plugin/src/generators/init/compat.js.map +0 -1
- package/plugin/src/generators/init/init.d.ts +0 -4
- package/plugin/src/generators/init/init.js +0 -22
- package/plugin/src/generators/init/init.js.map +0 -1
- package/plugin/src/generators/init/schema.json +0 -6
- package/plugin/src/index.d.ts +0 -1
- package/plugin/src/index.js +0 -6
- package/plugin/src/index.js.map +0 -1
- package/shaders/lib/soft-shadow-material/soft-shadow-material.d.ts +0 -10
- package/shaders/lib/spot-light-material/spot-light-material.d.ts +0 -4
- package/shaders/lib/star-field-material/star-field-material.d.ts +0 -3
- package/staging/lib/accumulative-shadows/accumulative-shadows.d.ts +0 -58
- package/staging/lib/accumulative-shadows/randomized-lights.d.ts +0 -42
- package/staging/lib/bounds/bounds.d.ts +0 -48
- package/staging/lib/camera-shake/camera-shake.d.ts +0 -28
- package/staging/lib/caustics/caustics.d.ts +0 -47
- package/staging/lib/center/center.d.ts +0 -40
- package/staging/lib/cloud/cloud.d.ts +0 -23
- package/staging/lib/contact-shadows/contact-shadows.d.ts +0 -29
- package/staging/lib/environment/environment-cube.d.ts +0 -11
- package/staging/lib/environment/environment-ground.d.ts +0 -9
- package/staging/lib/environment/environment-inputs.d.ts +0 -28
- package/staging/lib/environment/environment-map.d.ts +0 -10
- package/staging/lib/environment/environment-portal.d.ts +0 -15
- package/staging/lib/environment/utils.d.ts +0 -8
- package/staging/lib/float/float.d.ts +0 -16
- package/staging/lib/sky/sky.d.ts +0 -20
- package/staging/lib/sparkles/sparkles.d.ts +0 -29
- package/staging/lib/spot-light/common.d.ts +0 -3
- package/staging/lib/spot-light/shadow-mesh-input.d.ts +0 -14
- package/staging/lib/spot-light/spot-light-input.d.ts +0 -16
- package/staging/lib/spot-light/spot-light-shadow-no-shader.d.ts +0 -14
- package/staging/lib/spot-light/spot-light-shadow-shader.d.ts +0 -25
- package/staging/lib/spot-light/spot-light-shadow.d.ts +0 -6
- package/staging/lib/spot-light/spot-light.d.ts +0 -17
- package/staging/lib/spot-light/volumetric-mesh.d.ts +0 -15
- package/staging/lib/stage/stage.d.ts +0 -87
- package/staging/lib/stars/stars.d.ts +0 -20
- /package/shaders/{lib/caustics-material → caustics}/caustics-material.d.ts +0 -0
- /package/shaders/{lib/caustics-projection-material → caustics}/caustics-projection-material.d.ts +0 -0
- /package/shaders/{lib/convolution-material → convolution-material}/convolution-material.d.ts +0 -0
- /package/shaders/{lib/discard-material → discard-material}/discard-material.d.ts +0 -0
- /package/shaders/{lib/mesh-reflector-material → mesh-reflector-material}/mesh-reflector-material.d.ts +0 -0
- /package/shaders/{lib/mesh-refraction-material → mesh-refraction-material}/mesh-refraction-material.d.ts +0 -0
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import { NgtsEnvironmentInputs } from './environment-inputs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NgtsEnvironmentPortal extends NgtsEnvironmentInputs implements OnInit {
|
|
6
|
-
readonly virtualSceneRef: import("angular-three").NgtInjectedRef<THREE.Scene>;
|
|
7
|
-
readonly cubeCameraRef: import("angular-three").NgtInjectedRef<THREE.CubeCamera>;
|
|
8
|
-
initialize(): void;
|
|
9
|
-
constructor();
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
private setEnvProps;
|
|
12
|
-
private onBeforeRender;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironmentPortal, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsEnvironmentPortal, "ngts-environment-portal", never, {}, {}, never, ["*"], true, never>;
|
|
15
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { CubeTexture, Texture } from 'three';
|
|
4
|
-
import { NgtsEnvironmentInputs } from './environment-inputs';
|
|
5
|
-
export declare function setEnvProps(background: boolean | 'only', scene: THREE.Scene | ElementRef<THREE.Scene> | undefined, defaultScene: THREE.Scene, texture: THREE.Texture, blur?: number): () => void;
|
|
6
|
-
type NgtsInjectEnvironmentParams = Partial<Pick<NgtsEnvironmentInputs, 'files' | 'path' | 'preset' | 'extensions' | 'encoding'>>;
|
|
7
|
-
export declare function injectNgtsEnvironment(paramsFactory: (defaultParams: NgtsInjectEnvironmentParams) => NgtsInjectEnvironmentParams | Observable<NgtsInjectEnvironmentParams>): import("angular-three").NgtInjectedRef<Texture | CubeTexture>;
|
|
8
|
-
export {};
|
|
@@ -1,16 +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 NgtsFloat extends NgtRxStore {
|
|
5
|
-
private readonly offset;
|
|
6
|
-
floatRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
7
|
-
set speed(speed: number);
|
|
8
|
-
set rotationIntensity(rotationIntensity: number);
|
|
9
|
-
set floatIntensity(floatIntensity: number);
|
|
10
|
-
set floatingRange(floatingRange: [number?, number?]);
|
|
11
|
-
initialize(): void;
|
|
12
|
-
constructor();
|
|
13
|
-
private onBeforeRender;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsFloat, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsFloat, "ngts-float", never, { "floatRef": { "alias": "floatRef"; "required": false; }; "speed": { "alias": "speed"; "required": false; }; "rotationIntensity": { "alias": "rotationIntensity"; "required": false; }; "floatIntensity": { "alias": "floatIntensity"; "required": false; }; "floatingRange": { "alias": "floatingRange"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
|
-
}
|
package/staging/lib/sky/sky.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgtRxStore } from 'angular-three';
|
|
2
|
-
import { Vector3 } from 'three';
|
|
3
|
-
import { Sky } from 'three-stdlib';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare function calcPosFromAngles(inclination: number, azimuth: number, vector?: Vector3): Vector3;
|
|
6
|
-
export declare class NgtsSky extends NgtRxStore {
|
|
7
|
-
skyRef: import("angular-three").NgtInjectedRef<Sky>;
|
|
8
|
-
set distance(distance: number);
|
|
9
|
-
set sunPosition(sunPosition: THREE.Vector3 | Parameters<THREE.Vector3['set']>);
|
|
10
|
-
set inclination(inclination: number);
|
|
11
|
-
set azimuth(azimuth: number);
|
|
12
|
-
set mieCoefficient(mieCoefficient: number);
|
|
13
|
-
set mieDirectionalG(mieDirectionalG: number);
|
|
14
|
-
set rayleigh(rayleigh: number);
|
|
15
|
-
set turbidity(turbidity: number);
|
|
16
|
-
readonly sky: Sky;
|
|
17
|
-
initialize(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSky, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSky, "ngts-sky", never, { "skyRef": { "alias": "skyRef"; "required": false; }; "distance": { "alias": "distance"; "required": false; }; "sunPosition": { "alias": "sunPosition"; "required": false; }; "inclination": { "alias": "inclination"; "required": false; }; "azimuth": { "alias": "azimuth"; "required": false; }; "mieCoefficient": { "alias": "mieCoefficient"; "required": false; }; "mieDirectionalG": { "alias": "mieDirectionalG"; "required": false; }; "rayleigh": { "alias": "rayleigh"; "required": false; }; "turbidity": { "alias": "turbidity"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { NgtRxStore } from 'angular-three';
|
|
2
|
-
import { BufferGeometry, Points } from 'three';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NgtsSparkles extends NgtRxStore {
|
|
5
|
-
private readonly store;
|
|
6
|
-
readonly dpr: number;
|
|
7
|
-
readonly materialRef: import("angular-three").NgtInjectedRef<import("three").ShaderMaterial>;
|
|
8
|
-
pointsRef: import("angular-three").NgtInjectedRef<Points<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[]>>;
|
|
9
|
-
/** Number of particles (default: 100) */
|
|
10
|
-
set count(count: number);
|
|
11
|
-
/** Speed of particles (default: 1) */
|
|
12
|
-
set speed(speed: number | Float32Array);
|
|
13
|
-
/** Opacity of particles (default: 1) */
|
|
14
|
-
set opacity(opacity: number | Float32Array);
|
|
15
|
-
/** Color of particles (default: 100) */
|
|
16
|
-
set color(color: THREE.ColorRepresentation | Float32Array);
|
|
17
|
-
/** Size of particles (default: randomized between 0 and 1) */
|
|
18
|
-
set size(size: number | Float32Array);
|
|
19
|
-
/** The space the particles occupy (default: 1) */
|
|
20
|
-
set scale(scale: number | [number, number, number] | THREE.Vector3);
|
|
21
|
-
/** Movement factor (default: 1) */
|
|
22
|
-
set noise(noise: number | [number, number, number] | THREE.Vector3 | Float32Array);
|
|
23
|
-
initialize(): void;
|
|
24
|
-
constructor();
|
|
25
|
-
private onBeforeRender;
|
|
26
|
-
private getAttribute$;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSparkles, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSparkles, "ngts-sparkles", never, { "pointsRef": { "alias": "pointsRef"; "required": false; }; "count": { "alias": "count"; "required": false; }; "speed": { "alias": "speed"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "noise": { "alias": "noise"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { NgtInjectedRef, NgtRxStore } from 'angular-three';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
export declare function injectShadowMeshCommon(spotLight: NgtInjectedRef<THREE.SpotLight>, mesh: NgtInjectedRef<THREE.Mesh>, width: number, height: number, distance: number): (instance: NgtRxStore) => void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NgtRxStore } from 'angular-three';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare abstract class NgtsSpotLightShadowMeshInput extends NgtRxStore {
|
|
4
|
-
set distance(distance: number);
|
|
5
|
-
set alphaTest(alphaTest: number);
|
|
6
|
-
set scale(scale: number);
|
|
7
|
-
set map(map: THREE.Texture);
|
|
8
|
-
set shader(shader: string);
|
|
9
|
-
set width(width: number);
|
|
10
|
-
set height(height: number);
|
|
11
|
-
readonly map$: import("rxjs").Observable<any>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSpotLightShadowMeshInput, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsSpotLightShadowMeshInput, never, never, { "distance": { "alias": "distance"; "required": false; }; "alphaTest": { "alias": "alphaTest"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "map": { "alias": "map"; "required": false; }; "shader": { "alias": "shader"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { NgtRxStore } from 'angular-three';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare abstract class NgtsSpotLightInput extends NgtRxStore {
|
|
4
|
-
set depthBuffer(depthBuffer: THREE.DepthTexture);
|
|
5
|
-
set angle(angle: number);
|
|
6
|
-
set distance(distance: number);
|
|
7
|
-
set attenuation(attenuation: number);
|
|
8
|
-
set anglePower(anglePower: number);
|
|
9
|
-
set radiusTop(radiusTop: number);
|
|
10
|
-
set radiusBottom(radiusBottom: number);
|
|
11
|
-
set opacity(opacity: number);
|
|
12
|
-
set color(color: string | number);
|
|
13
|
-
set debug(debug: boolean);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSpotLightInput, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsSpotLightInput, never, never, { "depthBuffer": { "alias": "depthBuffer"; "required": false; }; "angle": { "alias": "angle"; "required": false; }; "distance": { "alias": "distance"; "required": false; }; "attenuation": { "alias": "attenuation"; "required": false; }; "anglePower": { "alias": "anglePower"; "required": false; }; "radiusTop": { "alias": "radiusTop"; "required": false; }; "radiusBottom": { "alias": "radiusBottom"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "color": { "alias": "color"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import { NgtsSpotLightShadowMeshInput } from './shadow-mesh-input';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NgtsSpotLightShadowNoShader extends NgtsSpotLightShadowMeshInput implements OnInit {
|
|
6
|
-
readonly mesh: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
7
|
-
readonly spotLightApi: import("./spot-light").NgtsSpotLightAPI;
|
|
8
|
-
readonly DoubleSide: 2;
|
|
9
|
-
readonly runInContext: <TReturn>(cb: () => TReturn) => TReturn;
|
|
10
|
-
initialize(): void;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSpotLightShadowNoShader, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSpotLightShadowNoShader, "ngts-spot-light-shadow-no-shader", never, {}, {}, never, ["*"], true, never>;
|
|
14
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import { NgtsSpotLightShadowMeshInput } from './shadow-mesh-input';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NgtsSpotLightShadowShader extends NgtsSpotLightShadowMeshInput implements OnInit {
|
|
6
|
-
readonly mesh: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
7
|
-
readonly spotLightApi: import("./spot-light").NgtsSpotLightAPI;
|
|
8
|
-
readonly DoubleSide: 2;
|
|
9
|
-
readonly RepeatWrapping: 1000;
|
|
10
|
-
readonly runInContext: <TReturn>(cb: () => TReturn) => TReturn;
|
|
11
|
-
readonly texture$: import("rxjs").Observable<any>;
|
|
12
|
-
initialize(): void;
|
|
13
|
-
readonly uniforms: {
|
|
14
|
-
uShadowMap: {
|
|
15
|
-
value: any;
|
|
16
|
-
};
|
|
17
|
-
uTime: {
|
|
18
|
-
value: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
constructor();
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSpotLightShadowShader, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSpotLightShadowShader, "ngts-spot-light-shadow-shader", never, {}, {}, never, ["*"], true, never>;
|
|
25
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NgtsSpotLightShadowMeshInput } from './shadow-mesh-input';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NgtsSpotLightShadow extends NgtsSpotLightShadowMeshInput {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSpotLightShadow, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSpotLightShadow, "ngts-spot-light-shadow", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { NgtInjectedRef } from 'angular-three';
|
|
3
|
-
import { SpotLight } from 'three';
|
|
4
|
-
import { NgtsSpotLightInput } from './spot-light-input';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface NgtsSpotLightAPI {
|
|
7
|
-
spotLight: NgtInjectedRef<THREE.SpotLight>;
|
|
8
|
-
debug: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const NGTS_SPOT_LIGHT_API: InjectionToken<NgtsSpotLightAPI>;
|
|
11
|
-
export declare class NgtsSpotLight extends NgtsSpotLightInput {
|
|
12
|
-
spotLightRef: NgtInjectedRef<SpotLight>;
|
|
13
|
-
set volumetric(volumetric: boolean);
|
|
14
|
-
initialize(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSpotLight, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSpotLight, "ngts-spot-light", never, { "spotLightRef": { "alias": "spotLightRef"; "required": false; }; "volumetric": { "alias": "volumetric"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SpotLightMaterial } from 'angular-three-soba/shaders';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import { NgtsSpotLightInput } from './spot-light-input';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NgtsVolumetricMesh extends NgtsSpotLightInput {
|
|
6
|
-
readonly mesh: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
7
|
-
readonly material: SpotLightMaterial;
|
|
8
|
-
readonly nullRaycast: () => null;
|
|
9
|
-
private readonly vec;
|
|
10
|
-
private readonly store;
|
|
11
|
-
initialize(): void;
|
|
12
|
-
constructor();
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsVolumetricMesh, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsVolumetricMesh, "ngts-volumetric-mesh", never, {}, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges } from '@angular/core';
|
|
2
|
-
import { NgtRxStore } from 'angular-three';
|
|
3
|
-
import { NgtsAccumulativeShadows } from '../accumulative-shadows/accumulative-shadows';
|
|
4
|
-
import { NgtsRandomizedLights } from '../accumulative-shadows/randomized-lights';
|
|
5
|
-
import { NgtsCenter } from '../center/center';
|
|
6
|
-
import { NgtsContactShadows } from '../contact-shadows/contact-shadows';
|
|
7
|
-
import { NgtsEnvironmentPresetsType } from '../environment/assets';
|
|
8
|
-
import { NgtsEnvironmentInputs } from '../environment/environment-inputs';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
type NgtsStageShadows = Partial<NgtsAccumulativeShadows> & Partial<NgtsRandomizedLights> & Partial<NgtsContactShadows> & {
|
|
11
|
-
type: 'contact' | 'accumulative';
|
|
12
|
-
/** Shadow plane offset, default: 0 */
|
|
13
|
-
offset?: number;
|
|
14
|
-
/** Shadow bias, default: -0.0001 */
|
|
15
|
-
bias?: number;
|
|
16
|
-
/** Shadow normal bias, default: 0 */
|
|
17
|
-
normalBias?: number;
|
|
18
|
-
/** Shadow map size, default: 1024 */
|
|
19
|
-
size?: number;
|
|
20
|
-
};
|
|
21
|
-
type NgtsStageProps = {
|
|
22
|
-
/** Lighting setup, default: "rembrandt" */
|
|
23
|
-
preset?: 'rembrandt' | 'portrait' | 'upfront' | 'soft' | {
|
|
24
|
-
main: [x: number, y: number, z: number];
|
|
25
|
-
fill: [x: number, y: number, z: number];
|
|
26
|
-
};
|
|
27
|
-
/** Controls the ground shadows, default: "contact" */
|
|
28
|
-
shadows?: boolean | 'contact' | 'accumulative' | NgtsStageShadows;
|
|
29
|
-
/** Optionally wraps and thereby centers the models using <Bounds>, can also be a margin, default: true */
|
|
30
|
-
adjustCamera?: boolean | number;
|
|
31
|
-
/** The default environment, default: "city" */
|
|
32
|
-
environment?: NgtsEnvironmentPresetsType | Partial<NgtsEnvironmentInputs>;
|
|
33
|
-
/** The lighting intensity, default: 0.5 */
|
|
34
|
-
intensity?: number;
|
|
35
|
-
/** To adjust centering, default: undefined */
|
|
36
|
-
center?: Partial<NgtsCenter>;
|
|
37
|
-
};
|
|
38
|
-
export declare class NgtsStageRefit implements OnChanges {
|
|
39
|
-
private readonly boundsApi;
|
|
40
|
-
radius: number;
|
|
41
|
-
adjustCamera: boolean;
|
|
42
|
-
ngOnChanges(): void;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsStageRefit, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsStageRefit, "ngts-stage-refit", never, { "radius": { "alias": "radius"; "required": false; }; "adjustCamera": { "alias": "adjustCamera"; "required": false; }; }, {}, never, never, true, never>;
|
|
45
|
-
}
|
|
46
|
-
export declare class NgtsStage extends NgtRxStore<NgtsStageProps> {
|
|
47
|
-
private readonly cdr;
|
|
48
|
-
readonly Number: NumberConstructor;
|
|
49
|
-
set preset(preset: NgtsStageProps['preset']);
|
|
50
|
-
set shadows(shadows: NgtsStageProps['shadows']);
|
|
51
|
-
set adjustCamera(adjustCamera: NgtsStageProps['adjustCamera']);
|
|
52
|
-
set environment(environment: NgtsStageProps['environment']);
|
|
53
|
-
set intensity(intensity: NgtsStageProps['intensity']);
|
|
54
|
-
set center(center: NgtsStageProps['center']);
|
|
55
|
-
centered: EventEmitter<{
|
|
56
|
-
parent: import("three").Object3D<import("three").Event>;
|
|
57
|
-
container: import("three").Object3D<import("three").Event>;
|
|
58
|
-
width: number;
|
|
59
|
-
height: number;
|
|
60
|
-
depth: number;
|
|
61
|
-
boundingBox: import("three").Box3;
|
|
62
|
-
boundingSphere: import("three").Sphere;
|
|
63
|
-
center: import("three").Vector3; /** Optionally wraps and thereby centers the models using <Bounds>, can also be a margin, default: true */
|
|
64
|
-
verticalAlignment: number;
|
|
65
|
-
horizontalAlignment: number;
|
|
66
|
-
depthAlignment: number;
|
|
67
|
-
}>;
|
|
68
|
-
initialize(): void;
|
|
69
|
-
onCentered(props: {
|
|
70
|
-
/** The next parent above <Center> */
|
|
71
|
-
parent: THREE.Object3D;
|
|
72
|
-
/** The outmost container group of the <Center> component */
|
|
73
|
-
container: THREE.Object3D;
|
|
74
|
-
width: number;
|
|
75
|
-
height: number;
|
|
76
|
-
depth: number;
|
|
77
|
-
boundingBox: THREE.Box3;
|
|
78
|
-
boundingSphere: THREE.Sphere;
|
|
79
|
-
center: THREE.Vector3;
|
|
80
|
-
verticalAlignment: number;
|
|
81
|
-
horizontalAlignment: number;
|
|
82
|
-
depthAlignment: number;
|
|
83
|
-
}): void;
|
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsStage, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsStage, "ngts-stage", never, { "preset": { "alias": "preset"; "required": false; }; "shadows": { "alias": "shadows"; "required": false; }; "adjustCamera": { "alias": "adjustCamera"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "intensity": { "alias": "intensity"; "required": false; }; "center": { "alias": "center"; "required": false; }; }, { "centered": "centered"; }, never, ["*"], true, never>;
|
|
86
|
-
}
|
|
87
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgtRenderState, NgtRxStore } from 'angular-three';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NgtsStars extends NgtRxStore {
|
|
5
|
-
readonly AdditiveBlending: 2;
|
|
6
|
-
readonly material: THREE.ShaderMaterial;
|
|
7
|
-
starsRef: import("angular-three").NgtInjectedRef<THREE.Points<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
8
|
-
set radius(radius: number);
|
|
9
|
-
set depth(depth: number);
|
|
10
|
-
set count(count: number);
|
|
11
|
-
set factor(factor: number);
|
|
12
|
-
set saturation(saturation: number);
|
|
13
|
-
set fade(fade: boolean);
|
|
14
|
-
set speed(speed: number);
|
|
15
|
-
initialize(): void;
|
|
16
|
-
constructor();
|
|
17
|
-
onBeforeRender({ clock }: NgtRenderState): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsStars, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsStars, "ngts-stars", never, { "starsRef": { "alias": "starsRef"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "count": { "alias": "count"; "required": false; }; "factor": { "alias": "factor"; "required": false; }; "saturation": { "alias": "saturation"; "required": false; }; "fade": { "alias": "fade"; "required": false; }; "speed": { "alias": "speed"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
File without changes
|
/package/shaders/{lib/caustics-projection-material → caustics}/caustics-projection-material.d.ts
RENAMED
|
File without changes
|
/package/shaders/{lib/convolution-material → convolution-material}/convolution-material.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|