angular-three-soba 4.0.7 → 4.0.8
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/package.json +1 -1
- package/types/angular-three-soba-abstractions.d.ts +71 -71
- package/types/angular-three-soba-materials.d.ts +6 -6
- package/types/angular-three-soba-misc.d.ts +3 -3
- package/types/angular-three-soba-performances.d.ts +2 -2
- package/types/angular-three-soba-shaders.d.ts +2 -2
- package/types/angular-three-soba-staging.d.ts +9 -9
package/package.json
CHANGED
|
@@ -121,7 +121,7 @@ declare class NgtsLine {
|
|
|
121
121
|
* Configuration options for the line appearance and behavior.
|
|
122
122
|
*/
|
|
123
123
|
options: _angular_core.InputSignalWithTransform<NgtsLineOptions, "" | Partial<NgtsLineOptions>>;
|
|
124
|
-
protected parameters: _angular_core.Signal<Omit<NgtsLineOptions, "
|
|
124
|
+
protected parameters: _angular_core.Signal<Omit<NgtsLineOptions, "vertexColors" | "color" | "dashed" | "linewidth" | "lineWidth" | "segments">>;
|
|
125
125
|
/**
|
|
126
126
|
* Reference to the underlying Line2 or LineSegments2 Three.js object.
|
|
127
127
|
*/
|
|
@@ -313,43 +313,10 @@ declare class NgtsCatmullRomLine {
|
|
|
313
313
|
}[T]) => void)>)) | undefined;
|
|
314
314
|
dispose?: (((() => void) | Readonly<() => void> | null) & (((() => void) & (() => void)) | Readonly<(() => void) & (() => void)>)) | undefined;
|
|
315
315
|
parameters?: ((Partial<three_stdlib.Line2> | Readonly<Partial<three_stdlib.Line2>>) & (Partial<three_stdlib.LineMaterial> | Readonly<Partial<three_stdlib.LineMaterial>>)) | undefined;
|
|
316
|
-
geometry?: three_stdlib.LineGeometry | Readonly<three_stdlib.LineGeometry | undefined>;
|
|
317
|
-
material?: three_stdlib.LineMaterial | Readonly<three_stdlib.LineMaterial | undefined>;
|
|
318
|
-
isLine2?: true | undefined;
|
|
319
|
-
isLineSegments2?: true | undefined;
|
|
320
|
-
computeLineDistances?: (() => three_stdlib.Line2) | Readonly<(() => three_stdlib.Line2) | undefined>;
|
|
321
|
-
isMesh?: true | undefined;
|
|
322
|
-
morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
|
|
323
|
-
morphTargetDictionary?: {
|
|
324
|
-
[key: string]: number;
|
|
325
|
-
} | Readonly<{
|
|
326
|
-
[key: string]: number;
|
|
327
|
-
} | undefined>;
|
|
328
|
-
count?: Readonly<number | undefined>;
|
|
329
|
-
updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
|
|
330
|
-
getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
|
|
331
316
|
color?: THREE.ColorRepresentation | undefined;
|
|
332
|
-
dashed?: boolean | undefined | undefined;
|
|
333
|
-
dashScale?: number | undefined | undefined;
|
|
334
|
-
dashSize?: number | undefined | undefined;
|
|
335
|
-
dashOffset?: number | undefined | undefined;
|
|
336
|
-
gapSize?: number | undefined | undefined;
|
|
337
|
-
opacity?: number | undefined;
|
|
338
|
-
isLineMaterial?: true | undefined;
|
|
339
|
-
linewidth?: number | undefined | undefined;
|
|
340
|
-
resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
|
|
341
|
-
alphaToCoverage?: boolean | undefined | undefined;
|
|
342
|
-
worldUnits?: boolean | undefined | undefined;
|
|
343
|
-
isShaderMaterial?: Readonly<boolean | undefined>;
|
|
344
|
-
setValues?: ((values?: THREE.ShaderMaterialParameters) => void) | Readonly<((values?: THREE.ShaderMaterialParameters) => void) | undefined>;
|
|
345
|
-
defines?: Record<string, unknown> | Readonly<Record<string, unknown> | undefined>;
|
|
346
|
-
isMaterial?: Readonly<boolean | undefined>;
|
|
347
|
-
version?: Readonly<number | undefined>;
|
|
348
|
-
onBeforeCompile?: ((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
|
|
349
|
-
customProgramCacheKey?: (() => string) | Readonly<(() => string) | undefined>;
|
|
350
|
-
needsUpdate?: Readonly<boolean | undefined>;
|
|
351
317
|
blending?: 0 | 1 | 2 | 3 | 4 | 5 | undefined;
|
|
352
318
|
side?: 0 | 1 | 2 | undefined;
|
|
319
|
+
opacity?: number | undefined;
|
|
353
320
|
transparent?: boolean | undefined;
|
|
354
321
|
alphaHash?: boolean | undefined;
|
|
355
322
|
blendSrc?: 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | undefined;
|
|
@@ -381,11 +348,45 @@ declare class NgtsCatmullRomLine {
|
|
|
381
348
|
polygonOffsetFactor?: number | undefined;
|
|
382
349
|
polygonOffsetUnits?: number | undefined;
|
|
383
350
|
dithering?: boolean | undefined;
|
|
351
|
+
alphaToCoverage?: boolean | undefined | undefined;
|
|
384
352
|
premultipliedAlpha?: boolean | undefined;
|
|
385
353
|
forceSinglePass?: boolean | undefined;
|
|
386
354
|
allowOverride?: boolean | undefined;
|
|
387
355
|
toneMapped?: boolean | undefined;
|
|
388
356
|
alphaTest?: number | undefined;
|
|
357
|
+
dashed?: boolean | undefined | undefined;
|
|
358
|
+
dashScale?: number | undefined | undefined;
|
|
359
|
+
dashSize?: number | undefined | undefined;
|
|
360
|
+
dashOffset?: number | undefined | undefined;
|
|
361
|
+
gapSize?: number | undefined | undefined;
|
|
362
|
+
linewidth?: number | undefined | undefined;
|
|
363
|
+
resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
|
|
364
|
+
wireframe?: boolean | undefined | undefined;
|
|
365
|
+
worldUnits?: boolean | undefined | undefined;
|
|
366
|
+
geometry?: three_stdlib.LineGeometry | Readonly<three_stdlib.LineGeometry | undefined>;
|
|
367
|
+
material?: three_stdlib.LineMaterial | Readonly<three_stdlib.LineMaterial | undefined>;
|
|
368
|
+
isLine2?: true | undefined;
|
|
369
|
+
isLineSegments2?: true | undefined;
|
|
370
|
+
computeLineDistances?: (() => three_stdlib.Line2) | Readonly<(() => three_stdlib.Line2) | undefined>;
|
|
371
|
+
isMesh?: true | undefined;
|
|
372
|
+
morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
|
|
373
|
+
morphTargetDictionary?: {
|
|
374
|
+
[key: string]: number;
|
|
375
|
+
} | Readonly<{
|
|
376
|
+
[key: string]: number;
|
|
377
|
+
} | undefined>;
|
|
378
|
+
count?: Readonly<number | undefined>;
|
|
379
|
+
updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
|
|
380
|
+
getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
|
|
381
|
+
isLineMaterial?: true | undefined;
|
|
382
|
+
isShaderMaterial?: Readonly<boolean | undefined>;
|
|
383
|
+
setValues?: ((values?: THREE.ShaderMaterialParameters) => void) | Readonly<((values?: THREE.ShaderMaterialParameters) => void) | undefined>;
|
|
384
|
+
defines?: Record<string, unknown> | Readonly<Record<string, unknown> | undefined>;
|
|
385
|
+
isMaterial?: Readonly<boolean | undefined>;
|
|
386
|
+
version?: Readonly<number | undefined>;
|
|
387
|
+
onBeforeCompile?: ((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
|
|
388
|
+
customProgramCacheKey?: (() => string) | Readonly<(() => string) | undefined>;
|
|
389
|
+
needsUpdate?: Readonly<boolean | undefined>;
|
|
389
390
|
uniforms?: {
|
|
390
391
|
[uniform: string]: THREE.IUniform<any>;
|
|
391
392
|
} | Readonly<{
|
|
@@ -394,7 +395,6 @@ declare class NgtsCatmullRomLine {
|
|
|
394
395
|
uniformsGroups?: THREE.UniformsGroup[] | Readonly<THREE.UniformsGroup[] | undefined>;
|
|
395
396
|
vertexShader?: Readonly<string | undefined>;
|
|
396
397
|
fragmentShader?: Readonly<string | undefined>;
|
|
397
|
-
wireframe?: boolean | undefined | undefined;
|
|
398
398
|
wireframeLinewidth?: Readonly<number | undefined>;
|
|
399
399
|
fog?: Readonly<boolean | undefined>;
|
|
400
400
|
lights?: Readonly<boolean | undefined>;
|
|
@@ -610,42 +610,10 @@ declare class NgtsEdges {
|
|
|
610
610
|
dispose?: (((() => void) | Readonly<() => void> | null) & (((() => void) & (() => void)) | Readonly<(() => void) & (() => void)>)) | undefined;
|
|
611
611
|
parameters?: ((Partial<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> | Readonly<Partial<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>>) & ((Partial<three_stdlib.Line2> | Readonly<Partial<three_stdlib.Line2>>) & (Partial<three_stdlib.LineMaterial> | Readonly<Partial<three_stdlib.LineMaterial>>))) | undefined;
|
|
612
612
|
__ngt_args__?: (([geometry?: THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap> | undefined, material?: THREE.Material | THREE.Material[] | undefined] | readonly [geometry?: THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap> | undefined, material?: THREE.Material | THREE.Material[] | undefined]) & (([geometry?: three_stdlib.LineGeometry | undefined, material?: three_stdlib.LineMaterial | undefined] | readonly [geometry?: three_stdlib.LineGeometry | undefined, material?: three_stdlib.LineMaterial | undefined]) & ([parameters?: LineMaterialParameters | undefined] | readonly [parameters?: LineMaterialParameters | undefined]))) | undefined;
|
|
613
|
-
material?: ((THREE.Material | THREE.Material[] | Readonly<THREE.Material> | readonly THREE.Material[]) & (three_stdlib.LineMaterial | Readonly<three_stdlib.LineMaterial>)) | undefined;
|
|
614
|
-
isLine2?: true | undefined;
|
|
615
|
-
isLineSegments2?: true | undefined;
|
|
616
|
-
computeLineDistances?: (() => three_stdlib.Line2) | Readonly<(() => three_stdlib.Line2) | undefined>;
|
|
617
|
-
isMesh?: true | undefined;
|
|
618
|
-
morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
|
|
619
|
-
morphTargetDictionary?: {
|
|
620
|
-
[key: string]: number;
|
|
621
|
-
} | Readonly<{
|
|
622
|
-
[key: string]: number;
|
|
623
|
-
} | undefined>;
|
|
624
|
-
count?: Readonly<number | undefined>;
|
|
625
|
-
updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
|
|
626
|
-
getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
|
|
627
613
|
color?: THREE.ColorRepresentation | undefined;
|
|
628
|
-
dashed?: boolean | undefined | undefined;
|
|
629
|
-
dashScale?: number | undefined | undefined;
|
|
630
|
-
dashSize?: number | undefined | undefined;
|
|
631
|
-
dashOffset?: number | undefined | undefined;
|
|
632
|
-
gapSize?: number | undefined | undefined;
|
|
633
|
-
opacity?: number | undefined;
|
|
634
|
-
isLineMaterial?: true | undefined;
|
|
635
|
-
linewidth?: number | undefined | undefined;
|
|
636
|
-
resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
|
|
637
|
-
alphaToCoverage?: boolean | undefined | undefined;
|
|
638
|
-
worldUnits?: boolean | undefined | undefined;
|
|
639
|
-
isShaderMaterial?: Readonly<boolean | undefined>;
|
|
640
|
-
setValues?: ((values?: THREE.ShaderMaterialParameters) => void) | Readonly<((values?: THREE.ShaderMaterialParameters) => void) | undefined>;
|
|
641
|
-
defines?: Record<string, unknown> | Readonly<Record<string, unknown> | undefined>;
|
|
642
|
-
isMaterial?: Readonly<boolean | undefined>;
|
|
643
|
-
version?: Readonly<number | undefined>;
|
|
644
|
-
onBeforeCompile?: ((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
|
|
645
|
-
customProgramCacheKey?: (() => string) | Readonly<(() => string) | undefined>;
|
|
646
|
-
needsUpdate?: Readonly<boolean | undefined>;
|
|
647
614
|
blending?: 0 | 1 | 2 | 3 | 4 | 5 | undefined;
|
|
648
615
|
side?: 0 | 1 | 2 | undefined;
|
|
616
|
+
opacity?: number | undefined;
|
|
649
617
|
transparent?: boolean | undefined;
|
|
650
618
|
alphaHash?: boolean | undefined;
|
|
651
619
|
blendSrc?: 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | undefined;
|
|
@@ -677,11 +645,44 @@ declare class NgtsEdges {
|
|
|
677
645
|
polygonOffsetFactor?: number | undefined;
|
|
678
646
|
polygonOffsetUnits?: number | undefined;
|
|
679
647
|
dithering?: boolean | undefined;
|
|
648
|
+
alphaToCoverage?: boolean | undefined | undefined;
|
|
680
649
|
premultipliedAlpha?: boolean | undefined;
|
|
681
650
|
forceSinglePass?: boolean | undefined;
|
|
682
651
|
allowOverride?: boolean | undefined;
|
|
683
652
|
toneMapped?: boolean | undefined;
|
|
684
653
|
alphaTest?: number | undefined;
|
|
654
|
+
dashed?: boolean | undefined | undefined;
|
|
655
|
+
dashScale?: number | undefined | undefined;
|
|
656
|
+
dashSize?: number | undefined | undefined;
|
|
657
|
+
dashOffset?: number | undefined | undefined;
|
|
658
|
+
gapSize?: number | undefined | undefined;
|
|
659
|
+
linewidth?: number | undefined | undefined;
|
|
660
|
+
resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
|
|
661
|
+
wireframe?: boolean | undefined | undefined;
|
|
662
|
+
worldUnits?: boolean | undefined | undefined;
|
|
663
|
+
material?: ((THREE.Material | THREE.Material[] | Readonly<THREE.Material> | readonly THREE.Material[]) & (three_stdlib.LineMaterial | Readonly<three_stdlib.LineMaterial>)) | undefined;
|
|
664
|
+
isLine2?: true | undefined;
|
|
665
|
+
isLineSegments2?: true | undefined;
|
|
666
|
+
computeLineDistances?: (() => three_stdlib.Line2) | Readonly<(() => three_stdlib.Line2) | undefined>;
|
|
667
|
+
isMesh?: true | undefined;
|
|
668
|
+
morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
|
|
669
|
+
morphTargetDictionary?: {
|
|
670
|
+
[key: string]: number;
|
|
671
|
+
} | Readonly<{
|
|
672
|
+
[key: string]: number;
|
|
673
|
+
} | undefined>;
|
|
674
|
+
count?: Readonly<number | undefined>;
|
|
675
|
+
updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
|
|
676
|
+
getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
|
|
677
|
+
isLineMaterial?: true | undefined;
|
|
678
|
+
isShaderMaterial?: Readonly<boolean | undefined>;
|
|
679
|
+
setValues?: ((values?: THREE.ShaderMaterialParameters) => void) | Readonly<((values?: THREE.ShaderMaterialParameters) => void) | undefined>;
|
|
680
|
+
defines?: Record<string, unknown> | Readonly<Record<string, unknown> | undefined>;
|
|
681
|
+
isMaterial?: Readonly<boolean | undefined>;
|
|
682
|
+
version?: Readonly<number | undefined>;
|
|
683
|
+
onBeforeCompile?: ((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
|
|
684
|
+
customProgramCacheKey?: (() => string) | Readonly<(() => string) | undefined>;
|
|
685
|
+
needsUpdate?: Readonly<boolean | undefined>;
|
|
685
686
|
uniforms?: {
|
|
686
687
|
[uniform: string]: THREE.IUniform<any>;
|
|
687
688
|
} | Readonly<{
|
|
@@ -690,7 +691,6 @@ declare class NgtsEdges {
|
|
|
690
691
|
uniformsGroups?: THREE.UniformsGroup[] | Readonly<THREE.UniformsGroup[] | undefined>;
|
|
691
692
|
vertexShader?: Readonly<string | undefined>;
|
|
692
693
|
fragmentShader?: Readonly<string | undefined>;
|
|
693
|
-
wireframe?: boolean | undefined | undefined;
|
|
694
694
|
wireframeLinewidth?: Readonly<number | undefined>;
|
|
695
695
|
fog?: Readonly<boolean | undefined>;
|
|
696
696
|
lights?: Readonly<boolean | undefined>;
|
|
@@ -1338,7 +1338,7 @@ declare class NgtsText {
|
|
|
1338
1338
|
* Configuration options for text appearance and behavior.
|
|
1339
1339
|
*/
|
|
1340
1340
|
options: _angular_core.InputSignalWithTransform<NgtsTextOptions, "" | Partial<NgtsTextOptions>>;
|
|
1341
|
-
protected parameters: _angular_core.Signal<Omit<NgtsTextOptions, "
|
|
1341
|
+
protected parameters: _angular_core.Signal<Omit<NgtsTextOptions, "font" | "fontSize" | "sdfGlyphSize" | "anchorX" | "anchorY" | "characters">>;
|
|
1342
1342
|
/**
|
|
1343
1343
|
* Emitted when the text has been synced and is ready for rendering.
|
|
1344
1344
|
* Returns the Troika Text mesh instance.
|
|
@@ -29,7 +29,7 @@ declare class NgtsCustomShaderMaterial {
|
|
|
29
29
|
/**
|
|
30
30
|
* The base Three.js material to extend. Can be a material instance, material class, or ElementRef to a material.
|
|
31
31
|
*/
|
|
32
|
-
baseMaterial: _angular_core.InputSignal<
|
|
32
|
+
baseMaterial: _angular_core.InputSignal<THREE.Material | typeof THREE.Material | ElementRef<THREE.Material>>;
|
|
33
33
|
/**
|
|
34
34
|
* How to attach the material to its parent object.
|
|
35
35
|
* @default 'material'
|
|
@@ -41,7 +41,7 @@ declare class NgtsCustomShaderMaterial {
|
|
|
41
41
|
*/
|
|
42
42
|
options: _angular_core.InputSignal<Omit<any, "baseMaterial">>;
|
|
43
43
|
/** Material parameters excluding shader-specific options. */
|
|
44
|
-
parameters: _angular_core.Signal<Omit<Omit<any, "baseMaterial">, "
|
|
44
|
+
parameters: _angular_core.Signal<Omit<Omit<any, "baseMaterial">, "fragmentShader" | "vertexShader" | "uniforms" | "cacheKey">>;
|
|
45
45
|
private base;
|
|
46
46
|
private fragmentShader;
|
|
47
47
|
private vertexShader;
|
|
@@ -418,12 +418,12 @@ declare class NgtsMeshRefractionMaterial {
|
|
|
418
418
|
* Configuration options for the refraction material.
|
|
419
419
|
*/
|
|
420
420
|
options: _angular_core.InputSignalWithTransform<NgtsMeshRefractionMaterialOptions, "" | Partial<NgtsMeshRefractionMaterialOptions>>;
|
|
421
|
-
protected parameters: _angular_core.Signal<Omit<NgtsMeshRefractionMaterialOptions, "
|
|
421
|
+
protected parameters: _angular_core.Signal<Omit<NgtsMeshRefractionMaterialOptions, "fastChroma" | "aberrationStrength">>;
|
|
422
422
|
private fastChroma;
|
|
423
423
|
protected aberrationStrength: _angular_core.Signal<number>;
|
|
424
424
|
/** Reference to the underlying MeshRefractionMaterial element. */
|
|
425
425
|
materialRef: _angular_core.Signal<ElementRef<THREE.ShaderMaterial & {
|
|
426
|
-
[name: string]: number | boolean | any[] | THREE.Color | THREE.
|
|
426
|
+
[name: string]: number | boolean | any[] | THREE.Color | THREE.Matrix3 | THREE.Matrix4 | THREE.Quaternion | THREE.Vector2 | THREE.Vector3 | THREE.Vector4 | THREE.Texture<unknown> | THREE.CubeTexture<unknown> | Int32Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | null;
|
|
427
427
|
}> | undefined>;
|
|
428
428
|
private store;
|
|
429
429
|
protected resolution: _angular_core.Signal<number[]>;
|
|
@@ -432,7 +432,7 @@ declare class NgtsMeshRefractionMaterial {
|
|
|
432
432
|
}>;
|
|
433
433
|
private defineKeys;
|
|
434
434
|
protected material: _angular_core.Signal<THREE.ShaderMaterial & {
|
|
435
|
-
[name: string]: number | boolean | any[] | THREE.Color | THREE.
|
|
435
|
+
[name: string]: number | boolean | any[] | THREE.Color | THREE.Matrix3 | THREE.Matrix4 | THREE.Quaternion | THREE.Vector2 | THREE.Vector3 | THREE.Vector4 | THREE.Texture<unknown> | THREE.CubeTexture<unknown> | Int32Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | null;
|
|
436
436
|
}>;
|
|
437
437
|
constructor();
|
|
438
438
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgtsMeshRefractionMaterial, never>;
|
|
@@ -525,7 +525,7 @@ declare class NgtsMeshTransmissionMaterial {
|
|
|
525
525
|
* Configuration options for the transmission material.
|
|
526
526
|
*/
|
|
527
527
|
options: _angular_core.InputSignalWithTransform<NgtsMeshTransmissionMaterialOptions, "" | Partial<NgtsMeshTransmissionMaterialOptions>>;
|
|
528
|
-
protected parameters: _angular_core.Signal<Omit<NgtsMeshTransmissionMaterialOptions, "
|
|
528
|
+
protected parameters: _angular_core.Signal<Omit<NgtsMeshTransmissionMaterialOptions, "thickness" | "anisotropy" | "transmission" | "side" | "resolution" | "background" | "buffer" | "anisotropicBlur" | "samples" | "transmissionSampler" | "backside" | "backsideThickness" | "backsideEnvMapIntensity" | "backsideResolution">>;
|
|
529
529
|
private resolution;
|
|
530
530
|
private backsideResolution;
|
|
531
531
|
private samples;
|
|
@@ -694,7 +694,7 @@ declare class NgtsHTMLImpl {
|
|
|
694
694
|
* HTML anchor configuration including position, occlusion, and transform settings.
|
|
695
695
|
*/
|
|
696
696
|
options: _angular_core.InputSignalWithTransform<NgtsHTMLOptions, "" | Partial<NgtsHTMLOptions>>;
|
|
697
|
-
protected parameters: _angular_core.Signal<Omit<NgtsHTMLOptions, "
|
|
697
|
+
protected parameters: _angular_core.Signal<Omit<NgtsHTMLOptions, "castShadow" | "receiveShadow" | "transform" | "occlude">>;
|
|
698
698
|
/** Reference to the THREE.Group that serves as the 3D anchor point */
|
|
699
699
|
groupRef: _angular_core.Signal<ElementRef<THREE.Group<THREE.Object3DEventMap>>>;
|
|
700
700
|
/** Reference to the occlusion mesh (when using blending occlusion mode) */
|
|
@@ -704,7 +704,7 @@ declare class NgtsHTMLImpl {
|
|
|
704
704
|
protected castShadow: _angular_core.Signal<boolean>;
|
|
705
705
|
protected receiveShadow: _angular_core.Signal<boolean>;
|
|
706
706
|
/** Current occlusion mode setting */
|
|
707
|
-
occlude: _angular_core.Signal<boolean | THREE.Object3D<THREE.Object3DEventMap>[] | "
|
|
707
|
+
occlude: _angular_core.Signal<boolean | "raycast" | THREE.Object3D<THREE.Object3DEventMap>[] | "blending" | ElementRef<THREE.Object3D<THREE.Object3DEventMap>>[]>;
|
|
708
708
|
/** Whether CSS 3D transform mode is enabled */
|
|
709
709
|
transform: _angular_core.Signal<boolean>;
|
|
710
710
|
isRaycastOcclusion: _angular_core.Signal<boolean | 0>;
|
|
@@ -980,7 +980,7 @@ declare class NgtsSampler {
|
|
|
980
980
|
* Sampler configuration including count, weight attribute, and transform function.
|
|
981
981
|
*/
|
|
982
982
|
options: _angular_core.InputSignalWithTransform<NgtsSamplerOptions, "" | Partial<NgtsSamplerOptions>>;
|
|
983
|
-
protected parameters: _angular_core.Signal<Omit<NgtsSamplerOptions, "
|
|
983
|
+
protected parameters: _angular_core.Signal<Omit<NgtsSamplerOptions, "count" | "transform" | "weight">>;
|
|
984
984
|
groupRef: _angular_core.Signal<ElementRef<THREE.Group<THREE.Object3DEventMap>>>;
|
|
985
985
|
private count;
|
|
986
986
|
private weight;
|
|
@@ -340,7 +340,7 @@ declare class NgtsInstances {
|
|
|
340
340
|
*/
|
|
341
341
|
options: _angular_core.InputSignalWithTransform<NgtsInstancesOptions, "" | Partial<NgtsInstancesOptions>>;
|
|
342
342
|
/** @internal */
|
|
343
|
-
protected parameters: _angular_core.Signal<Omit<NgtsInstancesOptions, "
|
|
343
|
+
protected parameters: _angular_core.Signal<Omit<NgtsInstancesOptions, "limit" | "frames" | "range">>;
|
|
344
344
|
/**
|
|
345
345
|
* Reference to the underlying THREE.InstancedMesh element.
|
|
346
346
|
*/
|
|
@@ -544,7 +544,7 @@ declare class NgtsPointsInstances {
|
|
|
544
544
|
/**
|
|
545
545
|
* Computed parameters passed to the underlying Points object.
|
|
546
546
|
*/
|
|
547
|
-
parameters: _angular_core.Signal<Omit<NgtsPointsInstancesOptions, "
|
|
547
|
+
parameters: _angular_core.Signal<Omit<NgtsPointsInstancesOptions, "limit" | "range">>;
|
|
548
548
|
/**
|
|
549
549
|
* Reference to the underlying THREE.Points element.
|
|
550
550
|
*/
|
|
@@ -209,9 +209,9 @@ interface MeshRefractionMaterialOptions {
|
|
|
209
209
|
* ```
|
|
210
210
|
*/
|
|
211
211
|
declare const MeshRefractionMaterial: (new (parameters?: (THREE.ShaderMaterialParameters & Partial<{
|
|
212
|
-
[name: string]: number | boolean | any[] | THREE.
|
|
212
|
+
[name: string]: number | boolean | any[] | THREE.CubeTexture<unknown> | THREE.Texture<unknown> | Int32Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | THREE.Color | null;
|
|
213
213
|
}>) | undefined) => THREE.ShaderMaterial & {
|
|
214
|
-
[name: string]: number | boolean | any[] | THREE.
|
|
214
|
+
[name: string]: number | boolean | any[] | THREE.CubeTexture<unknown> | THREE.Texture<unknown> | Int32Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | THREE.Color | null;
|
|
215
215
|
}) & {
|
|
216
216
|
key: string;
|
|
217
217
|
};
|
|
@@ -88,7 +88,7 @@ declare class NgtsAccumulativeShadows {
|
|
|
88
88
|
protected readonly nullTraversal: () => null;
|
|
89
89
|
protected readonly Math: Math;
|
|
90
90
|
options: _angular_core.InputSignalWithTransform<NgtsAccumulativeShadowsOptions, "" | Partial<NgtsAccumulativeShadowsOptions>>;
|
|
91
|
-
parameters: _angular_core.Signal<Omit<NgtsAccumulativeShadowsOptions, "scale" | "
|
|
91
|
+
parameters: _angular_core.Signal<Omit<NgtsAccumulativeShadowsOptions, "scale" | "temporal" | "frames" | "limit" | "blend" | "opacity" | "alphaTest" | "color" | "colorBlend" | "resolution" | "toneMapped">>;
|
|
92
92
|
lightsRef: _angular_core.Signal<ElementRef<three.Group<three.Object3DEventMap>>>;
|
|
93
93
|
planeRef: _angular_core.Signal<ElementRef<three.Mesh<three.PlaneGeometry, three.ShaderMaterial & {
|
|
94
94
|
map: three.Texture | null;
|
|
@@ -653,7 +653,7 @@ interface NgtsCenterOptions {
|
|
|
653
653
|
declare class NgtsCenter {
|
|
654
654
|
/** Configuration options for centering behavior. */
|
|
655
655
|
options: _angular_core.InputSignalWithTransform<Partial<angular_three.NgtThreeElement<typeof three.Group>> & NgtsCenterOptions, "" | Partial<Partial<angular_three.NgtThreeElement<typeof three.Group>> & NgtsCenterOptions>>;
|
|
656
|
-
protected parameters: _angular_core.Signal<Omit<Partial<angular_three.NgtThreeElement<typeof three.Group>> & NgtsCenterOptions, "object" | "disable" | "top" | "left" | "right" | "bottom" | "
|
|
656
|
+
protected parameters: _angular_core.Signal<Omit<Partial<angular_three.NgtThreeElement<typeof three.Group>> & NgtsCenterOptions, "object" | "disable" | "top" | "left" | "right" | "bottom" | "front" | "back" | "disableX" | "disableY" | "disableZ" | "precise" | "cacheKey">>;
|
|
657
657
|
/** Emits when centering calculation completes with dimension and alignment info. */
|
|
658
658
|
centered: _angular_core.OutputEmitterRef<NgtsCenterState>;
|
|
659
659
|
/** Reference to the outer group element containing the centered content. */
|
|
@@ -797,7 +797,7 @@ declare class NgtsClouds {
|
|
|
797
797
|
protected readonly DynamicDrawUsage: 35048;
|
|
798
798
|
/** Configuration options for the clouds container. */
|
|
799
799
|
options: _angular_core.InputSignalWithTransform<NgtsCloudsOptions, "" | Partial<NgtsCloudsOptions>>;
|
|
800
|
-
protected parameters: _angular_core.Signal<Omit<NgtsCloudsOptions, "frustumCulled" | "limit" | "
|
|
800
|
+
protected parameters: _angular_core.Signal<Omit<NgtsCloudsOptions, "frustumCulled" | "limit" | "material" | "texture" | "range">>;
|
|
801
801
|
private texture;
|
|
802
802
|
private material;
|
|
803
803
|
private range;
|
|
@@ -985,7 +985,7 @@ interface NgtsCloudOptions extends Partial<NgtThreeElements['ngt-group']> {
|
|
|
985
985
|
declare class NgtsCloudInstance {
|
|
986
986
|
/** Configuration options for this cloud formation. */
|
|
987
987
|
options: _angular_core.InputSignalWithTransform<NgtsCloudOptions, "" | Partial<NgtsCloudOptions>>;
|
|
988
|
-
protected parameters: _angular_core.Signal<Omit<NgtsCloudOptions, "opacity" | "color" | "segments" | "
|
|
988
|
+
protected parameters: _angular_core.Signal<Omit<NgtsCloudOptions, "opacity" | "color" | "segments" | "bounds" | "seed" | "concentrate" | "distribute" | "growth" | "volume" | "smallestVolume" | "speed" | "fade">>;
|
|
989
989
|
private cloudInstanceRef;
|
|
990
990
|
private uuid;
|
|
991
991
|
private segments;
|
|
@@ -2295,7 +2295,7 @@ interface NgtsSkyOptions extends Partial<Omit<NgtThreeElements['ngt-mesh'], 'sca
|
|
|
2295
2295
|
declare class NgtsSky {
|
|
2296
2296
|
/** Configuration options for the sky appearance. */
|
|
2297
2297
|
options: _angular_core.InputSignalWithTransform<NgtsSkyOptions, "" | Partial<NgtsSkyOptions>>;
|
|
2298
|
-
protected parameters: _angular_core.Signal<Omit<NgtsSkyOptions, "distance" | "inclination" | "azimuth" | "
|
|
2298
|
+
protected parameters: _angular_core.Signal<Omit<NgtsSkyOptions, "distance" | "inclination" | "azimuth" | "sunPosition" | "turbidity" | "mieCoefficient" | "mieDirectionalG">>;
|
|
2299
2299
|
private distance;
|
|
2300
2300
|
protected turbidity: _angular_core.Signal<number>;
|
|
2301
2301
|
protected mieCoefficient: _angular_core.Signal<number>;
|
|
@@ -2468,7 +2468,7 @@ declare class NgtsSpotLight {
|
|
|
2468
2468
|
protected readonly SpotLightHelper: typeof three.SpotLightHelper;
|
|
2469
2469
|
/** Configuration options for the spot light. */
|
|
2470
2470
|
options: _angular_core.InputSignalWithTransform<NgtsSpotLightOptions, "" | Partial<NgtsSpotLightOptions>>;
|
|
2471
|
-
protected parameters: _angular_core.Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "debug" | "distance" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom"
|
|
2471
|
+
protected parameters: _angular_core.Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "debug" | "distance" | "depthBuffer" | "volumetric" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom">>;
|
|
2472
2472
|
protected volumetricOptions: _angular_core.Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "debug" | "distance" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom">>;
|
|
2473
2473
|
/** Reference to the underlying spot light element. */
|
|
2474
2474
|
spotLightRef: _angular_core.Signal<ElementRef<three.SpotLight>>;
|
|
@@ -2613,6 +2613,9 @@ declare class NgtsStage {
|
|
|
2613
2613
|
protected environment: _angular_core.Signal<"apartment" | "city" | "dawn" | "forest" | "lobby" | "night" | "park" | "studio" | "sunset" | "warehouse" | Partial<NgtsEnvironmentOptions> | null>;
|
|
2614
2614
|
private preset;
|
|
2615
2615
|
protected config: _angular_core.Signal<{
|
|
2616
|
+
main: [x: number, y: number, z: number];
|
|
2617
|
+
fill: [x: number, y: number, z: number];
|
|
2618
|
+
} | {
|
|
2616
2619
|
readonly main: readonly [1, 2, 1];
|
|
2617
2620
|
readonly fill: readonly [-2, -0.5, -2];
|
|
2618
2621
|
} | {
|
|
@@ -2624,9 +2627,6 @@ declare class NgtsStage {
|
|
|
2624
2627
|
} | {
|
|
2625
2628
|
readonly main: readonly [-2, 4, 4];
|
|
2626
2629
|
readonly fill: readonly [-1, 0.5, -1.5];
|
|
2627
|
-
} | {
|
|
2628
|
-
main: [x: number, y: number, z: number];
|
|
2629
|
-
fill: [x: number, y: number, z: number];
|
|
2630
2630
|
}>;
|
|
2631
2631
|
protected shadowBias: _angular_core.Signal<number>;
|
|
2632
2632
|
protected normalBias: _angular_core.Signal<number>;
|