angular-three 3.2.1 → 3.2.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/lib/canvas.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare class NgtCanvas {
|
|
|
29
29
|
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
30
30
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
31
31
|
add?: ((...object: import("three").Object3D[]) => import("three").Camera) | undefined;
|
|
32
|
+
remove?: ((...object: import("three").Object3D[]) => import("three").Camera) | undefined;
|
|
32
33
|
readonly type?: string | undefined;
|
|
33
34
|
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);
|
|
34
35
|
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);
|
|
@@ -81,7 +82,6 @@ export declare class NgtCanvas {
|
|
|
81
82
|
(vector: Vector3): void;
|
|
82
83
|
(x: number, y: number, z: number): void;
|
|
83
84
|
} | undefined;
|
|
84
|
-
remove?: ((...object: import("three").Object3D[]) => import("three").Camera) | undefined;
|
|
85
85
|
removeFromParent?: (() => import("three").Camera) | undefined;
|
|
86
86
|
clear?: (() => import("three").Camera) | undefined;
|
|
87
87
|
getObjectById?: ((id: number) => import("three").Object3D | undefined) | undefined;
|
|
@@ -119,6 +119,7 @@ export declare class NgtCanvas {
|
|
|
119
119
|
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
120
120
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
121
121
|
add?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
|
|
122
|
+
remove?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
|
|
122
123
|
view?: {
|
|
123
124
|
enabled: boolean;
|
|
124
125
|
fullWidth: number;
|
|
@@ -180,7 +181,6 @@ export declare class NgtCanvas {
|
|
|
180
181
|
(vector: Vector3): void;
|
|
181
182
|
(x: number, y: number, z: number): void;
|
|
182
183
|
} | undefined;
|
|
183
|
-
remove?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
|
|
184
184
|
removeFromParent?: (() => import("three").PerspectiveCamera) | undefined;
|
|
185
185
|
clear?: (() => import("three").PerspectiveCamera) | undefined;
|
|
186
186
|
getObjectById?: ((id: number) => import("three").Object3D | undefined) | undefined;
|
|
@@ -238,6 +238,7 @@ export declare class NgtCanvas {
|
|
|
238
238
|
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
239
239
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
240
240
|
add?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
|
|
241
|
+
remove?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
|
|
241
242
|
view?: {
|
|
242
243
|
enabled: boolean;
|
|
243
244
|
fullWidth: number;
|
|
@@ -299,7 +300,6 @@ export declare class NgtCanvas {
|
|
|
299
300
|
(vector: Vector3): void;
|
|
300
301
|
(x: number, y: number, z: number): void;
|
|
301
302
|
} | undefined;
|
|
302
|
-
remove?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
|
|
303
303
|
removeFromParent?: (() => import("three").OrthographicCamera) | undefined;
|
|
304
304
|
clear?: (() => import("three").OrthographicCamera) | undefined;
|
|
305
305
|
getObjectById?: ((id: number) => import("three").Object3D | undefined) | undefined;
|