angular-three-soba 2.2.1 → 2.3.2
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 +214 -214
- package/abstractions/lib/edges.d.ts +238 -238
- package/abstractions/lib/grid.d.ts +39 -39
- 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 +45 -45
- package/abstractions/lib/text.d.ts +2 -2
- package/controls/lib/camera-controls.d.ts +1 -1
- package/controls/lib/orbit-controls.d.ts +1 -1
- package/esm2022/gizmos/lib/gizmo-helper/gizmo-viewcube.mjs +9 -9
- package/esm2022/misc/lib/sampler.mjs +2 -8
- package/fesm2022/angular-three-soba-gizmos.mjs +8 -8
- package/fesm2022/angular-three-soba-gizmos.mjs.map +1 -1
- package/fesm2022/angular-three-soba-misc.mjs +1 -7
- package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
- package/gizmos/lib/gizmo-helper/gizmo-viewcube.d.ts +5 -5
- package/gizmos/lib/gizmo-helper/gizmo-viewport.d.ts +1 -1
- package/gizmos/lib/pivot-controls/pivot-controls.d.ts +1 -1
- package/gizmos/lib/transform-controls.d.ts +2 -2
- package/materials/lib/mesh-refraction-material.d.ts +1 -1
- package/materials/lib/mesh-transmission-material.d.ts +1 -1
- package/misc/lib/computed-attribute.d.ts +2 -2
- package/misc/lib/decal.d.ts +1 -1
- package/misc/lib/html/html.d.ts +1 -1
- package/package.json +7 -7
- package/performances/lib/instances/instances.d.ts +1 -1
- package/performances/lib/points/points.d.ts +1 -1
- package/staging/lib/accumulative-shadows.d.ts +1 -1
- 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/spot-light.d.ts +1 -1
- package/staging/lib/stage.d.ts +5 -5
|
@@ -6,6 +6,8 @@ export declare class NgtsComputedAttribute {
|
|
|
6
6
|
name: import("@angular/core").InputSignal<string>;
|
|
7
7
|
options: import("@angular/core").InputSignal<Partial<{
|
|
8
8
|
name?: string | undefined;
|
|
9
|
+
clone?: (() => BufferAttribute) | undefined;
|
|
10
|
+
toJSON?: (() => import("three").BufferAttributeJSON) | undefined;
|
|
9
11
|
array?: import("three").TypedArray | undefined;
|
|
10
12
|
itemSize?: number | undefined;
|
|
11
13
|
usage?: import("three").Usage | undefined;
|
|
@@ -28,7 +30,6 @@ export declare class NgtsComputedAttribute {
|
|
|
28
30
|
setUsage?: ((usage: import("three").Usage) => BufferAttribute) | undefined;
|
|
29
31
|
addUpdateRange?: ((start: number, count: number) => void) | undefined;
|
|
30
32
|
clearUpdateRanges?: (() => void) | undefined;
|
|
31
|
-
clone?: (() => BufferAttribute) | undefined;
|
|
32
33
|
copy?: ((source: BufferAttribute) => BufferAttribute) | undefined;
|
|
33
34
|
copyAt?: ((index1: number, attribute: BufferAttribute, index2: number) => BufferAttribute) | undefined;
|
|
34
35
|
copyArray?: ((array: ArrayLike<number>) => BufferAttribute) | undefined;
|
|
@@ -50,7 +51,6 @@ export declare class NgtsComputedAttribute {
|
|
|
50
51
|
setXY?: ((index: number, x: number, y: number) => BufferAttribute) | undefined;
|
|
51
52
|
setXYZ?: ((index: number, x: number, y: number, z: number) => BufferAttribute) | undefined;
|
|
52
53
|
setXYZW?: ((index: number, x: number, y: number, z: number, w: number) => BufferAttribute) | undefined;
|
|
53
|
-
toJSON?: (() => import("three").BufferAttributeJSON) | undefined;
|
|
54
54
|
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
55
55
|
addEventListener: <TEventKey extends keyof import("angular-three").NgtNodeEventMap<BufferAttribute>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<BufferAttribute, typeof BufferAttribute>, ev: import("angular-three").NgtNodeEventMap<BufferAttribute>[TEventKey]) => any) => void;
|
|
56
56
|
removeEventListener: <TEventKey extends keyof import("angular-three").NgtNodeEventMap<BufferAttribute>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<BufferAttribute, typeof BufferAttribute>, ev: import("angular-three").NgtNodeEventMap<BufferAttribute>[TEventKey]) => any) => void;
|
package/misc/lib/decal.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface NgtsDecalOptions extends Partial<NgtMesh> {
|
|
|
11
11
|
export declare class NgtsDecal {
|
|
12
12
|
mesh: import("@angular/core").InputSignal<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> | ElementRef<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>> | null | undefined>;
|
|
13
13
|
options: import("@angular/core").InputSignalWithTransform<NgtsDecalOptions, "" | Partial<NgtsDecalOptions>>;
|
|
14
|
-
parameters: import("@angular/core").Signal<Omit<NgtsDecalOptions, "position" | "scale" | "rotation" | "
|
|
14
|
+
parameters: import("@angular/core").Signal<Omit<NgtsDecalOptions, "position" | "scale" | "rotation" | "polygonOffsetFactor" | "depthTest" | "debug" | "map">>;
|
|
15
15
|
meshRef: import("@angular/core").Signal<ElementRef<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>;
|
|
16
16
|
helperRef: import("@angular/core").Signal<ElementRef<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>> | undefined>;
|
|
17
17
|
protected map: import("@angular/core").Signal<Texture | null | undefined>;
|
package/misc/lib/html/html.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class NgtsHTML {
|
|
|
14
14
|
groupRef: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>>>;
|
|
15
15
|
occlusionMeshRef: import("@angular/core").Signal<ElementRef<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>> | undefined>;
|
|
16
16
|
occlusionGeometryRef: import("@angular/core").Signal<ElementRef<PlaneGeometry> | undefined>;
|
|
17
|
-
occlude: import("@angular/core").Signal<boolean | "raycast" |
|
|
17
|
+
occlude: import("@angular/core").Signal<boolean | "raycast" | Object3D<import("three").Object3DEventMap>[] | ElementRef<Object3D<import("three").Object3DEventMap>>[] | "blending">;
|
|
18
18
|
transform: import("@angular/core").Signal<boolean>;
|
|
19
19
|
castShadow: import("@angular/core").Signal<boolean>;
|
|
20
20
|
receiveShadow: import("@angular/core").Signal<boolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-three-soba",
|
|
3
|
-
"version": "2.2
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -69,18 +69,18 @@
|
|
|
69
69
|
"esm": "./esm2022/cameras/angular-three-soba-cameras.mjs",
|
|
70
70
|
"default": "./fesm2022/angular-three-soba-cameras.mjs"
|
|
71
71
|
},
|
|
72
|
-
"./controls": {
|
|
73
|
-
"types": "./controls/index.d.ts",
|
|
74
|
-
"esm2022": "./esm2022/controls/angular-three-soba-controls.mjs",
|
|
75
|
-
"esm": "./esm2022/controls/angular-three-soba-controls.mjs",
|
|
76
|
-
"default": "./fesm2022/angular-three-soba-controls.mjs"
|
|
77
|
-
},
|
|
78
72
|
"./gizmos": {
|
|
79
73
|
"types": "./gizmos/index.d.ts",
|
|
80
74
|
"esm2022": "./esm2022/gizmos/angular-three-soba-gizmos.mjs",
|
|
81
75
|
"esm": "./esm2022/gizmos/angular-three-soba-gizmos.mjs",
|
|
82
76
|
"default": "./fesm2022/angular-three-soba-gizmos.mjs"
|
|
83
77
|
},
|
|
78
|
+
"./controls": {
|
|
79
|
+
"types": "./controls/index.d.ts",
|
|
80
|
+
"esm2022": "./esm2022/controls/angular-three-soba-controls.mjs",
|
|
81
|
+
"esm": "./esm2022/controls/angular-three-soba-controls.mjs",
|
|
82
|
+
"default": "./fesm2022/angular-three-soba-controls.mjs"
|
|
83
|
+
},
|
|
84
84
|
"./materials": {
|
|
85
85
|
"types": "./materials/index.d.ts",
|
|
86
86
|
"esm2022": "./esm2022/materials/angular-three-soba-materials.mjs",
|
|
@@ -107,7 +107,7 @@ export interface NgtsInstancesOptions extends Partial<NgtInstancedMesh> {
|
|
|
107
107
|
export declare class NgtsInstances {
|
|
108
108
|
protected readonly DynamicDrawUsage: 35048;
|
|
109
109
|
options: import("@angular/core").InputSignalWithTransform<NgtsInstancesOptions, "" | Partial<NgtsInstancesOptions>>;
|
|
110
|
-
protected parameters: import("@angular/core").Signal<Omit<NgtsInstancesOptions, "frames" | "
|
|
110
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsInstancesOptions, "frames" | "range" | "limit">>;
|
|
111
111
|
instancedMeshRef: import("@angular/core").Signal<ElementRef<InstancedMesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").InstancedMeshEventMap>>>;
|
|
112
112
|
private limit;
|
|
113
113
|
protected buffers: import("@angular/core").Signal<{
|
|
@@ -207,7 +207,7 @@ export interface NgtsPointsInstancesOptions extends Partial<NgtPoints> {
|
|
|
207
207
|
}
|
|
208
208
|
export declare class NgtsPointsInstances {
|
|
209
209
|
options: import("@angular/core").InputSignalWithTransform<NgtsPointsInstancesOptions, "" | Partial<NgtsPointsInstancesOptions>>;
|
|
210
|
-
parameters: import("@angular/core").Signal<Omit<NgtsPointsInstancesOptions, "
|
|
210
|
+
parameters: import("@angular/core").Signal<Omit<NgtsPointsInstancesOptions, "range" | "limit">>;
|
|
211
211
|
pointsRef: import("@angular/core").Signal<ElementRef<Points<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>;
|
|
212
212
|
private limit;
|
|
213
213
|
buffers: import("@angular/core").Signal<{
|
|
@@ -30,7 +30,7 @@ export declare class NgtsAccumulativeShadows {
|
|
|
30
30
|
nullTraversal: () => null;
|
|
31
31
|
Math: Math;
|
|
32
32
|
options: import("@angular/core").InputSignalWithTransform<NgtsAccumulativeShadowsOptions, "" | Partial<NgtsAccumulativeShadowsOptions>>;
|
|
33
|
-
parameters: import("@angular/core").Signal<Omit<NgtsAccumulativeShadowsOptions, "scale" | "
|
|
33
|
+
parameters: import("@angular/core").Signal<Omit<NgtsAccumulativeShadowsOptions, "scale" | "frames" | "blend" | "limit" | "temporal" | "opacity" | "alphaTest" | "color" | "colorBlend" | "resolution" | "toneMapped">>;
|
|
34
34
|
lightsRef: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>>>;
|
|
35
35
|
planeRef: import("@angular/core").Signal<ElementRef<Mesh<PlaneGeometry, import("three").ShaderMaterial & {
|
|
36
36
|
map: import("three").Texture | null;
|
|
@@ -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" | "
|
|
35
|
+
parameters: import("@angular/core").Signal<Omit<NgtsCausticsOptions, "frames" | "color" | "resolution" | "debug" | "causticsOnly" | "backside" | "ior" | "backsideIOR" | "worldRadius" | "intensity" | "lightSource">>;
|
|
36
36
|
debug: import("@angular/core").Signal<boolean>;
|
|
37
37
|
color: import("@angular/core").Signal<ColorRepresentation>;
|
|
38
38
|
private resolution;
|
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, "disable" | "precise" | "cacheKey" | "top" | "right" | "bottom" | "left" | "front" | "back" | "disableX" | "disableY" | "disableZ">>;
|
|
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, "disable" | "precise" | "cacheKey" | "top" | "right" | "bottom" | "left" | "front" | "back" | "disableX" | "disableY" | "disableZ">>;
|
|
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" | "
|
|
22
|
+
parameters: import("@angular/core").Signal<Omit<NgtsContactShadowsOptions, "scale" | "renderOrder" | "frames" | "opacity" | "color" | "resolution" | "depthWrite" | "near" | "far" | "width" | "height" | "blur" | "smooth">>;
|
|
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" | "
|
|
296
|
+
}, "scale">> & NgtsLightformerOptions, "scale" | "color" | "toneMapped" | "map" | "target" | "intensity" | "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, "colorWrite" | "depthWrite">>;
|
|
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" | "
|
|
48
|
+
parameters: import("@angular/core").Signal<Omit<NgtsRenderTextureOptions, "frames" | "width" | "height" | "depthBuffer" | "stencilBuffer" | "samples" | "generateMipmaps" | "renderPriority" | "eventPriority" | "compute">>;
|
|
49
49
|
content: import("@angular/core").Signal<TemplateRef<any>>;
|
|
50
50
|
private store;
|
|
51
51
|
private size;
|
|
@@ -104,7 +104,7 @@ 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" | "
|
|
107
|
+
parameters: import("@angular/core").Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "debug" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom" | "volumetric">>;
|
|
108
108
|
volumetricOptions: import("@angular/core").Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "debug" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom">>;
|
|
109
109
|
spotLight: import("@angular/core").Signal<ElementRef<SpotLight>>;
|
|
110
110
|
debug: import("@angular/core").Signal<boolean | undefined>;
|
package/staging/lib/stage.d.ts
CHANGED
|
@@ -55,14 +55,11 @@ 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<{
|
|
59
59
|
main: [x: number, y: number, z: number];
|
|
60
60
|
fill: [x: number, y: number, z: number];
|
|
61
|
-
}>;
|
|
61
|
+
} | "rembrandt" | "portrait" | "upfront" | "soft">;
|
|
62
62
|
config: import("@angular/core").Signal<{
|
|
63
|
-
main: [x: number, y: number, z: number];
|
|
64
|
-
fill: [x: number, y: number, z: number];
|
|
65
|
-
} | {
|
|
66
63
|
readonly main: readonly [1, 2, 1];
|
|
67
64
|
readonly fill: readonly [-2, -0.5, -2];
|
|
68
65
|
} | {
|
|
@@ -74,6 +71,9 @@ export declare class NgtsStage {
|
|
|
74
71
|
} | {
|
|
75
72
|
readonly main: readonly [-2, 4, 4];
|
|
76
73
|
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>;
|