angular-three 2.6.0 → 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.
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,8 +22,8 @@ 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
|
-
export declare const NgtObjectEventsInputs:
|
|
26
|
-
export declare const NgtObjectEventsOutputs:
|
|
25
|
+
export declare const NgtObjectEventsInputs: string[];
|
|
26
|
+
export declare const NgtObjectEventsOutputs: string[];
|
|
27
27
|
/**
|
|
28
28
|
* @deprecated Use NgtObjectEventsInputs and NgtObjectEventsOutputs instead along with NgtObjectEvents
|
|
29
29
|
* @since 2.6.0 Will be removed in 3.0.0
|
|
@@ -18,6 +18,7 @@ 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
|
+
name?: string | undefined;
|
|
21
22
|
readonly type?: string | undefined;
|
|
22
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);
|
|
23
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);
|
|
@@ -33,7 +34,6 @@ export declare class NgtCanvasNative {
|
|
|
33
34
|
readonly isObject3D?: true | undefined;
|
|
34
35
|
readonly id?: number | undefined;
|
|
35
36
|
uuid?: string | undefined;
|
|
36
|
-
name?: string | undefined;
|
|
37
37
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
38
38
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
39
39
|
readonly modelViewMatrix?: import("three").Matrix4 | undefined;
|
|
@@ -108,6 +108,7 @@ export declare class NgtCanvasNative {
|
|
|
108
108
|
dispose: (() => void) | null;
|
|
109
109
|
raycast: import("three").Object3D["raycast"] | null;
|
|
110
110
|
} & {
|
|
111
|
+
name?: string | undefined;
|
|
111
112
|
readonly type?: string | undefined;
|
|
112
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);
|
|
113
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);
|
|
@@ -123,7 +124,6 @@ export declare class NgtCanvasNative {
|
|
|
123
124
|
readonly isObject3D?: true | undefined;
|
|
124
125
|
readonly id?: number | undefined;
|
|
125
126
|
uuid?: string | undefined;
|
|
126
|
-
name?: string | undefined;
|
|
127
127
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
128
128
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
129
129
|
readonly modelViewMatrix?: import("three").Matrix4 | undefined;
|
|
@@ -227,6 +227,7 @@ export declare class NgtCanvasNative {
|
|
|
227
227
|
dispose: (() => void) | null;
|
|
228
228
|
raycast: import("three").Object3D["raycast"] | null;
|
|
229
229
|
} & {
|
|
230
|
+
name?: string | undefined;
|
|
230
231
|
readonly type?: string | undefined;
|
|
231
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);
|
|
232
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);
|
|
@@ -242,7 +243,6 @@ export declare class NgtCanvasNative {
|
|
|
242
243
|
readonly isObject3D?: true | undefined;
|
|
243
244
|
readonly id?: number | undefined;
|
|
244
245
|
uuid?: string | undefined;
|
|
245
|
-
name?: string | undefined;
|
|
246
246
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
247
247
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
248
248
|
readonly modelViewMatrix?: import("three").Matrix4 | undefined;
|