angular-three-soba 2.0.0-beta.26 → 2.0.0-beta.261
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 +62 -4
- package/abstractions/README.md +278 -2
- package/abstractions/index.d.ts +11 -6
- package/abstractions/lib/catmull-rom-line.d.ts +648 -0
- package/abstractions/lib/cubic-bezier-line.d.ts +19 -0
- package/abstractions/lib/edges.d.ts +850 -0
- package/abstractions/lib/gradient-texture.d.ts +24 -0
- package/abstractions/lib/grid.d.ts +339 -0
- package/abstractions/lib/helper.d.ts +25 -0
- package/abstractions/lib/line.d.ts +41 -0
- package/abstractions/lib/prism-geometry.d.ts +30 -0
- package/abstractions/lib/quadratic-bezier-line.d.ts +21 -0
- package/abstractions/lib/text-3d.d.ts +338 -0
- package/abstractions/lib/text.d.ts +55 -0
- package/cameras/README.md +91 -2
- package/cameras/index.d.ts +4 -4
- package/cameras/lib/camera-content.d.ts +10 -0
- package/cameras/lib/cube-camera.d.ts +38 -0
- package/cameras/lib/orthographic-camera.d.ts +40 -0
- package/cameras/lib/perspective-camera.d.ts +36 -0
- package/controls/README.md +95 -2
- package/controls/index.d.ts +2 -1
- package/controls/lib/camera-controls.d.ts +31 -0
- package/controls/lib/orbit-controls.d.ts +38 -0
- package/esm2022/abstractions/index.mjs +12 -7
- package/esm2022/abstractions/lib/catmull-rom-line.mjs +76 -0
- package/esm2022/abstractions/lib/cubic-bezier-line.mjs +51 -0
- package/esm2022/abstractions/lib/edges.mjs +70 -0
- package/esm2022/abstractions/lib/gradient-texture.mjs +91 -0
- package/esm2022/abstractions/lib/grid.mjs +103 -0
- package/esm2022/abstractions/lib/helper.mjs +80 -0
- package/esm2022/abstractions/lib/line.mjs +123 -0
- package/esm2022/abstractions/lib/prism-geometry.mjs +55 -0
- package/esm2022/abstractions/lib/quadratic-bezier-line.mjs +73 -0
- package/esm2022/abstractions/lib/text-3d.mjs +98 -0
- package/esm2022/abstractions/lib/text.mjs +92 -0
- package/esm2022/cameras/index.mjs +5 -5
- package/esm2022/cameras/lib/camera-content.mjs +14 -0
- package/esm2022/cameras/lib/cube-camera.mjs +111 -0
- package/esm2022/cameras/lib/orthographic-camera.mjs +131 -0
- package/esm2022/cameras/lib/perspective-camera.mjs +104 -0
- package/esm2022/controls/index.mjs +3 -2
- package/esm2022/controls/lib/camera-controls.mjs +127 -0
- package/esm2022/controls/lib/orbit-controls.mjs +126 -0
- package/esm2022/loaders/index.mjs +6 -5
- package/esm2022/loaders/lib/font-loader.mjs +49 -0
- package/esm2022/loaders/lib/gltf-loader.mjs +33 -0
- package/esm2022/loaders/lib/loader.mjs +109 -0
- package/esm2022/loaders/lib/progress.mjs +51 -0
- package/esm2022/loaders/lib/texture-loader.mjs +32 -0
- package/esm2022/materials/index.mjs +7 -7
- package/esm2022/materials/lib/custom-shader-material.mjs +71 -0
- package/esm2022/materials/lib/mesh-distort-material.mjs +42 -0
- package/esm2022/materials/lib/mesh-reflector-material.mjs +278 -0
- package/esm2022/materials/lib/mesh-refraction-material.mjs +144 -0
- package/esm2022/materials/lib/mesh-transmission-material.mjs +188 -0
- package/esm2022/materials/lib/mesh-wobble-material.mjs +42 -0
- package/esm2022/misc/index.mjs +10 -14
- package/esm2022/misc/lib/animations.mjs +74 -0
- package/esm2022/misc/lib/bake-shadows.mjs +26 -0
- package/esm2022/misc/lib/computed-attribute.mjs +56 -0
- package/esm2022/misc/lib/constants.mjs +5 -0
- package/esm2022/misc/lib/decal.mjs +135 -0
- package/esm2022/misc/lib/deprecated.mjs +15 -0
- package/esm2022/misc/lib/depth-buffer.mjs +39 -0
- package/esm2022/misc/lib/fbo.mjs +89 -0
- package/esm2022/misc/lib/sampler.mjs +121 -0
- package/esm2022/shaders/index.mjs +3 -18
- package/esm2022/shaders/lib/grid-material.mjs +81 -0
- package/esm2022/shaders/lib/mesh-refraction-material.mjs +163 -0
- package/esm2022/staging/index.mjs +19 -22
- package/esm2022/staging/lib/accumulative-shadows.mjs +182 -0
- package/esm2022/staging/lib/backdrop.mjs +73 -0
- package/esm2022/staging/lib/bb-anchor.mjs +58 -0
- package/esm2022/staging/lib/bounds.mjs +286 -0
- package/esm2022/staging/lib/camera-shake.mjs +69 -0
- package/esm2022/staging/lib/caustics.mjs +188 -0
- package/esm2022/staging/lib/center.mjs +113 -0
- package/esm2022/staging/lib/contact-shadows.mjs +201 -0
- package/esm2022/staging/lib/environment.mjs +465 -0
- package/esm2022/staging/lib/float.mjs +60 -0
- package/esm2022/staging/lib/lightformer.mjs +107 -0
- package/esm2022/staging/lib/matcap-texture.mjs +81 -0
- package/esm2022/staging/lib/normal-texture.mjs +85 -0
- package/esm2022/staging/lib/randomized-lights.mjs +104 -0
- package/esm2022/staging/lib/render-texture.mjs +213 -0
- package/esm2022/staging/lib/sky.mjs +86 -0
- package/esm2022/staging/lib/spot-light.mjs +450 -0
- package/esm2022/staging/lib/stage.mjs +236 -0
- package/esm2022/vanilla-exports/angular-three-soba-vanilla-exports.mjs +5 -0
- package/esm2022/vanilla-exports/index.mjs +3 -0
- package/fesm2022/angular-three-soba-abstractions.mjs +739 -718
- package/fesm2022/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2022/angular-three-soba-cameras.mjs +260 -307
- package/fesm2022/angular-three-soba-cameras.mjs.map +1 -1
- package/fesm2022/angular-three-soba-controls.mjs +174 -110
- package/fesm2022/angular-three-soba-controls.mjs.map +1 -1
- package/fesm2022/angular-three-soba-loaders.mjs +151 -129
- package/fesm2022/angular-three-soba-loaders.mjs.map +1 -1
- package/fesm2022/angular-three-soba-materials.mjs +511 -764
- package/fesm2022/angular-three-soba-materials.mjs.map +1 -1
- package/fesm2022/angular-three-soba-misc.mjs +405 -2149
- package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
- package/fesm2022/angular-three-soba-shaders.mjs +33 -1373
- package/fesm2022/angular-three-soba-shaders.mjs.map +1 -1
- package/fesm2022/angular-three-soba-staging.mjs +2329 -3538
- package/fesm2022/angular-three-soba-staging.mjs.map +1 -1
- package/fesm2022/angular-three-soba-vanilla-exports.mjs +6 -0
- package/fesm2022/angular-three-soba-vanilla-exports.mjs.map +1 -0
- package/loaders/README.md +130 -2
- package/loaders/index.d.ts +5 -4
- package/loaders/lib/font-loader.d.ts +27 -0
- package/loaders/lib/gltf-loader.d.ts +21 -0
- package/loaders/lib/loader.d.ts +29 -0
- package/loaders/lib/progress.d.ts +9 -0
- package/loaders/lib/texture-loader.d.ts +13 -0
- package/materials/README.md +160 -2
- package/materials/index.d.ts +6 -6
- package/materials/lib/custom-shader-material.d.ts +19 -0
- package/materials/lib/mesh-distort-material.d.ts +18 -0
- package/materials/lib/mesh-reflector-material.d.ts +50 -0
- package/materials/lib/mesh-refraction-material.d.ts +42 -0
- package/materials/lib/mesh-transmission-material.d.ts +77 -0
- package/materials/lib/mesh-wobble-material.d.ts +15 -0
- package/metadata.json +1 -1
- package/misc/README.md +217 -2
- package/misc/index.d.ts +9 -13
- package/misc/lib/animations.d.ts +14 -0
- package/misc/lib/computed-attribute.d.ts +69 -0
- package/misc/lib/constants.d.ts +1 -0
- package/misc/lib/decal.d.ts +27 -0
- package/misc/lib/deprecated.d.ts +14 -0
- package/misc/lib/depth-buffer.d.ts +8 -0
- package/misc/lib/fbo.d.ts +47 -0
- package/misc/lib/sampler.d.ts +73 -0
- package/package.json +60 -38
- package/shaders/index.d.ts +2 -17
- package/shaders/lib/grid-material.d.ts +69 -0
- package/shaders/lib/mesh-refraction-material.d.ts +11 -0
- package/staging/README.md +472 -2
- package/staging/index.d.ts +18 -21
- package/staging/lib/accumulative-shadows.d.ts +75 -0
- package/staging/lib/backdrop.d.ts +22 -0
- package/staging/lib/bb-anchor.d.ts +17 -0
- package/staging/lib/bounds.d.ts +47 -0
- package/staging/lib/camera-shake.d.ts +29 -0
- package/staging/lib/caustics.d.ts +53 -0
- package/staging/lib/center.d.ts +422 -0
- package/staging/lib/contact-shadows.d.ts +45 -0
- package/staging/lib/environment.d.ts +159 -0
- package/staging/lib/float.d.ts +19 -0
- package/staging/lib/lightformer.d.ts +334 -0
- package/staging/lib/matcap-texture.d.ts +32 -0
- package/staging/lib/normal-texture.d.ts +37 -0
- package/staging/lib/randomized-lights.d.ts +54 -0
- package/staging/lib/render-texture.d.ts +64 -0
- package/staging/lib/sky.d.ts +32 -0
- package/staging/lib/spot-light.d.ts +120 -0
- package/staging/lib/stage.d.ts +376 -0
- package/vanilla-exports/README.md +3 -0
- package/vanilla-exports/index.d.ts +27 -0
- package/web-types.json +1 -1
- package/abstractions/billboard/billboard.d.ts +0 -28
- package/abstractions/detailed/detailed.d.ts +0 -26
- package/abstractions/edges/edges.d.ts +0 -34
- package/abstractions/grid/grid.d.ts +0 -50
- package/abstractions/text/text.d.ts +0 -82
- package/abstractions/text-3d/text-3d.d.ts +0 -84
- package/assets/distort.vert.glsl +0 -1
- package/cameras/camera/camera-content.d.ts +0 -13
- package/cameras/camera/camera.d.ts +0 -26
- package/cameras/cube-camera/cube-camera.d.ts +0 -69
- package/cameras/orthographic-camera/orthographic-camera.d.ts +0 -37
- package/cameras/perspective-camera/perspective-camera.d.ts +0 -18
- package/controls/orbit-controls/orbit-controls.d.ts +0 -54
- package/esm2022/abstractions/billboard/billboard.mjs +0 -74
- package/esm2022/abstractions/detailed/detailed.mjs +0 -64
- package/esm2022/abstractions/edges/edges.mjs +0 -88
- package/esm2022/abstractions/grid/grid.mjs +0 -180
- package/esm2022/abstractions/text/text.mjs +0 -274
- package/esm2022/abstractions/text-3d/text-3d.mjs +0 -172
- package/esm2022/cameras/camera/camera-content.mjs +0 -21
- package/esm2022/cameras/camera/camera.mjs +0 -77
- package/esm2022/cameras/cube-camera/cube-camera.mjs +0 -161
- package/esm2022/cameras/orthographic-camera/orthographic-camera.mjs +0 -102
- package/esm2022/cameras/perspective-camera/perspective-camera.mjs +0 -46
- package/esm2022/controls/orbit-controls/orbit-controls.mjs +0 -185
- package/esm2022/gizmos/angular-three-soba-gizmos.mjs +0 -5
- package/esm2022/gizmos/gizmo-helper/gizmo-helper.mjs +0 -197
- package/esm2022/gizmos/gizmo-helper/gizmo-viewcube/constants.mjs +0 -31
- package/esm2022/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.mjs +0 -93
- package/esm2022/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.mjs +0 -150
- package/esm2022/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube-input.mjs +0 -66
- package/esm2022/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube.mjs +0 -71
- package/esm2022/gizmos/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.mjs +0 -195
- package/esm2022/gizmos/gizmo-helper/gizmo-viewport/gizmo-viewport.mjs +0 -272
- package/esm2022/gizmos/index.mjs +0 -4
- package/esm2022/loaders/gltf-loader/gltf-loader.mjs +0 -30
- package/esm2022/loaders/loader/loader.mjs +0 -138
- package/esm2022/loaders/progress/progress.mjs +0 -52
- package/esm2022/loaders/texture-loader/texture-loader.mjs +0 -28
- package/esm2022/materials/mesh-distort-material/mesh-distort-material.mjs +0 -82
- package/esm2022/materials/mesh-reflector-material/mesh-reflector-material.mjs +0 -367
- package/esm2022/materials/mesh-refraction-material/mesh-refraction-material.mjs +0 -171
- package/esm2022/materials/mesh-transmission-material/mesh-transmission-material.mjs +0 -278
- package/esm2022/materials/mesh-wobble-material/mesh-wobble-material.mjs +0 -68
- package/esm2022/materials/point-material/point-material.mjs +0 -50
- package/esm2022/misc/animations/animations.mjs +0 -59
- package/esm2022/misc/bake-shadows/bake-shadows.mjs +0 -24
- package/esm2022/misc/caustics/caustics.mjs +0 -387
- package/esm2022/misc/decal/decal.mjs +0 -187
- package/esm2022/misc/depth-buffer/depth-buffer.mjs +0 -44
- package/esm2022/misc/example/example.mjs +0 -160
- package/esm2022/misc/fbo/fbo.mjs +0 -47
- package/esm2022/misc/html/html-wrapper.mjs +0 -478
- package/esm2022/misc/html/html.mjs +0 -304
- package/esm2022/misc/sampler/sampler.mjs +0 -142
- package/esm2022/misc/shadow/shadow.mjs +0 -111
- package/esm2022/misc/stats-gl/stats-gl.mjs +0 -61
- package/esm2022/misc/trail/trail.mjs +0 -209
- package/esm2022/misc/trail-texture/inject-trail-texture.mjs +0 -17
- package/esm2022/misc/trail-texture/trail-texture.mjs +0 -106
- package/esm2022/modifiers/angular-three-soba-modifiers.mjs +0 -5
- package/esm2022/modifiers/curve-modifier/curve-modifier.mjs +0 -64
- package/esm2022/modifiers/index.mjs +0 -2
- package/esm2022/performances/adaptive-dpr/adaptive-dpr.mjs +0 -44
- package/esm2022/performances/adaptive-events/adaptive-events.mjs +0 -27
- package/esm2022/performances/angular-three-soba-performances.mjs +0 -5
- package/esm2022/performances/index.mjs +0 -8
- package/esm2022/performances/instances/instances.mjs +0 -220
- package/esm2022/performances/instances/position-mesh.mjs +0 -52
- package/esm2022/performances/points/points-input.mjs +0 -64
- package/esm2022/performances/points/points.mjs +0 -326
- package/esm2022/performances/points/position-point.mjs +0 -54
- package/esm2022/performances/segments/segment-object.mjs +0 -9
- package/esm2022/performances/segments/segments.mjs +0 -182
- package/esm2022/shaders/blur-pass/blur-pass.mjs +0 -61
- package/esm2022/shaders/caustics/caustics-material.mjs +0 -130
- package/esm2022/shaders/caustics/caustics-projection-material.mjs +0 -31
- package/esm2022/shaders/convolution-material/convolution-material.mjs +0 -94
- package/esm2022/shaders/discard-material/discard-material.mjs +0 -3
- package/esm2022/shaders/grid-material/grid-material.mjs +0 -77
- package/esm2022/shaders/mesh-distort-material/mesh-distort-material.mjs +0 -56
- package/esm2022/shaders/mesh-reflector-material/mesh-reflector-material.mjs +0 -223
- package/esm2022/shaders/mesh-refraction-material/mesh-refraction-material.mjs +0 -170
- package/esm2022/shaders/mesh-transmission-material/mesh-transmission-material.mjs +0 -268
- package/esm2022/shaders/mesh-wobble-material/mesh-wobble-material.mjs +0 -37
- package/esm2022/shaders/shader-material/shader-material.mjs +0 -34
- package/esm2022/shaders/soft-shadow-material/soft-shadow-material.mjs +0 -25
- package/esm2022/shaders/sparkles-material/sparkles-material.mjs +0 -33
- package/esm2022/shaders/spot-light-material/spot-light-material.mjs +0 -86
- package/esm2022/shaders/star-field-material/star-field-material.mjs +0 -33
- package/esm2022/shaders/wireframe-material/wireframe-material.mjs +0 -247
- package/esm2022/staging/accumulative-shadows/accumulative-shadows.mjs +0 -267
- package/esm2022/staging/accumulative-shadows/progressive-light-map.mjs +0 -108
- package/esm2022/staging/accumulative-shadows/randomized-lights.mjs +0 -206
- package/esm2022/staging/backdrop/backdrop.mjs +0 -77
- package/esm2022/staging/bb-anchor/bb-anchor.mjs +0 -69
- package/esm2022/staging/bounds/bounds.mjs +0 -308
- package/esm2022/staging/camera-shake/camera-shake.mjs +0 -123
- package/esm2022/staging/center/center.mjs +0 -165
- package/esm2022/staging/cloud/cloud.mjs +0 -158
- package/esm2022/staging/contact-shadows/contact-shadows.mjs +0 -246
- package/esm2022/staging/environment/assets.mjs +0 -13
- package/esm2022/staging/environment/environment-cube.mjs +0 -47
- package/esm2022/staging/environment/environment-ground.mjs +0 -41
- package/esm2022/staging/environment/environment-input.mjs +0 -119
- package/esm2022/staging/environment/environment-map.mjs +0 -53
- package/esm2022/staging/environment/environment-portal.mjs +0 -113
- package/esm2022/staging/environment/environment.mjs +0 -61
- package/esm2022/staging/environment/utils.mjs +0 -106
- package/esm2022/staging/float/float.mjs +0 -94
- package/esm2022/staging/matcap-texture/matcap-texture.mjs +0 -64
- package/esm2022/staging/normal-texture/normal-texture.mjs +0 -53
- package/esm2022/staging/sky/sky.mjs +0 -119
- package/esm2022/staging/sparkles/sparkles.mjs +0 -164
- package/esm2022/staging/spot-light/shadow-mesh-input.mjs +0 -63
- package/esm2022/staging/spot-light/shadow-mesh.mjs +0 -266
- package/esm2022/staging/spot-light/spot-light-input.mjs +0 -84
- package/esm2022/staging/spot-light/spot-light.mjs +0 -81
- package/esm2022/staging/spot-light/volumetric-mesh.mjs +0 -98
- package/esm2022/staging/stage/stage.mjs +0 -389
- package/esm2022/staging/stars/stars.mjs +0 -147
- package/esm2022/staging/wireframe/wireframe-input.mjs +0 -191
- package/esm2022/staging/wireframe/wireframe.mjs +0 -228
- package/esm2022/utils/angular-three-soba-utils.mjs +0 -5
- package/esm2022/utils/content/content.mjs +0 -15
- package/esm2022/utils/index.mjs +0 -2
- package/fesm2022/angular-three-soba-gizmos.mjs +0 -1043
- package/fesm2022/angular-three-soba-gizmos.mjs.map +0 -1
- package/fesm2022/angular-three-soba-modifiers.mjs +0 -71
- package/fesm2022/angular-three-soba-modifiers.mjs.map +0 -1
- package/fesm2022/angular-three-soba-performances.mjs +0 -956
- package/fesm2022/angular-three-soba-performances.mjs.map +0 -1
- package/fesm2022/angular-three-soba-utils.mjs +0 -22
- package/fesm2022/angular-three-soba-utils.mjs.map +0 -1
- package/gizmos/README.md +0 -3
- package/gizmos/gizmo-helper/gizmo-helper.d.ts +0 -69
- package/gizmos/gizmo-helper/gizmo-viewcube/constants.d.ts +0 -12
- package/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.d.ts +0 -22
- package/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.d.ts +0 -29
- package/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube-input.d.ts +0 -33
- package/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube.d.ts +0 -10
- package/gizmos/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.d.ts +0 -40
- package/gizmos/gizmo-helper/gizmo-viewport/gizmo-viewport.d.ts +0 -30
- package/gizmos/index.d.ts +0 -3
- package/loaders/gltf-loader/gltf-loader.d.ts +0 -10
- package/loaders/loader/loader.d.ts +0 -33
- package/loaders/progress/progress.d.ts +0 -9
- package/loaders/texture-loader/texture-loader.d.ts +0 -7
- package/materials/mesh-distort-material/mesh-distort-material.d.ts +0 -40
- package/materials/mesh-reflector-material/mesh-reflector-material.d.ts +0 -99
- package/materials/mesh-refraction-material/mesh-refraction-material.d.ts +0 -62
- package/materials/mesh-transmission-material/mesh-transmission-material.d.ts +0 -107
- package/materials/mesh-wobble-material/mesh-wobble-material.d.ts +0 -29
- package/materials/point-material/point-material.d.ts +0 -24
- package/misc/animations/animations.d.ts +0 -15
- package/misc/caustics/caustics.d.ts +0 -87
- package/misc/decal/decal.d.ts +0 -49
- package/misc/depth-buffer/depth-buffer.d.ts +0 -9
- package/misc/example/example.d.ts +0 -81
- package/misc/fbo/fbo.d.ts +0 -17
- package/misc/html/html-wrapper.d.ts +0 -559
- package/misc/html/html.d.ts +0 -214
- package/misc/sampler/sampler.d.ts +0 -67
- package/misc/shadow/shadow.d.ts +0 -37
- package/misc/stats-gl/stats-gl.d.ts +0 -24
- package/misc/trail/trail.d.ts +0 -57
- package/misc/trail-texture/inject-trail-texture.d.ts +0 -9
- package/misc/trail-texture/trail-texture.d.ts +0 -50
- package/modifiers/README.md +0 -3
- package/modifiers/curve-modifier/curve-modifier.d.ts +0 -23
- package/modifiers/index.d.ts +0 -1
- package/performances/README.md +0 -3
- package/performances/adaptive-dpr/adaptive-dpr.d.ts +0 -14
- package/performances/adaptive-events/adaptive-events.d.ts +0 -9
- package/performances/index.d.ts +0 -7
- package/performances/instances/instances.d.ts +0 -79
- package/performances/instances/position-mesh.d.ts +0 -10
- package/performances/points/points-input.d.ts +0 -32
- package/performances/points/points.d.ts +0 -92
- package/performances/points/position-point.d.ts +0 -11
- package/performances/segments/segment-object.d.ts +0 -7
- package/performances/segments/segments.d.ts +0 -124
- package/shaders/blur-pass/blur-pass.d.ts +0 -23
- package/shaders/caustics/caustics-material.d.ts +0 -4
- package/shaders/caustics/caustics-projection-material.d.ts +0 -4
- package/shaders/convolution-material/convolution-material.d.ts +0 -7
- package/shaders/discard-material/discard-material.d.ts +0 -3
- package/shaders/grid-material/grid-material.d.ts +0 -37
- package/shaders/mesh-distort-material/mesh-distort-material.d.ts +0 -295
- package/shaders/mesh-reflector-material/mesh-reflector-material.d.ts +0 -50
- package/shaders/mesh-refraction-material/mesh-refraction-material.d.ts +0 -4
- package/shaders/mesh-transmission-material/mesh-transmission-material.d.ts +0 -25
- package/shaders/mesh-wobble-material/mesh-wobble-material.d.ts +0 -16
- package/shaders/shader-material/shader-material.d.ts +0 -6
- package/shaders/soft-shadow-material/soft-shadow-material.d.ts +0 -19
- package/shaders/sparkles-material/sparkles-material.d.ts +0 -17
- package/shaders/spot-light-material/spot-light-material.d.ts +0 -13
- package/shaders/star-field-material/star-field-material.d.ts +0 -13
- package/shaders/wireframe-material/wireframe-material.d.ts +0 -58
- package/staging/accumulative-shadows/accumulative-shadows.d.ts +0 -146
- package/staging/accumulative-shadows/progressive-light-map.d.ts +0 -34
- package/staging/accumulative-shadows/randomized-lights.d.ts +0 -90
- package/staging/backdrop/backdrop.d.ts +0 -30
- package/staging/bb-anchor/bb-anchor.d.ts +0 -27
- package/staging/bounds/bounds.d.ts +0 -134
- package/staging/camera-shake/camera-shake.d.ts +0 -43
- package/staging/center/center.d.ts +0 -70
- package/staging/cloud/cloud.d.ts +0 -51
- package/staging/contact-shadows/contact-shadows.d.ts +0 -70
- package/staging/environment/assets.d.ts +0 -13
- package/staging/environment/environment-cube.d.ts +0 -15
- package/staging/environment/environment-ground.d.ts +0 -13
- package/staging/environment/environment-input.d.ts +0 -68
- package/staging/environment/environment-map.d.ts +0 -16
- package/staging/environment/environment-portal.d.ts +0 -18
- package/staging/environment/environment.d.ts +0 -8
- package/staging/environment/utils.d.ts +0 -7
- package/staging/float/float.d.ts +0 -31
- package/staging/matcap-texture/matcap-texture.d.ts +0 -13
- package/staging/normal-texture/normal-texture.d.ts +0 -16
- package/staging/sky/sky.d.ts +0 -48
- package/staging/sparkles/sparkles.d.ts +0 -63
- package/staging/spot-light/shadow-mesh-input.d.ts +0 -29
- package/staging/spot-light/shadow-mesh.d.ts +0 -37
- package/staging/spot-light/spot-light-input.d.ts +0 -38
- package/staging/spot-light/spot-light.d.ts +0 -39
- package/staging/spot-light/volumetric-mesh.d.ts +0 -24
- package/staging/stage/stage.d.ts +0 -130
- package/staging/stars/stars.d.ts +0 -45
- package/staging/wireframe/wireframe-input.d.ts +0 -65
- package/staging/wireframe/wireframe.d.ts +0 -28
- package/utils/README.md +0 -3
- package/utils/content/content.d.ts +0 -8
- package/utils/index.d.ts +0 -1
- /package/misc/{bake-shadows → lib}/bake-shadows.d.ts +0 -0
package/misc/html/html.d.ts
DELETED
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { type NgtGroup, type NgtRef, type NgtVector3 } from 'angular-three';
|
|
3
|
-
import * as THREE from 'three';
|
|
4
|
-
import { defaultCalculatePosition } from './html-wrapper';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
type PointerEventsProperties = 'auto' | 'none' | 'visiblePainted' | 'visibleFill' | 'visibleStroke' | 'visible' | 'painted' | 'fill' | 'stroke' | 'all' | 'inherit';
|
|
7
|
-
export type NgtsHtmlState = {
|
|
8
|
-
as: keyof HTMLElementTagNameMap;
|
|
9
|
-
prepend: boolean;
|
|
10
|
-
transform: boolean;
|
|
11
|
-
zIndexRange: Array<number>;
|
|
12
|
-
calculatePosition: typeof defaultCalculatePosition;
|
|
13
|
-
fullscreen: boolean;
|
|
14
|
-
center: boolean;
|
|
15
|
-
sprite: boolean;
|
|
16
|
-
pointerEvents: PointerEventsProperties;
|
|
17
|
-
eps: number;
|
|
18
|
-
scale: NgtVector3;
|
|
19
|
-
content?: TemplateRef<unknown>;
|
|
20
|
-
distanceFactor?: number;
|
|
21
|
-
style?: CSSStyleDeclaration;
|
|
22
|
-
renderedDivClass?: string;
|
|
23
|
-
wrapperClass?: string;
|
|
24
|
-
portal?: NgtRef<HTMLElement>;
|
|
25
|
-
occlude: NgtRef<THREE.Object3D>[] | boolean | 'raycast' | 'blending';
|
|
26
|
-
material?: NgtRef<THREE.Material>;
|
|
27
|
-
geometry?: NgtRef<THREE.BufferGeometry>;
|
|
28
|
-
castShadow: boolean;
|
|
29
|
-
receiveShadow: boolean;
|
|
30
|
-
};
|
|
31
|
-
export declare const injectNgtsHtmlInputs: {
|
|
32
|
-
(): {
|
|
33
|
-
zIndexRange: import("@angular/core").Signal<number[]>;
|
|
34
|
-
prepend: import("@angular/core").Signal<boolean>;
|
|
35
|
-
transform: import("@angular/core").Signal<boolean>;
|
|
36
|
-
center: import("@angular/core").Signal<boolean>;
|
|
37
|
-
fullscreen: import("@angular/core").Signal<boolean>;
|
|
38
|
-
calculatePosition: import("@angular/core").Signal<typeof defaultCalculatePosition>;
|
|
39
|
-
wrapperClass: import("@angular/core").Signal<string | undefined>;
|
|
40
|
-
renderedDivClass: import("@angular/core").Signal<string | undefined>;
|
|
41
|
-
style: import("@angular/core").Signal<CSSStyleDeclaration | undefined>;
|
|
42
|
-
pointerEvents: import("@angular/core").Signal<PointerEventsProperties>;
|
|
43
|
-
eps: import("@angular/core").Signal<number>;
|
|
44
|
-
distanceFactor: import("@angular/core").Signal<number | undefined>;
|
|
45
|
-
sprite: import("@angular/core").Signal<boolean>;
|
|
46
|
-
as: import("@angular/core").Signal<keyof HTMLElementTagNameMap>;
|
|
47
|
-
portal: import("@angular/core").Signal<NgtRef<HTMLElement> | undefined>;
|
|
48
|
-
content: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
49
|
-
occlude: import("@angular/core").Signal<boolean | "raycast" | NgtRef<THREE.Object3D<THREE.Event>>[] | "blending">;
|
|
50
|
-
isRayCastOcclusion: import("@angular/core").Signal<boolean>;
|
|
51
|
-
occlusionMeshRef: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
52
|
-
occluded: EventEmitter<boolean>;
|
|
53
|
-
geometry: import("@angular/core").Signal<NgtRef<THREE.BufferGeometry<THREE.NormalBufferAttributes>> | undefined>;
|
|
54
|
-
scale: import("@angular/core").Signal<NgtVector3>;
|
|
55
|
-
groupRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
56
|
-
state: import("@angular/core").Signal<NgtsHtmlState>;
|
|
57
|
-
};
|
|
58
|
-
(injectOptions: import("@angular/core").InjectOptions & {
|
|
59
|
-
optional?: false | undefined;
|
|
60
|
-
}): {
|
|
61
|
-
zIndexRange: import("@angular/core").Signal<number[]>;
|
|
62
|
-
prepend: import("@angular/core").Signal<boolean>;
|
|
63
|
-
transform: import("@angular/core").Signal<boolean>;
|
|
64
|
-
center: import("@angular/core").Signal<boolean>;
|
|
65
|
-
fullscreen: import("@angular/core").Signal<boolean>;
|
|
66
|
-
calculatePosition: import("@angular/core").Signal<typeof defaultCalculatePosition>;
|
|
67
|
-
wrapperClass: import("@angular/core").Signal<string | undefined>;
|
|
68
|
-
renderedDivClass: import("@angular/core").Signal<string | undefined>;
|
|
69
|
-
style: import("@angular/core").Signal<CSSStyleDeclaration | undefined>;
|
|
70
|
-
pointerEvents: import("@angular/core").Signal<PointerEventsProperties>;
|
|
71
|
-
eps: import("@angular/core").Signal<number>;
|
|
72
|
-
distanceFactor: import("@angular/core").Signal<number | undefined>;
|
|
73
|
-
sprite: import("@angular/core").Signal<boolean>;
|
|
74
|
-
as: import("@angular/core").Signal<keyof HTMLElementTagNameMap>;
|
|
75
|
-
portal: import("@angular/core").Signal<NgtRef<HTMLElement> | undefined>;
|
|
76
|
-
content: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
77
|
-
occlude: import("@angular/core").Signal<boolean | "raycast" | NgtRef<THREE.Object3D<THREE.Event>>[] | "blending">;
|
|
78
|
-
isRayCastOcclusion: import("@angular/core").Signal<boolean>;
|
|
79
|
-
occlusionMeshRef: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
80
|
-
occluded: EventEmitter<boolean>;
|
|
81
|
-
geometry: import("@angular/core").Signal<NgtRef<THREE.BufferGeometry<THREE.NormalBufferAttributes>> | undefined>;
|
|
82
|
-
scale: import("@angular/core").Signal<NgtVector3>;
|
|
83
|
-
groupRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
84
|
-
state: import("@angular/core").Signal<NgtsHtmlState>;
|
|
85
|
-
};
|
|
86
|
-
(injectOptions: import("@angular/core").InjectOptions): {
|
|
87
|
-
zIndexRange: import("@angular/core").Signal<number[]>;
|
|
88
|
-
prepend: import("@angular/core").Signal<boolean>;
|
|
89
|
-
transform: import("@angular/core").Signal<boolean>;
|
|
90
|
-
center: import("@angular/core").Signal<boolean>;
|
|
91
|
-
fullscreen: import("@angular/core").Signal<boolean>;
|
|
92
|
-
calculatePosition: import("@angular/core").Signal<typeof defaultCalculatePosition>;
|
|
93
|
-
wrapperClass: import("@angular/core").Signal<string | undefined>;
|
|
94
|
-
renderedDivClass: import("@angular/core").Signal<string | undefined>;
|
|
95
|
-
style: import("@angular/core").Signal<CSSStyleDeclaration | undefined>;
|
|
96
|
-
pointerEvents: import("@angular/core").Signal<PointerEventsProperties>;
|
|
97
|
-
eps: import("@angular/core").Signal<number>;
|
|
98
|
-
distanceFactor: import("@angular/core").Signal<number | undefined>;
|
|
99
|
-
sprite: import("@angular/core").Signal<boolean>;
|
|
100
|
-
as: import("@angular/core").Signal<keyof HTMLElementTagNameMap>;
|
|
101
|
-
portal: import("@angular/core").Signal<NgtRef<HTMLElement> | undefined>;
|
|
102
|
-
content: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
103
|
-
occlude: import("@angular/core").Signal<boolean | "raycast" | NgtRef<THREE.Object3D<THREE.Event>>[] | "blending">;
|
|
104
|
-
isRayCastOcclusion: import("@angular/core").Signal<boolean>;
|
|
105
|
-
occlusionMeshRef: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
106
|
-
occluded: EventEmitter<boolean>;
|
|
107
|
-
geometry: import("@angular/core").Signal<NgtRef<THREE.BufferGeometry<THREE.NormalBufferAttributes>> | undefined>;
|
|
108
|
-
scale: import("@angular/core").Signal<NgtVector3>;
|
|
109
|
-
groupRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
110
|
-
state: import("@angular/core").Signal<NgtsHtmlState>;
|
|
111
|
-
} | null;
|
|
112
|
-
}, provideNgtsHtmlInputs: (value?: {
|
|
113
|
-
zIndexRange: import("@angular/core").Signal<number[]>;
|
|
114
|
-
prepend: import("@angular/core").Signal<boolean>;
|
|
115
|
-
transform: import("@angular/core").Signal<boolean>;
|
|
116
|
-
center: import("@angular/core").Signal<boolean>;
|
|
117
|
-
fullscreen: import("@angular/core").Signal<boolean>;
|
|
118
|
-
calculatePosition: import("@angular/core").Signal<typeof defaultCalculatePosition>;
|
|
119
|
-
wrapperClass: import("@angular/core").Signal<string | undefined>;
|
|
120
|
-
renderedDivClass: import("@angular/core").Signal<string | undefined>;
|
|
121
|
-
style: import("@angular/core").Signal<CSSStyleDeclaration | undefined>;
|
|
122
|
-
pointerEvents: import("@angular/core").Signal<PointerEventsProperties>;
|
|
123
|
-
eps: import("@angular/core").Signal<number>;
|
|
124
|
-
distanceFactor: import("@angular/core").Signal<number | undefined>;
|
|
125
|
-
sprite: import("@angular/core").Signal<boolean>;
|
|
126
|
-
as: import("@angular/core").Signal<keyof HTMLElementTagNameMap>;
|
|
127
|
-
portal: import("@angular/core").Signal<NgtRef<HTMLElement> | undefined>;
|
|
128
|
-
content: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
129
|
-
occlude: import("@angular/core").Signal<boolean | "raycast" | NgtRef<THREE.Object3D<THREE.Event>>[] | "blending">;
|
|
130
|
-
isRayCastOcclusion: import("@angular/core").Signal<boolean>;
|
|
131
|
-
occlusionMeshRef: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
132
|
-
occluded: EventEmitter<boolean>;
|
|
133
|
-
geometry: import("@angular/core").Signal<NgtRef<THREE.BufferGeometry<THREE.NormalBufferAttributes>> | undefined>;
|
|
134
|
-
scale: import("@angular/core").Signal<NgtVector3>;
|
|
135
|
-
groupRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
136
|
-
state: import("@angular/core").Signal<NgtsHtmlState>;
|
|
137
|
-
} | undefined) => import("@angular/core").Provider;
|
|
138
|
-
declare global {
|
|
139
|
-
interface HTMLElementTagNameMap {
|
|
140
|
-
/**
|
|
141
|
-
* @extends ngt-group
|
|
142
|
-
*/
|
|
143
|
-
'ngts-html': NgtsHtmlState & NgtGroup;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
export declare class NgtsHtml {
|
|
147
|
-
DoubleSide: 2;
|
|
148
|
-
inputs: import("angular-three").NgtSignalStore<NgtsHtmlState>;
|
|
149
|
-
set content(content: TemplateRef<unknown>);
|
|
150
|
-
groupRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
151
|
-
set _as(as: keyof HTMLElementTagNameMap);
|
|
152
|
-
set _zIndexRange(zIndexRange: Array<number>);
|
|
153
|
-
set _portal(portal: NgtRef<HTMLElement>);
|
|
154
|
-
set _occlude(occlude: NgtsHtmlState['occlude']);
|
|
155
|
-
set _castShadow(castShadow: NgtsHtmlState['castShadow']);
|
|
156
|
-
set _receiveShadow(receiveShadow: NgtsHtmlState['receiveShadow']);
|
|
157
|
-
set _material(material: NgtsHtmlState['material']);
|
|
158
|
-
set _geometry(geometry: NgtsHtmlState['geometry']);
|
|
159
|
-
set _scale(scale: NgtsHtmlState['scale']);
|
|
160
|
-
set _prepend(prepend: boolean);
|
|
161
|
-
set _transform(transform: boolean);
|
|
162
|
-
set _center(center: boolean);
|
|
163
|
-
set _sprite(sprite: boolean);
|
|
164
|
-
set _fullscreen(fullscreen: boolean);
|
|
165
|
-
set _eps(eps: number);
|
|
166
|
-
set _distanceFactor(distanceFactor: number);
|
|
167
|
-
set _wrapperClass(wrapperClass: string);
|
|
168
|
-
set _renderedDivClass(renderedDivClass: string);
|
|
169
|
-
set _style(style: CSSStyleDeclaration);
|
|
170
|
-
set _pointerEvents(pointerEvents: PointerEventsProperties);
|
|
171
|
-
set _calculatePosition(calculatePosition: NgtsHtmlState['calculatePosition']);
|
|
172
|
-
occluded: EventEmitter<boolean>;
|
|
173
|
-
occlusionMeshRef: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
174
|
-
private transform;
|
|
175
|
-
isRayCastOcclusion: import("@angular/core").Signal<boolean>;
|
|
176
|
-
occlude: import("@angular/core").Signal<boolean | "raycast" | NgtRef<THREE.Object3D<THREE.Event>>[] | "blending">;
|
|
177
|
-
castShadow: import("@angular/core").Signal<boolean>;
|
|
178
|
-
receiveShadow: import("@angular/core").Signal<boolean>;
|
|
179
|
-
geometry: import("@angular/core").Signal<NgtRef<THREE.BufferGeometry<THREE.NormalBufferAttributes>> | undefined>;
|
|
180
|
-
material: import("@angular/core").Signal<NgtRef<THREE.Material> | undefined>;
|
|
181
|
-
scale: import("@angular/core").Signal<NgtVector3>;
|
|
182
|
-
shaders: import("@angular/core").Signal<{
|
|
183
|
-
vertexShader: string | undefined;
|
|
184
|
-
fragmentShader: string;
|
|
185
|
-
}>;
|
|
186
|
-
state: {
|
|
187
|
-
zIndexRange: import("@angular/core").Signal<number[]>;
|
|
188
|
-
prepend: import("@angular/core").Signal<boolean>;
|
|
189
|
-
transform: import("@angular/core").Signal<boolean>;
|
|
190
|
-
center: import("@angular/core").Signal<boolean>;
|
|
191
|
-
fullscreen: import("@angular/core").Signal<boolean>;
|
|
192
|
-
calculatePosition: import("@angular/core").Signal<typeof defaultCalculatePosition>;
|
|
193
|
-
wrapperClass: import("@angular/core").Signal<string | undefined>;
|
|
194
|
-
renderedDivClass: import("@angular/core").Signal<string | undefined>;
|
|
195
|
-
style: import("@angular/core").Signal<CSSStyleDeclaration | undefined>;
|
|
196
|
-
pointerEvents: import("@angular/core").Signal<PointerEventsProperties>;
|
|
197
|
-
eps: import("@angular/core").Signal<number>;
|
|
198
|
-
distanceFactor: import("@angular/core").Signal<number | undefined>;
|
|
199
|
-
sprite: import("@angular/core").Signal<boolean>;
|
|
200
|
-
as: import("@angular/core").Signal<keyof HTMLElementTagNameMap>;
|
|
201
|
-
portal: import("@angular/core").Signal<NgtRef<HTMLElement> | undefined>;
|
|
202
|
-
content: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
203
|
-
occlude: import("@angular/core").Signal<boolean | "raycast" | NgtRef<THREE.Object3D<THREE.Event>>[] | "blending">;
|
|
204
|
-
isRayCastOcclusion: import("@angular/core").Signal<boolean>;
|
|
205
|
-
occlusionMeshRef: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
206
|
-
occluded: EventEmitter<boolean>;
|
|
207
|
-
geometry: import("@angular/core").Signal<NgtRef<THREE.BufferGeometry<THREE.NormalBufferAttributes>> | undefined>;
|
|
208
|
-
scale: import("@angular/core").Signal<NgtVector3>;
|
|
209
|
-
groupRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
210
|
-
};
|
|
211
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsHtml, never>;
|
|
212
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsHtml, "ngts-html", never, { "groupRef": { "alias": "groupRef"; "required": false; }; "_as": { "alias": "as"; "required": false; }; "_zIndexRange": { "alias": "zIndexRange"; "required": false; }; "_portal": { "alias": "portal"; "required": false; }; "_occlude": { "alias": "occlude"; "required": false; }; "_castShadow": { "alias": "castShadow"; "required": false; }; "_receiveShadow": { "alias": "receiveShadow"; "required": false; }; "_material": { "alias": "material"; "required": false; }; "_geometry": { "alias": "geometry"; "required": false; }; "_scale": { "alias": "scale"; "required": false; }; "_prepend": { "alias": "prepend"; "required": false; }; "_transform": { "alias": "transform"; "required": false; }; "_center": { "alias": "center"; "required": false; }; "_sprite": { "alias": "sprite"; "required": false; }; "_fullscreen": { "alias": "fullscreen"; "required": false; }; "_eps": { "alias": "eps"; "required": false; }; "_distanceFactor": { "alias": "distanceFactor"; "required": false; }; "_wrapperClass": { "alias": "wrapperClass"; "required": false; }; "_renderedDivClass": { "alias": "renderedDivClass"; "required": false; }; "_style": { "alias": "style"; "required": false; }; "_pointerEvents": { "alias": "pointerEvents"; "required": false; }; "_calculatePosition": { "alias": "calculatePosition"; "required": false; }; }, { "occluded": "occluded"; }, ["content"], never, true, never>;
|
|
213
|
-
}
|
|
214
|
-
export {};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { type NgtGroup, type NgtRef } from 'angular-three';
|
|
3
|
-
import * as THREE from 'three';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
type SamplePayload = {
|
|
6
|
-
/**
|
|
7
|
-
* The position of the sample.
|
|
8
|
-
*/
|
|
9
|
-
position: THREE.Vector3;
|
|
10
|
-
/**
|
|
11
|
-
* The normal of the mesh at the sampled position.
|
|
12
|
-
*/
|
|
13
|
-
normal: THREE.Vector3;
|
|
14
|
-
/**
|
|
15
|
-
* The vertex color of the mesh at the sampled position.
|
|
16
|
-
*/
|
|
17
|
-
color: THREE.Color;
|
|
18
|
-
};
|
|
19
|
-
type TransformPayload = SamplePayload & {
|
|
20
|
-
/**
|
|
21
|
-
* The dummy object used to transform each instance.
|
|
22
|
-
* This object's matrix will be updated after transforming & it will be used
|
|
23
|
-
* to set the instance's matrix.
|
|
24
|
-
*/
|
|
25
|
-
dummy: THREE.Object3D;
|
|
26
|
-
/**
|
|
27
|
-
* The mesh that's initially passed to the sampler.
|
|
28
|
-
* Use this if you need to apply transforms from your mesh to your instances
|
|
29
|
-
* or if you need to grab attributes from the geometry.
|
|
30
|
-
*/
|
|
31
|
-
sampledMesh: THREE.Mesh;
|
|
32
|
-
};
|
|
33
|
-
export type NgtsSurfaceSamplerTransformFn = (payload: TransformPayload, i: number) => void;
|
|
34
|
-
export type NgtsSurfaceSamplerState = {
|
|
35
|
-
count: number;
|
|
36
|
-
mesh: NgtRef<THREE.Mesh>;
|
|
37
|
-
transform?: NgtsSurfaceSamplerTransformFn;
|
|
38
|
-
weight?: string;
|
|
39
|
-
instancedMesh?: NgtRef<THREE.InstancedMesh>;
|
|
40
|
-
};
|
|
41
|
-
export declare function injectNgtsSurfaceSampler(surfaceSamplerState: () => (Partial<Omit<NgtsSurfaceSamplerState, 'mesh'>> & {
|
|
42
|
-
mesh: NgtRef<THREE.Mesh>;
|
|
43
|
-
}) | null, { injector }?: {
|
|
44
|
-
injector?: Injector;
|
|
45
|
-
}): import("@angular/core").Signal<THREE.InstancedBufferAttribute>;
|
|
46
|
-
declare global {
|
|
47
|
-
interface HTMLElementTagNameMap {
|
|
48
|
-
/**
|
|
49
|
-
* @extends ngt-group
|
|
50
|
-
*/
|
|
51
|
-
'ngts-sampler': NgtsSurfaceSamplerState & NgtGroup;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
export declare class NgtsSampler {
|
|
55
|
-
private inputs;
|
|
56
|
-
samplerRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
57
|
-
set _count(count: number);
|
|
58
|
-
set _mesh(mesh: NgtRef<THREE.Mesh>);
|
|
59
|
-
set _transform(transform: NgtsSurfaceSamplerTransformFn);
|
|
60
|
-
set _weight(weight: string);
|
|
61
|
-
set _instancedMesh(instancedMesh: NgtRef<THREE.InstancedMesh>);
|
|
62
|
-
private surfaceSamplerState;
|
|
63
|
-
constructor();
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSampler, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSampler, "ngts-sampler", never, { "samplerRef": { "alias": "samplerRef"; "required": false; }; "_count": { "alias": "count"; "required": false; }; "_mesh": { "alias": "mesh"; "required": false; }; "_transform": { "alias": "transform"; "required": false; }; "_weight": { "alias": "weight"; "required": false; }; "_instancedMesh": { "alias": "instancedMesh"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
66
|
-
}
|
|
67
|
-
export {};
|
package/misc/shadow/shadow.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { type NgtMesh } from 'angular-three';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type NgtsShadowState = {
|
|
5
|
-
colorStop: number;
|
|
6
|
-
fog: boolean;
|
|
7
|
-
color: THREE.ColorRepresentation;
|
|
8
|
-
opacity: number;
|
|
9
|
-
depthWrite: boolean;
|
|
10
|
-
};
|
|
11
|
-
declare global {
|
|
12
|
-
interface HTMLElementTagNameMap {
|
|
13
|
-
/**
|
|
14
|
-
* @extends ngt-mesh
|
|
15
|
-
*/
|
|
16
|
-
'ngts-shadow': NgtsShadowState & NgtMesh;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export declare class NgtsShadow {
|
|
20
|
-
Math: Math;
|
|
21
|
-
DoubleSide: 2;
|
|
22
|
-
private inputs;
|
|
23
|
-
shadowRef: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
24
|
-
set _colorStop(colorStop: number);
|
|
25
|
-
set _fog(fog: boolean);
|
|
26
|
-
set _color(color: THREE.ColorRepresentation);
|
|
27
|
-
set _opacity(opacity: number);
|
|
28
|
-
set _depthWrite(depthWrite: boolean);
|
|
29
|
-
private colorStop;
|
|
30
|
-
private color;
|
|
31
|
-
opacity: import("@angular/core").Signal<number>;
|
|
32
|
-
fog: import("@angular/core").Signal<boolean>;
|
|
33
|
-
depthWrite: import("@angular/core").Signal<boolean>;
|
|
34
|
-
canvas: import("@angular/core").Signal<HTMLCanvasElement>;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsShadow, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsShadow, "ngts-shadow", never, { "shadowRef": { "alias": "shadowRef"; "required": false; }; "_colorStop": { "alias": "colorStop"; "required": false; }; "_fog": { "alias": "fog"; "required": false; }; "_color": { "alias": "color"; "required": false; }; "_opacity": { "alias": "opacity"; "required": false; }; "_depthWrite": { "alias": "depthWrite"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
37
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type NgtRef } from 'angular-three';
|
|
2
|
-
import Stats from 'stats-gl';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type NgtsStatsGLState = {
|
|
5
|
-
parent?: NgtRef<HTMLElement>;
|
|
6
|
-
containerClass?: string;
|
|
7
|
-
config?: ConstructorParameters<typeof Stats>[0];
|
|
8
|
-
};
|
|
9
|
-
export declare class NgtsStatsGL {
|
|
10
|
-
private inputs;
|
|
11
|
-
set _parent(parent: NgtRef<HTMLElement>);
|
|
12
|
-
set _containerClass(containerClass: string);
|
|
13
|
-
set _config(config: NgtsStatsGLState['config']);
|
|
14
|
-
private document;
|
|
15
|
-
private store;
|
|
16
|
-
private gl;
|
|
17
|
-
private config;
|
|
18
|
-
private parent;
|
|
19
|
-
private containerClass;
|
|
20
|
-
private stats;
|
|
21
|
-
constructor();
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsStatsGL, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsStatsGL, "ngts-stats-gl", never, { "_parent": { "alias": "parent"; "required": false; }; "_containerClass": { "alias": "containerClass"; "required": false; }; "_config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
-
}
|
package/misc/trail/trail.d.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { type Injector } from '@angular/core';
|
|
2
|
-
import { type NgtRef } from 'angular-three';
|
|
3
|
-
import { MeshLineGeometry, MeshLineMaterial } from 'meshline';
|
|
4
|
-
import * as THREE from 'three';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export type NgtsTrailSettings = {
|
|
7
|
-
width: number;
|
|
8
|
-
length: number;
|
|
9
|
-
decay: number;
|
|
10
|
-
/**
|
|
11
|
-
* Wether to use the target's world or local positions
|
|
12
|
-
*/
|
|
13
|
-
local: boolean;
|
|
14
|
-
stride: number;
|
|
15
|
-
interval: number;
|
|
16
|
-
};
|
|
17
|
-
export declare function injectNgtsTrail(targetFactory: () => NgtRef<THREE.Object3D> | null, settingsFactory: () => Partial<NgtsTrailSettings>, { injector }?: {
|
|
18
|
-
injector?: Injector;
|
|
19
|
-
}): import("angular-three").NgtInjectedRef<Float32Array>;
|
|
20
|
-
export type NgtsTrailState = {
|
|
21
|
-
color: THREE.ColorRepresentation;
|
|
22
|
-
attenuation: (width: number) => number;
|
|
23
|
-
settings: NgtsTrailSettings;
|
|
24
|
-
target?: NgtRef<THREE.Object3D>;
|
|
25
|
-
};
|
|
26
|
-
declare global {
|
|
27
|
-
interface HTMLElementTagNameMap {
|
|
28
|
-
'ngts-trail': NgtsTrailState;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
export declare class NgtsTrail {
|
|
32
|
-
private inputs;
|
|
33
|
-
trailRef: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
34
|
-
set _color(color: THREE.ColorRepresentation);
|
|
35
|
-
set _attenuation(attenuation: (width: number) => number);
|
|
36
|
-
set _target(target: NgtRef<THREE.Object3D>);
|
|
37
|
-
set _settings(settings: Partial<NgtsTrailSettings>);
|
|
38
|
-
groupRef: import("angular-three").NgtInjectedRef<THREE.Group>;
|
|
39
|
-
private children;
|
|
40
|
-
private store;
|
|
41
|
-
private size;
|
|
42
|
-
private target;
|
|
43
|
-
private settings;
|
|
44
|
-
private width;
|
|
45
|
-
private color;
|
|
46
|
-
private attenuation;
|
|
47
|
-
private anchor;
|
|
48
|
-
private points;
|
|
49
|
-
scene: import("@angular/core").Signal<THREE.Scene>;
|
|
50
|
-
geometry: MeshLineGeometry;
|
|
51
|
-
material: import("@angular/core").Signal<MeshLineMaterial>;
|
|
52
|
-
constructor();
|
|
53
|
-
private setMaterialSize;
|
|
54
|
-
private beforeRender;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsTrail, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsTrail, "ngts-trail", never, { "trailRef": { "alias": "trailRef"; "required": false; }; "_color": { "alias": "color"; "required": false; }; "_attenuation": { "alias": "attenuation"; "required": false; }; "_target": { "alias": "target"; "required": false; }; "_settings": { "alias": "settings"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
57
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { type NgtThreeEvent } from 'angular-three';
|
|
3
|
-
import { type TrailConfig } from './trail-texture';
|
|
4
|
-
export declare function injectNgtsTrailTexture(trailConfigFn: () => Partial<TrailConfig>, { injector }?: {
|
|
5
|
-
injector?: Injector;
|
|
6
|
-
}): {
|
|
7
|
-
texture: import("@angular/core").Signal<import("three").Texture>;
|
|
8
|
-
onMove: (ev: NgtThreeEvent<PointerEvent>) => void;
|
|
9
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Texture } from 'three';
|
|
2
|
-
export type Point = {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
age: number;
|
|
6
|
-
force: number;
|
|
7
|
-
};
|
|
8
|
-
export type TrailConfig = {
|
|
9
|
-
/** texture size (default: 256x256) */
|
|
10
|
-
size?: number;
|
|
11
|
-
/** Max age (ms) of trail points (default: 750) */
|
|
12
|
-
maxAge?: number;
|
|
13
|
-
/** Trail radius (default: 0.3) */
|
|
14
|
-
radius?: number;
|
|
15
|
-
/** Canvas trail opacity (default: 0.2) */
|
|
16
|
-
intensity?: number;
|
|
17
|
-
/** Add points in between slow pointer events (default: 0) */
|
|
18
|
-
interpolate?: number;
|
|
19
|
-
/** Moving average of pointer force (default: 0) */
|
|
20
|
-
smoothing?: number;
|
|
21
|
-
/** Minimum pointer force (default: 0.3) */
|
|
22
|
-
minForce?: number;
|
|
23
|
-
/** Blend mode (default: 'screen') */
|
|
24
|
-
blend?: CanvasRenderingContext2D['globalCompositeOperation'];
|
|
25
|
-
/** Easing (default: easeCircOut) */
|
|
26
|
-
ease?: (t: number) => number;
|
|
27
|
-
};
|
|
28
|
-
export declare class TrailTexture {
|
|
29
|
-
trail: Point[];
|
|
30
|
-
canvas: HTMLCanvasElement;
|
|
31
|
-
ctx: CanvasRenderingContext2D;
|
|
32
|
-
texture: Texture;
|
|
33
|
-
force: number;
|
|
34
|
-
size: number;
|
|
35
|
-
maxAge: number;
|
|
36
|
-
radius: number;
|
|
37
|
-
intensity: number;
|
|
38
|
-
ease: (t: number) => number;
|
|
39
|
-
minForce: number;
|
|
40
|
-
interpolate: number;
|
|
41
|
-
smoothing: number;
|
|
42
|
-
blend: CanvasRenderingContext2D['globalCompositeOperation'];
|
|
43
|
-
constructor({ size, maxAge, radius, intensity, interpolate, smoothing, minForce, blend, // source-over is canvas default. Others are slower
|
|
44
|
-
ease, }?: TrailConfig);
|
|
45
|
-
initTexture(): void;
|
|
46
|
-
update(delta: number): void;
|
|
47
|
-
clear(): void;
|
|
48
|
-
addTouch(point: Pick<Point, 'x' | 'y'>): void;
|
|
49
|
-
drawTouch(point: Point): void;
|
|
50
|
-
}
|
package/modifiers/README.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type NgtsCurveModifierState = {
|
|
4
|
-
curve?: THREE.Curve<THREE.Vector3>;
|
|
5
|
-
};
|
|
6
|
-
declare global {
|
|
7
|
-
interface HTMLElementTagNameMap {
|
|
8
|
-
'ngts-curve-modifier': NgtsCurveModifierState;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare class NgtsCurveModifier {
|
|
12
|
-
private inputs;
|
|
13
|
-
set _curve(curve: THREE.Curve<THREE.Vector3>);
|
|
14
|
-
private curve;
|
|
15
|
-
sceneRef: import("angular-three").NgtInjectedRef<import("angular-three").NgtInstanceNode<THREE.Scene>>;
|
|
16
|
-
private sceneRefChildren;
|
|
17
|
-
private modifier?;
|
|
18
|
-
modifierObject: import("@angular/core").WritableSignal<THREE.Object3D<THREE.Event> | null>;
|
|
19
|
-
constructor();
|
|
20
|
-
moveAlongCurve(value: number): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCurveModifier, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsCurveModifier, "ngts-curve-modifier", never, { "_curve": { "alias": "curve"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
23
|
-
}
|
package/modifiers/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './curve-modifier/curve-modifier';
|
package/performances/README.md
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class NgtsAdaptiveDpr {
|
|
3
|
-
private pixelated;
|
|
4
|
-
set _pixelated(pixelated: boolean);
|
|
5
|
-
private store;
|
|
6
|
-
private current;
|
|
7
|
-
private active;
|
|
8
|
-
private setDpr;
|
|
9
|
-
private initialDpr;
|
|
10
|
-
private domElement;
|
|
11
|
-
constructor();
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsAdaptiveDpr, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsAdaptiveDpr, "ngts-adaptive-dpr", never, { "_pixelated": { "alias": "pixelated"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class NgtsAdaptiveEvents {
|
|
3
|
-
private store;
|
|
4
|
-
private setEvents;
|
|
5
|
-
private current;
|
|
6
|
-
constructor();
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsAdaptiveEvents, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtsAdaptiveEvents, "ngts-adaptive-events", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
package/performances/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './adaptive-dpr/adaptive-dpr';
|
|
2
|
-
export * from './adaptive-events/adaptive-events';
|
|
3
|
-
export * from './instances/instances';
|
|
4
|
-
export * from './instances/position-mesh';
|
|
5
|
-
export * from './points/points';
|
|
6
|
-
export * from './segments/segment-object';
|
|
7
|
-
export * from './segments/segments';
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { type NgtGroup, type NgtInstancedMesh, type NgtRef } from 'angular-three';
|
|
3
|
-
import * as THREE from 'three';
|
|
4
|
-
import { PositionMesh } from './position-mesh';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export type NgtsInstancesState = {
|
|
7
|
-
range?: number;
|
|
8
|
-
limit: number;
|
|
9
|
-
frames: number;
|
|
10
|
-
};
|
|
11
|
-
declare global {
|
|
12
|
-
interface HTMLElementTagNameMap {
|
|
13
|
-
/**
|
|
14
|
-
* @extends ngt-group
|
|
15
|
-
*/
|
|
16
|
-
'ngt-position-mesh': PositionMesh & NgtGroup;
|
|
17
|
-
/**
|
|
18
|
-
* @extends ngt-instanced-mesh
|
|
19
|
-
*/
|
|
20
|
-
'ngts-instances': NgtsInstancesState & NgtInstancedMesh;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export declare const injectNgtsInstancesApi: {
|
|
24
|
-
(): {
|
|
25
|
-
getParent: () => import("angular-three").NgtInjectedRef<THREE.InstancedMesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
26
|
-
subscribe: (meshRef: NgtRef<PositionMesh>) => () => void;
|
|
27
|
-
};
|
|
28
|
-
(injectOptions: import("@angular/core").InjectOptions & {
|
|
29
|
-
optional?: false | undefined;
|
|
30
|
-
}): {
|
|
31
|
-
getParent: () => import("angular-three").NgtInjectedRef<THREE.InstancedMesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
32
|
-
subscribe: (meshRef: NgtRef<PositionMesh>) => () => void;
|
|
33
|
-
};
|
|
34
|
-
(injectOptions: import("@angular/core").InjectOptions): {
|
|
35
|
-
getParent: () => import("angular-three").NgtInjectedRef<THREE.InstancedMesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
36
|
-
subscribe: (meshRef: NgtRef<PositionMesh>) => () => void;
|
|
37
|
-
} | null;
|
|
38
|
-
}, provideNgtsInstancesApi: (value?: {
|
|
39
|
-
getParent: () => import("angular-three").NgtInjectedRef<THREE.InstancedMesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
40
|
-
subscribe: (meshRef: NgtRef<PositionMesh>) => () => void;
|
|
41
|
-
} | undefined) => import("@angular/core").Provider;
|
|
42
|
-
export declare class NgtsInstance {
|
|
43
|
-
instanceRef: import("angular-three").NgtInjectedRef<PositionMesh>;
|
|
44
|
-
private zone;
|
|
45
|
-
private injector;
|
|
46
|
-
instancesApi: {
|
|
47
|
-
getParent: () => import("angular-three").NgtInjectedRef<THREE.InstancedMesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
48
|
-
subscribe: (meshRef: NgtRef<PositionMesh>) => () => void;
|
|
49
|
-
};
|
|
50
|
-
ngOnInit(): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsInstance, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsInstance, "ngts-instance", never, { "instanceRef": { "alias": "instanceRef"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
53
|
-
}
|
|
54
|
-
export declare class NgtsInstances {
|
|
55
|
-
DynamicDrawUsage: 35048;
|
|
56
|
-
nullRaycast: () => null;
|
|
57
|
-
private inputs;
|
|
58
|
-
instancesRef: import("angular-three").NgtInjectedRef<THREE.InstancedMesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
59
|
-
set _range(range: number);
|
|
60
|
-
set _limit(limit: number);
|
|
61
|
-
set _frames(frames: number);
|
|
62
|
-
content: TemplateRef<unknown>;
|
|
63
|
-
private limit;
|
|
64
|
-
private positionMeshes;
|
|
65
|
-
meshes: import("@angular/core").Signal<NgtRef<PositionMesh>[]>;
|
|
66
|
-
buffers: import("@angular/core").Signal<{
|
|
67
|
-
matrices: Float32Array;
|
|
68
|
-
colors: Float32Array;
|
|
69
|
-
}>;
|
|
70
|
-
api: {
|
|
71
|
-
getParent: () => import("angular-three").NgtInjectedRef<THREE.InstancedMesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>>;
|
|
72
|
-
subscribe: (meshRef: NgtRef<PositionMesh>) => () => void;
|
|
73
|
-
};
|
|
74
|
-
constructor();
|
|
75
|
-
private checkUpdate;
|
|
76
|
-
private beforeRender;
|
|
77
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsInstances, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsInstances, "ngts-instances", never, { "instancesRef": { "alias": "instancesRef"; "required": false; }; "_range": { "alias": "range"; "required": false; }; "_limit": { "alias": "limit"; "required": false; }; "_frames": { "alias": "frames"; "required": false; }; }, {}, ["content"], never, true, never>;
|
|
79
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
export declare class PositionMesh extends THREE.Group {
|
|
4
|
-
color: THREE.Color;
|
|
5
|
-
instance: ElementRef<THREE.InstancedMesh | undefined>;
|
|
6
|
-
instanceKey: ElementRef<PositionMesh | undefined>;
|
|
7
|
-
constructor();
|
|
8
|
-
get geometry(): THREE.BufferGeometry<THREE.NormalBufferAttributes> | undefined;
|
|
9
|
-
raycast(raycaster: THREE.Raycaster, intersects: THREE.Intersection[]): void;
|
|
10
|
-
}
|