angular-three-soba 4.2.0 → 4.2.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/fesm2022/angular-three-soba-misc.mjs +15 -6
- package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
- package/fesm2022/angular-three-soba-performances.mjs +107 -3
- package/fesm2022/angular-three-soba-performances.mjs.map +1 -1
- package/package.json +140 -140
- package/performances/README.md +47 -0
- package/types/angular-three-soba-abstractions.d.ts +57 -57
- package/types/angular-three-soba-cameras.d.ts +3 -3
- package/types/angular-three-soba-controls.d.ts +4 -4
- package/types/angular-three-soba-gizmos.d.ts +4 -4
- package/types/angular-three-soba-materials.d.ts +4 -4
- package/types/angular-three-soba-misc.d.ts +10 -4
- package/types/angular-three-soba-performances.d.ts +55 -9
- package/types/angular-three-soba-staging.d.ts +14 -14
|
@@ -64,7 +64,7 @@ interface NgtsCameraControlsOptions {
|
|
|
64
64
|
*/
|
|
65
65
|
declare class NgtsCameraControls {
|
|
66
66
|
options: _angular_core.InputSignalWithTransform<Partial<CameraControls> & NgtsCameraControlsOptions, "" | Partial<Partial<CameraControls> & NgtsCameraControlsOptions>>;
|
|
67
|
-
protected parameters: _angular_core.Signal<Omit<Partial<CameraControls> & NgtsCameraControlsOptions, "
|
|
67
|
+
protected parameters: _angular_core.Signal<Omit<Partial<CameraControls> & NgtsCameraControlsOptions, "camera" | "makeDefault" | "regress" | "domElement">>;
|
|
68
68
|
control: _angular_core.OutputEmitterRef<any>;
|
|
69
69
|
controlStart: _angular_core.OutputEmitterRef<any>;
|
|
70
70
|
controlEnd: _angular_core.OutputEmitterRef<any>;
|
|
@@ -155,7 +155,7 @@ type NgtsOrbitControlsOptions = Omit<NgtOverwrite<NgtThreeElement<typeof OrbitCo
|
|
|
155
155
|
*/
|
|
156
156
|
declare class NgtsOrbitControls {
|
|
157
157
|
options: _angular_core.InputSignalWithTransform<NgtsOrbitControlsOptions, "" | Partial<NgtsOrbitControlsOptions>>;
|
|
158
|
-
protected parameters: _angular_core.Signal<Omit<NgtsOrbitControlsOptions, "
|
|
158
|
+
protected parameters: _angular_core.Signal<Omit<NgtsOrbitControlsOptions, "camera" | "makeDefault" | "regress" | "domElement" | "enableDamping" | "keyEvents">>;
|
|
159
159
|
changed: _angular_core.OutputEmitterRef<node_modules_three_stdlib_controls_EventDispatcher.Event<keyof node_modules_three_stdlib_controls_StandardControlsEventMap.StandardControlsEventMap, OrbitControls>>;
|
|
160
160
|
started: _angular_core.OutputEmitterRef<THREE.Event<string, unknown>>;
|
|
161
161
|
ended: _angular_core.OutputEmitterRef<THREE.Event<string, unknown>>;
|
|
@@ -230,7 +230,7 @@ declare class NgtsPointerLockControls {
|
|
|
230
230
|
lock: _angular_core.OutputEmitterRef<THREE.Event<string, unknown>>;
|
|
231
231
|
unlock: _angular_core.OutputEmitterRef<THREE.Event<string, unknown>>;
|
|
232
232
|
change: _angular_core.OutputEmitterRef<THREE.Event<string, unknown>>;
|
|
233
|
-
protected parameters: _angular_core.Signal<Omit<NgtsPointerLockControlsOptions, "
|
|
233
|
+
protected parameters: _angular_core.Signal<Omit<NgtsPointerLockControlsOptions, "camera" | "enabled" | "makeDefault" | "domElement" | "selector">>;
|
|
234
234
|
private document;
|
|
235
235
|
private store;
|
|
236
236
|
private camera;
|
|
@@ -490,7 +490,7 @@ type NgtsTrackballControlsOptions = Omit<NgtOverwrite<NgtThreeElement<typeof Tra
|
|
|
490
490
|
*/
|
|
491
491
|
declare class NgtsTrackballControls {
|
|
492
492
|
options: _angular_core.InputSignalWithTransform<NgtsTrackballControlsOptions, "" | Partial<NgtsTrackballControlsOptions>>;
|
|
493
|
-
protected parameters: _angular_core.Signal<Omit<NgtsTrackballControlsOptions, "
|
|
493
|
+
protected parameters: _angular_core.Signal<Omit<NgtsTrackballControlsOptions, "camera" | "makeDefault" | "regress" | "domElement">>;
|
|
494
494
|
changed: _angular_core.OutputEmitterRef<THREE.Event<string, unknown>>;
|
|
495
495
|
started: _angular_core.OutputEmitterRef<THREE.Event<string, unknown>>;
|
|
496
496
|
ended: _angular_core.OutputEmitterRef<THREE.Event<string, unknown>>;
|
|
@@ -277,7 +277,7 @@ interface NgtsGizmoViewportOptions extends Partial<NgtThreeElements['ngt-group']
|
|
|
277
277
|
declare class NgtsGizmoViewport {
|
|
278
278
|
protected readonly Math: Math;
|
|
279
279
|
options: _angular_core.InputSignalWithTransform<NgtsGizmoViewportOptions, "" | Partial<NgtsGizmoViewportOptions>>;
|
|
280
|
-
protected parameters: _angular_core.Signal<Omit<NgtsGizmoViewportOptions, "axisColors" | "axisScale" | "labels" | "axisHeadScale" | "labelColor" | "hideNegativeAxes" | "hideAxisHeads" | "disabled"
|
|
280
|
+
protected parameters: _angular_core.Signal<Omit<NgtsGizmoViewportOptions, "font" | "axisColors" | "axisScale" | "labels" | "axisHeadScale" | "labelColor" | "hideNegativeAxes" | "hideAxisHeads" | "disabled">>;
|
|
281
281
|
click: _angular_core.OutputEmitterRef<NgtThreeEvent<MouseEvent>>;
|
|
282
282
|
protected axisColors: _angular_core.Signal<[string, string, string]>;
|
|
283
283
|
protected axisScale: _angular_core.Signal<[number, number, number] | undefined>;
|
|
@@ -502,7 +502,7 @@ interface NgtsPivotControlsOptions {
|
|
|
502
502
|
*/
|
|
503
503
|
declare class NgtsPivotControls {
|
|
504
504
|
options: _angular_core.InputSignalWithTransform<NgtsPivotControlsOptions, "" | Partial<NgtsPivotControlsOptions>>;
|
|
505
|
-
protected parameters: _angular_core.Signal<Omit<NgtsPivotControlsOptions, "
|
|
505
|
+
protected parameters: _angular_core.Signal<Omit<NgtsPivotControlsOptions, "rotation" | "scale" | "matrix" | "visible" | "renderOrder" | "userData" | "opacity" | "anchor" | "fixed" | "axisColors" | "hoveredColor" | "enabled" | "lineWidth" | "offset" | "autoTransform" | "activeAxes" | "disableAxes" | "disableSliders" | "disableRotations" | "disableScaling" | "translationLimits" | "rotationLimits" | "scaleLimits" | "annotations" | "annotationsClass" | "depthTest">>;
|
|
506
506
|
dragStarted: _angular_core.OutputEmitterRef<OnDragStartParameters>;
|
|
507
507
|
dragEnded: _angular_core.OutputEmitterRef<void>;
|
|
508
508
|
dragged: _angular_core.OutputEmitterRef<OnDragParameters>;
|
|
@@ -670,8 +670,8 @@ type NgtsTransformControlsOptions = Partial<NgtsTransformControlsObject> & Parti
|
|
|
670
670
|
declare class NgtsTransformControls {
|
|
671
671
|
object: _angular_core.InputSignal<THREE.Object3D<THREE.Object3DEventMap> | ElementRef<THREE.Object3D<THREE.Object3DEventMap>> | null | undefined>;
|
|
672
672
|
options: _angular_core.InputSignal<Partial<NgtsTransformControlsOptions>>;
|
|
673
|
-
protected parameters: _angular_core.Signal<Omit<Partial<NgtsTransformControlsOptions>, "
|
|
674
|
-
protected controlsOptions: _angular_core.Signal<Pick<Partial<NgtsTransformControlsOptions>, "enabled" | "axis" | "mode" | "translationSnap" | "rotationSnap" | "scaleSnap" | "space" | "
|
|
673
|
+
protected parameters: _angular_core.Signal<Omit<Partial<NgtsTransformControlsOptions>, "camera" | "size" | "domElement" | "enabled" | "axis" | "mode" | "translationSnap" | "rotationSnap" | "scaleSnap" | "space" | "showX" | "showY" | "showZ" | "makeDefault">>;
|
|
674
|
+
protected controlsOptions: _angular_core.Signal<Pick<Partial<NgtsTransformControlsOptions>, "size" | "enabled" | "axis" | "mode" | "translationSnap" | "rotationSnap" | "scaleSnap" | "space" | "showX" | "showY" | "showZ">>;
|
|
675
675
|
private camera;
|
|
676
676
|
private domElement;
|
|
677
677
|
private makeDefault;
|
|
@@ -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;
|
|
@@ -195,7 +195,7 @@ declare class NgtsMeshPortalMaterial {
|
|
|
195
195
|
* Configuration options for the portal material.
|
|
196
196
|
*/
|
|
197
197
|
options: _angular_core.InputSignalWithTransform<NgtsMeshPortalMaterialOptions, "" | Partial<NgtsMeshPortalMaterialOptions>>;
|
|
198
|
-
protected parameters: _angular_core.Signal<Omit<NgtsMeshPortalMaterialOptions, "resolution" | "
|
|
198
|
+
protected parameters: _angular_core.Signal<Omit<NgtsMeshPortalMaterialOptions, "resolution" | "blur" | "worldUnits" | "eventPriority" | "renderPriority" | "events">>;
|
|
199
199
|
protected blur: _angular_core.Signal<number>;
|
|
200
200
|
protected eventPriority: _angular_core.Signal<number>;
|
|
201
201
|
protected renderPriority: _angular_core.Signal<number>;
|
|
@@ -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;
|
|
@@ -260,7 +260,7 @@ declare class NgtsDecal {
|
|
|
260
260
|
* Decal configuration options including position, scale, rotation, and material properties.
|
|
261
261
|
*/
|
|
262
262
|
options: _angular_core.InputSignalWithTransform<NgtsDecalOptions, "" | Partial<NgtsDecalOptions>>;
|
|
263
|
-
protected parameters: _angular_core.Signal<Omit<NgtsDecalOptions, "
|
|
263
|
+
protected parameters: _angular_core.Signal<Omit<NgtsDecalOptions, "debug" | "scale" | "position" | "map" | "rotation" | "depthTest" | "polygonOffsetFactor">>;
|
|
264
264
|
meshRef: _angular_core.Signal<ElementRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>>;
|
|
265
265
|
private helperRef;
|
|
266
266
|
protected map: _angular_core.Signal<THREE.Texture<unknown> | null | undefined>;
|
|
@@ -540,6 +540,12 @@ interface NgtsHTMLContentOptions {
|
|
|
540
540
|
* Defaults to the canvas container or `events.connected` element.
|
|
541
541
|
*/
|
|
542
542
|
parent?: HTMLElement | ElementRef<HTMLElement>;
|
|
543
|
+
/**
|
|
544
|
+
* Computes z-index with a logarithmic scale, which prevents
|
|
545
|
+
* near objects from all having the same z-index when
|
|
546
|
+
* camera.far is very large.
|
|
547
|
+
*/
|
|
548
|
+
logarithmicDepth?: boolean;
|
|
543
549
|
}
|
|
544
550
|
/**
|
|
545
551
|
* Renders HTML content positioned relative to a `NgtsHTML` anchor in 3D space.
|
|
@@ -694,7 +700,7 @@ declare class NgtsHTMLImpl {
|
|
|
694
700
|
* HTML anchor configuration including position, occlusion, and transform settings.
|
|
695
701
|
*/
|
|
696
702
|
options: _angular_core.InputSignalWithTransform<NgtsHTMLOptions, "" | Partial<NgtsHTMLOptions>>;
|
|
697
|
-
protected parameters: _angular_core.Signal<Omit<NgtsHTMLOptions, "
|
|
703
|
+
protected parameters: _angular_core.Signal<Omit<NgtsHTMLOptions, "castShadow" | "receiveShadow" | "transform" | "occlude">>;
|
|
698
704
|
/** Reference to the THREE.Group that serves as the 3D anchor point */
|
|
699
705
|
groupRef: _angular_core.Signal<ElementRef<THREE.Group<THREE.Object3DEventMap>>>;
|
|
700
706
|
/** Reference to the occlusion mesh (when using blending occlusion mode) */
|
|
@@ -704,7 +710,7 @@ declare class NgtsHTMLImpl {
|
|
|
704
710
|
protected castShadow: _angular_core.Signal<boolean>;
|
|
705
711
|
protected receiveShadow: _angular_core.Signal<boolean>;
|
|
706
712
|
/** Current occlusion mode setting */
|
|
707
|
-
occlude: _angular_core.Signal<boolean | "raycast" | THREE.Object3D<THREE.Object3DEventMap>[] | ElementRef<THREE.Object3D<THREE.Object3DEventMap>>[]
|
|
713
|
+
occlude: _angular_core.Signal<boolean | "raycast" | THREE.Object3D<THREE.Object3DEventMap>[] | "blending" | ElementRef<THREE.Object3D<THREE.Object3DEventMap>>[]>;
|
|
708
714
|
/** Whether CSS 3D transform mode is enabled */
|
|
709
715
|
transform: _angular_core.Signal<boolean>;
|
|
710
716
|
isRaycastOcclusion: _angular_core.Signal<boolean | 0>;
|
|
@@ -980,7 +986,7 @@ declare class NgtsSampler {
|
|
|
980
986
|
* Sampler configuration including count, weight attribute, and transform function.
|
|
981
987
|
*/
|
|
982
988
|
options: _angular_core.InputSignalWithTransform<NgtsSamplerOptions, "" | Partial<NgtsSamplerOptions>>;
|
|
983
|
-
protected parameters: _angular_core.Signal<Omit<NgtsSamplerOptions, "
|
|
989
|
+
protected parameters: _angular_core.Signal<Omit<NgtsSamplerOptions, "count" | "transform" | "weight">>;
|
|
984
990
|
groupRef: _angular_core.Signal<ElementRef<THREE.Group<THREE.Object3DEventMap>>>;
|
|
985
991
|
private count;
|
|
986
992
|
private weight;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
3
3
|
import { NgtThreeElements, NgtThreeElement } from 'angular-three';
|
|
4
4
|
import * as THREE from 'three';
|
|
5
5
|
import { SplitStrategy } from 'three-mesh-bvh';
|
|
@@ -133,7 +133,7 @@ declare class NgtsBVH {
|
|
|
133
133
|
*/
|
|
134
134
|
options: _angular_core.InputSignalWithTransform<NgtsBVHOptions, "" | Partial<NgtsBVHOptions>>;
|
|
135
135
|
/** @internal */
|
|
136
|
-
protected parameters: _angular_core.Signal<Omit<NgtsBVHOptions, "
|
|
136
|
+
protected parameters: _angular_core.Signal<Omit<NgtsBVHOptions, "enabled" | "firstHitOnly" | "strategy" | "verbose" | "setBoundingBox" | "maxDepth" | "maxLeafTris" | "indirect">>;
|
|
137
137
|
/**
|
|
138
138
|
* Reference to the underlying THREE.Group element.
|
|
139
139
|
*/
|
|
@@ -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, "limit" | "
|
|
343
|
+
protected parameters: _angular_core.Signal<Omit<NgtsInstancesOptions, "limit" | "frames" | "range">>;
|
|
344
344
|
/**
|
|
345
345
|
* Reference to the underlying THREE.InstancedMesh element.
|
|
346
346
|
*/
|
|
@@ -367,6 +367,52 @@ declare class NgtsInstances {
|
|
|
367
367
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgtsInstances, "ngts-instances", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
+
type NgtsLODLevelOptions = {
|
|
371
|
+
distance: number;
|
|
372
|
+
hysteresis: number;
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* Helper directive to capture a template to attach to
|
|
376
|
+
* an NgtsLOD component.
|
|
377
|
+
*/
|
|
378
|
+
declare class NgtsLODLevel {
|
|
379
|
+
lodLevel: _angular_core.InputSignalWithTransform<NgtsLODLevelOptions, "" | Partial<NgtsLODLevelOptions>>;
|
|
380
|
+
template: TemplateRef<any>;
|
|
381
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgtsLODLevel, never>;
|
|
382
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgtsLODLevel, "ng-template[lodLevel]", never, { "lodLevel": { "alias": "lodLevel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Angular-native port of THREE.LOD
|
|
386
|
+
*
|
|
387
|
+
* Allows to display an object with several levels of details.
|
|
388
|
+
*
|
|
389
|
+
* The main difference with THREE.LOD is that we use angular-three
|
|
390
|
+
* to add/remove the right object from the scene graph, rather than
|
|
391
|
+
* setting the visible flag on one of the object, but keeping them
|
|
392
|
+
* all in the graph.
|
|
393
|
+
*
|
|
394
|
+
* Usage:
|
|
395
|
+
*
|
|
396
|
+
* ```html
|
|
397
|
+
* <ngt-group lod [maxDistance]="10000">
|
|
398
|
+
* <ngt-mesh *lodLevel />
|
|
399
|
+
* <ngt-mesh *lodLevel="{distance: 100, hysteresis: 0.1}" />
|
|
400
|
+
* <ngt-mesh *lodLevel="{distance: 1000}" />
|
|
401
|
+
* </ngt-group>
|
|
402
|
+
* ```
|
|
403
|
+
*/
|
|
404
|
+
declare class NgtsLODImpl {
|
|
405
|
+
maxDistance: _angular_core.InputSignal<number | undefined>;
|
|
406
|
+
private store;
|
|
407
|
+
private container;
|
|
408
|
+
readonly levels: _angular_core.Signal<readonly NgtsLODLevel[]>;
|
|
409
|
+
readonly level: _angular_core.WritableSignal<NgtsLODLevel | undefined>;
|
|
410
|
+
constructor();
|
|
411
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgtsLODImpl, never>;
|
|
412
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgtsLODImpl, "[lod]", never, { "maxDistance": { "alias": "maxDistance"; "required": false; "isSignal": true; }; }, {}, ["levels"], never, true, never>;
|
|
413
|
+
}
|
|
414
|
+
declare const NgtsLOD: readonly [typeof NgtsLODImpl, typeof NgtsLODLevel];
|
|
415
|
+
|
|
370
416
|
/**
|
|
371
417
|
* Type definition for the PositionPoint element in Angular Three templates.
|
|
372
418
|
*/
|
|
@@ -717,6 +763,10 @@ declare class NgtsSegments {
|
|
|
717
763
|
/** @internal */
|
|
718
764
|
protected materialParameters: _angular_core.Signal<{
|
|
719
765
|
name?: string | undefined;
|
|
766
|
+
visible?: boolean | undefined;
|
|
767
|
+
userData?: Record<string, any> | undefined;
|
|
768
|
+
color?: number | undefined | undefined;
|
|
769
|
+
wireframe?: boolean | undefined | undefined;
|
|
720
770
|
blending?: THREE.Blending | undefined;
|
|
721
771
|
side?: THREE.Side | undefined;
|
|
722
772
|
vertexColors: boolean;
|
|
@@ -756,11 +806,8 @@ declare class NgtsSegments {
|
|
|
756
806
|
premultipliedAlpha?: boolean | undefined;
|
|
757
807
|
forceSinglePass?: boolean | undefined;
|
|
758
808
|
allowOverride?: boolean | undefined;
|
|
759
|
-
visible?: boolean | undefined;
|
|
760
809
|
toneMapped?: boolean | undefined;
|
|
761
|
-
userData?: Record<string, any> | undefined;
|
|
762
810
|
alphaTest?: number | undefined;
|
|
763
|
-
color?: number | undefined | undefined;
|
|
764
811
|
dashed?: boolean | undefined | undefined;
|
|
765
812
|
dashScale?: number | undefined | undefined;
|
|
766
813
|
dashSize?: number | undefined | undefined;
|
|
@@ -768,7 +815,6 @@ declare class NgtsSegments {
|
|
|
768
815
|
gapSize?: number | undefined | undefined;
|
|
769
816
|
linewidth: number;
|
|
770
817
|
resolution: THREE.Vector2;
|
|
771
|
-
wireframe?: boolean | undefined | undefined;
|
|
772
818
|
worldUnits?: boolean | undefined | undefined;
|
|
773
819
|
}>;
|
|
774
820
|
/** @internal */
|
|
@@ -787,5 +833,5 @@ declare class NgtsSegments {
|
|
|
787
833
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgtsSegments, "ngts-segments", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
788
834
|
}
|
|
789
835
|
|
|
790
|
-
export { NgtsAdaptiveDpr, NgtsAdaptiveEvents, NgtsBVH, NgtsDetailed, NgtsInstance, NgtsInstances, NgtsPoint, NgtsPointsBuffer, NgtsPointsInstances, NgtsSegment, NgtsSegments };
|
|
791
|
-
export type { NgtsBVHOptions, NgtsDetailedOptions, NgtsInstancesOptions, NgtsPointsInstancesOptions, NgtsSegmentsOptions };
|
|
836
|
+
export { NgtsAdaptiveDpr, NgtsAdaptiveEvents, NgtsBVH, NgtsDetailed, NgtsInstance, NgtsInstances, NgtsLOD, NgtsLODImpl, NgtsLODLevel, NgtsPoint, NgtsPointsBuffer, NgtsPointsInstances, NgtsSegment, NgtsSegments };
|
|
837
|
+
export type { NgtsBVHOptions, NgtsDetailedOptions, NgtsInstancesOptions, NgtsLODLevelOptions, NgtsPointsInstancesOptions, NgtsSegmentsOptions };
|
|
@@ -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;
|
|
@@ -501,7 +501,7 @@ declare class NgtsCaustics {
|
|
|
501
501
|
protected readonly SrcAlphaFactor: 204;
|
|
502
502
|
/** Configuration options for the caustics effect. */
|
|
503
503
|
options: _angular_core.InputSignalWithTransform<NgtsCausticsOptions, "" | Partial<NgtsCausticsOptions>>;
|
|
504
|
-
protected parameters: _angular_core.Signal<Omit<NgtsCausticsOptions, "
|
|
504
|
+
protected parameters: _angular_core.Signal<Omit<NgtsCausticsOptions, "frames" | "color" | "resolution" | "debug" | "intensity" | "causticsOnly" | "backside" | "ior" | "backsideIOR" | "worldRadius" | "lightSource">>;
|
|
505
505
|
protected debug: _angular_core.Signal<boolean>;
|
|
506
506
|
protected color: _angular_core.Signal<three.ColorRepresentation>;
|
|
507
507
|
private resolution;
|
|
@@ -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" | "
|
|
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. */
|
|
@@ -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" | "
|
|
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;
|
|
@@ -1114,7 +1114,7 @@ interface NgtsContactShadowsOptions extends Partial<Omit<NgtThreeElements['ngt-g
|
|
|
1114
1114
|
declare class NgtsContactShadows {
|
|
1115
1115
|
protected readonly Math: Math;
|
|
1116
1116
|
options: _angular_core.InputSignalWithTransform<NgtsContactShadowsOptions, "" | Partial<NgtsContactShadowsOptions>>;
|
|
1117
|
-
protected parameters: _angular_core.Signal<Omit<NgtsContactShadowsOptions, "scale" | "renderOrder" | "
|
|
1117
|
+
protected parameters: _angular_core.Signal<Omit<NgtsContactShadowsOptions, "scale" | "renderOrder" | "frames" | "opacity" | "color" | "resolution" | "depthWrite" | "width" | "height" | "near" | "far" | "blur" | "smooth">>;
|
|
1118
1118
|
contactShadowsRef: _angular_core.Signal<ElementRef<three.Group<three.Object3DEventMap>>>;
|
|
1119
1119
|
private shadowsCameraRef;
|
|
1120
1120
|
private store;
|
|
@@ -1528,7 +1528,7 @@ interface NgtsFloatOptions extends Partial<NgtThreeElements['ngt-group']> {
|
|
|
1528
1528
|
*/
|
|
1529
1529
|
declare class NgtsFloat {
|
|
1530
1530
|
options: _angular_core.InputSignalWithTransform<NgtsFloatOptions, "" | Partial<NgtsFloatOptions>>;
|
|
1531
|
-
protected parameters: _angular_core.Signal<Omit<NgtsFloatOptions, "
|
|
1531
|
+
protected parameters: _angular_core.Signal<Omit<NgtsFloatOptions, "speed" | "enabled" | "rotationIntensity" | "floatIntensity" | "floatingRange" | "autoInvalidate">>;
|
|
1532
1532
|
floatRef: _angular_core.Signal<ElementRef<three.Group<three.Object3DEventMap>>>;
|
|
1533
1533
|
constructor();
|
|
1534
1534
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgtsFloat, never>;
|
|
@@ -1585,7 +1585,7 @@ interface NgtsLightformerOptions {
|
|
|
1585
1585
|
declare class NgtsLightformer {
|
|
1586
1586
|
protected readonly side: 2;
|
|
1587
1587
|
options: _angular_core.InputSignalWithTransform<Partial<Omit<angular_three.NgtThreeElement<typeof three.Mesh>, "scale">> & NgtsLightformerOptions, "" | Partial<Partial<Omit<angular_three.NgtThreeElement<typeof three.Mesh>, "scale">> & NgtsLightformerOptions>>;
|
|
1588
|
-
protected parameters: _angular_core.Signal<Omit<Partial<Omit<angular_three.NgtThreeElement<typeof three.Mesh>, "scale">> & NgtsLightformerOptions, "scale" | "map" | "
|
|
1588
|
+
protected parameters: _angular_core.Signal<Omit<Partial<Omit<angular_three.NgtThreeElement<typeof three.Mesh>, "scale">> & NgtsLightformerOptions, "scale" | "map" | "color" | "toneMapped" | "target" | "intensity" | "form">>;
|
|
1589
1589
|
private intensity;
|
|
1590
1590
|
private color;
|
|
1591
1591
|
private target;
|
|
@@ -2132,7 +2132,7 @@ declare class NgtsRenderTextureImpl {
|
|
|
2132
2132
|
attach: _angular_core.InputSignal<NgtAttachable>;
|
|
2133
2133
|
/** Configuration options for the render texture. */
|
|
2134
2134
|
options: _angular_core.InputSignalWithTransform<NgtsRenderTextureOptions, "" | Partial<NgtsRenderTextureOptions>>;
|
|
2135
|
-
protected parameters: _angular_core.Signal<Omit<NgtsRenderTextureOptions, "
|
|
2135
|
+
protected parameters: _angular_core.Signal<Omit<NgtsRenderTextureOptions, "frames" | "width" | "height" | "depthBuffer" | "stencilBuffer" | "samples" | "generateMipmaps" | "renderPriority" | "eventPriority" | "compute">>;
|
|
2136
2136
|
content: _angular_core.Signal<TemplateRef<any>>;
|
|
2137
2137
|
private store;
|
|
2138
2138
|
private width;
|
|
@@ -2214,7 +2214,7 @@ declare class NgtsShadow {
|
|
|
2214
2214
|
protected readonly DoubleSide: 2;
|
|
2215
2215
|
/** Configuration options for the shadow appearance. */
|
|
2216
2216
|
options: _angular_core.InputSignalWithTransform<NgtsShadowOptions, "" | Partial<NgtsShadowOptions>>;
|
|
2217
|
-
protected parameters: _angular_core.Signal<Omit<NgtsShadowOptions, "renderOrder" | "opacity" | "color" | "
|
|
2217
|
+
protected parameters: _angular_core.Signal<Omit<NgtsShadowOptions, "renderOrder" | "opacity" | "color" | "fog" | "depthWrite" | "colorStop">>;
|
|
2218
2218
|
private document;
|
|
2219
2219
|
protected renderOrder: _angular_core.Signal<Readonly<number | undefined>>;
|
|
2220
2220
|
protected opacity: _angular_core.Signal<number>;
|
|
@@ -2328,7 +2328,7 @@ type NgtsSparklesOptions = Partial<NgtThreeElements['ngt-points']> & SparklesPro
|
|
|
2328
2328
|
declare class NgtsSparkles {
|
|
2329
2329
|
/** Configuration options for the sparkles effect. */
|
|
2330
2330
|
options: _angular_core.InputSignalWithTransform<NgtsSparklesOptions, "" | Partial<NgtsSparklesOptions>>;
|
|
2331
|
-
protected parameters: _angular_core.Signal<Omit<NgtsSparklesOptions, "scale" | "opacity" | "color" | "size" | "
|
|
2331
|
+
protected parameters: _angular_core.Signal<Omit<NgtsSparklesOptions, "scale" | "opacity" | "color" | "size" | "speed" | "count" | "noise">>;
|
|
2332
2332
|
private sparklesOptions;
|
|
2333
2333
|
private store;
|
|
2334
2334
|
/**
|
|
@@ -2468,8 +2468,8 @@ 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" | "
|
|
2472
|
-
protected volumetricOptions: _angular_core.Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "
|
|
2471
|
+
protected parameters: _angular_core.Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "debug" | "distance" | "depthBuffer" | "volumetric" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom">>;
|
|
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>>;
|
|
2475
2475
|
/** Whether debug mode is enabled (shows SpotLightHelper). */
|
|
@@ -2719,9 +2719,9 @@ declare class NgtsStage {
|
|
|
2719
2719
|
toJSON?: ((meta?: three.JSONMeta) => three.Object3DJSON) | Readonly<((meta?: three.JSONMeta) => three.Object3DJSON) | undefined>;
|
|
2720
2720
|
clone?: ((recursive?: boolean) => Group<three.Object3DEventMap>) | Readonly<((recursive?: boolean) => Group<three.Object3DEventMap>) | undefined>;
|
|
2721
2721
|
copy?: ((object: three.Object3D, recursive?: boolean) => Group<three.Object3DEventMap>) | Readonly<((object: three.Object3D, recursive?: boolean) => Group<three.Object3DEventMap>) | undefined>;
|
|
2722
|
-
addEventListener?: (((<T extends keyof three.Object3DEventMap>(type: T, listener: three.EventListener<three.Object3DEventMap[T], T, Group<three.Object3DEventMap>>) => void) | Readonly<(<T extends keyof three.Object3DEventMap>(type: T, listener: three.EventListener<three.Object3DEventMap[T], T, Group<three.Object3DEventMap>>) => void) | undefined>) & (<TEventKey extends keyof angular_three.NgtEventHandlers | "
|
|
2722
|
+
addEventListener?: (((<T extends keyof three.Object3DEventMap>(type: T, listener: three.EventListener<three.Object3DEventMap[T], T, Group<three.Object3DEventMap>>) => void) | Readonly<(<T extends keyof three.Object3DEventMap>(type: T, listener: three.EventListener<three.Object3DEventMap[T], T, Group<three.Object3DEventMap>>) => void) | undefined>) & (<TEventKey extends keyof angular_three.NgtEventHandlers | "change" | "added" | "removed" | "childadded" | "childremoved" | keyof angular_three.NgtNodeEventMap<Group<three.Object3DEventMap>>>(type: TEventKey, listener: (this: angular_three.NgtNodeElement<typeof Group, Group<three.Object3DEventMap>>, ev: angular_three.NgtAllObject3DEventsMap<Group<three.Object3DEventMap>>[TEventKey]) => any) => void)) | undefined;
|
|
2723
2723
|
hasEventListener?: (<T extends keyof three.Object3DEventMap>(type: T, listener: three.EventListener<three.Object3DEventMap[T], T, Group<three.Object3DEventMap>>) => boolean) | Readonly<(<T extends keyof three.Object3DEventMap>(type: T, listener: three.EventListener<three.Object3DEventMap[T], T, Group<three.Object3DEventMap>>) => boolean) | undefined>;
|
|
2724
|
-
removeEventListener?: (((<T extends keyof three.Object3DEventMap>(type: T, listener: three.EventListener<three.Object3DEventMap[T], T, Group<three.Object3DEventMap>>) => void) | Readonly<(<T extends keyof three.Object3DEventMap>(type: T, listener: three.EventListener<three.Object3DEventMap[T], T, Group<three.Object3DEventMap>>) => void) | undefined>) & (<TEventKey extends keyof angular_three.NgtEventHandlers | "
|
|
2724
|
+
removeEventListener?: (((<T extends keyof three.Object3DEventMap>(type: T, listener: three.EventListener<three.Object3DEventMap[T], T, Group<three.Object3DEventMap>>) => void) | Readonly<(<T extends keyof three.Object3DEventMap>(type: T, listener: three.EventListener<three.Object3DEventMap[T], T, Group<three.Object3DEventMap>>) => void) | undefined>) & (<TEventKey extends keyof angular_three.NgtEventHandlers | "change" | "added" | "removed" | "childadded" | "childremoved" | keyof angular_three.NgtNodeEventMap<Group<three.Object3DEventMap>>>(type: TEventKey, listener: (this: angular_three.NgtNodeElement<typeof Group, Group<three.Object3DEventMap>>, ev: angular_three.NgtAllObject3DEventsMap<Group<three.Object3DEventMap>>[TEventKey]) => any) => void)) | undefined;
|
|
2725
2725
|
dispatchEvent?: (<T extends keyof three.Object3DEventMap>(event: three.BaseEvent<T> & three.Object3DEventMap[T]) => void) | Readonly<(<T extends keyof three.Object3DEventMap>(event: three.BaseEvent<T> & three.Object3DEventMap[T]) => void) | undefined>;
|
|
2726
2726
|
dispose?: (() => void) | Readonly<(() => void) | null | undefined>;
|
|
2727
2727
|
parameters?: Partial<Group<three.Object3DEventMap>> | Readonly<Partial<Group<three.Object3DEventMap>>> | undefined;
|