angular-three-soba 2.6.1 → 2.8.0

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 (133) hide show
  1. package/abstractions/lib/catmull-rom-line.d.ts +153 -153
  2. package/abstractions/lib/edges.d.ts +173 -173
  3. package/abstractions/lib/grid.d.ts +33 -33
  4. package/abstractions/lib/line.d.ts +2 -2
  5. package/abstractions/lib/prism-geometry.d.ts +4 -4
  6. package/abstractions/lib/rounded-box.d.ts +1 -1
  7. package/abstractions/lib/text-3d.d.ts +40 -40
  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/lib/camera-controls.d.ts +1 -1
  13. package/controls/lib/orbit-controls.d.ts +1 -1
  14. package/esm2022/abstractions/lib/billboard.mjs +4 -4
  15. package/esm2022/abstractions/lib/catmull-rom-line.mjs +4 -4
  16. package/esm2022/abstractions/lib/cubic-bezier-line.mjs +4 -4
  17. package/esm2022/abstractions/lib/edges.mjs +4 -4
  18. package/esm2022/abstractions/lib/gradient-texture.mjs +4 -4
  19. package/esm2022/abstractions/lib/grid.mjs +4 -4
  20. package/esm2022/abstractions/lib/helper.mjs +4 -4
  21. package/esm2022/abstractions/lib/line.mjs +4 -4
  22. package/esm2022/abstractions/lib/prism-geometry.mjs +4 -4
  23. package/esm2022/abstractions/lib/quadratic-bezier-line.mjs +4 -4
  24. package/esm2022/abstractions/lib/rounded-box.mjs +4 -4
  25. package/esm2022/abstractions/lib/text-3d.mjs +4 -4
  26. package/esm2022/abstractions/lib/text.mjs +4 -4
  27. package/esm2022/cameras/lib/camera-content.mjs +4 -4
  28. package/esm2022/cameras/lib/cube-camera.mjs +4 -4
  29. package/esm2022/cameras/lib/orthographic-camera.mjs +4 -4
  30. package/esm2022/cameras/lib/perspective-camera.mjs +4 -4
  31. package/esm2022/controls/lib/camera-controls.mjs +4 -4
  32. package/esm2022/controls/lib/orbit-controls.mjs +4 -4
  33. package/esm2022/controls/lib/scroll-controls.mjs +10 -10
  34. package/esm2022/gizmos/lib/gizmo-helper/gizmo-helper.mjs +7 -7
  35. package/esm2022/gizmos/lib/gizmo-helper/gizmo-viewcube.mjs +13 -13
  36. package/esm2022/gizmos/lib/gizmo-helper/gizmo-viewport.mjs +10 -10
  37. package/esm2022/gizmos/lib/pivot-controls/axis-arrow.mjs +4 -4
  38. package/esm2022/gizmos/lib/pivot-controls/axis-rotator.mjs +4 -4
  39. package/esm2022/gizmos/lib/pivot-controls/pivot-controls.mjs +4 -4
  40. package/esm2022/gizmos/lib/pivot-controls/plane-slider.mjs +4 -4
  41. package/esm2022/gizmos/lib/pivot-controls/scaling-sphere.mjs +4 -4
  42. package/esm2022/gizmos/lib/transform-controls.mjs +4 -4
  43. package/esm2022/loaders/lib/loader.mjs +4 -4
  44. package/esm2022/materials/lib/custom-shader-material.mjs +4 -4
  45. package/esm2022/materials/lib/mesh-distort-material.mjs +4 -4
  46. package/esm2022/materials/lib/mesh-reflector-material.mjs +4 -4
  47. package/esm2022/materials/lib/mesh-refraction-material.mjs +4 -4
  48. package/esm2022/materials/lib/mesh-transmission-material.mjs +4 -4
  49. package/esm2022/materials/lib/mesh-wobble-material.mjs +4 -4
  50. package/esm2022/materials/lib/point-material.mjs +4 -4
  51. package/esm2022/misc/lib/bake-shadows.mjs +4 -4
  52. package/esm2022/misc/lib/computed-attribute.mjs +4 -4
  53. package/esm2022/misc/lib/decal.mjs +4 -4
  54. package/esm2022/misc/lib/fbo.mjs +4 -4
  55. package/esm2022/misc/lib/html/html-content.mjs +4 -4
  56. package/esm2022/misc/lib/html/html.mjs +4 -4
  57. package/esm2022/misc/lib/intersect.mjs +4 -4
  58. package/esm2022/misc/lib/preload.mjs +4 -4
  59. package/esm2022/misc/lib/sampler.mjs +4 -4
  60. package/esm2022/performances/lib/adaptive-dpr.mjs +4 -4
  61. package/esm2022/performances/lib/adaptive-events.mjs +4 -4
  62. package/esm2022/performances/lib/detailed.mjs +4 -4
  63. package/esm2022/performances/lib/instances/instances.mjs +7 -7
  64. package/esm2022/performances/lib/points/points.mjs +10 -10
  65. package/esm2022/performances/lib/segments/segments.mjs +7 -7
  66. package/esm2022/staging/lib/accumulative-shadows.mjs +4 -4
  67. package/esm2022/staging/lib/backdrop.mjs +4 -4
  68. package/esm2022/staging/lib/bb-anchor.mjs +4 -4
  69. package/esm2022/staging/lib/bounds.mjs +4 -4
  70. package/esm2022/staging/lib/camera-shake.mjs +4 -4
  71. package/esm2022/staging/lib/caustics.mjs +4 -4
  72. package/esm2022/staging/lib/center.mjs +4 -4
  73. package/esm2022/staging/lib/contact-shadows.mjs +4 -4
  74. package/esm2022/staging/lib/environment/environment.mjs +16 -16
  75. package/esm2022/staging/lib/float.mjs +4 -4
  76. package/esm2022/staging/lib/lightformer.mjs +4 -4
  77. package/esm2022/staging/lib/mask.mjs +4 -4
  78. package/esm2022/staging/lib/matcap-texture.mjs +4 -4
  79. package/esm2022/staging/lib/normal-texture.mjs +4 -4
  80. package/esm2022/staging/lib/randomized-lights.mjs +4 -4
  81. package/esm2022/staging/lib/render-texture.mjs +10 -10
  82. package/esm2022/staging/lib/sky.mjs +4 -4
  83. package/esm2022/staging/lib/spot-light.mjs +16 -16
  84. package/esm2022/staging/lib/stage.mjs +7 -7
  85. package/esm2022/stats/lib/stats.mjs +4 -4
  86. package/fesm2022/angular-three-soba-abstractions.mjs +39 -39
  87. package/fesm2022/angular-three-soba-abstractions.mjs.map +1 -1
  88. package/fesm2022/angular-three-soba-cameras.mjs +12 -12
  89. package/fesm2022/angular-three-soba-cameras.mjs.map +1 -1
  90. package/fesm2022/angular-three-soba-controls.mjs +15 -15
  91. package/fesm2022/angular-three-soba-controls.mjs.map +1 -1
  92. package/fesm2022/angular-three-soba-gizmos.mjs +45 -45
  93. package/fesm2022/angular-three-soba-gizmos.mjs.map +1 -1
  94. package/fesm2022/angular-three-soba-loaders.mjs +3 -3
  95. package/fesm2022/angular-three-soba-loaders.mjs.map +1 -1
  96. package/fesm2022/angular-three-soba-materials.mjs +21 -21
  97. package/fesm2022/angular-three-soba-materials.mjs.map +1 -1
  98. package/fesm2022/angular-three-soba-misc.mjs +27 -27
  99. package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
  100. package/fesm2022/angular-three-soba-performances.mjs +30 -30
  101. package/fesm2022/angular-three-soba-performances.mjs.map +1 -1
  102. package/fesm2022/angular-three-soba-staging.mjs +90 -90
  103. package/fesm2022/angular-three-soba-staging.mjs.map +1 -1
  104. package/fesm2022/angular-three-soba-stats.mjs +3 -3
  105. package/fesm2022/angular-three-soba-stats.mjs.map +1 -1
  106. package/gizmos/lib/gizmo-helper/gizmo-viewport.d.ts +1 -1
  107. package/gizmos/lib/pivot-controls/axis-arrow.d.ts +1 -1
  108. package/gizmos/lib/pivot-controls/axis-rotator.d.ts +1 -1
  109. package/gizmos/lib/pivot-controls/pivot-controls.d.ts +1 -1
  110. package/gizmos/lib/pivot-controls/plane-slider.d.ts +1 -1
  111. package/gizmos/lib/pivot-controls/scaling-sphere.d.ts +1 -1
  112. package/gizmos/lib/transform-controls.d.ts +2 -2
  113. package/materials/lib/custom-shader-material.d.ts +3 -3
  114. package/materials/lib/mesh-refraction-material.d.ts +3 -3
  115. package/materials/lib/mesh-transmission-material.d.ts +1 -1
  116. package/misc/lib/computed-attribute.d.ts +5 -5
  117. package/misc/lib/decal.d.ts +1 -1
  118. package/misc/lib/html/html.d.ts +1 -1
  119. package/misc/lib/sampler.d.ts +1 -1
  120. package/package.json +20 -20
  121. package/performances/lib/instances/instances.d.ts +10 -10
  122. package/performances/lib/points/points.d.ts +22 -22
  123. package/performances/lib/segments/segments.d.ts +4 -4
  124. package/shaders/lib/mesh-refraction-material.d.ts +2 -2
  125. package/staging/lib/caustics.d.ts +1 -1
  126. package/staging/lib/center.d.ts +2 -2
  127. package/staging/lib/contact-shadows.d.ts +1 -1
  128. package/staging/lib/lightformer.d.ts +1 -1
  129. package/staging/lib/mask.d.ts +1 -1
  130. package/staging/lib/render-texture.d.ts +1 -1
  131. package/staging/lib/sky.d.ts +1 -1
  132. package/staging/lib/spot-light.d.ts +2 -2
  133. package/staging/lib/stage.d.ts +5 -5
@@ -293,7 +293,7 @@ export declare class NgtsCenter {
293
293
  layers: import("angular-three").NgtLayers;
294
294
  dispose: (() => void) | null;
295
295
  raycast: Object3D["raycast"] | null;
296
- }> & NgtsCenterOptions, "disable" | "precise" | "cacheKey" | "top" | "right" | "bottom" | "left" | "front" | "back" | "disableX" | "disableY" | "disableZ">>;
296
+ }> & NgtsCenterOptions, "top" | "right" | "bottom" | "left" | "front" | "back" | "disable" | "disableX" | "disableY" | "disableZ" | "precise" | "cacheKey">>;
297
297
  centered: import("@angular/core").OutputEmitterRef<NgtsCenterState>;
298
298
  groupRef: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>>>;
299
299
  private outerRef;
@@ -383,7 +383,7 @@ export declare class NgtsCenter {
383
383
  layers: import("angular-three").NgtLayers;
384
384
  dispose: (() => void) | null;
385
385
  raycast: Object3D["raycast"] | null;
386
- }> & NgtsCenterOptions, "disable" | "precise" | "cacheKey" | "top" | "right" | "bottom" | "left" | "front" | "back" | "disableX" | "disableY" | "disableZ">>;
386
+ }> & NgtsCenterOptions, "top" | "right" | "bottom" | "left" | "front" | "back" | "disable" | "disableX" | "disableY" | "disableZ" | "precise" | "cacheKey">>;
387
387
  constructor();
388
388
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCenter, never>;
389
389
  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" | "width" | "height" | "frames" | "opacity" | "color" | "resolution" | "near" | "far" | "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;
@@ -293,7 +293,7 @@ export declare class NgtsLightformer {
293
293
  layers: import("angular-three").NgtLayers;
294
294
  dispose: (() => void) | null;
295
295
  raycast: import("three").Object3D["raycast"] | null;
296
- }, "scale">> & NgtsLightformerOptions, "scale" | "color" | "toneMapped" | "map" | "target" | "intensity" | "form">>;
296
+ }, "scale">> & NgtsLightformerOptions, "scale" | "intensity" | "color" | "toneMapped" | "map" | "target" | "form">>;
297
297
  private intensity;
298
298
  private color;
299
299
  private target;
@@ -9,7 +9,7 @@ export interface NgtsMaskOptions extends Partial<NgtMesh> {
9
9
  export declare class NgtsMask {
10
10
  id: import("@angular/core").InputSignalWithTransform<number, unknown>;
11
11
  options: import("@angular/core").InputSignalWithTransform<NgtsMaskOptions, "" | Partial<NgtsMaskOptions>>;
12
- parameters: import("@angular/core").Signal<Omit<NgtsMaskOptions, "colorWrite" | "depthWrite">>;
12
+ parameters: import("@angular/core").Signal<Omit<NgtsMaskOptions, "depthWrite" | "colorWrite">>;
13
13
  meshRef: import("@angular/core").Signal<ElementRef<Mesh<BufferGeometry<import("three").NormalBufferAttributes>, Material, import("three").Object3DEventMap>>>;
14
14
  private colorWrite;
15
15
  private depthWrite;
@@ -45,7 +45,7 @@ export declare class NgtsRenderTextureContent {
45
45
  export declare class NgtsRenderTexture {
46
46
  attach: import("@angular/core").InputSignal<NgtAttachable>;
47
47
  options: import("@angular/core").InputSignalWithTransform<NgtsRenderTextureOptions, "" | Partial<NgtsRenderTextureOptions>>;
48
- parameters: import("@angular/core").Signal<Omit<NgtsRenderTextureOptions, "frames" | "width" | "height" | "depthBuffer" | "stencilBuffer" | "samples" | "generateMipmaps" | "renderPriority" | "eventPriority" | "compute">>;
48
+ parameters: import("@angular/core").Signal<Omit<NgtsRenderTextureOptions, "width" | "height" | "frames" | "depthBuffer" | "stencilBuffer" | "generateMipmaps" | "samples" | "renderPriority" | "eventPriority" | "compute">>;
49
49
  content: import("@angular/core").Signal<TemplateRef<any>>;
50
50
  private store;
51
51
  private size;
@@ -15,7 +15,7 @@ export interface NgtsSkyOptions extends Partial<Omit<NgtMesh, 'scale'>> {
15
15
  }
16
16
  export declare class NgtsSky {
17
17
  options: import("@angular/core").InputSignalWithTransform<NgtsSkyOptions, "" | Partial<NgtsSkyOptions>>;
18
- parameters: import("@angular/core").Signal<Omit<NgtsSkyOptions, "distance" | "inclination" | "azimuth" | "mieCoefficient" | "mieDirectionalG" | "turbidity" | "sunPosition">>;
18
+ parameters: import("@angular/core").Signal<Omit<NgtsSkyOptions, "distance" | "inclination" | "azimuth" | "sunPosition" | "turbidity" | "mieCoefficient" | "mieDirectionalG">>;
19
19
  distance: import("@angular/core").Signal<number>;
20
20
  turbidity: import("@angular/core").Signal<number>;
21
21
  mieCoefficient: import("@angular/core").Signal<number>;
@@ -104,8 +104,8 @@ export declare class NgtsSpotLightShadow {
104
104
  export declare class NgtsSpotLight {
105
105
  protected readonly SpotLightHelper: typeof SpotLightHelper;
106
106
  options: import("@angular/core").InputSignalWithTransform<NgtsSpotLightOptions, "" | Partial<NgtsSpotLightOptions>>;
107
- parameters: import("@angular/core").Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "debug" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom" | "volumetric">>;
108
- volumetricOptions: import("@angular/core").Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "debug" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom">>;
107
+ parameters: import("@angular/core").Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "volumetric" | "distance" | "angle" | "depthBuffer" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom" | "debug">>;
108
+ volumetricOptions: import("@angular/core").Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "angle" | "depthBuffer" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom" | "debug">>;
109
109
  spotLight: import("@angular/core").Signal<ElementRef<SpotLight>>;
110
110
  debug: import("@angular/core").Signal<boolean | undefined>;
111
111
  angle: import("@angular/core").Signal<number | undefined>;
@@ -55,11 +55,14 @@ export declare class NgtsStage {
55
55
  intensity: import("@angular/core").Signal<number>;
56
56
  shadows: import("@angular/core").Signal<boolean | "contact" | "accumulative" | NgtsStageShadowsOptions>;
57
57
  environment: import("@angular/core").Signal<"apartment" | "city" | "dawn" | "forest" | "lobby" | "night" | "park" | "studio" | "sunset" | "warehouse" | Partial<NgtsEnvironmentOptions> | null>;
58
- preset: import("@angular/core").Signal<{
58
+ preset: import("@angular/core").Signal<"rembrandt" | "portrait" | "upfront" | "soft" | {
59
59
  main: [x: number, y: number, z: number];
60
60
  fill: [x: number, y: number, z: number];
61
- } | "rembrandt" | "portrait" | "upfront" | "soft">;
61
+ }>;
62
62
  config: import("@angular/core").Signal<{
63
+ main: [x: number, y: number, z: number];
64
+ fill: [x: number, y: number, z: number];
65
+ } | {
63
66
  readonly main: readonly [1, 2, 1];
64
67
  readonly fill: readonly [-2, -0.5, -2];
65
68
  } | {
@@ -71,9 +74,6 @@ export declare class NgtsStage {
71
74
  } | {
72
75
  readonly main: readonly [-2, 4, 4];
73
76
  readonly fill: readonly [-1, 0.5, -1.5];
74
- } | {
75
- main: [x: number, y: number, z: number];
76
- fill: [x: number, y: number, z: number];
77
77
  }>;
78
78
  shadowBias: import("@angular/core").Signal<number>;
79
79
  normalBias: import("@angular/core").Signal<number>;