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.
- package/abstractions/lib/catmull-rom-line.d.ts +153 -153
- package/abstractions/lib/edges.d.ts +173 -173
- package/abstractions/lib/grid.d.ts +33 -33
- package/abstractions/lib/line.d.ts +2 -2
- package/abstractions/lib/prism-geometry.d.ts +4 -4
- package/abstractions/lib/rounded-box.d.ts +1 -1
- package/abstractions/lib/text-3d.d.ts +40 -40
- package/abstractions/lib/text.d.ts +2 -2
- package/cameras/lib/cube-camera.d.ts +1 -1
- package/cameras/lib/orthographic-camera.d.ts +1 -1
- package/cameras/lib/perspective-camera.d.ts +1 -1
- package/controls/lib/camera-controls.d.ts +1 -1
- package/controls/lib/orbit-controls.d.ts +1 -1
- package/esm2022/abstractions/lib/billboard.mjs +4 -4
- package/esm2022/abstractions/lib/catmull-rom-line.mjs +4 -4
- package/esm2022/abstractions/lib/cubic-bezier-line.mjs +4 -4
- package/esm2022/abstractions/lib/edges.mjs +4 -4
- package/esm2022/abstractions/lib/gradient-texture.mjs +4 -4
- package/esm2022/abstractions/lib/grid.mjs +4 -4
- package/esm2022/abstractions/lib/helper.mjs +4 -4
- package/esm2022/abstractions/lib/line.mjs +4 -4
- package/esm2022/abstractions/lib/prism-geometry.mjs +4 -4
- package/esm2022/abstractions/lib/quadratic-bezier-line.mjs +4 -4
- package/esm2022/abstractions/lib/rounded-box.mjs +4 -4
- package/esm2022/abstractions/lib/text-3d.mjs +4 -4
- package/esm2022/abstractions/lib/text.mjs +4 -4
- package/esm2022/cameras/lib/camera-content.mjs +4 -4
- package/esm2022/cameras/lib/cube-camera.mjs +4 -4
- package/esm2022/cameras/lib/orthographic-camera.mjs +4 -4
- package/esm2022/cameras/lib/perspective-camera.mjs +4 -4
- package/esm2022/controls/lib/camera-controls.mjs +4 -4
- package/esm2022/controls/lib/orbit-controls.mjs +4 -4
- package/esm2022/controls/lib/scroll-controls.mjs +10 -10
- package/esm2022/gizmos/lib/gizmo-helper/gizmo-helper.mjs +7 -7
- package/esm2022/gizmos/lib/gizmo-helper/gizmo-viewcube.mjs +13 -13
- package/esm2022/gizmos/lib/gizmo-helper/gizmo-viewport.mjs +10 -10
- package/esm2022/gizmos/lib/pivot-controls/axis-arrow.mjs +4 -4
- package/esm2022/gizmos/lib/pivot-controls/axis-rotator.mjs +4 -4
- package/esm2022/gizmos/lib/pivot-controls/pivot-controls.mjs +4 -4
- package/esm2022/gizmos/lib/pivot-controls/plane-slider.mjs +4 -4
- package/esm2022/gizmos/lib/pivot-controls/scaling-sphere.mjs +4 -4
- package/esm2022/gizmos/lib/transform-controls.mjs +4 -4
- package/esm2022/loaders/lib/loader.mjs +4 -4
- package/esm2022/materials/lib/custom-shader-material.mjs +4 -4
- package/esm2022/materials/lib/mesh-distort-material.mjs +4 -4
- package/esm2022/materials/lib/mesh-reflector-material.mjs +4 -4
- package/esm2022/materials/lib/mesh-refraction-material.mjs +4 -4
- package/esm2022/materials/lib/mesh-transmission-material.mjs +4 -4
- package/esm2022/materials/lib/mesh-wobble-material.mjs +4 -4
- package/esm2022/materials/lib/point-material.mjs +4 -4
- package/esm2022/misc/lib/bake-shadows.mjs +4 -4
- package/esm2022/misc/lib/computed-attribute.mjs +4 -4
- package/esm2022/misc/lib/decal.mjs +4 -4
- package/esm2022/misc/lib/fbo.mjs +4 -4
- package/esm2022/misc/lib/html/html-content.mjs +4 -4
- package/esm2022/misc/lib/html/html.mjs +4 -4
- package/esm2022/misc/lib/intersect.mjs +4 -4
- package/esm2022/misc/lib/preload.mjs +4 -4
- package/esm2022/misc/lib/sampler.mjs +4 -4
- package/esm2022/performances/lib/adaptive-dpr.mjs +4 -4
- package/esm2022/performances/lib/adaptive-events.mjs +4 -4
- package/esm2022/performances/lib/detailed.mjs +4 -4
- package/esm2022/performances/lib/instances/instances.mjs +7 -7
- package/esm2022/performances/lib/points/points.mjs +10 -10
- package/esm2022/performances/lib/segments/segments.mjs +7 -7
- package/esm2022/staging/lib/accumulative-shadows.mjs +4 -4
- package/esm2022/staging/lib/backdrop.mjs +4 -4
- package/esm2022/staging/lib/bb-anchor.mjs +4 -4
- package/esm2022/staging/lib/bounds.mjs +4 -4
- package/esm2022/staging/lib/camera-shake.mjs +4 -4
- package/esm2022/staging/lib/caustics.mjs +4 -4
- package/esm2022/staging/lib/center.mjs +4 -4
- package/esm2022/staging/lib/contact-shadows.mjs +4 -4
- package/esm2022/staging/lib/environment/environment.mjs +16 -16
- package/esm2022/staging/lib/float.mjs +4 -4
- package/esm2022/staging/lib/lightformer.mjs +4 -4
- package/esm2022/staging/lib/mask.mjs +4 -4
- package/esm2022/staging/lib/matcap-texture.mjs +4 -4
- package/esm2022/staging/lib/normal-texture.mjs +4 -4
- package/esm2022/staging/lib/randomized-lights.mjs +4 -4
- package/esm2022/staging/lib/render-texture.mjs +10 -10
- package/esm2022/staging/lib/sky.mjs +4 -4
- package/esm2022/staging/lib/spot-light.mjs +16 -16
- package/esm2022/staging/lib/stage.mjs +7 -7
- package/esm2022/stats/lib/stats.mjs +4 -4
- package/fesm2022/angular-three-soba-abstractions.mjs +39 -39
- package/fesm2022/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2022/angular-three-soba-cameras.mjs +12 -12
- package/fesm2022/angular-three-soba-cameras.mjs.map +1 -1
- package/fesm2022/angular-three-soba-controls.mjs +15 -15
- package/fesm2022/angular-three-soba-controls.mjs.map +1 -1
- package/fesm2022/angular-three-soba-gizmos.mjs +45 -45
- package/fesm2022/angular-three-soba-gizmos.mjs.map +1 -1
- package/fesm2022/angular-three-soba-loaders.mjs +3 -3
- package/fesm2022/angular-three-soba-loaders.mjs.map +1 -1
- package/fesm2022/angular-three-soba-materials.mjs +21 -21
- package/fesm2022/angular-three-soba-materials.mjs.map +1 -1
- package/fesm2022/angular-three-soba-misc.mjs +27 -27
- package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
- package/fesm2022/angular-three-soba-performances.mjs +30 -30
- package/fesm2022/angular-three-soba-performances.mjs.map +1 -1
- package/fesm2022/angular-three-soba-staging.mjs +90 -90
- package/fesm2022/angular-three-soba-staging.mjs.map +1 -1
- package/fesm2022/angular-three-soba-stats.mjs +3 -3
- package/fesm2022/angular-three-soba-stats.mjs.map +1 -1
- package/gizmos/lib/gizmo-helper/gizmo-viewport.d.ts +1 -1
- package/gizmos/lib/pivot-controls/axis-arrow.d.ts +1 -1
- package/gizmos/lib/pivot-controls/axis-rotator.d.ts +1 -1
- package/gizmos/lib/pivot-controls/pivot-controls.d.ts +1 -1
- package/gizmos/lib/pivot-controls/plane-slider.d.ts +1 -1
- package/gizmos/lib/pivot-controls/scaling-sphere.d.ts +1 -1
- package/gizmos/lib/transform-controls.d.ts +2 -2
- package/materials/lib/custom-shader-material.d.ts +3 -3
- package/materials/lib/mesh-refraction-material.d.ts +3 -3
- package/materials/lib/mesh-transmission-material.d.ts +1 -1
- package/misc/lib/computed-attribute.d.ts +5 -5
- package/misc/lib/decal.d.ts +1 -1
- package/misc/lib/html/html.d.ts +1 -1
- package/misc/lib/sampler.d.ts +1 -1
- package/package.json +20 -20
- package/performances/lib/instances/instances.d.ts +10 -10
- package/performances/lib/points/points.d.ts +22 -22
- package/performances/lib/segments/segments.d.ts +4 -4
- package/shaders/lib/mesh-refraction-material.d.ts +2 -2
- package/staging/lib/caustics.d.ts +1 -1
- package/staging/lib/center.d.ts +2 -2
- package/staging/lib/contact-shadows.d.ts +1 -1
- package/staging/lib/lightformer.d.ts +1 -1
- package/staging/lib/mask.d.ts +1 -1
- package/staging/lib/render-texture.d.ts +1 -1
- package/staging/lib/sky.d.ts +1 -1
- package/staging/lib/spot-light.d.ts +2 -2
- package/staging/lib/stage.d.ts +5 -5
package/staging/lib/center.d.ts
CHANGED
|
@@ -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, "
|
|
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, "
|
|
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" | "
|
|
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" | "
|
|
296
|
+
}, "scale">> & NgtsLightformerOptions, "scale" | "intensity" | "color" | "toneMapped" | "map" | "target" | "form">>;
|
|
297
297
|
private intensity;
|
|
298
298
|
private color;
|
|
299
299
|
private target;
|
package/staging/lib/mask.d.ts
CHANGED
|
@@ -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, "
|
|
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, "
|
|
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;
|
package/staging/lib/sky.d.ts
CHANGED
|
@@ -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" | "
|
|
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" | "
|
|
108
|
-
volumetricOptions: import("@angular/core").Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "
|
|
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>;
|
package/staging/lib/stage.d.ts
CHANGED
|
@@ -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
|
-
}
|
|
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>;
|