angular-three 2.10.7 → 2.12.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/lib/canvas.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare class NgtCanvas {
|
|
|
25
25
|
raycaster: import("@angular/core").InputSignal<Partial<Raycaster> | undefined>;
|
|
26
26
|
scene: import("@angular/core").InputSignal<Scene | Partial<Scene> | undefined>;
|
|
27
27
|
camera: import("@angular/core").InputSignal<NonNullable<((import("./types").NgtCamera | Partial<{
|
|
28
|
+
readonly type?: string | undefined;
|
|
28
29
|
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);
|
|
29
30
|
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);
|
|
30
31
|
clone?: ((recursive?: boolean) => import("three").Camera) | undefined;
|
|
@@ -34,7 +35,6 @@ export declare class NgtCanvas {
|
|
|
34
35
|
applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").Camera) | undefined;
|
|
35
36
|
attach: string | string[] | import("./types").NgtAttachFunction;
|
|
36
37
|
__ngt_args__: [];
|
|
37
|
-
readonly type?: string | undefined;
|
|
38
38
|
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
39
39
|
readonly isObject3D?: true | undefined;
|
|
40
40
|
readonly id?: number | undefined;
|
|
@@ -115,15 +115,6 @@ export declare class NgtCanvas {
|
|
|
115
115
|
dispose: (() => void) | null;
|
|
116
116
|
raycast: import("three").Object3D["raycast"] | null;
|
|
117
117
|
} & {
|
|
118
|
-
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);
|
|
119
|
-
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);
|
|
120
|
-
clone?: ((recursive?: boolean) => import("three").PerspectiveCamera) | undefined;
|
|
121
|
-
copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").PerspectiveCamera) | undefined;
|
|
122
|
-
add?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
|
|
123
|
-
applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
|
|
124
|
-
applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").PerspectiveCamera) | undefined;
|
|
125
|
-
attach: string | string[] | import("./types").NgtAttachFunction;
|
|
126
|
-
__ngt_args__: [fov?: number | undefined, aspect?: number | undefined, near?: number | undefined, far?: number | undefined];
|
|
127
118
|
view?: {
|
|
128
119
|
enabled: boolean;
|
|
129
120
|
fullWidth: number;
|
|
@@ -134,6 +125,15 @@ export declare class NgtCanvas {
|
|
|
134
125
|
height: number;
|
|
135
126
|
} | null | undefined;
|
|
136
127
|
readonly type?: string | undefined;
|
|
128
|
+
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);
|
|
129
|
+
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);
|
|
130
|
+
clone?: ((recursive?: boolean) => import("three").PerspectiveCamera) | undefined;
|
|
131
|
+
copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").PerspectiveCamera) | undefined;
|
|
132
|
+
add?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
|
|
133
|
+
applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
|
|
134
|
+
applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").PerspectiveCamera) | undefined;
|
|
135
|
+
attach: string | string[] | import("./types").NgtAttachFunction;
|
|
136
|
+
__ngt_args__: [fov?: number | undefined, aspect?: number | undefined, near?: number | undefined, far?: number | undefined];
|
|
137
137
|
toJSON?: ((meta?: import("three").JSONMeta) => import("three").PerspectiveCameraJSON) | undefined;
|
|
138
138
|
readonly isObject3D?: true | undefined;
|
|
139
139
|
readonly id?: number | undefined;
|
|
@@ -234,15 +234,6 @@ export declare class NgtCanvas {
|
|
|
234
234
|
dispose: (() => void) | null;
|
|
235
235
|
raycast: import("three").Object3D["raycast"] | null;
|
|
236
236
|
} & {
|
|
237
|
-
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);
|
|
238
|
-
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);
|
|
239
|
-
clone?: ((recursive?: boolean) => import("three").OrthographicCamera) | undefined;
|
|
240
|
-
copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").OrthographicCamera) | undefined;
|
|
241
|
-
add?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
|
|
242
|
-
applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
|
|
243
|
-
applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").OrthographicCamera) | undefined;
|
|
244
|
-
attach: string | string[] | import("./types").NgtAttachFunction;
|
|
245
|
-
__ngt_args__: [left?: number | undefined, right?: number | undefined, top?: number | undefined, bottom?: number | undefined, near?: number | undefined, far?: number | undefined];
|
|
246
237
|
view?: {
|
|
247
238
|
enabled: boolean;
|
|
248
239
|
fullWidth: number;
|
|
@@ -253,6 +244,15 @@ export declare class NgtCanvas {
|
|
|
253
244
|
height: number;
|
|
254
245
|
} | null | undefined;
|
|
255
246
|
readonly type?: string | undefined;
|
|
247
|
+
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);
|
|
248
|
+
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);
|
|
249
|
+
clone?: ((recursive?: boolean) => import("three").OrthographicCamera) | undefined;
|
|
250
|
+
copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").OrthographicCamera) | undefined;
|
|
251
|
+
add?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
|
|
252
|
+
applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
|
|
253
|
+
applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").OrthographicCamera) | undefined;
|
|
254
|
+
attach: string | string[] | import("./types").NgtAttachFunction;
|
|
255
|
+
__ngt_args__: [left?: number | undefined, right?: number | undefined, top?: number | undefined, bottom?: number | undefined, near?: number | undefined, far?: number | undefined];
|
|
256
256
|
toJSON?: ((meta?: import("three").JSONMeta) => import("three").OrthographicCameraJSON) | undefined;
|
|
257
257
|
readonly isObject3D?: true | undefined;
|
|
258
258
|
readonly id?: number | undefined;
|
|
@@ -22,7 +22,15 @@ export declare class NgtObjectEvents {
|
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtObjectEvents, never>;
|
|
23
23
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtObjectEvents, "[ngtObjectEvents]", never, { "ngtObjectEvents": { "alias": "ngtObjectEvents"; "required": false; "isSignal": true; }; }, { "click": "click"; "dblclick": "dblclick"; "contextmenu": "contextmenu"; "pointerup": "pointerup"; "pointerdown": "pointerdown"; "pointerover": "pointerover"; "pointerout": "pointerout"; "pointerenter": "pointerenter"; "pointerleave": "pointerleave"; "pointermove": "pointermove"; "pointermissed": "pointermissed"; "pointercancel": "pointercancel"; "wheel": "wheel"; "ngtObjectEvents": "ngtObjectEventsChange"; }, never, never, true, never>;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated this has never worked. Use `NgtObjectEvents` and explicit value for inputs and outputs instead
|
|
27
|
+
* @since 2.12.0 Will be removed in 3.0.0
|
|
28
|
+
*/
|
|
25
29
|
export declare const NgtObjectEventsInputs: string[];
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated this has never worked. Use `NgtObjectEvents` and explicit value for inputs and outputs instead
|
|
32
|
+
* @since 2.12.0 Will be removed in 3.0.0
|
|
33
|
+
*/
|
|
26
34
|
export declare const NgtObjectEventsOutputs: string[];
|
|
27
35
|
/**
|
|
28
36
|
* @deprecated Use NgtObjectEventsInputs and NgtObjectEventsOutputs instead along with NgtObjectEvents
|