angular-three-soba 4.0.0-next.82 → 4.0.0-next.84
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 +42 -42
- package/abstractions/lib/edges.d.ts +41 -41
- package/abstractions/lib/text-3d.d.ts +3 -3
- package/materials/lib/mesh-portal-material.d.ts +1 -1
- package/materials/lib/mesh-refraction-material.d.ts +1 -1
- package/package.json +15 -15
- package/performances/lib/instances/instances.d.ts +1 -1
- package/performances/lib/points/points.d.ts +1 -1
- package/shaders/lib/mesh-refraction-material.d.ts +2 -2
- package/staging/lib/accumulative-shadows.d.ts +1 -1
- package/staging/lib/center.d.ts +2 -2
- package/staging/lib/sky.d.ts +1 -1
- package/staging/lib/spot-light.d.ts +1 -1
- package/staging/lib/stage.d.ts +3 -3
|
@@ -21,7 +21,7 @@ export declare class NgtsCatmullRomLine {
|
|
|
21
21
|
protected segmentedPoints: import("@angular/core").Signal<THREE.Vector3[]>;
|
|
22
22
|
private interpolatedVertexColors;
|
|
23
23
|
protected lineOptions: import("@angular/core").Signal<{
|
|
24
|
-
vertexColors: (THREE.ColorRepresentation | [number, number, number
|
|
24
|
+
vertexColors: (THREE.ColorRepresentation | [number, number, number] | [number, number, number, number])[] | undefined;
|
|
25
25
|
raycast?: ((raycaster: THREE.Raycaster, intersects: THREE.Intersection[]) => void) | Readonly<((raycaster: THREE.Raycaster, intersects: THREE.Intersection[]) => void) | null | undefined>;
|
|
26
26
|
id?: number | undefined;
|
|
27
27
|
uuid?: string | undefined;
|
|
@@ -29,18 +29,6 @@ export declare class NgtsCatmullRomLine {
|
|
|
29
29
|
type?: string | undefined;
|
|
30
30
|
parent?: THREE.Object3D<THREE.Object3DEventMap> | Readonly<THREE.Object3D<THREE.Object3DEventMap> | null> | undefined;
|
|
31
31
|
children?: THREE.Object3D<THREE.Object3DEventMap>[] | undefined;
|
|
32
|
-
isMesh?: true | undefined;
|
|
33
|
-
geometry?: import("three-stdlib").LineGeometry | Readonly<import("three-stdlib").LineGeometry | undefined>;
|
|
34
|
-
material?: import("three-stdlib").LineMaterial | Readonly<import("three-stdlib").LineMaterial | undefined>;
|
|
35
|
-
morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
|
|
36
|
-
morphTargetDictionary?: {
|
|
37
|
-
[key: string]: number;
|
|
38
|
-
} | Readonly<{
|
|
39
|
-
[key: string]: number;
|
|
40
|
-
} | undefined>;
|
|
41
|
-
updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
|
|
42
|
-
getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
|
|
43
|
-
toJSON?: ((((meta?: THREE.JSONMeta) => THREE.MeshJSON) | Readonly<(meta?: THREE.JSONMeta) => THREE.MeshJSON>) & (((meta?: THREE.JSONMeta) => THREE.ShaderMaterialJSON) | Readonly<(meta?: THREE.JSONMeta) => THREE.ShaderMaterialJSON>)) | undefined;
|
|
44
32
|
isObject3D?: true | undefined;
|
|
45
33
|
up?: THREE.Vector3 | [x: number, y: number, z: number] | Readonly<number | THREE.Vector3 | [x: number, y: number, z: number] | undefined>;
|
|
46
34
|
position?: THREE.Vector3 | [x: number, y: number, z: number] | Readonly<number | THREE.Vector3 | [x: number, y: number, z: number] | undefined>;
|
|
@@ -111,6 +99,7 @@ export declare class NgtsCatmullRomLine {
|
|
|
111
99
|
updateMatrix?: (() => void) | Readonly<(() => void) | undefined>;
|
|
112
100
|
updateMatrixWorld?: ((force?: boolean) => void) | Readonly<((force?: boolean) => void) | undefined>;
|
|
113
101
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | Readonly<((updateParents: boolean, updateChildren: boolean) => void) | undefined>;
|
|
102
|
+
toJSON?: ((((meta?: THREE.JSONMeta) => THREE.MeshJSON) | Readonly<(meta?: THREE.JSONMeta) => THREE.MeshJSON>) & (((meta?: THREE.JSONMeta) => THREE.ShaderMaterialJSON) | Readonly<(meta?: THREE.JSONMeta) => THREE.ShaderMaterialJSON>)) | undefined;
|
|
114
103
|
clone?: ((((recursive?: boolean) => import("three-stdlib").Line2) | Readonly<(recursive?: boolean) => import("three-stdlib").Line2>) & ((() => import("three-stdlib").LineMaterial) | Readonly<() => import("three-stdlib").LineMaterial>)) | undefined;
|
|
115
104
|
copy?: ((((object: THREE.Object3D, recursive?: boolean) => import("three-stdlib").Line2) | Readonly<(object: THREE.Object3D, recursive?: boolean) => import("three-stdlib").Line2>) & (((material: THREE.Material) => import("three-stdlib").LineMaterial) | Readonly<(material: THREE.Material) => import("three-stdlib").LineMaterial>)) | undefined;
|
|
116
105
|
addEventListener?: ((((<T extends keyof THREE.Object3DEventMap>(type: T, listener: THREE.EventListener<THREE.Object3DEventMap[T], T, import("three-stdlib").Line2>) => void) | Readonly<(<T extends keyof THREE.Object3DEventMap>(type: T, listener: THREE.EventListener<THREE.Object3DEventMap[T], T, import("three-stdlib").Line2>) => void) | undefined>) & (<TEventKey extends keyof import("angular-three").NgtEventHandlers | "added" | "removed" | "childadded" | "childremoved" | "change" | keyof import("angular-three").NgtNodeEventMap<import("three-stdlib").Line2>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<typeof import("three-stdlib").Line2, import("three-stdlib").Line2>, ev: import("angular-three").NgtAllObject3DEventsMap<import("three-stdlib").Line2>[TEventKey]) => any) => void)) & (((<T extends "dispose">(type: T, listener: THREE.EventListener<{
|
|
@@ -134,9 +123,20 @@ export declare class NgtsCatmullRomLine {
|
|
|
134
123
|
dispose: {};
|
|
135
124
|
}[T]) => void)>)) | undefined;
|
|
136
125
|
dispose?: (((() => void) | Readonly<() => void> | null) & (((() => void) & (() => void)) | Readonly<(() => void) & (() => void)>)) | undefined;
|
|
137
|
-
|
|
138
|
-
|
|
126
|
+
parameters?: ((Partial<import("three-stdlib").Line2> | Readonly<Partial<import("three-stdlib").Line2>>) & (Partial<import("three-stdlib").LineMaterial> | Readonly<Partial<import("three-stdlib").LineMaterial>>)) | undefined;
|
|
127
|
+
color?: THREE.ColorRepresentation | undefined;
|
|
139
128
|
alphaToCoverage?: boolean | undefined | undefined;
|
|
129
|
+
dashed?: boolean | undefined | undefined;
|
|
130
|
+
dashScale?: number | undefined | undefined;
|
|
131
|
+
dashSize?: number | undefined | undefined;
|
|
132
|
+
dashOffset?: number | undefined | undefined;
|
|
133
|
+
gapSize?: number | undefined | undefined;
|
|
134
|
+
linewidth?: number | undefined | undefined;
|
|
135
|
+
resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
|
|
136
|
+
wireframe?: boolean | undefined | undefined;
|
|
137
|
+
worldUnits?: boolean | undefined | undefined;
|
|
138
|
+
alphaHash?: boolean | undefined | undefined;
|
|
139
|
+
alphaTest?: number | undefined | undefined;
|
|
140
140
|
blendAlpha?: number | undefined | undefined;
|
|
141
141
|
blendColor?: (THREE.ColorRepresentation & (string | number | THREE.Color | [r: number, g: number, b: number] | [color: THREE.ColorRepresentation] | Readonly<THREE.Color> | readonly [r: number, g: number, b: number] | readonly [color: THREE.ColorRepresentation])) | undefined;
|
|
142
142
|
blendDst?: 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 211 | 212 | 213 | 214 | undefined;
|
|
@@ -154,14 +154,6 @@ export declare class NgtsCatmullRomLine {
|
|
|
154
154
|
depthFunc?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | undefined;
|
|
155
155
|
depthTest?: boolean | undefined | undefined;
|
|
156
156
|
depthWrite?: boolean | undefined | undefined;
|
|
157
|
-
stencilWrite?: boolean | undefined | undefined;
|
|
158
|
-
stencilFunc?: 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | undefined;
|
|
159
|
-
stencilRef?: number | undefined | undefined;
|
|
160
|
-
stencilWriteMask?: number | undefined | undefined;
|
|
161
|
-
stencilFuncMask?: number | undefined | undefined;
|
|
162
|
-
stencilFail?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
163
|
-
stencilZFail?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
164
|
-
stencilZPass?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
165
157
|
opacity?: number | undefined | undefined;
|
|
166
158
|
polygonOffset?: boolean | undefined | undefined;
|
|
167
159
|
polygonOffsetFactor?: number | undefined | undefined;
|
|
@@ -174,27 +166,30 @@ export declare class NgtsCatmullRomLine {
|
|
|
174
166
|
shadowSide?: 0 | 1 | 2 | undefined;
|
|
175
167
|
toneMapped?: boolean | undefined | undefined;
|
|
176
168
|
transparent?: boolean | undefined | undefined;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
169
|
+
format?: THREE.PixelFormat | undefined;
|
|
170
|
+
stencilWrite?: boolean | undefined | undefined;
|
|
171
|
+
stencilFunc?: 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | undefined;
|
|
172
|
+
stencilRef?: number | undefined | undefined;
|
|
173
|
+
stencilWriteMask?: number | undefined | undefined;
|
|
174
|
+
stencilFuncMask?: number | undefined | undefined;
|
|
175
|
+
stencilFail?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
176
|
+
stencilZFail?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
177
|
+
stencilZPass?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
178
|
+
geometry?: import("three-stdlib").LineGeometry | Readonly<import("three-stdlib").LineGeometry | undefined>;
|
|
179
|
+
material?: import("three-stdlib").LineMaterial | Readonly<import("three-stdlib").LineMaterial | undefined>;
|
|
186
180
|
isLine2?: true | undefined;
|
|
187
181
|
isLineSegments2?: true | undefined;
|
|
188
182
|
computeLineDistances?: (() => import("three-stdlib").Line2) | Readonly<(() => import("three-stdlib").Line2) | undefined>;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
183
|
+
isMesh?: true | undefined;
|
|
184
|
+
morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
|
|
185
|
+
morphTargetDictionary?: {
|
|
186
|
+
[key: string]: number;
|
|
187
|
+
} | Readonly<{
|
|
188
|
+
[key: string]: number;
|
|
189
|
+
} | undefined>;
|
|
190
|
+
updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
|
|
191
|
+
getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
|
|
194
192
|
isLineMaterial?: true | undefined;
|
|
195
|
-
linewidth?: number | undefined | undefined;
|
|
196
|
-
resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
|
|
197
|
-
worldUnits?: boolean | undefined | undefined;
|
|
198
193
|
isShaderMaterial?: true | undefined;
|
|
199
194
|
uniforms?: {
|
|
200
195
|
[uniform: string]: THREE.IUniform<any>;
|
|
@@ -204,7 +199,6 @@ export declare class NgtsCatmullRomLine {
|
|
|
204
199
|
uniformsGroups?: THREE.UniformsGroup[] | Readonly<THREE.UniformsGroup[] | undefined>;
|
|
205
200
|
vertexShader?: Readonly<string | undefined>;
|
|
206
201
|
fragmentShader?: Readonly<string | undefined>;
|
|
207
|
-
wireframe?: boolean | undefined | undefined;
|
|
208
202
|
wireframeLinewidth?: Readonly<number | undefined>;
|
|
209
203
|
fog?: Readonly<boolean | undefined>;
|
|
210
204
|
lights?: Readonly<boolean | undefined>;
|
|
@@ -220,7 +214,13 @@ export declare class NgtsCatmullRomLine {
|
|
|
220
214
|
index0AttributeName?: Readonly<string | undefined>;
|
|
221
215
|
uniformsNeedUpdate?: Readonly<boolean | undefined>;
|
|
222
216
|
glslVersion?: "100" | "300 es" | null | undefined;
|
|
223
|
-
|
|
217
|
+
setValues?: ((parameters: THREE.ShaderMaterialParameters) => void) | Readonly<((parameters: THREE.ShaderMaterialParameters) => void) | undefined>;
|
|
218
|
+
isMaterial?: true | undefined;
|
|
219
|
+
version?: Readonly<number | undefined>;
|
|
220
|
+
onBeforeCompile?: ((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
|
|
221
|
+
customProgramCacheKey?: (() => string) | Readonly<(() => string) | undefined>;
|
|
222
|
+
needsUpdate?: Readonly<boolean | undefined>;
|
|
223
|
+
onBuild?: ((object: THREE.Object3D, parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((object: THREE.Object3D, parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
|
|
224
224
|
lineWidth: number;
|
|
225
225
|
}>;
|
|
226
226
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCatmullRomLine, never>;
|
|
@@ -22,17 +22,6 @@ export declare class NgtsEdges {
|
|
|
22
22
|
type?: string | undefined;
|
|
23
23
|
parent?: THREE.Object3D<THREE.Object3DEventMap> | Readonly<THREE.Object3D<THREE.Object3DEventMap> | null> | undefined;
|
|
24
24
|
children?: THREE.Object3D<THREE.Object3DEventMap>[] | undefined;
|
|
25
|
-
isMesh?: true | undefined;
|
|
26
|
-
material?: ((THREE.Material | THREE.Material[] | Readonly<THREE.Material> | readonly THREE.Material[]) & (import("three-stdlib").LineMaterial | Readonly<import("three-stdlib").LineMaterial>)) | undefined;
|
|
27
|
-
morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
|
|
28
|
-
morphTargetDictionary?: {
|
|
29
|
-
[key: string]: number;
|
|
30
|
-
} | Readonly<{
|
|
31
|
-
[key: string]: number;
|
|
32
|
-
} | undefined>;
|
|
33
|
-
updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
|
|
34
|
-
getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
|
|
35
|
-
toJSON?: ((((meta?: THREE.JSONMeta) => THREE.MeshJSON) | Readonly<(meta?: THREE.JSONMeta) => THREE.MeshJSON>) & (((meta?: THREE.JSONMeta) => THREE.ShaderMaterialJSON) | Readonly<(meta?: THREE.JSONMeta) => THREE.ShaderMaterialJSON>)) | undefined;
|
|
36
25
|
isObject3D?: true | undefined;
|
|
37
26
|
up?: THREE.Vector3 | [x: number, y: number, z: number] | Readonly<number | THREE.Vector3 | [x: number, y: number, z: number] | undefined>;
|
|
38
27
|
position?: THREE.Vector3 | [x: number, y: number, z: number] | Readonly<number | THREE.Vector3 | [x: number, y: number, z: number] | undefined>;
|
|
@@ -103,6 +92,7 @@ export declare class NgtsEdges {
|
|
|
103
92
|
updateMatrix?: (() => void) | Readonly<(() => void) | undefined>;
|
|
104
93
|
updateMatrixWorld?: ((force?: boolean) => void) | Readonly<((force?: boolean) => void) | undefined>;
|
|
105
94
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | Readonly<((updateParents: boolean, updateChildren: boolean) => void) | undefined>;
|
|
95
|
+
toJSON?: ((((meta?: THREE.JSONMeta) => THREE.MeshJSON) | Readonly<(meta?: THREE.JSONMeta) => THREE.MeshJSON>) & (((meta?: THREE.JSONMeta) => THREE.ShaderMaterialJSON) | Readonly<(meta?: THREE.JSONMeta) => THREE.ShaderMaterialJSON>)) | undefined;
|
|
106
96
|
clone?: ((((recursive?: boolean) => THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>) | Readonly<(recursive?: boolean) => THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>) & ((((recursive?: boolean) => import("three-stdlib").Line2) | Readonly<(recursive?: boolean) => import("three-stdlib").Line2>) & ((() => import("three-stdlib").LineMaterial) | Readonly<() => import("three-stdlib").LineMaterial>))) | undefined;
|
|
107
97
|
copy?: ((((object: THREE.Object3D, recursive?: boolean) => THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>) | Readonly<(object: THREE.Object3D, recursive?: boolean) => THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>) & ((((object: THREE.Object3D, recursive?: boolean) => import("three-stdlib").Line2) | Readonly<(object: THREE.Object3D, recursive?: boolean) => import("three-stdlib").Line2>) & (((material: THREE.Material) => import("three-stdlib").LineMaterial) | Readonly<(material: THREE.Material) => import("three-stdlib").LineMaterial>))) | undefined;
|
|
108
98
|
addEventListener?: ((((<T extends keyof THREE.Object3DEventMap>(type: T, listener: THREE.EventListener<THREE.Object3DEventMap[T], T, THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>) => void) | Readonly<(<T extends keyof THREE.Object3DEventMap>(type: T, listener: THREE.EventListener<THREE.Object3DEventMap[T], T, THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>) => void) | undefined>) & (<TEventKey extends keyof import("angular-three").NgtEventHandlers | "added" | "removed" | "childadded" | "childremoved" | "change" | keyof import("angular-three").NgtNodeEventMap<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<typeof THREE.Mesh, THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>, ev: import("angular-three").NgtAllObject3DEventsMap<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>[TEventKey]) => any) => void)) & ((((<T extends keyof THREE.Object3DEventMap>(type: T, listener: THREE.EventListener<THREE.Object3DEventMap[T], T, import("three-stdlib").Line2>) => void) | Readonly<(<T extends keyof THREE.Object3DEventMap>(type: T, listener: THREE.EventListener<THREE.Object3DEventMap[T], T, import("three-stdlib").Line2>) => void) | undefined>) & (<TEventKey extends keyof import("angular-three").NgtEventHandlers | "added" | "removed" | "childadded" | "childremoved" | "change" | keyof import("angular-three").NgtNodeEventMap<import("three-stdlib").Line2>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<typeof import("three-stdlib").Line2, import("three-stdlib").Line2>, ev: import("angular-three").NgtAllObject3DEventsMap<import("three-stdlib").Line2>[TEventKey]) => any) => void)) & (((<T extends "dispose">(type: T, listener: THREE.EventListener<{
|
|
@@ -126,9 +116,21 @@ export declare class NgtsEdges {
|
|
|
126
116
|
dispose: {};
|
|
127
117
|
}[T]) => void)>)) | undefined;
|
|
128
118
|
dispose?: (((() => void) | Readonly<() => void> | null) & (((() => void) & (() => void)) | Readonly<(() => void) & (() => void)>)) | undefined;
|
|
129
|
-
|
|
130
|
-
|
|
119
|
+
parameters?: ((Partial<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> | Readonly<Partial<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>>) & ((Partial<import("three-stdlib").Line2> | Readonly<Partial<import("three-stdlib").Line2>>) & (Partial<import("three-stdlib").LineMaterial> | Readonly<Partial<import("three-stdlib").LineMaterial>>))) | undefined;
|
|
120
|
+
__ngt_args__?: (([geometry?: THREE.BufferGeometry<THREE.NormalBufferAttributes> | undefined, material?: THREE.Material | THREE.Material[] | undefined] | readonly [geometry?: THREE.BufferGeometry<THREE.NormalBufferAttributes> | undefined, material?: THREE.Material | THREE.Material[] | undefined]) & (([geometry?: import("three-stdlib").LineGeometry | undefined, material?: import("three-stdlib").LineMaterial | undefined] | readonly [geometry?: import("three-stdlib").LineGeometry | undefined, material?: import("three-stdlib").LineMaterial | undefined]) & ([parameters?: LineMaterialParameters | undefined] | readonly [parameters?: LineMaterialParameters | undefined]))) | undefined;
|
|
121
|
+
color?: THREE.ColorRepresentation | undefined;
|
|
131
122
|
alphaToCoverage?: boolean | undefined | undefined;
|
|
123
|
+
dashed?: boolean | undefined | undefined;
|
|
124
|
+
dashScale?: number | undefined | undefined;
|
|
125
|
+
dashSize?: number | undefined | undefined;
|
|
126
|
+
dashOffset?: number | undefined | undefined;
|
|
127
|
+
gapSize?: number | undefined | undefined;
|
|
128
|
+
linewidth?: number | undefined | undefined;
|
|
129
|
+
resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
|
|
130
|
+
wireframe?: boolean | undefined | undefined;
|
|
131
|
+
worldUnits?: boolean | undefined | undefined;
|
|
132
|
+
alphaHash?: boolean | undefined | undefined;
|
|
133
|
+
alphaTest?: number | undefined | undefined;
|
|
132
134
|
blendAlpha?: number | undefined | undefined;
|
|
133
135
|
blendColor?: (THREE.ColorRepresentation & (string | number | THREE.Color | [r: number, g: number, b: number] | [color: THREE.ColorRepresentation] | Readonly<THREE.Color> | readonly [r: number, g: number, b: number] | readonly [color: THREE.ColorRepresentation])) | undefined;
|
|
134
136
|
blendDst?: 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 211 | 212 | 213 | 214 | undefined;
|
|
@@ -146,14 +148,6 @@ export declare class NgtsEdges {
|
|
|
146
148
|
depthFunc?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | undefined;
|
|
147
149
|
depthTest?: boolean | undefined | undefined;
|
|
148
150
|
depthWrite?: boolean | undefined | undefined;
|
|
149
|
-
stencilWrite?: boolean | undefined | undefined;
|
|
150
|
-
stencilFunc?: 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | undefined;
|
|
151
|
-
stencilRef?: number | undefined | undefined;
|
|
152
|
-
stencilWriteMask?: number | undefined | undefined;
|
|
153
|
-
stencilFuncMask?: number | undefined | undefined;
|
|
154
|
-
stencilFail?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
155
|
-
stencilZFail?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
156
|
-
stencilZPass?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
157
151
|
opacity?: number | undefined | undefined;
|
|
158
152
|
polygonOffset?: boolean | undefined | undefined;
|
|
159
153
|
polygonOffsetFactor?: number | undefined | undefined;
|
|
@@ -166,28 +160,29 @@ export declare class NgtsEdges {
|
|
|
166
160
|
shadowSide?: 0 | 1 | 2 | undefined;
|
|
167
161
|
toneMapped?: boolean | undefined | undefined;
|
|
168
162
|
transparent?: boolean | undefined | undefined;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
163
|
+
format?: THREE.PixelFormat | undefined;
|
|
164
|
+
stencilWrite?: boolean | undefined | undefined;
|
|
165
|
+
stencilFunc?: 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | undefined;
|
|
166
|
+
stencilRef?: number | undefined | undefined;
|
|
167
|
+
stencilWriteMask?: number | undefined | undefined;
|
|
168
|
+
stencilFuncMask?: number | undefined | undefined;
|
|
169
|
+
stencilFail?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
170
|
+
stencilZFail?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
171
|
+
stencilZPass?: 0 | 7680 | 7681 | 7682 | 7283 | 34055 | 34056 | 5386 | undefined;
|
|
172
|
+
material?: ((THREE.Material | THREE.Material[] | Readonly<THREE.Material> | readonly THREE.Material[]) & (import("three-stdlib").LineMaterial | Readonly<import("three-stdlib").LineMaterial>)) | undefined;
|
|
179
173
|
isLine2?: true | undefined;
|
|
180
174
|
isLineSegments2?: true | undefined;
|
|
181
175
|
computeLineDistances?: (() => import("three-stdlib").Line2) | Readonly<(() => import("three-stdlib").Line2) | undefined>;
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
176
|
+
isMesh?: true | undefined;
|
|
177
|
+
morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
|
|
178
|
+
morphTargetDictionary?: {
|
|
179
|
+
[key: string]: number;
|
|
180
|
+
} | Readonly<{
|
|
181
|
+
[key: string]: number;
|
|
182
|
+
} | undefined>;
|
|
183
|
+
updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
|
|
184
|
+
getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
|
|
187
185
|
isLineMaterial?: true | undefined;
|
|
188
|
-
linewidth?: number | undefined | undefined;
|
|
189
|
-
resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
|
|
190
|
-
worldUnits?: boolean | undefined | undefined;
|
|
191
186
|
isShaderMaterial?: true | undefined;
|
|
192
187
|
uniforms?: {
|
|
193
188
|
[uniform: string]: THREE.IUniform<any>;
|
|
@@ -197,7 +192,6 @@ export declare class NgtsEdges {
|
|
|
197
192
|
uniformsGroups?: THREE.UniformsGroup[] | Readonly<THREE.UniformsGroup[] | undefined>;
|
|
198
193
|
vertexShader?: Readonly<string | undefined>;
|
|
199
194
|
fragmentShader?: Readonly<string | undefined>;
|
|
200
|
-
wireframe?: boolean | undefined | undefined;
|
|
201
195
|
wireframeLinewidth?: Readonly<number | undefined>;
|
|
202
196
|
fog?: Readonly<boolean | undefined>;
|
|
203
197
|
lights?: Readonly<boolean | undefined>;
|
|
@@ -213,7 +207,13 @@ export declare class NgtsEdges {
|
|
|
213
207
|
index0AttributeName?: Readonly<string | undefined>;
|
|
214
208
|
uniformsNeedUpdate?: Readonly<boolean | undefined>;
|
|
215
209
|
glslVersion?: "100" | "300 es" | null | undefined;
|
|
216
|
-
|
|
210
|
+
setValues?: ((parameters: THREE.ShaderMaterialParameters) => void) | Readonly<((parameters: THREE.ShaderMaterialParameters) => void) | undefined>;
|
|
211
|
+
isMaterial?: true | undefined;
|
|
212
|
+
version?: Readonly<number | undefined>;
|
|
213
|
+
onBeforeCompile?: ((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
|
|
214
|
+
customProgramCacheKey?: (() => string) | Readonly<(() => string) | undefined>;
|
|
215
|
+
needsUpdate?: Readonly<boolean | undefined>;
|
|
216
|
+
onBuild?: ((object: THREE.Object3D, parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((object: THREE.Object3D, parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
|
|
217
217
|
lineWidth?: number | undefined;
|
|
218
218
|
}>;
|
|
219
219
|
protected tmpPoints: number[];
|
|
@@ -12,15 +12,13 @@ export declare class NgtsText3D {
|
|
|
12
12
|
font: import("@angular/core").InputSignal<NgtsFontInput>;
|
|
13
13
|
text: import("@angular/core").InputSignal<string>;
|
|
14
14
|
options: import("@angular/core").InputSignalWithTransform<Partial<NgtThreeElement<typeof THREE.Mesh>> & NgtsText3DOptions, "" | Partial<Partial<NgtThreeElement<typeof THREE.Mesh>> & NgtsText3DOptions>>;
|
|
15
|
-
protected parameters: import("@angular/core").Signal<Omit<Partial<NgtThreeElement<typeof THREE.Mesh>> & NgtsText3DOptions, "
|
|
15
|
+
protected parameters: import("@angular/core").Signal<Omit<Partial<NgtThreeElement<typeof THREE.Mesh>> & NgtsText3DOptions, "size" | "height" | "curveSegments" | "bevelEnabled" | "bevelThickness" | "bevelSize" | "bevelOffset" | "bevelSegments" | "lineHeight" | "letterSpacing" | "smooth">>;
|
|
16
16
|
meshRef: import("@angular/core").Signal<ElementRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>>;
|
|
17
17
|
private textGeometryRef;
|
|
18
18
|
private loadedFont;
|
|
19
19
|
private smooth;
|
|
20
20
|
private textOptions;
|
|
21
21
|
protected textArgs: import("@angular/core").Signal<(string | {
|
|
22
|
-
lineHeight?: number | undefined;
|
|
23
|
-
letterSpacing?: number | undefined;
|
|
24
22
|
size?: number | undefined;
|
|
25
23
|
height?: number | undefined;
|
|
26
24
|
curveSegments?: number | undefined;
|
|
@@ -29,6 +27,8 @@ export declare class NgtsText3D {
|
|
|
29
27
|
bevelSize?: number | undefined;
|
|
30
28
|
bevelOffset?: number | undefined;
|
|
31
29
|
bevelSegments: number;
|
|
30
|
+
lineHeight?: number | undefined;
|
|
31
|
+
letterSpacing?: number | undefined;
|
|
32
32
|
font: import("three-stdlib").Font;
|
|
33
33
|
})[] | null>;
|
|
34
34
|
constructor();
|
|
@@ -36,7 +36,7 @@ export interface NgtsMeshPortalMaterialOptions extends Partial<NgtThreeElements[
|
|
|
36
36
|
export declare class NgtsMeshPortalMaterial {
|
|
37
37
|
attach: import("@angular/core").InputSignal<NgtAttachable>;
|
|
38
38
|
options: import("@angular/core").InputSignalWithTransform<NgtsMeshPortalMaterialOptions, "" | Partial<NgtsMeshPortalMaterialOptions>>;
|
|
39
|
-
protected parameters: import("@angular/core").Signal<Omit<NgtsMeshPortalMaterialOptions, "resolution" | "blur" | "
|
|
39
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsMeshPortalMaterialOptions, "resolution" | "blur" | "worldUnits" | "eventPriority" | "renderPriority" | "events">>;
|
|
40
40
|
protected blur: import("@angular/core").Signal<number>;
|
|
41
41
|
protected eventPriority: import("@angular/core").Signal<number>;
|
|
42
42
|
protected renderPriority: import("@angular/core").Signal<number>;
|
|
@@ -20,7 +20,7 @@ export declare class NgtsMeshRefractionMaterial {
|
|
|
20
20
|
envMap: import("@angular/core").InputSignal<THREE.Texture | THREE.CubeTexture>;
|
|
21
21
|
attach: import("@angular/core").InputSignal<NgtAttachable>;
|
|
22
22
|
options: import("@angular/core").InputSignalWithTransform<NgtsMeshRefractionMaterialOptions, "" | Partial<NgtsMeshRefractionMaterialOptions>>;
|
|
23
|
-
protected parameters: import("@angular/core").Signal<Omit<NgtsMeshRefractionMaterialOptions, "
|
|
23
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsMeshRefractionMaterialOptions, "fastChroma" | "aberrationStrength">>;
|
|
24
24
|
private fastChroma;
|
|
25
25
|
protected aberrationStrength: import("@angular/core").Signal<number>;
|
|
26
26
|
materialRef: import("@angular/core").Signal<ElementRef<THREE.ShaderMaterial & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-three-soba",
|
|
3
|
-
"version": "4.0.0-next.
|
|
3
|
+
"version": "4.0.0-next.84",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -31,13 +31,17 @@
|
|
|
31
31
|
"types": "./index.d.ts",
|
|
32
32
|
"default": "./fesm2022/angular-three-soba.mjs"
|
|
33
33
|
},
|
|
34
|
+
"./abstractions": {
|
|
35
|
+
"types": "./abstractions/index.d.ts",
|
|
36
|
+
"default": "./fesm2022/angular-three-soba-abstractions.mjs"
|
|
37
|
+
},
|
|
34
38
|
"./cameras": {
|
|
35
39
|
"types": "./cameras/index.d.ts",
|
|
36
40
|
"default": "./fesm2022/angular-three-soba-cameras.mjs"
|
|
37
41
|
},
|
|
38
|
-
"./
|
|
39
|
-
"types": "./
|
|
40
|
-
"default": "./fesm2022/angular-three-soba-
|
|
42
|
+
"./controls": {
|
|
43
|
+
"types": "./controls/index.d.ts",
|
|
44
|
+
"default": "./fesm2022/angular-three-soba-controls.mjs"
|
|
41
45
|
},
|
|
42
46
|
"./gizmos": {
|
|
43
47
|
"types": "./gizmos/index.d.ts",
|
|
@@ -47,10 +51,6 @@
|
|
|
47
51
|
"types": "./loaders/index.d.ts",
|
|
48
52
|
"default": "./fesm2022/angular-three-soba-loaders.mjs"
|
|
49
53
|
},
|
|
50
|
-
"./controls": {
|
|
51
|
-
"types": "./controls/index.d.ts",
|
|
52
|
-
"default": "./fesm2022/angular-three-soba-controls.mjs"
|
|
53
|
-
},
|
|
54
54
|
"./materials": {
|
|
55
55
|
"types": "./materials/index.d.ts",
|
|
56
56
|
"default": "./fesm2022/angular-three-soba-materials.mjs"
|
|
@@ -63,21 +63,21 @@
|
|
|
63
63
|
"types": "./performances/index.d.ts",
|
|
64
64
|
"default": "./fesm2022/angular-three-soba-performances.mjs"
|
|
65
65
|
},
|
|
66
|
+
"./shaders": {
|
|
67
|
+
"types": "./shaders/index.d.ts",
|
|
68
|
+
"default": "./fesm2022/angular-three-soba-shaders.mjs"
|
|
69
|
+
},
|
|
66
70
|
"./staging": {
|
|
67
71
|
"types": "./staging/index.d.ts",
|
|
68
72
|
"default": "./fesm2022/angular-three-soba-staging.mjs"
|
|
69
73
|
},
|
|
70
|
-
"./vanilla-exports": {
|
|
71
|
-
"types": "./vanilla-exports/index.d.ts",
|
|
72
|
-
"default": "./fesm2022/angular-three-soba-vanilla-exports.mjs"
|
|
73
|
-
},
|
|
74
74
|
"./stats": {
|
|
75
75
|
"types": "./stats/index.d.ts",
|
|
76
76
|
"default": "./fesm2022/angular-three-soba-stats.mjs"
|
|
77
77
|
},
|
|
78
|
-
"./
|
|
79
|
-
"types": "./
|
|
80
|
-
"default": "./fesm2022/angular-three-soba-
|
|
78
|
+
"./vanilla-exports": {
|
|
79
|
+
"types": "./vanilla-exports/index.d.ts",
|
|
80
|
+
"default": "./fesm2022/angular-three-soba-vanilla-exports.mjs"
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
@@ -19,7 +19,7 @@ export interface NgtsInstancesOptions extends Partial<NgtThreeElements['ngt-inst
|
|
|
19
19
|
export declare class NgtsInstances {
|
|
20
20
|
protected readonly DynamicDrawUsage: 35048;
|
|
21
21
|
options: import("@angular/core").InputSignalWithTransform<NgtsInstancesOptions, "" | Partial<NgtsInstancesOptions>>;
|
|
22
|
-
protected parameters: import("@angular/core").Signal<Omit<NgtsInstancesOptions, "
|
|
22
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsInstancesOptions, "limit" | "frames" | "range">>;
|
|
23
23
|
instancedMeshRef: import("@angular/core").Signal<ElementRef<THREE.InstancedMesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.InstancedMeshEventMap>>>;
|
|
24
24
|
private limit;
|
|
25
25
|
protected buffers: import("@angular/core").Signal<{
|
|
@@ -29,7 +29,7 @@ export interface NgtsPointsInstancesOptions extends Partial<NgtThreeElements['ng
|
|
|
29
29
|
}
|
|
30
30
|
export declare class NgtsPointsInstances {
|
|
31
31
|
options: import("@angular/core").InputSignalWithTransform<NgtsPointsInstancesOptions, "" | Partial<NgtsPointsInstancesOptions>>;
|
|
32
|
-
parameters: import("@angular/core").Signal<Omit<NgtsPointsInstancesOptions, "
|
|
32
|
+
parameters: import("@angular/core").Signal<Omit<NgtsPointsInstancesOptions, "limit" | "range">>;
|
|
33
33
|
pointsRef: import("@angular/core").Signal<ElementRef<THREE.Points<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>>;
|
|
34
34
|
private limit;
|
|
35
35
|
buffers: import("@angular/core").Signal<{
|
|
@@ -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.
|
|
3
|
+
[name: string]: number | boolean | any[] | THREE.CubeTexture | THREE.Texture | Int32Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | THREE.Color | null;
|
|
4
4
|
}>) | undefined) => THREE.ShaderMaterial & {
|
|
5
|
-
[name: string]: number | boolean | any[] | THREE.
|
|
5
|
+
[name: string]: number | boolean | any[] | THREE.CubeTexture | THREE.Texture | Int32Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | THREE.Color | null;
|
|
6
6
|
}) & {
|
|
7
7
|
key: string;
|
|
8
8
|
};
|
|
@@ -30,7 +30,7 @@ export declare class NgtsAccumulativeShadows {
|
|
|
30
30
|
nullTraversal: () => null;
|
|
31
31
|
Math: Math;
|
|
32
32
|
options: import("@angular/core").InputSignalWithTransform<NgtsAccumulativeShadowsOptions, "" | Partial<NgtsAccumulativeShadowsOptions>>;
|
|
33
|
-
parameters: import("@angular/core").Signal<Omit<NgtsAccumulativeShadowsOptions, "scale" | "
|
|
33
|
+
parameters: import("@angular/core").Signal<Omit<NgtsAccumulativeShadowsOptions, "scale" | "temporal" | "frames" | "limit" | "blend" | "opacity" | "alphaTest" | "color" | "colorBlend" | "resolution" | "toneMapped">>;
|
|
34
34
|
lightsRef: import("@angular/core").Signal<ElementRef<THREE.Group<THREE.Object3DEventMap>>>;
|
|
35
35
|
planeRef: import("@angular/core").Signal<ElementRef<THREE.Mesh<THREE.PlaneGeometry, THREE.ShaderMaterial & {
|
|
36
36
|
map: THREE.Texture | null;
|
package/staging/lib/center.d.ts
CHANGED
|
@@ -38,12 +38,12 @@ export interface NgtsCenterOptions {
|
|
|
38
38
|
}
|
|
39
39
|
export declare class NgtsCenter {
|
|
40
40
|
options: import("@angular/core").InputSignalWithTransform<Partial<import("angular-three").NgtThreeElement<typeof THREE.Group>> & NgtsCenterOptions, "" | Partial<Partial<import("angular-three").NgtThreeElement<typeof THREE.Group>> & NgtsCenterOptions>>;
|
|
41
|
-
protected parameters: import("@angular/core").Signal<Omit<Partial<import("angular-three").NgtThreeElement<typeof THREE.Group>> & NgtsCenterOptions, "disable" | "top" | "left" | "right" | "bottom" | "
|
|
41
|
+
protected parameters: import("@angular/core").Signal<Omit<Partial<import("angular-three").NgtThreeElement<typeof THREE.Group>> & NgtsCenterOptions, "disable" | "top" | "left" | "right" | "bottom" | "front" | "back" | "disableX" | "disableY" | "disableZ" | "precise" | "cacheKey">>;
|
|
42
42
|
centered: import("@angular/core").OutputEmitterRef<NgtsCenterState>;
|
|
43
43
|
groupRef: import("@angular/core").Signal<ElementRef<THREE.Group<THREE.Object3DEventMap>>>;
|
|
44
44
|
private outerRef;
|
|
45
45
|
private innerRef;
|
|
46
|
-
centerOptions: import("@angular/core").Signal<Pick<Partial<import("angular-three").NgtThreeElement<typeof THREE.Group>> & NgtsCenterOptions, "disable" | "top" | "left" | "right" | "bottom" | "
|
|
46
|
+
centerOptions: import("@angular/core").Signal<Pick<Partial<import("angular-three").NgtThreeElement<typeof THREE.Group>> & NgtsCenterOptions, "disable" | "top" | "left" | "right" | "bottom" | "front" | "back" | "disableX" | "disableY" | "disableZ" | "precise" | "cacheKey">>;
|
|
47
47
|
constructor();
|
|
48
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCenter, never>;
|
|
49
49
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsCenter, "ngts-center", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "centered": "centered"; }, never, ["*"], true, never>;
|
package/staging/lib/sky.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface NgtsSkyOptions extends Partial<Omit<NgtThreeElements['ngt-mesh'
|
|
|
15
15
|
}
|
|
16
16
|
export declare class NgtsSky {
|
|
17
17
|
options: import("@angular/core").InputSignalWithTransform<NgtsSkyOptions, "" | Partial<NgtsSkyOptions>>;
|
|
18
|
-
protected parameters: import("@angular/core").Signal<Omit<NgtsSkyOptions, "distance" | "inclination" | "azimuth" | "
|
|
18
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsSkyOptions, "distance" | "inclination" | "azimuth" | "sunPosition" | "turbidity" | "mieCoefficient" | "mieDirectionalG">>;
|
|
19
19
|
private distance;
|
|
20
20
|
protected turbidity: import("@angular/core").Signal<number>;
|
|
21
21
|
protected mieCoefficient: import("@angular/core").Signal<number>;
|
|
@@ -104,7 +104,7 @@ export declare class NgtsSpotLightShadow {
|
|
|
104
104
|
export declare class NgtsSpotLight {
|
|
105
105
|
protected readonly SpotLightHelper: typeof THREE.SpotLightHelper;
|
|
106
106
|
options: import("@angular/core").InputSignalWithTransform<NgtsSpotLightOptions, "" | Partial<NgtsSpotLightOptions>>;
|
|
107
|
-
protected parameters: import("@angular/core").Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "debug" | "distance" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom"
|
|
107
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "debug" | "distance" | "depthBuffer" | "volumetric" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom">>;
|
|
108
108
|
protected volumetricOptions: import("@angular/core").Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "debug" | "distance" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom">>;
|
|
109
109
|
spotLightRef: import("@angular/core").Signal<ElementRef<THREE.SpotLight>>;
|
|
110
110
|
debug: import("@angular/core").Signal<boolean | undefined>;
|
package/staging/lib/stage.d.ts
CHANGED
|
@@ -57,6 +57,9 @@ export declare class NgtsStage {
|
|
|
57
57
|
protected environment: import("@angular/core").Signal<"apartment" | "city" | "dawn" | "forest" | "lobby" | "night" | "park" | "studio" | "sunset" | "warehouse" | Partial<NgtsEnvironmentOptions> | null>;
|
|
58
58
|
private preset;
|
|
59
59
|
protected config: import("@angular/core").Signal<{
|
|
60
|
+
main: [x: number, y: number, z: number];
|
|
61
|
+
fill: [x: number, y: number, z: number];
|
|
62
|
+
} | {
|
|
60
63
|
readonly main: readonly [1, 2, 1];
|
|
61
64
|
readonly fill: readonly [-2, -0.5, -2];
|
|
62
65
|
} | {
|
|
@@ -68,9 +71,6 @@ export declare class NgtsStage {
|
|
|
68
71
|
} | {
|
|
69
72
|
readonly main: readonly [-2, 4, 4];
|
|
70
73
|
readonly fill: readonly [-1, 0.5, -1.5];
|
|
71
|
-
} | {
|
|
72
|
-
main: [x: number, y: number, z: number];
|
|
73
|
-
fill: [x: number, y: number, z: number];
|
|
74
74
|
}>;
|
|
75
75
|
protected shadowBias: import("@angular/core").Signal<number>;
|
|
76
76
|
protected normalBias: import("@angular/core").Signal<number>;
|