angular-three-soba 1.14.0 → 2.0.0-beta.10
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 +70 -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 +3231 -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 +38 -27
- 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
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type NgtBeforeRenderEvent, type NgtGroup } from 'angular-three';
|
|
2
|
+
import { Group } from 'three';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type NgtsCloudState = {
|
|
5
|
+
opacity: number;
|
|
6
|
+
speed: number;
|
|
7
|
+
width: number;
|
|
8
|
+
depth: number;
|
|
9
|
+
segments: number;
|
|
10
|
+
texture: string;
|
|
11
|
+
color: THREE.ColorRepresentation;
|
|
12
|
+
depthTest: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
/**
|
|
17
|
+
* @extends ngt-group
|
|
18
|
+
*/
|
|
19
|
+
'ngts-cloud': NgtsCloudState & NgtGroup;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export declare class NgtsCloud {
|
|
23
|
+
private inputs;
|
|
24
|
+
groupRef: import("angular-three").NgtInjectedRef<Group>;
|
|
25
|
+
set _opacity(opacity: number);
|
|
26
|
+
set _speed(speed: number);
|
|
27
|
+
set _width(width: number);
|
|
28
|
+
set _depth(depth: number);
|
|
29
|
+
set _segments(segments: number);
|
|
30
|
+
set _texture(texture: string);
|
|
31
|
+
set _color(color: THREE.ColorRepresentation);
|
|
32
|
+
set _depthTest(depthTest: boolean);
|
|
33
|
+
private width;
|
|
34
|
+
private speed;
|
|
35
|
+
segments: import("@angular/core").Signal<number>;
|
|
36
|
+
depth: import("@angular/core").Signal<number>;
|
|
37
|
+
depthTest: import("@angular/core").Signal<boolean>;
|
|
38
|
+
opacity: import("@angular/core").Signal<number>;
|
|
39
|
+
color: import("@angular/core").Signal<import("three").ColorRepresentation>;
|
|
40
|
+
texture: import("@angular/core").Signal<import("three").Texture | null>;
|
|
41
|
+
clouds: import("@angular/core").Signal<{
|
|
42
|
+
x: number;
|
|
43
|
+
y: number;
|
|
44
|
+
scale: number;
|
|
45
|
+
density: number;
|
|
46
|
+
rotation: number;
|
|
47
|
+
}[]>;
|
|
48
|
+
onBeforeRender({ state, object }: NgtBeforeRenderEvent<Group>): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCloud, never>;
|
|
50
|
+
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>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { type NgtGroup } from 'angular-three';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type NgtsContactShadowsState = {
|
|
5
|
+
opacity: number;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
blur: number;
|
|
9
|
+
far: number;
|
|
10
|
+
smooth: boolean;
|
|
11
|
+
resolution: number;
|
|
12
|
+
frames: number;
|
|
13
|
+
scale: number | [x: number, y: number];
|
|
14
|
+
color: THREE.ColorRepresentation;
|
|
15
|
+
depthWrite: boolean;
|
|
16
|
+
renderOrder: number;
|
|
17
|
+
};
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
/**
|
|
21
|
+
* @extends ngt-group
|
|
22
|
+
*/
|
|
23
|
+
'ngts-contact-shadows': NgtsContactShadowsState & NgtGroup;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export declare class NgtsContactShadows {
|
|
27
|
+
private inputs;
|
|
28
|
+
contactShadowsRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
29
|
+
set _opacity(opacity: number);
|
|
30
|
+
set _width(width: number);
|
|
31
|
+
set _height(height: number);
|
|
32
|
+
set _blur(blur: number);
|
|
33
|
+
set _far(far: number);
|
|
34
|
+
set _smooth(smooth: boolean);
|
|
35
|
+
set _resolution(resolution: number);
|
|
36
|
+
set _frames(frames: number);
|
|
37
|
+
set _scale(scale: number | [x: number, y: number]);
|
|
38
|
+
set _color(color: THREE.ColorRepresentation);
|
|
39
|
+
set _depthWrite(depthWrite: boolean);
|
|
40
|
+
set _renderOrder(renderOrder: number);
|
|
41
|
+
Math: Math;
|
|
42
|
+
private store;
|
|
43
|
+
shadowCameraRef: import("angular-three").NgtInjectedRef<THREE.OrthographicCamera>;
|
|
44
|
+
private scale;
|
|
45
|
+
private width;
|
|
46
|
+
private height;
|
|
47
|
+
private far;
|
|
48
|
+
private resolution;
|
|
49
|
+
private color;
|
|
50
|
+
private scaledWidth;
|
|
51
|
+
private scaledHeight;
|
|
52
|
+
renderOrder: import("@angular/core").Signal<number>;
|
|
53
|
+
opacity: import("@angular/core").Signal<number>;
|
|
54
|
+
depthWrite: import("@angular/core").Signal<boolean>;
|
|
55
|
+
cameraArgs: import("@angular/core").Signal<number[]>;
|
|
56
|
+
contactShadows: import("@angular/core").Signal<{
|
|
57
|
+
renderTarget: THREE.WebGLRenderTarget<THREE.Texture>;
|
|
58
|
+
planeGeometry: THREE.PlaneGeometry;
|
|
59
|
+
depthMaterial: THREE.MeshDepthMaterial;
|
|
60
|
+
blurPlane: THREE.Mesh<THREE.PlaneGeometry, THREE.Material | THREE.Material[]>;
|
|
61
|
+
horizontalBlurMaterial: THREE.ShaderMaterial;
|
|
62
|
+
verticalBlurMaterial: THREE.ShaderMaterial;
|
|
63
|
+
renderTargetBlur: THREE.WebGLRenderTarget<THREE.Texture>;
|
|
64
|
+
}>;
|
|
65
|
+
constructor();
|
|
66
|
+
private beforeRender;
|
|
67
|
+
private blurShadows;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsContactShadows, never>;
|
|
69
|
+
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>;
|
|
70
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
sunset: string;
|
|
3
|
-
dawn: string;
|
|
4
|
-
night: string;
|
|
5
|
-
warehouse: string;
|
|
6
|
-
forest: string;
|
|
1
|
+
export declare const ENVIRONMENT_PRESETS: {
|
|
7
2
|
apartment: string;
|
|
8
|
-
studio: string;
|
|
9
3
|
city: string;
|
|
10
|
-
|
|
4
|
+
dawn: string;
|
|
5
|
+
forest: string;
|
|
11
6
|
lobby: string;
|
|
7
|
+
night: string;
|
|
8
|
+
park: string;
|
|
9
|
+
studio: string;
|
|
10
|
+
sunset: string;
|
|
11
|
+
warehouse: string;
|
|
12
12
|
};
|
|
13
|
-
export type NgtsEnvironmentPresetsType = keyof typeof
|
|
13
|
+
export type NgtsEnvironmentPresetsType = keyof typeof ENVIRONMENT_PRESETS;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NgtsEnvironmentInput } from './environment-input';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NgtsEnvironmentCube {
|
|
4
|
+
environmentInput: NgtsEnvironmentInput;
|
|
5
|
+
private inputs;
|
|
6
|
+
set _background(background: boolean);
|
|
7
|
+
private store;
|
|
8
|
+
private scene;
|
|
9
|
+
private background;
|
|
10
|
+
private textureRef;
|
|
11
|
+
constructor();
|
|
12
|
+
private setEnvProps;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironmentCube, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsEnvironmentCube, "ngts-environment-cube", never, { "_background": { "alias": "background"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NgtsEnvironmentInput } from './environment-input';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NgtsEnvironmentGround {
|
|
4
|
+
environmentInput: NgtsEnvironmentInput;
|
|
5
|
+
private defaultTexture;
|
|
6
|
+
texture: import("@angular/core").Signal<import("three").Texture>;
|
|
7
|
+
groundArgs: import("@angular/core").Signal<import("three").Texture[]>;
|
|
8
|
+
height: import("@angular/core").Signal<any>;
|
|
9
|
+
radius: import("@angular/core").Signal<any>;
|
|
10
|
+
scale: import("@angular/core").Signal<any>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironmentGround, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsEnvironmentGround, "ngts-environment-ground", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { Loader, Scene, Texture, TextureEncoding } from 'three';
|
|
3
|
+
import { NgtsEnvironmentPresetsType } from './assets';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type NgtsEnvironmentInputState = {
|
|
6
|
+
frames?: number;
|
|
7
|
+
near?: number;
|
|
8
|
+
far?: number;
|
|
9
|
+
resolution?: number;
|
|
10
|
+
background?: boolean | 'only';
|
|
11
|
+
blur?: number;
|
|
12
|
+
map?: Texture;
|
|
13
|
+
files?: string | string[];
|
|
14
|
+
path?: string;
|
|
15
|
+
preset?: NgtsEnvironmentPresetsType;
|
|
16
|
+
scene?: Scene | ElementRef<Scene>;
|
|
17
|
+
extensions?: (loader: Loader) => void;
|
|
18
|
+
ground?: boolean | {
|
|
19
|
+
radius?: number;
|
|
20
|
+
height?: number;
|
|
21
|
+
scale?: number;
|
|
22
|
+
};
|
|
23
|
+
encoding?: TextureEncoding;
|
|
24
|
+
};
|
|
25
|
+
export declare abstract class NgtsEnvironmentInput {
|
|
26
|
+
inputs: import("angular-three").NgtSignalStore<NgtsEnvironmentInputState>;
|
|
27
|
+
set _frames(frames: NgtsEnvironmentInputState['frames']);
|
|
28
|
+
set _near(near: NgtsEnvironmentInputState['near']);
|
|
29
|
+
set _far(far: NgtsEnvironmentInputState['far']);
|
|
30
|
+
set _resolution(resolution: NgtsEnvironmentInputState['resolution']);
|
|
31
|
+
set _background(background: NgtsEnvironmentInputState['background']);
|
|
32
|
+
set _blur(blur: NgtsEnvironmentInputState['blur']);
|
|
33
|
+
set _map(map: NgtsEnvironmentInputState['map']);
|
|
34
|
+
set _files(files: NgtsEnvironmentInputState['files']);
|
|
35
|
+
set _path(path: NgtsEnvironmentInputState['path']);
|
|
36
|
+
set _preset(preset: NgtsEnvironmentInputState['preset']);
|
|
37
|
+
set _scene(scene: NgtsEnvironmentInputState['scene']);
|
|
38
|
+
set _extensions(extensions: NgtsEnvironmentInputState['extensions']);
|
|
39
|
+
set _ground(ground: NgtsEnvironmentInputState['ground']);
|
|
40
|
+
set _encoding(encoding: NgtsEnvironmentInputState['encoding']);
|
|
41
|
+
frames: import("@angular/core").Signal<number | undefined>;
|
|
42
|
+
near: import("@angular/core").Signal<number | undefined>;
|
|
43
|
+
far: import("@angular/core").Signal<number | undefined>;
|
|
44
|
+
resolution: import("@angular/core").Signal<number | undefined>;
|
|
45
|
+
background: import("@angular/core").Signal<boolean | "only" | undefined>;
|
|
46
|
+
blur: import("@angular/core").Signal<number | undefined>;
|
|
47
|
+
map: import("@angular/core").Signal<Texture | undefined>;
|
|
48
|
+
files: import("@angular/core").Signal<string | string[] | undefined>;
|
|
49
|
+
path: import("@angular/core").Signal<string | undefined>;
|
|
50
|
+
preset: import("@angular/core").Signal<"apartment" | "city" | "dawn" | "forest" | "lobby" | "night" | "park" | "studio" | "sunset" | "warehouse" | undefined>;
|
|
51
|
+
scene: import("@angular/core").Signal<Scene | ElementRef<Scene> | undefined>;
|
|
52
|
+
extensions: import("@angular/core").Signal<((loader: Loader) => void) | undefined>;
|
|
53
|
+
ground: import("@angular/core").Signal<boolean | {
|
|
54
|
+
radius?: number | undefined;
|
|
55
|
+
height?: number | undefined;
|
|
56
|
+
scale?: number | undefined;
|
|
57
|
+
} | undefined>;
|
|
58
|
+
encoding: import("@angular/core").Signal<TextureEncoding | undefined>;
|
|
59
|
+
params: import("@angular/core").Signal<{
|
|
60
|
+
files: string | string[] | undefined;
|
|
61
|
+
path: string | undefined;
|
|
62
|
+
preset: "apartment" | "city" | "dawn" | "forest" | "lobby" | "night" | "park" | "studio" | "sunset" | "warehouse" | undefined;
|
|
63
|
+
extensions: ((loader: Loader) => void) | undefined;
|
|
64
|
+
encoding: TextureEncoding | undefined;
|
|
65
|
+
}>;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironmentInput, never>;
|
|
67
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsEnvironmentInput, 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>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgtsEnvironmentInput } from './environment-input';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NgtsEnvironmentMap {
|
|
4
|
+
environmentInput: NgtsEnvironmentInput;
|
|
5
|
+
private store;
|
|
6
|
+
private inputs;
|
|
7
|
+
set _map(map: THREE.Texture);
|
|
8
|
+
set _background(background: boolean);
|
|
9
|
+
constructor();
|
|
10
|
+
private scene;
|
|
11
|
+
private background;
|
|
12
|
+
private map;
|
|
13
|
+
private setEnvProps;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironmentMap, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsEnvironmentMap, "ngts-environment-map", never, { "_map": { "alias": "map"; "required": false; }; "_background": { "alias": "background"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import { NgtsEnvironmentInput } from './environment-input';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NgtsEnvironmentPortal {
|
|
5
|
+
environmentInput: NgtsEnvironmentInput;
|
|
6
|
+
private store;
|
|
7
|
+
private gl;
|
|
8
|
+
private scene;
|
|
9
|
+
virtualSceneRef: import("angular-three").NgtInjectedRef<THREE.Scene>;
|
|
10
|
+
cubeCameraRef: import("angular-three").NgtInjectedRef<THREE.CubeCamera>;
|
|
11
|
+
private fbo;
|
|
12
|
+
cameraArgs: import("@angular/core").Signal<(number | THREE.WebGLCubeRenderTarget)[]>;
|
|
13
|
+
constructor();
|
|
14
|
+
private setEnvProps;
|
|
15
|
+
private beforeRender;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironmentPortal, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsEnvironmentPortal, "ngts-environment-portal", never, {}, {}, never, ["*"], true, never>;
|
|
18
|
+
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { NgtsEnvironmentInput } from './environment-input';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironmentContent, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsEnvironmentContent, "ng-template[ngtsEnvironmentContent]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
8
|
-
export declare class NgtsEnvironment extends NgtsEnvironmentInputs {
|
|
4
|
+
export declare class NgtsEnvironment extends NgtsEnvironmentInput {
|
|
9
5
|
content?: TemplateRef<unknown>;
|
|
10
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsEnvironment, never>;
|
|
11
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsEnvironment, "ngts-environment", never, {}, {}, ["content"], never, true, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { CubeTexture } from 'three';
|
|
3
|
+
import { type NgtsEnvironmentInputState } from './environment-input';
|
|
4
|
+
export declare function setEnvProps(background: boolean | 'only', scene: THREE.Scene | ElementRef<THREE.Scene> | undefined, defaultScene: THREE.Scene, texture: THREE.Texture, blur?: number): () => void;
|
|
5
|
+
type NgtsInjectEnvironmentParams = Partial<Pick<NgtsEnvironmentInputState, 'files' | 'path' | 'preset' | 'extensions' | 'encoding'>>;
|
|
6
|
+
export declare function injectNgtsEnvironment(paramsFactory: () => Partial<NgtsInjectEnvironmentParams>, injector?: Injector): import("angular-three").NgtInjectedRef<import("three").Texture | CubeTexture>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type NgtGroup } from 'angular-three';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type NgtsFloatState = {
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
speed: number;
|
|
7
|
+
rotationIntensity: number;
|
|
8
|
+
floatIntensity: number;
|
|
9
|
+
floatingRange: [number?, number?];
|
|
10
|
+
};
|
|
11
|
+
declare global {
|
|
12
|
+
interface HTMLElementTagNameMap {
|
|
13
|
+
/**
|
|
14
|
+
* @extends ngt-group
|
|
15
|
+
*/
|
|
16
|
+
'ngts-float': NgtsFloatState & NgtGroup;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare class NgtsFloat {
|
|
20
|
+
private inputs;
|
|
21
|
+
floatRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
22
|
+
set _enabled(enabled: boolean);
|
|
23
|
+
set _speed(speed: number);
|
|
24
|
+
set _rotationIntensity(rotationIntensity: number);
|
|
25
|
+
set _floatIntensity(floatIntensity: number);
|
|
26
|
+
set _floatingRange(floatingRange: [number?, number?]);
|
|
27
|
+
constructor();
|
|
28
|
+
private beforeRender;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsFloat, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsFloat, "ngts-float", never, { "floatRef": { "alias": "floatRef"; "required": false; }; "_enabled": { "alias": "enabled"; "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>;
|
|
31
|
+
}
|
package/staging/index.d.ts
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export
|
|
1
|
+
export * from './accumulative-shadows/accumulative-shadows';
|
|
2
|
+
export * from './accumulative-shadows/randomized-lights';
|
|
3
|
+
export * from './backdrop/backdrop';
|
|
4
|
+
export * from './bb-anchor/bb-anchor';
|
|
5
|
+
export * from './bounds/bounds';
|
|
6
|
+
export * from './camera-shake/camera-shake';
|
|
7
|
+
export * from './center/center';
|
|
8
|
+
export * from './cloud/cloud';
|
|
9
|
+
export * from './contact-shadows/contact-shadows';
|
|
10
|
+
export * from './environment/assets';
|
|
11
|
+
export * from './environment/environment';
|
|
12
|
+
export * from './float/float';
|
|
13
|
+
export * from './matcap-texture/matcap-texture';
|
|
14
|
+
export * from './normal-texture/normal-texture';
|
|
15
|
+
export * from './sky/sky';
|
|
16
|
+
export * from './sparkles/sparkles';
|
|
17
|
+
export { NgtsSpotLightShadow } from './spot-light/shadow-mesh';
|
|
18
|
+
export * from './spot-light/spot-light';
|
|
19
|
+
export * from './stage/stage';
|
|
20
|
+
export * from './stars/stars';
|
|
21
|
+
export * from './wireframe/wireframe';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Signal, type Injector } from '@angular/core';
|
|
2
|
+
export type NgtsMatcapTextureState = {
|
|
3
|
+
id: string | number;
|
|
4
|
+
format: number;
|
|
5
|
+
onLoad?: (texture: THREE.Texture | THREE.Texture[]) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare function injectNgtsMatcapTexture(matcapTextureState: () => Partial<NgtsMatcapTextureState>, { injector }?: {
|
|
8
|
+
injector?: Injector;
|
|
9
|
+
}): {
|
|
10
|
+
texture: Signal<import("three").Texture | null>;
|
|
11
|
+
numTot: () => number;
|
|
12
|
+
url: () => string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type Injector, type Signal } from '@angular/core';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
export type NgtsNormalTextureState = {
|
|
4
|
+
id: string | number;
|
|
5
|
+
repeat: number[];
|
|
6
|
+
anisotropy: number;
|
|
7
|
+
offset: number[];
|
|
8
|
+
onLoad?: (texture: THREE.Texture | THREE.Texture[]) => void;
|
|
9
|
+
};
|
|
10
|
+
export declare function injectNgtsNormalTexture(normalTextureState: () => Partial<NgtsNormalTextureState>, { injector }?: {
|
|
11
|
+
injector?: Injector;
|
|
12
|
+
}): {
|
|
13
|
+
texture: Signal<THREE.Texture | null>;
|
|
14
|
+
numTot: () => number;
|
|
15
|
+
url: () => string;
|
|
16
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type NgtMesh } from 'angular-three';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
import { Sky } from 'three-stdlib';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface NgtsSkyState {
|
|
6
|
+
distance: number;
|
|
7
|
+
sunPosition: THREE.Vector3 | Parameters<THREE.Vector3['set']>;
|
|
8
|
+
inclination: number;
|
|
9
|
+
azimuth: number;
|
|
10
|
+
mieCoefficient: number;
|
|
11
|
+
mieDirectionalG: number;
|
|
12
|
+
rayleigh: number;
|
|
13
|
+
turbidity: number;
|
|
14
|
+
}
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
/**
|
|
18
|
+
* @extends three-stdlib|Sky
|
|
19
|
+
* @extends ngt-mesh
|
|
20
|
+
*/
|
|
21
|
+
'ngts-sky': NgtsSkyState & Sky & NgtMesh;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare class NgtsSky {
|
|
25
|
+
private inputs;
|
|
26
|
+
skyRef: import("angular-three").NgtInjectedRef<Sky>;
|
|
27
|
+
set _distance(distance: number);
|
|
28
|
+
set _sunPosition(sunPosition: THREE.Vector3 | Parameters<THREE.Vector3['set']>);
|
|
29
|
+
set _inclination(inclination: number);
|
|
30
|
+
set _azimuth(azimuth: number);
|
|
31
|
+
set _mieCoefficient(mieCoefficient: number);
|
|
32
|
+
set _mieDirectionalG(mieDirectionalG: number);
|
|
33
|
+
set _rayleigh(rayleigh: number);
|
|
34
|
+
set _turbidity(turbidity: number);
|
|
35
|
+
private inclination;
|
|
36
|
+
private azimuth;
|
|
37
|
+
private sunPos;
|
|
38
|
+
private distance;
|
|
39
|
+
sunPosition: import("@angular/core").Signal<THREE.Vector3 | [x: number, y: number, z: number]>;
|
|
40
|
+
scale: import("@angular/core").Signal<THREE.Vector3>;
|
|
41
|
+
mieCoefficient: import("@angular/core").Signal<number>;
|
|
42
|
+
mieDirectionalG: import("@angular/core").Signal<number>;
|
|
43
|
+
rayleigh: import("@angular/core").Signal<number>;
|
|
44
|
+
turbidity: import("@angular/core").Signal<number>;
|
|
45
|
+
sky: Sky;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSky, never>;
|
|
47
|
+
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, ["*"], true, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { type NgtPoints } from 'angular-three';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type NgtsSparklesState = {
|
|
6
|
+
/** Number of particles (default: 100) */
|
|
7
|
+
count: number;
|
|
8
|
+
/** Speed of particles (default: 1) */
|
|
9
|
+
speed: number | Float32Array;
|
|
10
|
+
/** Opacity of particles (default: 1) */
|
|
11
|
+
opacity: number | Float32Array;
|
|
12
|
+
/** Color of particles (default: 100) */
|
|
13
|
+
color?: THREE.ColorRepresentation | Float32Array;
|
|
14
|
+
/** Size of particles (default: randomized between 0 and 1) */
|
|
15
|
+
size?: number | Float32Array;
|
|
16
|
+
/** The space the particles occupy (default: 1) */
|
|
17
|
+
scale: number | [number, number, number] | THREE.Vector3;
|
|
18
|
+
/** Movement factor (default: 1) */
|
|
19
|
+
noise: number | [number, number, number] | THREE.Vector3 | Float32Array;
|
|
20
|
+
};
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
/**
|
|
24
|
+
* @extends ngt-points
|
|
25
|
+
*/
|
|
26
|
+
'ngts-sparkles': NgtsSparklesState & NgtPoints;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare class NgtsSparkles {
|
|
30
|
+
private inputs;
|
|
31
|
+
sparklesRef: import("angular-three").NgtInjectedRef<THREE.Points<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
32
|
+
/** Number of particles (default: 100) */
|
|
33
|
+
set _count(count: number);
|
|
34
|
+
/** Speed of particles (default: 1) */
|
|
35
|
+
set _speed(speed: number | Float32Array);
|
|
36
|
+
/** Opacity of particles (default: 1) */
|
|
37
|
+
set _opacity(opacity: number | Float32Array);
|
|
38
|
+
/** Color of particles (default: 100) */
|
|
39
|
+
set _color(color: THREE.ColorRepresentation | Float32Array);
|
|
40
|
+
/** Size of particles (default: randomized between 0 and 1) */
|
|
41
|
+
set _size(size: number | Float32Array);
|
|
42
|
+
/** The space the particles occupy (default: 1) */
|
|
43
|
+
set _scale(scale: number | [number, number, number] | THREE.Vector3);
|
|
44
|
+
/** Movement factor (default: 1) */
|
|
45
|
+
set _noise(noise: number | [number, number, number] | THREE.Vector3 | Float32Array);
|
|
46
|
+
private store;
|
|
47
|
+
dpr: Signal<number>;
|
|
48
|
+
private scale;
|
|
49
|
+
private count;
|
|
50
|
+
private color;
|
|
51
|
+
positions: Signal<Float32Array>;
|
|
52
|
+
sizes: Signal<Float32Array>;
|
|
53
|
+
opacities: Signal<Float32Array>;
|
|
54
|
+
speeds: Signal<Float32Array>;
|
|
55
|
+
noises: Signal<Float32Array>;
|
|
56
|
+
colors: Signal<Float32Array>;
|
|
57
|
+
key: Signal<string>;
|
|
58
|
+
constructor();
|
|
59
|
+
private beforeRender;
|
|
60
|
+
private getComputed;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSparkles, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSparkles, "ngts-sparkles", never, { "sparklesRef": { "alias": "sparklesRef"; "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>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type NgtsSpotLightShadowMeshInputState = {
|
|
3
|
+
distance: number;
|
|
4
|
+
alphaTest: number;
|
|
5
|
+
scale: number;
|
|
6
|
+
map: THREE.Texture;
|
|
7
|
+
shader: string;
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
};
|
|
11
|
+
export declare abstract class NgtsSpotLightShadowMeshInput {
|
|
12
|
+
inputs: import("angular-three").NgtSignalStore<NgtsSpotLightShadowMeshInputState>;
|
|
13
|
+
set _distance(distance: number);
|
|
14
|
+
set _alphaTest(alphaTest: number);
|
|
15
|
+
set _scale(scale: number);
|
|
16
|
+
set _map(map: THREE.Texture);
|
|
17
|
+
set _shader(shader: string);
|
|
18
|
+
set _width(width: number);
|
|
19
|
+
set _height(height: number);
|
|
20
|
+
distance: import("@angular/core").Signal<number>;
|
|
21
|
+
alphaTest: import("@angular/core").Signal<number>;
|
|
22
|
+
scale: import("@angular/core").Signal<number>;
|
|
23
|
+
map: import("@angular/core").Signal<import("three").Texture>;
|
|
24
|
+
shader: import("@angular/core").Signal<string>;
|
|
25
|
+
width: import("@angular/core").Signal<number>;
|
|
26
|
+
height: import("@angular/core").Signal<number>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSpotLightShadowMeshInput, never>;
|
|
28
|
+
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>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type NgtInjectedRef } from 'angular-three';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
import { NgtsSpotLightShadowMeshInput, type NgtsSpotLightShadowMeshInputState } from './shadow-mesh-input';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NgtsSpotLightShadowMeshNoShader {
|
|
6
|
+
shadowMeshInput: NgtsSpotLightShadowMeshInput;
|
|
7
|
+
meshRef: NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
8
|
+
DoubleSide: 2;
|
|
9
|
+
private spotLightApi;
|
|
10
|
+
debug: import("@angular/core").Signal<boolean>;
|
|
11
|
+
constructor();
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSpotLightShadowMeshNoShader, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSpotLightShadowMeshNoShader, "ngts-spot-light-shadow-mesh-no-shader", never, {}, {}, never, ["*"], true, never>;
|
|
14
|
+
}
|
|
15
|
+
export declare class NgtsSpotLightShadowMeshShader {
|
|
16
|
+
shadowMeshInput: NgtsSpotLightShadowMeshInput;
|
|
17
|
+
meshRef: NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
18
|
+
DoubleSide: 2;
|
|
19
|
+
RepeatWrapping: 1000;
|
|
20
|
+
private spotLightApi;
|
|
21
|
+
debug: import("@angular/core").Signal<boolean>;
|
|
22
|
+
renderTarget: import("@angular/core").Signal<THREE.WebGLRenderTarget<THREE.Texture>>;
|
|
23
|
+
private uniforms;
|
|
24
|
+
private fsQuad;
|
|
25
|
+
constructor();
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSpotLightShadowMeshShader, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSpotLightShadowMeshShader, "ngts-spot-light-shadow-mesh-shader", never, {}, {}, never, ["*"], true, never>;
|
|
28
|
+
}
|
|
29
|
+
declare global {
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
'ngts-spot-light-shadow': NgtsSpotLightShadowMeshInputState;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export declare class NgtsSpotLightShadow extends NgtsSpotLightShadowMeshInput {
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSpotLightShadow, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSpotLightShadow, "ngts-spot-light-shadow", never, {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type NgtsSpotLightInputState = {
|
|
3
|
+
depthBuffer?: THREE.DepthTexture;
|
|
4
|
+
angle: number;
|
|
5
|
+
distance: number;
|
|
6
|
+
attenuation: number;
|
|
7
|
+
anglePower: number;
|
|
8
|
+
radiusTop: number;
|
|
9
|
+
radiusBottom: number;
|
|
10
|
+
opacity: number;
|
|
11
|
+
color: string | number;
|
|
12
|
+
debug: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare abstract class NgtsSpotLightInput {
|
|
15
|
+
inputs: import("angular-three").NgtSignalStore<NgtsSpotLightInputState>;
|
|
16
|
+
set _depthBuffer(depthBuffer: THREE.DepthTexture);
|
|
17
|
+
set _angle(angle: number);
|
|
18
|
+
set _distance(distance: number);
|
|
19
|
+
set _attenuation(attenuation: number);
|
|
20
|
+
set _anglePower(anglePower: number);
|
|
21
|
+
set _radiusTop(radiusTop: number);
|
|
22
|
+
set _radiusBottom(radiusBottom: number);
|
|
23
|
+
set _opacity(opacity: number);
|
|
24
|
+
set _color(color: string | number);
|
|
25
|
+
set _debug(debug: boolean);
|
|
26
|
+
debug: import("@angular/core").Signal<boolean>;
|
|
27
|
+
color: import("@angular/core").Signal<string | number>;
|
|
28
|
+
opacity: import("@angular/core").Signal<number>;
|
|
29
|
+
radiusBottom: import("@angular/core").Signal<number>;
|
|
30
|
+
radiusTop: import("@angular/core").Signal<number>;
|
|
31
|
+
anglePower: import("@angular/core").Signal<number>;
|
|
32
|
+
attenuation: import("@angular/core").Signal<number>;
|
|
33
|
+
distance: import("@angular/core").Signal<number>;
|
|
34
|
+
angle: import("@angular/core").Signal<number>;
|
|
35
|
+
depthBuffer: import("@angular/core").Signal<import("three").DepthTexture | undefined>;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSpotLightInput, never>;
|
|
37
|
+
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>;
|
|
38
|
+
}
|