angular-three-soba 2.0.0-beta.261 → 2.0.0-beta.262

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/abstractions/lib/catmull-rom-line.d.ts +128 -128
  2. package/abstractions/lib/edges.d.ts +130 -130
  3. package/abstractions/lib/gradient-texture.d.ts +1 -1
  4. package/abstractions/lib/grid.d.ts +6 -6
  5. package/abstractions/lib/line.d.ts +3 -3
  6. package/abstractions/lib/prism-geometry.d.ts +4 -4
  7. package/abstractions/lib/text-3d.d.ts +13 -13
  8. package/abstractions/lib/text.d.ts +2 -2
  9. package/cameras/lib/cube-camera.d.ts +1 -1
  10. package/cameras/lib/orthographic-camera.d.ts +1 -1
  11. package/cameras/lib/perspective-camera.d.ts +1 -1
  12. package/controls/index.d.ts +1 -0
  13. package/controls/lib/camera-controls.d.ts +1 -1
  14. package/controls/lib/orbit-controls.d.ts +1 -1
  15. package/controls/lib/scroll-controls.d.ts +78 -0
  16. package/esm2022/controls/index.mjs +2 -1
  17. package/esm2022/controls/lib/scroll-controls.mjs +268 -0
  18. package/fesm2022/angular-three-soba-controls.mjs +271 -7
  19. package/fesm2022/angular-three-soba-controls.mjs.map +1 -1
  20. package/materials/lib/custom-shader-material.d.ts +1 -1
  21. package/materials/lib/mesh-refraction-material.d.ts +2 -2
  22. package/materials/lib/mesh-transmission-material.d.ts +1 -1
  23. package/misc/lib/computed-attribute.d.ts +5 -5
  24. package/misc/lib/sampler.d.ts +1 -1
  25. package/package.json +12 -12
  26. package/staging/README.md +4 -4
  27. package/staging/lib/caustics.d.ts +1 -1
  28. package/staging/lib/center.d.ts +2 -2
  29. package/staging/lib/contact-shadows.d.ts +1 -1
  30. package/staging/lib/lightformer.d.ts +1 -1
  31. package/staging/lib/render-texture.d.ts +1 -1
  32. package/staging/lib/spot-light.d.ts +2 -2
  33. package/staging/lib/stage.d.ts +1 -1
package/staging/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # `angular-three-soba/staging`
2
2
 
3
- This secondary entry point includes miscellaneous utilities and components for animations, shadows, frame buffer objects (FBOs), and more. It requires `@pmndrs/vanilla` and `@monogrid/gainmap-js` as additional dependencies.
3
+ This secondary entry point includes miscellaneous utilities and components for animations, shadows, frame buffer objects (FBOs), and more. It requires `@pmndrs/vanilla`, `three-mesh-bvh`, and `@monogrid/gainmap-js` as additional dependencies.
4
4
 
5
5
  ```bash
6
- npm install @pmndrs/vanilla @monogrid/gainmap-js
7
- # yarn add @pmndrs/vanilla @monogrid/gainmap-js
8
- # pnpm add @pmndrs/vanilla @monogrid/gainmap-js
6
+ npm install @pmndrs/vanilla three-mesh-bvh @monogrid/gainmap-js
7
+ # yarn add @pmndrs/vanilla three-mesh-bvh @monogrid/gainmap-js
8
+ # pnpm add @pmndrs/vanilla three-mesh-bvh @monogrid/gainmap-js
9
9
  ```
10
10
 
11
11
  ## TOC
@@ -32,7 +32,7 @@ export declare class NgtsCaustics {
32
32
  protected readonly OneFactor: 201;
33
33
  protected readonly SrcAlphaFactor: 204;
34
34
  options: import("@angular/core").InputSignalWithTransform<NgtsCausticsOptions, "" | Partial<NgtsCausticsOptions>>;
35
- parameters: import("@angular/core").Signal<Omit<NgtsCausticsOptions, "frames" | "color" | "resolution" | "debug" | "causticsOnly" | "backside" | "ior" | "backsideIOR" | "worldRadius" | "intensity" | "lightSource">>;
35
+ parameters: import("@angular/core").Signal<Omit<NgtsCausticsOptions, "intensity" | "frames" | "color" | "resolution" | "debug" | "causticsOnly" | "backside" | "ior" | "backsideIOR" | "worldRadius" | "lightSource">>;
36
36
  debug: import("@angular/core").Signal<boolean>;
37
37
  color: import("@angular/core").Signal<ColorRepresentation>;
38
38
  private resolution;
@@ -317,7 +317,7 @@ export declare class NgtsCenter {
317
317
  quaternion: import("angular-three").NgtQuaternion;
318
318
  layers: import("angular-three").NgtLayers;
319
319
  dispose: (() => void) | null;
320
- }> & NgtsCenterOptions, "disable" | "precise" | "cacheKey" | "top" | "right" | "bottom" | "left" | "front" | "back" | "disableX" | "disableY" | "disableZ">>;
320
+ }> & NgtsCenterOptions, "top" | "right" | "bottom" | "left" | "front" | "back" | "disable" | "disableX" | "disableY" | "disableZ" | "precise" | "cacheKey">>;
321
321
  centered: import("@angular/core").OutputEmitterRef<NgtsCenterState>;
322
322
  group: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>>>;
323
323
  outer: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>>>;
@@ -415,7 +415,7 @@ export declare class NgtsCenter {
415
415
  quaternion: import("angular-three").NgtQuaternion;
416
416
  layers: import("angular-three").NgtLayers;
417
417
  dispose: (() => void) | null;
418
- }> & NgtsCenterOptions, "disable" | "precise" | "cacheKey" | "top" | "right" | "bottom" | "left" | "front" | "back" | "disableX" | "disableY" | "disableZ">>;
418
+ }> & NgtsCenterOptions, "top" | "right" | "bottom" | "left" | "front" | "back" | "disable" | "disableX" | "disableY" | "disableZ" | "precise" | "cacheKey">>;
419
419
  constructor();
420
420
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCenter, never>;
421
421
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtsCenter, "ngts-center", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "centered": "centered"; }, never, ["*"], true, never>;
@@ -19,7 +19,7 @@ export interface NgtsContactShadowsOptions extends Partial<Omit<NgtGroup, 'scale
19
19
  export declare class NgtsContactShadows {
20
20
  Math: Math;
21
21
  options: import("@angular/core").InputSignalWithTransform<NgtsContactShadowsOptions, "" | Partial<NgtsContactShadowsOptions>>;
22
- parameters: import("@angular/core").Signal<Omit<NgtsContactShadowsOptions, "scale" | "renderOrder" | "frames" | "opacity" | "color" | "resolution" | "depthWrite" | "near" | "far" | "width" | "height" | "blur" | "smooth">>;
22
+ parameters: import("@angular/core").Signal<Omit<NgtsContactShadowsOptions, "scale" | "renderOrder" | "frames" | "opacity" | "color" | "resolution" | "near" | "far" | "width" | "height" | "blur" | "smooth" | "depthWrite">>;
23
23
  contactShadowsRef: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>>>;
24
24
  shadowsCameraRef: import("@angular/core").Signal<ElementRef<OrthographicCamera> | undefined>;
25
25
  private store;
@@ -317,7 +317,7 @@ export declare class NgtsLightformer {
317
317
  quaternion: import("angular-three").NgtQuaternion;
318
318
  layers: import("angular-three").NgtLayers;
319
319
  dispose: (() => void) | null;
320
- }, "scale">> & NgtsLightformerOptions, "scale" | "color" | "toneMapped" | "map" | "target" | "intensity" | "form">>;
320
+ }, "scale">> & NgtsLightformerOptions, "scale" | "intensity" | "color" | "toneMapped" | "map" | "target" | "form">>;
321
321
  private intensity;
322
322
  private color;
323
323
  private target;
@@ -45,7 +45,7 @@ export declare class NgtsRenderTextureContent {
45
45
  export declare class NgtsRenderTexture {
46
46
  attach: import("@angular/core").InputSignal<string | string[]>;
47
47
  options: import("@angular/core").InputSignalWithTransform<NgtsRenderTextureOptions, "" | Partial<NgtsRenderTextureOptions>>;
48
- parameters: import("@angular/core").Signal<Omit<NgtsRenderTextureOptions, "frames" | "width" | "height" | "generateMipmaps" | "samples" | "stencilBuffer" | "depthBuffer" | "renderPriority" | "eventPriority" | "compute">>;
48
+ parameters: import("@angular/core").Signal<Omit<NgtsRenderTextureOptions, "frames" | "width" | "height" | "depthBuffer" | "stencilBuffer" | "generateMipmaps" | "samples" | "renderPriority" | "eventPriority" | "compute">>;
49
49
  content: import("@angular/core").Signal<TemplateRef<any>>;
50
50
  private store;
51
51
  private size;
@@ -105,8 +105,8 @@ export declare class NgtsSpotLightShadow {
105
105
  export declare class NgtsSpotLight {
106
106
  protected readonly SpotLightHelper: typeof SpotLightHelper;
107
107
  options: import("@angular/core").InputSignalWithTransform<NgtsSpotLightOptions, "" | Partial<NgtsSpotLightOptions>>;
108
- parameters: import("@angular/core").Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "debug" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom" | "volumetric">>;
109
- volumetricOptions: import("@angular/core").Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "debug" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom">>;
108
+ parameters: import("@angular/core").Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "angle" | "depthBuffer" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom" | "volumetric" | "debug">>;
109
+ volumetricOptions: import("@angular/core").Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "angle" | "depthBuffer" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom" | "debug">>;
110
110
  spotLight: import("@angular/core").Signal<ElementRef<SpotLight>>;
111
111
  debug: import("@angular/core").Signal<boolean | undefined>;
112
112
  angle: import("@angular/core").Signal<number | undefined>;
@@ -53,7 +53,7 @@ export declare class NgtsStage {
53
53
  margin: import("@angular/core").Signal<number>;
54
54
  intensity: import("@angular/core").Signal<number>;
55
55
  shadows: import("@angular/core").Signal<boolean | "contact" | "accumulative" | NgtsStageShadowsOptions>;
56
- environment: import("@angular/core").Signal<Partial<NgtsEnvironmentOptions> | "apartment" | "city" | "dawn" | "forest" | "lobby" | "night" | "park" | "studio" | "sunset" | "warehouse" | null>;
56
+ environment: import("@angular/core").Signal<"apartment" | "city" | "dawn" | "forest" | "lobby" | "night" | "park" | "studio" | "sunset" | "warehouse" | Partial<NgtsEnvironmentOptions> | null>;
57
57
  preset: import("@angular/core").Signal<{
58
58
  main: [x: number, y: number, z: number];
59
59
  fill: [x: number, y: number, z: number];