angular-three 2.5.0 → 2.5.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,16 +25,14 @@ 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
|
-
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
29
|
-
add?: ((...object: import("three").Object3D[]) => import("three").Camera) | undefined;
|
|
30
|
-
remove?: ((...object: import("three").Object3D[]) => import("three").Camera) | undefined;
|
|
31
|
-
attach: string | string[] | import("./types").NgtAttachFunction;
|
|
32
28
|
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);
|
|
33
29
|
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);
|
|
34
30
|
clone?: ((recursive?: boolean) => import("three").Camera) | undefined;
|
|
35
31
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").Camera) | undefined;
|
|
32
|
+
add?: ((...object: import("three").Object3D[]) => import("three").Camera) | undefined;
|
|
36
33
|
applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
|
|
37
34
|
applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").Camera) | undefined;
|
|
35
|
+
attach: string | string[] | import("./types").NgtAttachFunction;
|
|
38
36
|
__ngt_args__: [];
|
|
39
37
|
readonly type?: string | undefined;
|
|
40
38
|
readonly id?: number | undefined;
|
|
@@ -54,6 +52,7 @@ export declare class NgtCanvas {
|
|
|
54
52
|
visible?: boolean | undefined;
|
|
55
53
|
onBeforeRender?: ((renderer: import("three").WebGLRenderer, scene: Scene, camera: import("three").Camera, geometry: import("three").BufferGeometry, material: import("three").Material, group: import("three").Group) => void) | undefined;
|
|
56
54
|
readonly isObject3D?: true | undefined;
|
|
55
|
+
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
57
56
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
58
57
|
readonly modelViewMatrix?: import("three").Matrix4 | undefined;
|
|
59
58
|
readonly normalMatrix?: import("three").Matrix3 | undefined;
|
|
@@ -83,6 +82,7 @@ export declare class NgtCanvas {
|
|
|
83
82
|
translateZ?: ((distance: number) => import("three").Camera) | undefined;
|
|
84
83
|
localToWorld?: ((vector: Vector3) => Vector3) | undefined;
|
|
85
84
|
worldToLocal?: ((vector: Vector3) => Vector3) | undefined;
|
|
85
|
+
remove?: ((...object: import("three").Object3D[]) => import("three").Camera) | undefined;
|
|
86
86
|
removeFromParent?: (() => import("three").Camera) | undefined;
|
|
87
87
|
clear?: (() => import("three").Camera) | undefined;
|
|
88
88
|
getObjectById?: ((id: number) => import("three").Object3D | undefined) | undefined;
|
|
@@ -115,16 +115,14 @@ export declare class NgtCanvas {
|
|
|
115
115
|
dispose: (() => void) | null;
|
|
116
116
|
raycast: import("three").Object3D["raycast"] | null;
|
|
117
117
|
} & {
|
|
118
|
-
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
119
|
-
add?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
|
|
120
|
-
remove?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
|
|
121
|
-
attach: string | string[] | import("./types").NgtAttachFunction;
|
|
122
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);
|
|
123
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);
|
|
124
120
|
clone?: ((recursive?: boolean) => import("three").PerspectiveCamera) | undefined;
|
|
125
121
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").PerspectiveCamera) | undefined;
|
|
122
|
+
add?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
|
|
126
123
|
applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
|
|
127
124
|
applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").PerspectiveCamera) | undefined;
|
|
125
|
+
attach: string | string[] | import("./types").NgtAttachFunction;
|
|
128
126
|
__ngt_args__: [fov?: number | undefined, aspect?: number | undefined, near?: number | undefined, far?: number | undefined];
|
|
129
127
|
view?: {
|
|
130
128
|
enabled: boolean;
|
|
@@ -153,6 +151,7 @@ export declare class NgtCanvas {
|
|
|
153
151
|
visible?: boolean | undefined;
|
|
154
152
|
onBeforeRender?: ((renderer: import("three").WebGLRenderer, scene: Scene, camera: import("three").Camera, geometry: import("three").BufferGeometry, material: import("three").Material, group: import("three").Group) => void) | undefined;
|
|
155
153
|
readonly isObject3D?: true | undefined;
|
|
154
|
+
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
156
155
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
157
156
|
readonly modelViewMatrix?: import("three").Matrix4 | undefined;
|
|
158
157
|
readonly normalMatrix?: import("three").Matrix3 | undefined;
|
|
@@ -182,6 +181,7 @@ export declare class NgtCanvas {
|
|
|
182
181
|
translateZ?: ((distance: number) => import("three").PerspectiveCamera) | undefined;
|
|
183
182
|
localToWorld?: ((vector: Vector3) => Vector3) | undefined;
|
|
184
183
|
worldToLocal?: ((vector: Vector3) => Vector3) | undefined;
|
|
184
|
+
remove?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
|
|
185
185
|
removeFromParent?: (() => import("three").PerspectiveCamera) | undefined;
|
|
186
186
|
clear?: (() => import("three").PerspectiveCamera) | undefined;
|
|
187
187
|
getObjectById?: ((id: number) => import("three").Object3D | undefined) | undefined;
|
|
@@ -234,16 +234,14 @@ export declare class NgtCanvas {
|
|
|
234
234
|
dispose: (() => void) | null;
|
|
235
235
|
raycast: import("three").Object3D["raycast"] | null;
|
|
236
236
|
} & {
|
|
237
|
-
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
238
|
-
add?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
|
|
239
|
-
remove?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
|
|
240
|
-
attach: string | string[] | import("./types").NgtAttachFunction;
|
|
241
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);
|
|
242
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);
|
|
243
239
|
clone?: ((recursive?: boolean) => import("three").OrthographicCamera) | undefined;
|
|
244
240
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").OrthographicCamera) | undefined;
|
|
241
|
+
add?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
|
|
245
242
|
applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
|
|
246
243
|
applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").OrthographicCamera) | undefined;
|
|
244
|
+
attach: string | string[] | import("./types").NgtAttachFunction;
|
|
247
245
|
__ngt_args__: [left?: number | undefined, right?: number | undefined, top?: number | undefined, bottom?: number | undefined, near?: number | undefined, far?: number | undefined];
|
|
248
246
|
view?: {
|
|
249
247
|
enabled: boolean;
|
|
@@ -272,6 +270,7 @@ export declare class NgtCanvas {
|
|
|
272
270
|
visible?: boolean | undefined;
|
|
273
271
|
onBeforeRender?: ((renderer: import("three").WebGLRenderer, scene: Scene, camera: import("three").Camera, geometry: import("three").BufferGeometry, material: import("three").Material, group: import("three").Group) => void) | undefined;
|
|
274
272
|
readonly isObject3D?: true | undefined;
|
|
273
|
+
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
275
274
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
276
275
|
readonly modelViewMatrix?: import("three").Matrix4 | undefined;
|
|
277
276
|
readonly normalMatrix?: import("three").Matrix3 | undefined;
|
|
@@ -301,6 +300,7 @@ export declare class NgtCanvas {
|
|
|
301
300
|
translateZ?: ((distance: number) => import("three").OrthographicCamera) | undefined;
|
|
302
301
|
localToWorld?: ((vector: Vector3) => Vector3) | undefined;
|
|
303
302
|
worldToLocal?: ((vector: Vector3) => Vector3) | undefined;
|
|
303
|
+
remove?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
|
|
304
304
|
removeFromParent?: (() => import("three").OrthographicCamera) | undefined;
|
|
305
305
|
clear?: (() => import("three").OrthographicCamera) | undefined;
|
|
306
306
|
getObjectById?: ((id: number) => import("three").Object3D | undefined) | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const ANGULAR_THREE_VERSION = "^2.0.0";
|
|
2
|
-
export declare const THREE_VERSION = "^0.
|
|
3
|
-
export declare const THREE_TYPE_VERSION = "^0.
|
|
2
|
+
export declare const THREE_VERSION = "^0.169.0";
|
|
3
|
+
export declare const THREE_TYPE_VERSION = "^0.169.0";
|
|
4
4
|
export declare const NGXTENSION_VERSION = "^4.0.0";
|
|
5
5
|
export declare const SOBA_PEER_DEPENDENCIES: {
|
|
6
6
|
readonly 'three-stdlib': "^2.0.0";
|
|
@@ -11,7 +11,7 @@ export declare const SOBA_PEER_DEPENDENCIES: {
|
|
|
11
11
|
readonly maath: "^0.10.0";
|
|
12
12
|
readonly meshline: "^3.1.0";
|
|
13
13
|
readonly 'stats-gl': "^2.0.0";
|
|
14
|
-
readonly 'three-custom-shader-material': "^
|
|
15
|
-
readonly 'three-mesh-bvh': "^0.
|
|
14
|
+
readonly 'three-custom-shader-material': "^6.0.0";
|
|
15
|
+
readonly 'three-mesh-bvh': "^0.8.0";
|
|
16
16
|
readonly 'troika-three-text': "^0.49.0";
|
|
17
17
|
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SOBA_PEER_DEPENDENCIES = exports.NGXTENSION_VERSION = exports.THREE_TYPE_VERSION = exports.THREE_VERSION = exports.ANGULAR_THREE_VERSION = void 0;
|
|
4
4
|
exports.ANGULAR_THREE_VERSION = '^2.0.0';
|
|
5
|
-
exports.THREE_VERSION = '^0.
|
|
6
|
-
exports.THREE_TYPE_VERSION = '^0.
|
|
5
|
+
exports.THREE_VERSION = '^0.169.0';
|
|
6
|
+
exports.THREE_TYPE_VERSION = '^0.169.0';
|
|
7
7
|
exports.NGXTENSION_VERSION = '^4.0.0';
|
|
8
8
|
exports.SOBA_PEER_DEPENDENCIES = {
|
|
9
9
|
'three-stdlib': '^2.0.0',
|
|
@@ -14,8 +14,8 @@ exports.SOBA_PEER_DEPENDENCIES = {
|
|
|
14
14
|
maath: '^0.10.0',
|
|
15
15
|
meshline: '^3.1.0',
|
|
16
16
|
'stats-gl': '^2.0.0',
|
|
17
|
-
'three-custom-shader-material': '^
|
|
18
|
-
'three-mesh-bvh': '^0.
|
|
17
|
+
'three-custom-shader-material': '^6.0.0',
|
|
18
|
+
'three-mesh-bvh': '^0.8.0',
|
|
19
19
|
'troika-three-text': '^0.49.0',
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=version.js.map
|