angular-three-soba 2.5.2 → 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/abstractions/lib/catmull-rom-line.d.ts +167 -167
- package/abstractions/lib/edges.d.ts +188 -188
- package/abstractions/lib/grid.d.ts +36 -36
- package/abstractions/lib/line.d.ts +2 -2
- package/abstractions/lib/prism-geometry.d.ts +4 -4
- package/abstractions/lib/rounded-box.d.ts +1 -1
- package/abstractions/lib/text-3d.d.ts +43 -43
- package/abstractions/lib/text.d.ts +2 -2
- package/cameras/lib/cube-camera.d.ts +1 -1
- package/cameras/lib/orthographic-camera.d.ts +1 -1
- package/cameras/lib/perspective-camera.d.ts +1 -1
- package/controls/lib/camera-controls.d.ts +1 -1
- package/controls/lib/orbit-controls.d.ts +1 -1
- package/esm2022/loaders/index.mjs +2 -1
- package/esm2022/loaders/lib/fbx-loader.mjs +13 -0
- package/fesm2022/angular-three-soba-loaders.mjs +14 -4
- package/fesm2022/angular-three-soba-loaders.mjs.map +1 -1
- package/gizmos/lib/gizmo-helper/gizmo-viewport.d.ts +1 -1
- package/gizmos/lib/pivot-controls/axis-arrow.d.ts +1 -1
- package/gizmos/lib/pivot-controls/axis-rotator.d.ts +1 -1
- package/gizmos/lib/pivot-controls/pivot-controls.d.ts +1 -1
- package/gizmos/lib/pivot-controls/plane-slider.d.ts +1 -1
- package/gizmos/lib/pivot-controls/scaling-sphere.d.ts +1 -1
- package/gizmos/lib/transform-controls.d.ts +2 -2
- package/loaders/index.d.ts +1 -0
- package/loaders/lib/fbx-loader.d.ts +10 -0
- package/materials/lib/custom-shader-material.d.ts +3 -3
- package/materials/lib/mesh-refraction-material.d.ts +3 -3
- package/materials/lib/mesh-transmission-material.d.ts +1 -1
- package/metadata.json +1 -1
- package/misc/lib/computed-attribute.d.ts +42 -46
- package/misc/lib/decal.d.ts +1 -1
- package/misc/lib/html/html.d.ts +1 -1
- package/misc/lib/sampler.d.ts +1 -1
- package/package.json +18 -18
- package/performances/lib/instances/instances.d.ts +11 -11
- package/performances/lib/points/points.d.ts +24 -24
- package/performances/lib/segments/segments.d.ts +4 -4
- package/shaders/lib/mesh-refraction-material.d.ts +2 -2
- package/staging/lib/caustics.d.ts +1 -1
- package/staging/lib/center.d.ts +6 -6
- package/staging/lib/contact-shadows.d.ts +1 -1
- package/staging/lib/lightformer.d.ts +4 -4
- package/staging/lib/mask.d.ts +1 -1
- package/staging/lib/render-texture.d.ts +1 -1
- package/staging/lib/sky.d.ts +1 -1
- package/staging/lib/spot-light.d.ts +2 -2
- package/staging/lib/stage.d.ts +17 -17
- package/web-types.json +1 -1
|
@@ -5,22 +5,17 @@ import { PositionPoint } from './position-point';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class NgtsPoint {
|
|
7
7
|
options: import("@angular/core").InputSignal<Partial<{
|
|
8
|
-
|
|
9
|
-
name?: string | undefined;
|
|
10
|
-
visible?: boolean | undefined;
|
|
11
|
-
userData?: Record<string, any> | undefined;
|
|
12
|
-
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
8
|
+
size?: number | undefined;
|
|
13
9
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
14
10
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
11
|
+
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
15
12
|
__ngt_args__: [];
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
19
|
-
readonly isGroup?: true | undefined;
|
|
13
|
+
readonly type?: string | undefined;
|
|
14
|
+
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
20
15
|
readonly isObject3D?: true | undefined;
|
|
21
16
|
readonly id?: number | undefined;
|
|
22
17
|
uuid?: string | undefined;
|
|
23
|
-
|
|
18
|
+
name?: string | undefined;
|
|
24
19
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
25
20
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
26
21
|
readonly modelViewMatrix?: Matrix4 | undefined;
|
|
@@ -29,11 +24,13 @@ export declare class NgtsPoint {
|
|
|
29
24
|
matrixAutoUpdate?: boolean | undefined;
|
|
30
25
|
matrixWorldAutoUpdate?: boolean | undefined;
|
|
31
26
|
matrixWorldNeedsUpdate?: boolean | undefined;
|
|
27
|
+
visible?: boolean | undefined;
|
|
32
28
|
castShadow?: boolean | undefined;
|
|
33
29
|
receiveShadow?: boolean | undefined;
|
|
34
30
|
frustumCulled?: boolean | undefined;
|
|
35
31
|
renderOrder?: number | undefined;
|
|
36
32
|
animations?: import("three").AnimationClip[] | undefined;
|
|
33
|
+
userData?: Record<string, any> | undefined;
|
|
37
34
|
customDepthMaterial?: import("three").Material | undefined;
|
|
38
35
|
customDistanceMaterial?: import("three").Material | undefined;
|
|
39
36
|
onBeforeShadow?: ((renderer: import("three").WebGLRenderer, scene: import("three").Scene, camera: import("three").Camera, shadowCamera: import("three").Camera, geometry: BufferGeometry, depthMaterial: import("three").Material, group: import("three").Group) => void) | undefined;
|
|
@@ -79,11 +76,14 @@ export declare class NgtsPoint {
|
|
|
79
76
|
updateMatrix?: (() => void) | undefined;
|
|
80
77
|
updateMatrixWorld?: ((force?: boolean) => void) | undefined;
|
|
81
78
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | undefined;
|
|
82
|
-
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
83
79
|
clone?: ((recursive?: boolean) => PositionPoint) | undefined;
|
|
84
80
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => PositionPoint) | undefined;
|
|
85
81
|
hasEventListener?: (<T extends keyof import("three").Object3DEventMap>(type: T, listener: import("three").EventListener<import("three").Object3DEventMap[T], T, PositionPoint>) => boolean) | undefined;
|
|
86
82
|
dispatchEvent?: (<T extends keyof import("three").Object3DEventMap>(event: import("three").BaseEvent<T> & import("three").Object3DEventMap[T]) => void) | undefined;
|
|
83
|
+
color?: import("three").ColorRepresentation | undefined;
|
|
84
|
+
instance?: ElementRef<Points> | Points | null | undefined;
|
|
85
|
+
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
86
|
+
readonly isGroup?: true | undefined;
|
|
87
87
|
position: import("angular-three").NgtVector3;
|
|
88
88
|
up: import("angular-three").NgtVector3;
|
|
89
89
|
scale: import("angular-three").NgtVector3;
|
|
@@ -104,24 +104,19 @@ export declare class NgtsPointsBuffer {
|
|
|
104
104
|
positions: import("@angular/core").InputSignal<Float32Array>;
|
|
105
105
|
colors: import("@angular/core").InputSignal<Float32Array | undefined>;
|
|
106
106
|
sizes: import("@angular/core").InputSignal<Float32Array | undefined>;
|
|
107
|
-
stride: import("@angular/core").InputSignal<
|
|
107
|
+
stride: import("@angular/core").InputSignal<2 | 3>;
|
|
108
108
|
options: import("@angular/core").InputSignal<Partial<{
|
|
109
|
-
|
|
110
|
-
name?: string | undefined;
|
|
111
|
-
visible?: boolean | undefined;
|
|
112
|
-
userData?: Record<string, any> | undefined;
|
|
113
|
-
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
109
|
+
size?: number | undefined;
|
|
114
110
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
115
111
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
112
|
+
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
116
113
|
__ngt_args__: [];
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
120
|
-
readonly isGroup?: true | undefined;
|
|
114
|
+
readonly type?: string | undefined;
|
|
115
|
+
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
121
116
|
readonly isObject3D?: true | undefined;
|
|
122
117
|
readonly id?: number | undefined;
|
|
123
118
|
uuid?: string | undefined;
|
|
124
|
-
|
|
119
|
+
name?: string | undefined;
|
|
125
120
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
126
121
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
127
122
|
readonly modelViewMatrix?: Matrix4 | undefined;
|
|
@@ -130,11 +125,13 @@ export declare class NgtsPointsBuffer {
|
|
|
130
125
|
matrixAutoUpdate?: boolean | undefined;
|
|
131
126
|
matrixWorldAutoUpdate?: boolean | undefined;
|
|
132
127
|
matrixWorldNeedsUpdate?: boolean | undefined;
|
|
128
|
+
visible?: boolean | undefined;
|
|
133
129
|
castShadow?: boolean | undefined;
|
|
134
130
|
receiveShadow?: boolean | undefined;
|
|
135
131
|
frustumCulled?: boolean | undefined;
|
|
136
132
|
renderOrder?: number | undefined;
|
|
137
133
|
animations?: import("three").AnimationClip[] | undefined;
|
|
134
|
+
userData?: Record<string, any> | undefined;
|
|
138
135
|
customDepthMaterial?: import("three").Material | undefined;
|
|
139
136
|
customDistanceMaterial?: import("three").Material | undefined;
|
|
140
137
|
onBeforeShadow?: ((renderer: import("three").WebGLRenderer, scene: import("three").Scene, camera: import("three").Camera, shadowCamera: import("three").Camera, geometry: BufferGeometry, depthMaterial: import("three").Material, group: import("three").Group) => void) | undefined;
|
|
@@ -180,11 +177,14 @@ export declare class NgtsPointsBuffer {
|
|
|
180
177
|
updateMatrix?: (() => void) | undefined;
|
|
181
178
|
updateMatrixWorld?: ((force?: boolean) => void) | undefined;
|
|
182
179
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | undefined;
|
|
183
|
-
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
184
180
|
clone?: ((recursive?: boolean) => PositionPoint) | undefined;
|
|
185
181
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => PositionPoint) | undefined;
|
|
186
182
|
hasEventListener?: (<T extends keyof import("three").Object3DEventMap>(type: T, listener: import("three").EventListener<import("three").Object3DEventMap[T], T, PositionPoint>) => boolean) | undefined;
|
|
187
183
|
dispatchEvent?: (<T extends keyof import("three").Object3DEventMap>(event: import("three").BaseEvent<T> & import("three").Object3DEventMap[T]) => void) | undefined;
|
|
184
|
+
color?: import("three").ColorRepresentation | undefined;
|
|
185
|
+
instance?: ElementRef<Points> | Points | null | undefined;
|
|
186
|
+
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
187
|
+
readonly isGroup?: true | undefined;
|
|
188
188
|
position: import("angular-three").NgtVector3;
|
|
189
189
|
up: import("angular-three").NgtVector3;
|
|
190
190
|
scale: import("angular-three").NgtVector3;
|
|
@@ -207,7 +207,7 @@ export interface NgtsPointsInstancesOptions extends Partial<NgtPoints> {
|
|
|
207
207
|
}
|
|
208
208
|
export declare class NgtsPointsInstances {
|
|
209
209
|
options: import("@angular/core").InputSignalWithTransform<NgtsPointsInstancesOptions, "" | Partial<NgtsPointsInstancesOptions>>;
|
|
210
|
-
parameters: import("@angular/core").Signal<Omit<NgtsPointsInstancesOptions, "
|
|
210
|
+
parameters: import("@angular/core").Signal<Omit<NgtsPointsInstancesOptions, "range" | "limit">>;
|
|
211
211
|
pointsRef: import("@angular/core").Signal<ElementRef<Points<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>;
|
|
212
212
|
private limit;
|
|
213
213
|
buffers: import("@angular/core").Signal<{
|
|
@@ -32,8 +32,11 @@ export declare class NgtsSegments {
|
|
|
32
32
|
geometry: LineSegmentsGeometry;
|
|
33
33
|
resolution: Vector2;
|
|
34
34
|
materialParameters: import("@angular/core").Signal<{
|
|
35
|
-
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
visible?: boolean | undefined;
|
|
37
|
+
userData?: Record<string, any> | undefined;
|
|
36
38
|
color?: number | undefined;
|
|
39
|
+
alphaToCoverage?: boolean | undefined;
|
|
37
40
|
dashed?: boolean | undefined;
|
|
38
41
|
dashScale?: number | undefined;
|
|
39
42
|
dashSize?: number | undefined;
|
|
@@ -62,7 +65,6 @@ export declare class NgtsSegments {
|
|
|
62
65
|
depthFunc?: import("three").DepthModes | undefined;
|
|
63
66
|
depthTest?: boolean | undefined;
|
|
64
67
|
depthWrite?: boolean | undefined;
|
|
65
|
-
name?: string | undefined;
|
|
66
68
|
opacity?: number | undefined;
|
|
67
69
|
polygonOffset?: boolean | undefined;
|
|
68
70
|
polygonOffsetFactor?: number | undefined;
|
|
@@ -76,7 +78,6 @@ export declare class NgtsSegments {
|
|
|
76
78
|
toneMapped?: boolean | undefined;
|
|
77
79
|
transparent?: boolean | undefined;
|
|
78
80
|
vertexColors: boolean;
|
|
79
|
-
visible?: boolean | undefined;
|
|
80
81
|
format?: import("three").PixelFormat | undefined;
|
|
81
82
|
stencilWrite?: boolean | undefined;
|
|
82
83
|
stencilFunc?: import("three").StencilFunc | undefined;
|
|
@@ -86,7 +87,6 @@ export declare class NgtsSegments {
|
|
|
86
87
|
stencilFail?: import("three").StencilOp | undefined;
|
|
87
88
|
stencilZFail?: import("three").StencilOp | undefined;
|
|
88
89
|
stencilZPass?: import("three").StencilOp | undefined;
|
|
89
|
-
userData?: Record<string, any> | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
positions: import("@angular/core").Signal<number[]>;
|
|
92
92
|
colors: import("@angular/core").Signal<number[]>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
2
|
export declare const MeshRefractionMaterial: (new (parameters?: (THREE.ShaderMaterialParameters & Partial<{
|
|
3
|
-
[name: string]: number | boolean | any[] | THREE.CubeTexture | THREE.Texture | Int32Array | Float32Array | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 |
|
|
3
|
+
[name: string]: number | boolean | any[] | THREE.Color | THREE.CubeTexture | THREE.Texture | Int32Array | Float32Array | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | null;
|
|
4
4
|
}>) | undefined) => THREE.ShaderMaterial & {
|
|
5
|
-
[name: string]: number | boolean | any[] | THREE.CubeTexture | THREE.Texture | Int32Array | Float32Array | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 |
|
|
5
|
+
[name: string]: number | boolean | any[] | THREE.Color | THREE.CubeTexture | THREE.Texture | Int32Array | Float32Array | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | null;
|
|
6
6
|
}) & {
|
|
7
7
|
key: string;
|
|
8
8
|
};
|
|
@@ -32,7 +32,7 @@ export declare class NgtsCaustics {
|
|
|
32
32
|
protected readonly OneFactor: 201;
|
|
33
33
|
protected readonly SrcAlphaFactor: 204;
|
|
34
34
|
options: import("@angular/core").InputSignalWithTransform<NgtsCausticsOptions, "" | Partial<NgtsCausticsOptions>>;
|
|
35
|
-
parameters: import("@angular/core").Signal<Omit<NgtsCausticsOptions, "
|
|
35
|
+
parameters: import("@angular/core").Signal<Omit<NgtsCausticsOptions, "frames" | "color" | "resolution" | "debug" | "causticsOnly" | "backside" | "ior" | "backsideIOR" | "worldRadius" | "intensity" | "lightSource">>;
|
|
36
36
|
debug: import("@angular/core").Signal<boolean>;
|
|
37
37
|
color: import("@angular/core").Signal<ColorRepresentation>;
|
|
38
38
|
private resolution;
|
package/staging/lib/center.d.ts
CHANGED
|
@@ -38,9 +38,9 @@ export interface NgtsCenterOptions {
|
|
|
38
38
|
}
|
|
39
39
|
export declare class NgtsCenter {
|
|
40
40
|
options: import("@angular/core").InputSignalWithTransform<Partial<{
|
|
41
|
-
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
42
41
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
43
42
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
43
|
+
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
44
44
|
__ngt_args__: [];
|
|
45
45
|
readonly isGroup?: true | undefined;
|
|
46
46
|
readonly isObject3D?: true | undefined;
|
|
@@ -123,9 +123,9 @@ export declare class NgtsCenter {
|
|
|
123
123
|
dispose: (() => void) | null;
|
|
124
124
|
raycast: Object3D["raycast"] | null;
|
|
125
125
|
}> & NgtsCenterOptions, "" | Partial<Partial<{
|
|
126
|
-
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
127
126
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
128
127
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
128
|
+
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
129
129
|
__ngt_args__: [];
|
|
130
130
|
readonly isGroup?: true | undefined;
|
|
131
131
|
readonly isObject3D?: true | undefined;
|
|
@@ -209,9 +209,9 @@ export declare class NgtsCenter {
|
|
|
209
209
|
raycast: Object3D["raycast"] | null;
|
|
210
210
|
}> & NgtsCenterOptions>>;
|
|
211
211
|
parameters: import("@angular/core").Signal<Omit<Partial<{
|
|
212
|
-
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
213
212
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
214
213
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
214
|
+
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
215
215
|
__ngt_args__: [];
|
|
216
216
|
readonly isGroup?: true | undefined;
|
|
217
217
|
readonly isObject3D?: true | undefined;
|
|
@@ -293,15 +293,15 @@ export declare class NgtsCenter {
|
|
|
293
293
|
layers: import("angular-three").NgtLayers;
|
|
294
294
|
dispose: (() => void) | null;
|
|
295
295
|
raycast: Object3D["raycast"] | null;
|
|
296
|
-
}> & NgtsCenterOptions, "
|
|
296
|
+
}> & NgtsCenterOptions, "disable" | "precise" | "cacheKey" | "top" | "right" | "bottom" | "left" | "front" | "back" | "disableX" | "disableY" | "disableZ">>;
|
|
297
297
|
centered: import("@angular/core").OutputEmitterRef<NgtsCenterState>;
|
|
298
298
|
groupRef: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>>>;
|
|
299
299
|
private outerRef;
|
|
300
300
|
private innerRef;
|
|
301
301
|
centerOptions: import("@angular/core").Signal<Pick<Partial<{
|
|
302
|
-
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
303
302
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
304
303
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
304
|
+
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
305
305
|
__ngt_args__: [];
|
|
306
306
|
readonly isGroup?: true | undefined;
|
|
307
307
|
readonly isObject3D?: true | undefined;
|
|
@@ -383,7 +383,7 @@ export declare class NgtsCenter {
|
|
|
383
383
|
layers: import("angular-three").NgtLayers;
|
|
384
384
|
dispose: (() => void) | null;
|
|
385
385
|
raycast: Object3D["raycast"] | null;
|
|
386
|
-
}> & NgtsCenterOptions, "
|
|
386
|
+
}> & NgtsCenterOptions, "disable" | "precise" | "cacheKey" | "top" | "right" | "bottom" | "left" | "front" | "back" | "disableX" | "disableY" | "disableZ">>;
|
|
387
387
|
constructor();
|
|
388
388
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCenter, never>;
|
|
389
389
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsCenter, "ngts-center", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "centered": "centered"; }, never, ["*"], true, never>;
|
|
@@ -19,7 +19,7 @@ export interface NgtsContactShadowsOptions extends Partial<Omit<NgtGroup, 'scale
|
|
|
19
19
|
export declare class NgtsContactShadows {
|
|
20
20
|
Math: Math;
|
|
21
21
|
options: import("@angular/core").InputSignalWithTransform<NgtsContactShadowsOptions, "" | Partial<NgtsContactShadowsOptions>>;
|
|
22
|
-
parameters: import("@angular/core").Signal<Omit<NgtsContactShadowsOptions, "scale" | "renderOrder" | "
|
|
22
|
+
parameters: import("@angular/core").Signal<Omit<NgtsContactShadowsOptions, "scale" | "renderOrder" | "frames" | "opacity" | "color" | "resolution" | "depthWrite" | "near" | "far" | "width" | "height" | "blur" | "smooth">>;
|
|
23
23
|
contactShadowsRef: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>>>;
|
|
24
24
|
shadowsCameraRef: import("@angular/core").Signal<ElementRef<OrthographicCamera> | undefined>;
|
|
25
25
|
private store;
|
|
@@ -14,9 +14,9 @@ export interface NgtsLightformerOptions {
|
|
|
14
14
|
export declare class NgtsLightformer {
|
|
15
15
|
side: 2;
|
|
16
16
|
options: import("@angular/core").InputSignalWithTransform<Partial<Omit<{
|
|
17
|
-
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
18
17
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
19
18
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
19
|
+
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
20
20
|
__ngt_args__: [geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined, material?: import("three").Material | import("three").Material[] | undefined];
|
|
21
21
|
readonly isObject3D?: true | undefined;
|
|
22
22
|
readonly id?: number | undefined;
|
|
@@ -107,9 +107,9 @@ export declare class NgtsLightformer {
|
|
|
107
107
|
dispose: (() => void) | null;
|
|
108
108
|
raycast: import("three").Object3D["raycast"] | null;
|
|
109
109
|
}, "scale">> & NgtsLightformerOptions, "" | Partial<Partial<Omit<{
|
|
110
|
-
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
111
110
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
112
111
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
112
|
+
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
113
113
|
__ngt_args__: [geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined, material?: import("three").Material | import("three").Material[] | undefined];
|
|
114
114
|
readonly isObject3D?: true | undefined;
|
|
115
115
|
readonly id?: number | undefined;
|
|
@@ -201,9 +201,9 @@ export declare class NgtsLightformer {
|
|
|
201
201
|
raycast: import("three").Object3D["raycast"] | null;
|
|
202
202
|
}, "scale">> & NgtsLightformerOptions>>;
|
|
203
203
|
parameters: import("@angular/core").Signal<Omit<Partial<Omit<{
|
|
204
|
-
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
205
204
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
206
205
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
206
|
+
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
207
207
|
__ngt_args__: [geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined, material?: import("three").Material | import("three").Material[] | undefined];
|
|
208
208
|
readonly isObject3D?: true | undefined;
|
|
209
209
|
readonly id?: number | undefined;
|
|
@@ -293,7 +293,7 @@ export declare class NgtsLightformer {
|
|
|
293
293
|
layers: import("angular-three").NgtLayers;
|
|
294
294
|
dispose: (() => void) | null;
|
|
295
295
|
raycast: import("three").Object3D["raycast"] | null;
|
|
296
|
-
}, "scale">> & NgtsLightformerOptions, "scale" | "
|
|
296
|
+
}, "scale">> & NgtsLightformerOptions, "scale" | "color" | "toneMapped" | "map" | "target" | "intensity" | "form">>;
|
|
297
297
|
private intensity;
|
|
298
298
|
private color;
|
|
299
299
|
private target;
|
package/staging/lib/mask.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface NgtsMaskOptions extends Partial<NgtMesh> {
|
|
|
9
9
|
export declare class NgtsMask {
|
|
10
10
|
id: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
11
11
|
options: import("@angular/core").InputSignalWithTransform<NgtsMaskOptions, "" | Partial<NgtsMaskOptions>>;
|
|
12
|
-
parameters: import("@angular/core").Signal<Omit<NgtsMaskOptions, "
|
|
12
|
+
parameters: import("@angular/core").Signal<Omit<NgtsMaskOptions, "colorWrite" | "depthWrite">>;
|
|
13
13
|
meshRef: import("@angular/core").Signal<ElementRef<Mesh<BufferGeometry<import("three").NormalBufferAttributes>, Material, import("three").Object3DEventMap>>>;
|
|
14
14
|
private colorWrite;
|
|
15
15
|
private depthWrite;
|
|
@@ -45,7 +45,7 @@ export declare class NgtsRenderTextureContent {
|
|
|
45
45
|
export declare class NgtsRenderTexture {
|
|
46
46
|
attach: import("@angular/core").InputSignal<NgtAttachable>;
|
|
47
47
|
options: import("@angular/core").InputSignalWithTransform<NgtsRenderTextureOptions, "" | Partial<NgtsRenderTextureOptions>>;
|
|
48
|
-
parameters: import("@angular/core").Signal<Omit<NgtsRenderTextureOptions, "
|
|
48
|
+
parameters: import("@angular/core").Signal<Omit<NgtsRenderTextureOptions, "frames" | "width" | "height" | "depthBuffer" | "stencilBuffer" | "samples" | "generateMipmaps" | "renderPriority" | "eventPriority" | "compute">>;
|
|
49
49
|
content: import("@angular/core").Signal<TemplateRef<any>>;
|
|
50
50
|
private store;
|
|
51
51
|
private size;
|
package/staging/lib/sky.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface NgtsSkyOptions extends Partial<Omit<NgtMesh, 'scale'>> {
|
|
|
15
15
|
}
|
|
16
16
|
export declare class NgtsSky {
|
|
17
17
|
options: import("@angular/core").InputSignalWithTransform<NgtsSkyOptions, "" | Partial<NgtsSkyOptions>>;
|
|
18
|
-
parameters: import("@angular/core").Signal<Omit<NgtsSkyOptions, "distance" | "inclination" | "azimuth" | "
|
|
18
|
+
parameters: import("@angular/core").Signal<Omit<NgtsSkyOptions, "distance" | "inclination" | "azimuth" | "mieCoefficient" | "mieDirectionalG" | "turbidity" | "sunPosition">>;
|
|
19
19
|
distance: import("@angular/core").Signal<number>;
|
|
20
20
|
turbidity: import("@angular/core").Signal<number>;
|
|
21
21
|
mieCoefficient: import("@angular/core").Signal<number>;
|
|
@@ -104,8 +104,8 @@ export declare class NgtsSpotLightShadow {
|
|
|
104
104
|
export declare class NgtsSpotLight {
|
|
105
105
|
protected readonly SpotLightHelper: typeof SpotLightHelper;
|
|
106
106
|
options: import("@angular/core").InputSignalWithTransform<NgtsSpotLightOptions, "" | Partial<NgtsSpotLightOptions>>;
|
|
107
|
-
parameters: import("@angular/core").Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "
|
|
108
|
-
volumetricOptions: import("@angular/core").Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "
|
|
107
|
+
parameters: import("@angular/core").Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "debug" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom" | "volumetric">>;
|
|
108
|
+
volumetricOptions: import("@angular/core").Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "debug" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom">>;
|
|
109
109
|
spotLight: import("@angular/core").Signal<ElementRef<SpotLight>>;
|
|
110
110
|
debug: import("@angular/core").Signal<boolean | undefined>;
|
|
111
111
|
angle: import("@angular/core").Signal<number | undefined>;
|
package/staging/lib/stage.d.ts
CHANGED
|
@@ -55,14 +55,11 @@ export declare class NgtsStage {
|
|
|
55
55
|
intensity: import("@angular/core").Signal<number>;
|
|
56
56
|
shadows: import("@angular/core").Signal<boolean | "contact" | "accumulative" | NgtsStageShadowsOptions>;
|
|
57
57
|
environment: import("@angular/core").Signal<"apartment" | "city" | "dawn" | "forest" | "lobby" | "night" | "park" | "studio" | "sunset" | "warehouse" | Partial<NgtsEnvironmentOptions> | null>;
|
|
58
|
-
preset: import("@angular/core").Signal<
|
|
58
|
+
preset: import("@angular/core").Signal<{
|
|
59
59
|
main: [x: number, y: number, z: number];
|
|
60
60
|
fill: [x: number, y: number, z: number];
|
|
61
|
-
}>;
|
|
61
|
+
} | "rembrandt" | "portrait" | "upfront" | "soft">;
|
|
62
62
|
config: import("@angular/core").Signal<{
|
|
63
|
-
main: [x: number, y: number, z: number];
|
|
64
|
-
fill: [x: number, y: number, z: number];
|
|
65
|
-
} | {
|
|
66
63
|
readonly main: readonly [1, 2, 1];
|
|
67
64
|
readonly fill: readonly [-2, -0.5, -2];
|
|
68
65
|
} | {
|
|
@@ -74,6 +71,9 @@ export declare class NgtsStage {
|
|
|
74
71
|
} | {
|
|
75
72
|
readonly main: readonly [-2, 4, 4];
|
|
76
73
|
readonly fill: readonly [-1, 0.5, -1.5];
|
|
74
|
+
} | {
|
|
75
|
+
main: [x: number, y: number, z: number];
|
|
76
|
+
fill: [x: number, y: number, z: number];
|
|
77
77
|
}>;
|
|
78
78
|
shadowBias: import("@angular/core").Signal<number>;
|
|
79
79
|
normalBias: import("@angular/core").Signal<number>;
|
|
@@ -85,11 +85,19 @@ export declare class NgtsStage {
|
|
|
85
85
|
randomizedLightsOptions: import("@angular/core").Signal<Partial<NgtsRandomizedLightsOptions>>;
|
|
86
86
|
environmentOptions: import("@angular/core").Signal<Partial<NgtsEnvironmentOptions>>;
|
|
87
87
|
boundsOptions: import("@angular/core").Signal<{
|
|
88
|
-
|
|
88
|
+
position?: import("angular-three").NgtVector3 | undefined;
|
|
89
|
+
up?: import("angular-three").NgtVector3 | undefined;
|
|
90
|
+
scale?: import("angular-three").NgtVector3 | undefined;
|
|
91
|
+
rotation?: import("angular-three").NgtEuler | undefined;
|
|
92
|
+
matrix?: import("angular-three").NgtMatrix4 | undefined;
|
|
93
|
+
quaternion?: import("angular-three").NgtQuaternion | undefined;
|
|
94
|
+
layers?: import("angular-three").NgtLayers | undefined;
|
|
95
|
+
dispose?: (() => void) | null | undefined;
|
|
96
|
+
raycast?: ((raycaster: import("three").Raycaster, intersects: import("three").Intersection[]) => void) | null | undefined;
|
|
89
97
|
addEventListener?: ((<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: {
|
|
90
|
-
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
91
98
|
addEventListener: (<TEventKey_1 extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey_1, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey_1]) => any) => void) & any;
|
|
92
99
|
removeEventListener: (<TEventKey_1 extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey_1, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey_1]) => any) => void) & (<TEventKey_1 extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey_1, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey_1]) => any) => void);
|
|
100
|
+
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
93
101
|
__ngt_args__: [];
|
|
94
102
|
readonly isGroup?: true | undefined;
|
|
95
103
|
readonly isObject3D?: true | undefined;
|
|
@@ -173,9 +181,9 @@ export declare class NgtsStage {
|
|
|
173
181
|
raycast: import("three").Object3D["raycast"] | null;
|
|
174
182
|
}, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void)) | undefined;
|
|
175
183
|
removeEventListener?: ((<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: {
|
|
176
|
-
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
177
184
|
addEventListener: (<TEventKey_1 extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey_1, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey_1]) => any) => void) & (<TEventKey_1 extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey_1, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey_1]) => any) => void);
|
|
178
185
|
removeEventListener: (<TEventKey_1 extends keyof import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>>(type: TEventKey_1, listener: (this: import("angular-three").NgtNodeElement<Group<import("three").Object3DEventMap>, typeof Group>, ev: import("angular-three").NgtNodeEventMap<Group<import("three").Object3DEventMap>>[TEventKey_1]) => any) => void) & any;
|
|
186
|
+
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
179
187
|
__ngt_args__: [];
|
|
180
188
|
readonly isGroup?: true | undefined;
|
|
181
189
|
readonly isObject3D?: true | undefined;
|
|
@@ -258,16 +266,8 @@ export declare class NgtsStage {
|
|
|
258
266
|
dispose: (() => void) | null;
|
|
259
267
|
raycast: import("three").Object3D["raycast"] | null;
|
|
260
268
|
}, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void)) | undefined;
|
|
269
|
+
attach?: string | string[] | import("angular-three").NgtAttachFunction | undefined;
|
|
261
270
|
__ngt_args__?: [] | undefined;
|
|
262
|
-
position?: import("angular-three").NgtVector3 | undefined;
|
|
263
|
-
up?: import("angular-three").NgtVector3 | undefined;
|
|
264
|
-
scale?: import("angular-three").NgtVector3 | undefined;
|
|
265
|
-
rotation?: import("angular-three").NgtEuler | undefined;
|
|
266
|
-
matrix?: import("angular-three").NgtMatrix4 | undefined;
|
|
267
|
-
quaternion?: import("angular-three").NgtQuaternion | undefined;
|
|
268
|
-
layers?: import("angular-three").NgtLayers | undefined;
|
|
269
|
-
dispose?: (() => void) | null | undefined;
|
|
270
|
-
raycast?: ((raycaster: import("three").Raycaster, intersects: import("three").Intersection[]) => void) | null | undefined;
|
|
271
271
|
isGroup?: true | undefined;
|
|
272
272
|
isObject3D?: true | undefined;
|
|
273
273
|
id?: number | undefined;
|
package/web-types.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","version":"2.0","name":"angular-three","framework":"angular","js-types-syntax":"typescript","framework-config":{"enable-when":{"node-packages":["angular-three-soba"]}},"contributions":{"html":{"attributes":[{"name":"attach","description":"Property to attach to parent. Can be dotted path"},{"name":"[attach]","description":"An array of paths to attach to parent. Can also be an NgtAttachFunction"},{"name":"[parameters]","description":"An object of options to pass to the instance"},{"name":"(beforeRender)","description":"Register an event to be run in animation loop"},{"name":"(attached)","description":"Register an event to be invoked after this node is attached to the parent"},{"name":"(updated)","description":"Register an event to be invoked after this node's properties are updated"}],"elements":[{"name":"ngt-grid-material","attributes":[{"name":"cellSize"},{"name":"[cellSize]"},{"name":"cellThickness"},{"name":"[cellThickness]"},{"name":"cellColor"},{"name":"[cellColor]"},{"name":"sectionSize"},{"name":"[sectionSize]"},{"name":"sectionThickness"},{"name":"[sectionThickness]"},{"name":"sectionColor"},{"name":"[sectionColor]"},{"name":"followCamera"},{"name":"[followCamera]"},{"name":"infiniteGrid"},{"name":"[infiniteGrid]"},{"name":"fadeDistance"},{"name":"[fadeDistance]"},{"name":"fadeStrength"},{"name":"[fadeStrength]"},{"name":"fadeFrom"},{"name":"[fadeFrom]"},{"name":"side"},{"name":"[side]"}],"extends":"/html/elements/ngt-shader-material"},{"name":"ngt-point-material","attributes":[{"name":"visible"},{"name":"[visible]"},{"name":"id"},{"name":"[id]"},{"name":"name"},{"name":"[name]"},{"name":"userData"},{"name":"[userData]"},{"name":"onBeforeRender"},{"name":"[onBeforeRender]"},{"name":"
|
|
1
|
+
{"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","version":"2.0","name":"angular-three","framework":"angular","js-types-syntax":"typescript","framework-config":{"enable-when":{"node-packages":["angular-three-soba"]}},"contributions":{"html":{"attributes":[{"name":"attach","description":"Property to attach to parent. Can be dotted path"},{"name":"[attach]","description":"An array of paths to attach to parent. Can also be an NgtAttachFunction"},{"name":"[parameters]","description":"An object of options to pass to the instance"},{"name":"(beforeRender)","description":"Register an event to be run in animation loop"},{"name":"(attached)","description":"Register an event to be invoked after this node is attached to the parent"},{"name":"(updated)","description":"Register an event to be invoked after this node's properties are updated"}],"elements":[{"name":"ngt-grid-material","attributes":[{"name":"cellSize"},{"name":"[cellSize]"},{"name":"cellThickness"},{"name":"[cellThickness]"},{"name":"cellColor"},{"name":"[cellColor]"},{"name":"sectionSize"},{"name":"[sectionSize]"},{"name":"sectionThickness"},{"name":"[sectionThickness]"},{"name":"sectionColor"},{"name":"[sectionColor]"},{"name":"followCamera"},{"name":"[followCamera]"},{"name":"infiniteGrid"},{"name":"[infiniteGrid]"},{"name":"fadeDistance"},{"name":"[fadeDistance]"},{"name":"fadeStrength"},{"name":"[fadeStrength]"},{"name":"fadeFrom"},{"name":"[fadeFrom]"},{"name":"side"},{"name":"[side]"}],"extends":"/html/elements/ngt-shader-material"},{"name":"ngt-point-material","attributes":[{"name":"visible"},{"name":"[visible]"},{"name":"id"},{"name":"[id]"},{"name":"name"},{"name":"[name]"},{"name":"userData"},{"name":"[userData]"},{"name":"onBeforeRender"},{"name":"[onBeforeRender]"},{"name":"dispose"},{"name":"[dispose]"},{"name":"alphaHash"},{"name":"[alphaHash]"},{"name":"alphaToCoverage"},{"name":"[alphaToCoverage]"},{"name":"blendAlpha"},{"name":"[blendAlpha]"},{"name":"blendColor"},{"name":"[blendColor]"},{"name":"blendDst"},{"name":"[blendDst]"},{"name":"blendDstAlpha"},{"name":"[blendDstAlpha]"},{"name":"blendEquation"},{"name":"[blendEquation]"},{"name":"blendEquationAlpha"},{"name":"[blendEquationAlpha]"},{"name":"blending"},{"name":"[blending]"},{"name":"blendSrc"},{"name":"[blendSrc]"},{"name":"blendSrcAlpha"},{"name":"[blendSrcAlpha]"},{"name":"clipIntersection"},{"name":"[clipIntersection]"},{"name":"clippingPlanes"},{"name":"[clippingPlanes]"},{"name":"clipShadows"},{"name":"[clipShadows]"},{"name":"colorWrite"},{"name":"[colorWrite]"},{"name":"defines"},{"name":"[defines]"},{"name":"depthFunc"},{"name":"[depthFunc]"},{"name":"depthTest"},{"name":"[depthTest]"},{"name":"depthWrite"},{"name":"[depthWrite]"},{"name":"stencilWrite"},{"name":"[stencilWrite]"},{"name":"stencilFunc"},{"name":"[stencilFunc]"},{"name":"stencilRef"},{"name":"[stencilRef]"},{"name":"stencilWriteMask"},{"name":"[stencilWriteMask]"},{"name":"stencilFuncMask"},{"name":"[stencilFuncMask]"},{"name":"stencilFail"},{"name":"[stencilFail]"},{"name":"stencilZFail"},{"name":"[stencilZFail]"},{"name":"stencilZPass"},{"name":"[stencilZPass]"},{"name":"opacity"},{"name":"[opacity]"},{"name":"polygonOffset"},{"name":"[polygonOffset]"},{"name":"polygonOffsetFactor"},{"name":"[polygonOffsetFactor]"},{"name":"polygonOffsetUnits"},{"name":"[polygonOffsetUnits]"},{"name":"precision"},{"name":"[precision]"},{"name":"premultipliedAlpha"},{"name":"[premultipliedAlpha]"},{"name":"forceSinglePass"},{"name":"[forceSinglePass]"},{"name":"dithering"},{"name":"[dithering]"},{"name":"side"},{"name":"[side]"},{"name":"shadowSide"},{"name":"[shadowSide]"},{"name":"toneMapped"},{"name":"[toneMapped]"},{"name":"transparent"},{"name":"[transparent]"},{"name":"vertexColors"},{"name":"[vertexColors]"},{"name":"version"},{"name":"[version]"},{"name":"alphaTest"},{"name":"[alphaTest]"},{"name":"onBeforeCompile"},{"name":"[onBeforeCompile]"},{"name":"customProgramCacheKey"},{"name":"[customProgramCacheKey]"},{"name":"needsUpdate"},{"name":"[needsUpdate]"},{"name":"onBuild"},{"name":"[onBuild]"},{"name":"color"},{"name":"[color]"},{"name":"fog"},{"name":"[fog]"},{"name":"map"},{"name":"[map]"},{"name":"alphaMap"},{"name":"[alphaMap]"},{"name":"sizeAttenuation"},{"name":"[sizeAttenuation]"},{"name":"size"},{"name":"[size]"}],"extends":"/html/elements/ngt-points-material"},{"name":"ngt-soft-shadow-material","attributes":[{"name":"color"},{"name":"[color]"},{"name":"blend"},{"name":"[blend]"},{"name":"opacity"},{"name":"[opacity]"},{"name":"alphaTest"},{"name":"[alphaTest]"},{"name":"map"},{"name":"[map]"}],"extends":"/html/elements/ngt-mesh-standard-material"},{"name":"ngt-spot-light-material","attributes":[{"name":"depth"},{"name":"[depth]"},{"name":"opacity"},{"name":"[opacity]"},{"name":"attenuation"},{"name":"[attenuation]"},{"name":"anglePower"},{"name":"[anglePower]"},{"name":"spotPosition"},{"name":"[spotPosition]"},{"name":"lightColor"},{"name":"[lightColor]"},{"name":"cameraNear"},{"name":"[cameraNear]"},{"name":"cameraFar"},{"name":"[cameraFar]"},{"name":"resolution"},{"name":"[resolution]"},{"name":"transparent"},{"name":"[transparent]"},{"name":"depthWrite"},{"name":"[depthWrite]"}],"extends":"/html/elements/ngt-shader-material"},{"name":"ngt-caustics-projection-material","attributes":[{"name":"color"},{"name":"[color]"},{"name":"causticsTexture"},{"name":"[causticsTexture]"},{"name":"causticsTextureB"},{"name":"[causticsTextureB]"},{"name":"lightProjMatrix"},{"name":"[lightProjMatrix]"},{"name":"lightViewMatrix"},{"name":"[lightViewMatrix]"}],"extends":"/html/elements/ngt-shader-material"},{"name":"ngt-position-mesh","attributes":[{"name":"instance"},{"name":"[instance]"},{"name":"color"},{"name":"[color]"}],"extends":"/html/elements/ngt-group"},{"name":"ngt-position-point","attributes":[{"name":"instance"},{"name":"[instance]"},{"name":"color"},{"name":"[color]"},{"name":"size"},{"name":"[size]"}],"extends":"/html/elements/ngt-group"},{"name":"ngt-segment-object","attributes":[{"name":"start"},{"name":"[start]"},{"name":"color"},{"name":"[color]"},{"name":"end"},{"name":"[end]"}],"extends":""}],"description-markup":"markdown"}}}
|