angular-three 2.5.2 → 2.6.1

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.
@@ -18,23 +18,22 @@ export declare class NgtCanvasNative {
18
18
  raycaster: import("@angular/core").InputSignal<Partial<Raycaster> | undefined>;
19
19
  scene: import("@angular/core").InputSignal<Scene | Partial<Scene> | undefined>;
20
20
  camera: import("@angular/core").InputSignal<NonNullable<((import("angular-three").NgtCamera | Partial<{
21
- coordinateSystem?: import("three").CoordinateSystem | undefined;
22
- clear?: (() => import("three").Camera) | undefined;
21
+ name?: string | undefined;
23
22
  readonly type?: string | undefined;
24
- attach: string | string[] | import("angular-three").NgtAttachFunction;
25
23
  addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").Camera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").Camera, typeof import("three").Camera>, ev: import("angular-three").NgtNodeEventMap<import("three").Camera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
26
24
  removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").Camera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").Camera, typeof import("three").Camera>, ev: import("angular-three").NgtNodeEventMap<import("three").Camera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
25
+ attach: string | string[] | import("angular-three").NgtAttachFunction;
27
26
  __ngt_args__: [];
28
27
  readonly isCamera?: true | undefined;
29
28
  matrixWorldInverse?: import("three").Matrix4 | undefined;
30
29
  projectionMatrix?: import("three").Matrix4 | undefined;
31
30
  projectionMatrixInverse?: import("three").Matrix4 | undefined;
31
+ coordinateSystem?: import("three").CoordinateSystem | undefined;
32
32
  viewport?: import("three").Vector4 | undefined;
33
33
  getWorldDirection?: ((target: Vector3) => Vector3) | undefined;
34
34
  readonly isObject3D?: true | undefined;
35
35
  readonly id?: number | undefined;
36
36
  uuid?: string | undefined;
37
- name?: string | undefined;
38
37
  parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
39
38
  children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
40
39
  readonly modelViewMatrix?: import("three").Matrix4 | undefined;
@@ -80,6 +79,7 @@ export declare class NgtCanvasNative {
80
79
  add?: ((...object: import("three").Object3D[]) => import("three").Camera) | undefined;
81
80
  remove?: ((...object: import("three").Object3D[]) => import("three").Camera) | undefined;
82
81
  removeFromParent?: (() => import("three").Camera) | undefined;
82
+ clear?: (() => import("three").Camera) | undefined;
83
83
  getObjectById?: ((id: number) => import("three").Object3D | undefined) | undefined;
84
84
  getObjectByName?: ((name: string) => import("three").Object3D | undefined) | undefined;
85
85
  getObjectByProperty?: ((name: string, value: any) => import("three").Object3D | undefined) | undefined;
@@ -108,23 +108,22 @@ export declare class NgtCanvasNative {
108
108
  dispose: (() => void) | null;
109
109
  raycast: import("three").Object3D["raycast"] | null;
110
110
  } & {
111
- coordinateSystem?: import("three").CoordinateSystem | undefined;
112
- clear?: (() => import("three").PerspectiveCamera) | undefined;
111
+ name?: string | undefined;
113
112
  readonly type?: string | undefined;
114
- attach: string | string[] | import("angular-three").NgtAttachFunction;
115
113
  addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").PerspectiveCamera, typeof import("three").PerspectiveCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
116
114
  removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").PerspectiveCamera, typeof import("three").PerspectiveCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
115
+ attach: string | string[] | import("angular-three").NgtAttachFunction;
117
116
  __ngt_args__: [fov?: number | undefined, aspect?: number | undefined, near?: number | undefined, far?: number | undefined];
118
117
  readonly isCamera?: true | undefined;
119
118
  matrixWorldInverse?: import("three").Matrix4 | undefined;
120
119
  projectionMatrix?: import("three").Matrix4 | undefined;
121
120
  projectionMatrixInverse?: import("three").Matrix4 | undefined;
121
+ coordinateSystem?: import("three").CoordinateSystem | undefined;
122
122
  viewport?: import("three").Vector4 | undefined;
123
123
  getWorldDirection?: ((target: Vector3) => Vector3) | undefined;
124
124
  readonly isObject3D?: true | undefined;
125
125
  readonly id?: number | undefined;
126
126
  uuid?: string | undefined;
127
- name?: string | undefined;
128
127
  parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
129
128
  children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
130
129
  readonly modelViewMatrix?: import("three").Matrix4 | undefined;
@@ -170,6 +169,7 @@ export declare class NgtCanvasNative {
170
169
  add?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
171
170
  remove?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
172
171
  removeFromParent?: (() => import("three").PerspectiveCamera) | undefined;
172
+ clear?: (() => import("three").PerspectiveCamera) | undefined;
173
173
  getObjectById?: ((id: number) => import("three").Object3D | undefined) | undefined;
174
174
  getObjectByName?: ((name: string) => import("three").Object3D | undefined) | undefined;
175
175
  getObjectByProperty?: ((name: string, value: any) => import("three").Object3D | undefined) | undefined;
@@ -227,23 +227,22 @@ export declare class NgtCanvasNative {
227
227
  dispose: (() => void) | null;
228
228
  raycast: import("three").Object3D["raycast"] | null;
229
229
  } & {
230
- coordinateSystem?: import("three").CoordinateSystem | undefined;
231
- clear?: (() => import("three").OrthographicCamera) | undefined;
230
+ name?: string | undefined;
232
231
  readonly type?: string | undefined;
233
- attach: string | string[] | import("angular-three").NgtAttachFunction;
234
232
  addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").OrthographicCamera, typeof import("three").OrthographicCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
235
233
  removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").OrthographicCamera, typeof import("three").OrthographicCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
234
+ attach: string | string[] | import("angular-three").NgtAttachFunction;
236
235
  __ngt_args__: [left?: number | undefined, right?: number | undefined, top?: number | undefined, bottom?: number | undefined, near?: number | undefined, far?: number | undefined];
237
236
  readonly isCamera?: true | undefined;
238
237
  matrixWorldInverse?: import("three").Matrix4 | undefined;
239
238
  projectionMatrix?: import("three").Matrix4 | undefined;
240
239
  projectionMatrixInverse?: import("three").Matrix4 | undefined;
240
+ coordinateSystem?: import("three").CoordinateSystem | undefined;
241
241
  viewport?: import("three").Vector4 | undefined;
242
242
  getWorldDirection?: ((target: Vector3) => Vector3) | undefined;
243
243
  readonly isObject3D?: true | undefined;
244
244
  readonly id?: number | undefined;
245
245
  uuid?: string | undefined;
246
- name?: string | undefined;
247
246
  parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
248
247
  children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
249
248
  readonly modelViewMatrix?: import("three").Matrix4 | undefined;
@@ -289,6 +288,7 @@ export declare class NgtCanvasNative {
289
288
  add?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
290
289
  remove?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
291
290
  removeFromParent?: (() => import("three").OrthographicCamera) | undefined;
291
+ clear?: (() => import("three").OrthographicCamera) | undefined;
292
292
  getObjectById?: ((id: number) => import("three").Object3D | undefined) | undefined;
293
293
  getObjectByName?: ((name: string) => import("three").Object3D | undefined) | undefined;
294
294
  getObjectByProperty?: ((name: string, value: any) => import("three").Object3D | undefined) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-three",
3
- "version": "2.5.2",
3
+ "version": "2.6.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -9,7 +9,7 @@ export declare class WebGL2RenderingContext {
9
9
  private GL_VERSION;
10
10
  private SCISSOR_BOX;
11
11
  private VIEWPORT;
12
- getParameter(paramId: number): number[] | string[] | undefined;
12
+ getParameter(paramId: number): string[] | number[] | undefined;
13
13
  getExtension(ext: string): any;
14
14
  getProgramInfoLog: () => string;
15
15
  getShaderInfoLog: () => string;