angular-three 2.5.2 → 2.6.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.
@@ -18,17 +18,16 @@ 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;
23
21
  readonly type?: string | undefined;
24
- attach: string | string[] | import("angular-three").NgtAttachFunction;
25
22
  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
23
  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);
24
+ attach: string | string[] | import("angular-three").NgtAttachFunction;
27
25
  __ngt_args__: [];
28
26
  readonly isCamera?: true | undefined;
29
27
  matrixWorldInverse?: import("three").Matrix4 | undefined;
30
28
  projectionMatrix?: import("three").Matrix4 | undefined;
31
29
  projectionMatrixInverse?: import("three").Matrix4 | undefined;
30
+ coordinateSystem?: import("three").CoordinateSystem | undefined;
32
31
  viewport?: import("three").Vector4 | undefined;
33
32
  getWorldDirection?: ((target: Vector3) => Vector3) | undefined;
34
33
  readonly isObject3D?: true | 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,17 +108,16 @@ 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;
113
111
  readonly type?: string | undefined;
114
- attach: string | string[] | import("angular-three").NgtAttachFunction;
115
112
  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
113
  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);
114
+ attach: string | string[] | import("angular-three").NgtAttachFunction;
117
115
  __ngt_args__: [fov?: number | undefined, aspect?: number | undefined, near?: number | undefined, far?: number | undefined];
118
116
  readonly isCamera?: true | undefined;
119
117
  matrixWorldInverse?: import("three").Matrix4 | undefined;
120
118
  projectionMatrix?: import("three").Matrix4 | undefined;
121
119
  projectionMatrixInverse?: import("three").Matrix4 | undefined;
120
+ coordinateSystem?: import("three").CoordinateSystem | undefined;
122
121
  viewport?: import("three").Vector4 | undefined;
123
122
  getWorldDirection?: ((target: Vector3) => Vector3) | undefined;
124
123
  readonly isObject3D?: true | 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,17 +227,16 @@ 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;
232
230
  readonly type?: string | undefined;
233
- attach: string | string[] | import("angular-three").NgtAttachFunction;
234
231
  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
232
  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);
233
+ attach: string | string[] | import("angular-three").NgtAttachFunction;
236
234
  __ngt_args__: [left?: number | undefined, right?: number | undefined, top?: number | undefined, bottom?: number | undefined, near?: number | undefined, far?: number | undefined];
237
235
  readonly isCamera?: true | undefined;
238
236
  matrixWorldInverse?: import("three").Matrix4 | undefined;
239
237
  projectionMatrix?: import("three").Matrix4 | undefined;
240
238
  projectionMatrixInverse?: import("three").Matrix4 | undefined;
239
+ coordinateSystem?: import("three").CoordinateSystem | undefined;
241
240
  viewport?: import("three").Vector4 | undefined;
242
241
  getWorldDirection?: ((target: Vector3) => Vector3) | undefined;
243
242
  readonly isObject3D?: true | 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.0",
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;