angular-three-soba 2.0.0 → 2.2.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 +148 -148
- package/abstractions/lib/edges.d.ts +166 -166
- package/abstractions/lib/grid.d.ts +30 -30
- 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 +37 -37
- 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/index.d.ts +9 -1
- package/controls/lib/camera-controls.d.ts +1 -1
- package/controls/lib/orbit-controls.d.ts +1 -1
- package/esm2022/controls/index.mjs +6 -2
- package/esm2022/gizmos/angular-three-soba-gizmos.mjs +5 -0
- package/esm2022/gizmos/index.mjs +6 -0
- package/esm2022/gizmos/lib/gizmo-helper/gizmo-helper.mjs +187 -0
- package/esm2022/gizmos/lib/gizmo-helper/gizmo-viewcube.mjs +304 -0
- package/esm2022/gizmos/lib/gizmo-helper/gizmo-viewport.mjs +332 -0
- package/esm2022/gizmos/lib/pivot-controls/axis-arrow.mjs +263 -0
- package/esm2022/gizmos/lib/pivot-controls/axis-rotator.mjs +264 -0
- package/esm2022/gizmos/lib/pivot-controls/pivot-controls.mjs +340 -0
- package/esm2022/gizmos/lib/pivot-controls/plane-slider.mjs +266 -0
- package/esm2022/gizmos/lib/pivot-controls/scaling-sphere.mjs +232 -0
- package/esm2022/gizmos/lib/transform-controls.mjs +177 -0
- package/esm2022/staging/index.mjs +2 -1
- package/esm2022/staging/lib/mask.mjs +78 -0
- package/fesm2022/angular-three-soba-controls.mjs +14 -1337
- package/fesm2022/angular-three-soba-controls.mjs.map +1 -1
- package/fesm2022/angular-three-soba-gizmos.mjs +2319 -0
- package/fesm2022/angular-three-soba-gizmos.mjs.map +1 -0
- package/fesm2022/angular-three-soba-staging.mjs +92 -21
- package/fesm2022/angular-three-soba-staging.mjs.map +1 -1
- package/gizmos/README.md +3 -0
- package/gizmos/index.d.ts +5 -0
- package/gizmos/lib/gizmo-helper/gizmo-helper.d.ts +45 -0
- package/gizmos/lib/gizmo-helper/gizmo-viewcube.d.ts +74 -0
- package/gizmos/lib/gizmo-helper/gizmo-viewport.d.ts +64 -0
- package/{controls → gizmos}/lib/pivot-controls/pivot-controls.d.ts +1 -1
- package/gizmos/lib/transform-controls.d.ts +50 -0
- 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 +18 -12
- package/performances/lib/instances/instances.d.ts +9 -9
- package/performances/lib/points/points.d.ts +20 -20
- package/performances/lib/segments/segments.d.ts +4 -4
- package/shaders/lib/mesh-refraction-material.d.ts +2 -2
- package/staging/index.d.ts +1 -0
- 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 +30 -0
- 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 +6 -6
- package/esm2022/controls/lib/pivot-controls/axis-arrow.mjs +0 -263
- package/esm2022/controls/lib/pivot-controls/axis-rotator.mjs +0 -264
- package/esm2022/controls/lib/pivot-controls/pivot-controls.mjs +0 -340
- package/esm2022/controls/lib/pivot-controls/plane-slider.mjs +0 -266
- package/esm2022/controls/lib/pivot-controls/scaling-sphere.mjs +0 -232
- /package/{controls → gizmos}/lib/pivot-controls/axis-arrow.d.ts +0 -0
- /package/{controls → gizmos}/lib/pivot-controls/axis-rotator.d.ts +0 -0
- /package/{controls → gizmos}/lib/pivot-controls/plane-slider.d.ts +0 -0
- /package/{controls → gizmos}/lib/pivot-controls/scaling-sphere.d.ts +0 -0
|
@@ -5,17 +5,22 @@ import { PositionPoint } from './position-point';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class NgtsPoint {
|
|
7
7
|
options: import("@angular/core").InputSignal<Partial<{
|
|
8
|
-
|
|
8
|
+
color?: import("three").ColorRepresentation | undefined;
|
|
9
|
+
name?: string | undefined;
|
|
10
|
+
visible?: boolean | undefined;
|
|
11
|
+
userData?: Record<string, any> | undefined;
|
|
9
12
|
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
10
13
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
11
14
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
12
15
|
__ngt_args__: [];
|
|
16
|
+
size?: number | undefined;
|
|
17
|
+
instance?: ElementRef<Points> | Points | null | undefined;
|
|
18
|
+
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
19
|
+
readonly isGroup?: true | undefined;
|
|
13
20
|
readonly type?: string | undefined;
|
|
14
|
-
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
15
21
|
readonly isObject3D?: true | undefined;
|
|
16
22
|
readonly id?: number | undefined;
|
|
17
23
|
uuid?: string | undefined;
|
|
18
|
-
name?: string | undefined;
|
|
19
24
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
20
25
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
21
26
|
readonly modelViewMatrix?: Matrix4 | undefined;
|
|
@@ -24,13 +29,11 @@ export declare class NgtsPoint {
|
|
|
24
29
|
matrixAutoUpdate?: boolean | undefined;
|
|
25
30
|
matrixWorldAutoUpdate?: boolean | undefined;
|
|
26
31
|
matrixWorldNeedsUpdate?: boolean | undefined;
|
|
27
|
-
visible?: boolean | undefined;
|
|
28
32
|
castShadow?: boolean | undefined;
|
|
29
33
|
receiveShadow?: boolean | undefined;
|
|
30
34
|
frustumCulled?: boolean | undefined;
|
|
31
35
|
renderOrder?: number | undefined;
|
|
32
36
|
animations?: import("three").AnimationClip[] | undefined;
|
|
33
|
-
userData?: Record<string, any> | undefined;
|
|
34
37
|
customDepthMaterial?: import("three").Material | undefined;
|
|
35
38
|
customDistanceMaterial?: import("three").Material | undefined;
|
|
36
39
|
onBeforeShadow?: ((renderer: import("three").WebGLRenderer, scene: import("three").Scene, camera: import("three").Camera, shadowCamera: import("three").Camera, geometry: BufferGeometry, depthMaterial: import("three").Material, group: import("three").Group) => void) | undefined;
|
|
@@ -76,14 +79,11 @@ export declare class NgtsPoint {
|
|
|
76
79
|
updateMatrix?: (() => void) | undefined;
|
|
77
80
|
updateMatrixWorld?: ((force?: boolean) => void) | undefined;
|
|
78
81
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | undefined;
|
|
82
|
+
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
79
83
|
clone?: ((recursive?: boolean) => PositionPoint) | undefined;
|
|
80
84
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => PositionPoint) | undefined;
|
|
81
85
|
hasEventListener?: (<T extends keyof import("three").Object3DEventMap>(type: T, listener: import("three").EventListener<import("three").Object3DEventMap[T], T, PositionPoint>) => boolean) | undefined;
|
|
82
86
|
dispatchEvent?: (<T extends keyof import("three").Object3DEventMap>(event: import("three").BaseEvent<T> & import("three").Object3DEventMap[T]) => void) | undefined;
|
|
83
|
-
color?: import("three").ColorRepresentation | undefined;
|
|
84
|
-
instance?: ElementRef<Points> | Points | null | undefined;
|
|
85
|
-
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
86
|
-
readonly isGroup?: true | undefined;
|
|
87
87
|
position: import("angular-three").NgtVector3;
|
|
88
88
|
up: import("angular-three").NgtVector3;
|
|
89
89
|
scale: import("angular-three").NgtVector3;
|
|
@@ -104,19 +104,24 @@ export declare class NgtsPointsBuffer {
|
|
|
104
104
|
positions: import("@angular/core").InputSignal<Float32Array>;
|
|
105
105
|
colors: import("@angular/core").InputSignal<Float32Array | undefined>;
|
|
106
106
|
sizes: import("@angular/core").InputSignal<Float32Array | undefined>;
|
|
107
|
-
stride: import("@angular/core").InputSignal<
|
|
107
|
+
stride: import("@angular/core").InputSignal<3 | 2>;
|
|
108
108
|
options: import("@angular/core").InputSignal<Partial<{
|
|
109
|
-
|
|
109
|
+
color?: import("three").ColorRepresentation | undefined;
|
|
110
|
+
name?: string | undefined;
|
|
111
|
+
visible?: boolean | undefined;
|
|
112
|
+
userData?: Record<string, any> | undefined;
|
|
110
113
|
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
111
114
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
112
115
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
113
116
|
__ngt_args__: [];
|
|
117
|
+
size?: number | undefined;
|
|
118
|
+
instance?: ElementRef<Points> | Points | null | undefined;
|
|
119
|
+
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
120
|
+
readonly isGroup?: true | undefined;
|
|
114
121
|
readonly type?: string | undefined;
|
|
115
|
-
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
116
122
|
readonly isObject3D?: true | undefined;
|
|
117
123
|
readonly id?: number | undefined;
|
|
118
124
|
uuid?: string | undefined;
|
|
119
|
-
name?: string | undefined;
|
|
120
125
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
121
126
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
122
127
|
readonly modelViewMatrix?: Matrix4 | undefined;
|
|
@@ -125,13 +130,11 @@ export declare class NgtsPointsBuffer {
|
|
|
125
130
|
matrixAutoUpdate?: boolean | undefined;
|
|
126
131
|
matrixWorldAutoUpdate?: boolean | undefined;
|
|
127
132
|
matrixWorldNeedsUpdate?: boolean | undefined;
|
|
128
|
-
visible?: boolean | undefined;
|
|
129
133
|
castShadow?: boolean | undefined;
|
|
130
134
|
receiveShadow?: boolean | undefined;
|
|
131
135
|
frustumCulled?: boolean | undefined;
|
|
132
136
|
renderOrder?: number | undefined;
|
|
133
137
|
animations?: import("three").AnimationClip[] | undefined;
|
|
134
|
-
userData?: Record<string, any> | undefined;
|
|
135
138
|
customDepthMaterial?: import("three").Material | undefined;
|
|
136
139
|
customDistanceMaterial?: import("three").Material | undefined;
|
|
137
140
|
onBeforeShadow?: ((renderer: import("three").WebGLRenderer, scene: import("three").Scene, camera: import("three").Camera, shadowCamera: import("three").Camera, geometry: BufferGeometry, depthMaterial: import("three").Material, group: import("three").Group) => void) | undefined;
|
|
@@ -177,14 +180,11 @@ export declare class NgtsPointsBuffer {
|
|
|
177
180
|
updateMatrix?: (() => void) | undefined;
|
|
178
181
|
updateMatrixWorld?: ((force?: boolean) => void) | undefined;
|
|
179
182
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | undefined;
|
|
183
|
+
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
180
184
|
clone?: ((recursive?: boolean) => PositionPoint) | undefined;
|
|
181
185
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => PositionPoint) | undefined;
|
|
182
186
|
hasEventListener?: (<T extends keyof import("three").Object3DEventMap>(type: T, listener: import("three").EventListener<import("three").Object3DEventMap[T], T, PositionPoint>) => boolean) | undefined;
|
|
183
187
|
dispatchEvent?: (<T extends keyof import("three").Object3DEventMap>(event: import("three").BaseEvent<T> & import("three").Object3DEventMap[T]) => void) | undefined;
|
|
184
|
-
color?: import("three").ColorRepresentation | undefined;
|
|
185
|
-
instance?: ElementRef<Points> | Points | null | undefined;
|
|
186
|
-
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
187
|
-
readonly isGroup?: true | undefined;
|
|
188
188
|
position: import("angular-three").NgtVector3;
|
|
189
189
|
up: import("angular-three").NgtVector3;
|
|
190
190
|
scale: import("angular-three").NgtVector3;
|
|
@@ -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, "limit" | "range">>;
|
|
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<{
|
|
@@ -32,11 +32,8 @@ export declare class NgtsSegments {
|
|
|
32
32
|
geometry: LineSegmentsGeometry;
|
|
33
33
|
resolution: Vector2;
|
|
34
34
|
materialParameters: import("@angular/core").Signal<{
|
|
35
|
-
name?: string | undefined;
|
|
36
|
-
visible?: boolean | undefined;
|
|
37
|
-
userData?: Record<string, any> | undefined;
|
|
38
|
-
color?: number | undefined;
|
|
39
35
|
alphaToCoverage?: boolean | undefined;
|
|
36
|
+
color?: number | undefined;
|
|
40
37
|
dashed?: boolean | undefined;
|
|
41
38
|
dashScale?: number | undefined;
|
|
42
39
|
dashSize?: number | undefined;
|
|
@@ -65,6 +62,7 @@ export declare class NgtsSegments {
|
|
|
65
62
|
depthFunc?: import("three").DepthModes | undefined;
|
|
66
63
|
depthTest?: boolean | undefined;
|
|
67
64
|
depthWrite?: boolean | undefined;
|
|
65
|
+
name?: string | undefined;
|
|
68
66
|
opacity?: number | undefined;
|
|
69
67
|
polygonOffset?: boolean | undefined;
|
|
70
68
|
polygonOffsetFactor?: number | undefined;
|
|
@@ -78,6 +76,7 @@ export declare class NgtsSegments {
|
|
|
78
76
|
toneMapped?: boolean | undefined;
|
|
79
77
|
transparent?: boolean | undefined;
|
|
80
78
|
vertexColors: boolean;
|
|
79
|
+
visible?: boolean | undefined;
|
|
81
80
|
format?: import("three").PixelFormat | undefined;
|
|
82
81
|
stencilWrite?: boolean | undefined;
|
|
83
82
|
stencilFunc?: import("three").StencilFunc | undefined;
|
|
@@ -87,6 +86,7 @@ export declare class NgtsSegments {
|
|
|
87
86
|
stencilFail?: import("three").StencilOp | undefined;
|
|
88
87
|
stencilZFail?: import("three").StencilOp | undefined;
|
|
89
88
|
stencilZPass?: import("three").StencilOp | undefined;
|
|
89
|
+
userData?: Record<string, any> | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
positions: import("@angular/core").Signal<number[]>;
|
|
92
92
|
colors: import("@angular/core").Signal<number[]>;
|
|
@@ -3,9 +3,9 @@ declare module 'three-mesh-bvh' {
|
|
|
3
3
|
const shaderIntersectFunction: string;
|
|
4
4
|
}
|
|
5
5
|
export declare const MeshRefractionMaterial: (new (parameters?: (THREE.ShaderMaterialParameters & Partial<{
|
|
6
|
-
[name: string]: number | boolean | any[] | THREE.
|
|
6
|
+
[name: string]: number | boolean | any[] | THREE.CubeTexture | THREE.Texture | Int32Array | Float32Array | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | THREE.Color | null;
|
|
7
7
|
}>) | undefined) => THREE.ShaderMaterial & {
|
|
8
|
-
[name: string]: number | boolean | any[] | THREE.
|
|
8
|
+
[name: string]: number | boolean | any[] | THREE.CubeTexture | THREE.Texture | Int32Array | Float32Array | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | THREE.Color | null;
|
|
9
9
|
}) & {
|
|
10
10
|
key: string;
|
|
11
11
|
};
|
package/staging/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './lib/contact-shadows';
|
|
|
9
9
|
export * from './lib/environment';
|
|
10
10
|
export * from './lib/float';
|
|
11
11
|
export * from './lib/lightformer';
|
|
12
|
+
export * from './lib/mask';
|
|
12
13
|
export * from './lib/matcap-texture';
|
|
13
14
|
export * from './lib/normal-texture';
|
|
14
15
|
export * from './lib/randomized-lights';
|
|
@@ -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" | "
|
|
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;
|
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;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { NgtMesh } from 'angular-three';
|
|
3
|
+
import { BufferGeometry, Material, Mesh } from 'three';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface NgtsMaskOptions extends Partial<NgtMesh> {
|
|
6
|
+
colorWrite: boolean;
|
|
7
|
+
depthWrite: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class NgtsMask {
|
|
10
|
+
id: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
11
|
+
options: import("@angular/core").InputSignalWithTransform<NgtsMaskOptions, "" | Partial<NgtsMaskOptions>>;
|
|
12
|
+
parameters: import("@angular/core").Signal<Omit<NgtsMaskOptions, "depthWrite" | "colorWrite">>;
|
|
13
|
+
meshRef: import("@angular/core").Signal<ElementRef<Mesh<BufferGeometry<import("three").NormalBufferAttributes>, Material, import("three").Object3DEventMap>>>;
|
|
14
|
+
private colorWrite;
|
|
15
|
+
private depthWrite;
|
|
16
|
+
private spread;
|
|
17
|
+
constructor();
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsMask, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsMask, "ngts-mask", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
20
|
+
}
|
|
21
|
+
export declare function injectMask(id: () => number, inverse?: () => boolean, { injector }?: {
|
|
22
|
+
injector?: Injector;
|
|
23
|
+
}): import("@angular/core").Signal<{
|
|
24
|
+
stencilWrite: boolean;
|
|
25
|
+
stencilRef: number;
|
|
26
|
+
stencilFunc: 517 | 514;
|
|
27
|
+
stencilFail: 7680;
|
|
28
|
+
stencilZFail: 7680;
|
|
29
|
+
stencilZPass: 7680;
|
|
30
|
+
}>;
|
|
@@ -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
|
@@ -53,12 +53,15 @@ 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<
|
|
57
|
-
preset: import("@angular/core").Signal<{
|
|
56
|
+
environment: import("@angular/core").Signal<"apartment" | "city" | "dawn" | "forest" | "lobby" | "night" | "park" | "studio" | "sunset" | "warehouse" | Partial<NgtsEnvironmentOptions> | null>;
|
|
57
|
+
preset: import("@angular/core").Signal<"rembrandt" | "portrait" | "upfront" | "soft" | {
|
|
58
58
|
main: [x: number, y: number, z: number];
|
|
59
59
|
fill: [x: number, y: number, z: number];
|
|
60
|
-
}
|
|
60
|
+
}>;
|
|
61
61
|
config: import("@angular/core").Signal<{
|
|
62
|
+
main: [x: number, y: number, z: number];
|
|
63
|
+
fill: [x: number, y: number, z: number];
|
|
64
|
+
} | {
|
|
62
65
|
readonly main: readonly [1, 2, 1];
|
|
63
66
|
readonly fill: readonly [-2, -0.5, -2];
|
|
64
67
|
} | {
|
|
@@ -70,9 +73,6 @@ export declare class NgtsStage {
|
|
|
70
73
|
} | {
|
|
71
74
|
readonly main: readonly [-2, 4, 4];
|
|
72
75
|
readonly fill: readonly [-1, 0.5, -1.5];
|
|
73
|
-
} | {
|
|
74
|
-
main: [x: number, y: number, z: number];
|
|
75
|
-
fill: [x: number, y: number, z: number];
|
|
76
76
|
}>;
|
|
77
77
|
shadowBias: import("@angular/core").Signal<number>;
|
|
78
78
|
normalBias: import("@angular/core").Signal<number>;
|