angular-three-soba 1.6.0-beta.0 → 1.7.0
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/esm2020/abstractions/lib/billboard/billboard.mjs +8 -9
- package/esm2020/abstractions/lib/catmull-rom-line/catmull-rom-line.mjs +3 -3
- package/esm2020/abstractions/lib/cubic-bezier-line/cubic-bezier-line.mjs +3 -3
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-helper.mjs +12 -12
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.mjs +3 -3
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.mjs +6 -6
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-inputs.mjs +3 -3
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube.mjs +3 -3
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.mjs +6 -6
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport.mjs +3 -3
- package/esm2020/abstractions/lib/line/line-input.mjs +3 -3
- package/esm2020/abstractions/lib/line/line.mjs +53 -57
- package/esm2020/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.mjs +3 -3
- package/esm2020/abstractions/lib/text/text.mjs +13 -11
- package/esm2020/abstractions/lib/text-3d/text-3d.mjs +3 -3
- package/esm2020/cameras/lib/camera/camera-content.mjs +3 -3
- package/esm2020/cameras/lib/camera/camera.mjs +3 -3
- package/esm2020/cameras/lib/orthographic-camera/orthographic-camera.mjs +9 -9
- package/esm2020/cameras/lib/perspective-camera/perspective-camera.mjs +9 -9
- package/esm2020/controls/lib/orbit-controls/orbit-controls.mjs +3 -3
- package/esm2020/loaders/lib/loader/loader.mjs +3 -3
- package/esm2020/misc/lib/bake-shadows/bake-shadows.mjs +3 -3
- package/esm2020/performance/lib/adaptive/adaptive-dpr.mjs +3 -3
- package/esm2020/performance/lib/adaptive/adaptive-events.mjs +3 -3
- package/esm2020/performance/lib/detailed/detailed.mjs +8 -9
- package/esm2020/performance/lib/stats/stats.mjs +3 -3
- package/esm2020/staging/lib/accumulative-shadows/accumulative-shadows.mjs +14 -14
- package/esm2020/staging/lib/accumulative-shadows/randomized-lights.mjs +12 -12
- package/esm2020/staging/lib/bounds/bounds.mjs +8 -9
- package/esm2020/staging/lib/camera-shake/camera-shake.mjs +3 -3
- package/esm2020/staging/lib/center/center.mjs +12 -13
- package/esm2020/staging/lib/cloud/cloud.mjs +9 -9
- package/esm2020/staging/lib/contact-shadows/contact-shadows.mjs +11 -15
- package/esm2020/staging/lib/environment/environment-cube.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-ground.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-inputs.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-map.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-portal.mjs +9 -13
- package/esm2020/staging/lib/environment/environment.mjs +6 -6
- package/esm2020/staging/lib/float/float.mjs +8 -9
- package/esm2020/staging/lib/sky/sky.mjs +21 -25
- package/esm2020/staging/lib/sparkles/sparkles.mjs +11 -11
- package/esm2020/staging/lib/stage/stage.mjs +6 -6
- package/esm2020/staging/lib/stars/stars.mjs +9 -9
- package/fesm2015/angular-three-soba-abstractions.mjs +118 -121
- package/fesm2015/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2015/angular-three-soba-cameras.mjs +21 -21
- package/fesm2015/angular-three-soba-cameras.mjs.map +1 -1
- package/fesm2015/angular-three-soba-controls.mjs +3 -3
- package/fesm2015/angular-three-soba-loaders.mjs +3 -3
- package/fesm2015/angular-three-soba-misc.mjs +3 -3
- package/fesm2015/angular-three-soba-performance.mjs +16 -17
- package/fesm2015/angular-three-soba-performance.mjs.map +1 -1
- package/fesm2015/angular-three-soba-staging.mjs +130 -145
- package/fesm2015/angular-three-soba-staging.mjs.map +1 -1
- package/fesm2020/angular-three-soba-abstractions.mjs +118 -121
- package/fesm2020/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2020/angular-three-soba-cameras.mjs +21 -21
- package/fesm2020/angular-three-soba-cameras.mjs.map +1 -1
- package/fesm2020/angular-three-soba-controls.mjs +3 -3
- package/fesm2020/angular-three-soba-loaders.mjs +3 -3
- package/fesm2020/angular-three-soba-misc.mjs +3 -3
- package/fesm2020/angular-three-soba-performance.mjs +16 -17
- package/fesm2020/angular-three-soba-performance.mjs.map +1 -1
- package/fesm2020/angular-three-soba-staging.mjs +130 -145
- package/fesm2020/angular-three-soba-staging.mjs.map +1 -1
- package/package.json +1 -1
- package/plugin/package.json +1 -1
- package/staging/lib/stage/stage.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, inject, Directive, Component, CUSTOM_ELEMENTS_SCHEMA, Input, EventEmitter, Output, TemplateRef, ContentChild, ChangeDetectorRef } from '@angular/core';
|
|
3
|
-
import { extend, NgtStore, getLocalState, NgtRxStore, injectNgtRef,
|
|
3
|
+
import { extend, NgtStore, getLocalState, NgtRxStore, injectNgtRef, NgtArgs, NgtRepeat, is, injectBeforeRender, NgtPush, injectNgtDestroy, injectNgtLoader, startWithUndefined, prepare, NgtPortal, NgtPortalContent } from 'angular-three';
|
|
4
4
|
import { shaderMaterial } from 'angular-three-soba/shaders';
|
|
5
5
|
import { Subject, combineLatest, switchMap, isObservable, of, debounceTime, map, takeUntil, startWith, withLatestFrom } from 'rxjs';
|
|
6
6
|
import * as THREE from 'three';
|
|
@@ -227,9 +227,9 @@ class AccumulativeShadowsConsumer {
|
|
|
227
227
|
inject(NGTS_ACCUMULATIVE_SHADOWS_API);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
AccumulativeShadowsConsumer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
231
|
-
AccumulativeShadowsConsumer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
230
|
+
AccumulativeShadowsConsumer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AccumulativeShadowsConsumer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
231
|
+
AccumulativeShadowsConsumer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AccumulativeShadowsConsumer, isStandalone: true, selector: "ngts-accumulative-shadows-consumer", ngImport: i0 });
|
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AccumulativeShadowsConsumer, decorators: [{
|
|
233
233
|
type: Directive,
|
|
234
234
|
args: [{ selector: 'ngts-accumulative-shadows-consumer', standalone: true }]
|
|
235
235
|
}], ctorParameters: function () { return []; } });
|
|
@@ -303,8 +303,8 @@ class NgtsAccumulativeShadows extends NgtRxStore {
|
|
|
303
303
|
});
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
|
-
NgtsAccumulativeShadows.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
307
|
-
NgtsAccumulativeShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
306
|
+
NgtsAccumulativeShadows.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsAccumulativeShadows, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
307
|
+
NgtsAccumulativeShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsAccumulativeShadows, isStandalone: true, selector: "ngts-accumulative-shadows", inputs: { frames: "frames", blend: "blend", limit: "limit", scale: "scale", temporal: "temporal", opacity: "opacity", alphaTest: "alphaTest", color: "color", colorBlend: "colorBlend", resolution: "resolution", toneMapped: "toneMapped" }, providers: [
|
|
308
308
|
{
|
|
309
309
|
provide: NGTS_ACCUMULATIVE_SHADOWS_API,
|
|
310
310
|
useFactory: accumulativeShadowsApiFactory,
|
|
@@ -312,11 +312,11 @@ NgtsAccumulativeShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
312
312
|
},
|
|
313
313
|
], usesInheritance: true, ngImport: i0, template: `
|
|
314
314
|
<ngt-group ngtCompound>
|
|
315
|
-
<ngt-group
|
|
315
|
+
<ngt-group [ref]="accumulativeShadowsRef" [traverse]="nullTraverse">
|
|
316
316
|
<ng-content />
|
|
317
317
|
<ngts-accumulative-shadows-consumer />
|
|
318
318
|
</ngt-group>
|
|
319
|
-
<ngt-mesh
|
|
319
|
+
<ngt-mesh [ref]="meshRef" [receiveShadow]="true" [scale]="get('scale')" [rotation]="[-Math.PI / 2, 0, 0]">
|
|
320
320
|
<ngt-plane-geometry />
|
|
321
321
|
<ngt-soft-shadow-material
|
|
322
322
|
[transparent]="true"
|
|
@@ -328,19 +328,19 @@ NgtsAccumulativeShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
328
328
|
/>
|
|
329
329
|
</ngt-mesh>
|
|
330
330
|
</ngt-group>
|
|
331
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: AccumulativeShadowsConsumer, selector: "ngts-accumulative-shadows-consumer" }
|
|
332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
331
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: AccumulativeShadowsConsumer, selector: "ngts-accumulative-shadows-consumer" }] });
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsAccumulativeShadows, decorators: [{
|
|
333
333
|
type: Component,
|
|
334
334
|
args: [{
|
|
335
335
|
selector: 'ngts-accumulative-shadows',
|
|
336
336
|
standalone: true,
|
|
337
337
|
template: `
|
|
338
338
|
<ngt-group ngtCompound>
|
|
339
|
-
<ngt-group
|
|
339
|
+
<ngt-group [ref]="accumulativeShadowsRef" [traverse]="nullTraverse">
|
|
340
340
|
<ng-content />
|
|
341
341
|
<ngts-accumulative-shadows-consumer />
|
|
342
342
|
</ngt-group>
|
|
343
|
-
<ngt-mesh
|
|
343
|
+
<ngt-mesh [ref]="meshRef" [receiveShadow]="true" [scale]="get('scale')" [rotation]="[-Math.PI / 2, 0, 0]">
|
|
344
344
|
<ngt-plane-geometry />
|
|
345
345
|
<ngt-soft-shadow-material
|
|
346
346
|
[transparent]="true"
|
|
@@ -353,7 +353,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
353
353
|
</ngt-mesh>
|
|
354
354
|
</ngt-group>
|
|
355
355
|
`,
|
|
356
|
-
imports: [AccumulativeShadowsConsumer
|
|
356
|
+
imports: [AccumulativeShadowsConsumer],
|
|
357
357
|
providers: [
|
|
358
358
|
{
|
|
359
359
|
provide: NGTS_ACCUMULATIVE_SHADOWS_API,
|
|
@@ -429,9 +429,9 @@ class RandomizedLightsConsumer {
|
|
|
429
429
|
inject(NGTS_RANDOMIZED_LIGHTS_API);
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
RandomizedLightsConsumer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
433
|
-
RandomizedLightsConsumer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
432
|
+
RandomizedLightsConsumer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: RandomizedLightsConsumer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
433
|
+
RandomizedLightsConsumer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: RandomizedLightsConsumer, isStandalone: true, selector: "ngts-randomized-lights-consumer", ngImport: i0 });
|
|
434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: RandomizedLightsConsumer, decorators: [{
|
|
435
435
|
type: Directive,
|
|
436
436
|
args: [{ selector: 'ngts-randomized-lights-consumer', standalone: true }]
|
|
437
437
|
}], ctorParameters: function () { return []; } });
|
|
@@ -509,11 +509,11 @@ class NgtsRandomizedLights extends NgtRxStore {
|
|
|
509
509
|
this.connect('length', this.select(['position'], ({ position }) => new THREE.Vector3(...position).length()));
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
NgtsRandomizedLights.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
513
|
-
NgtsRandomizedLights.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
512
|
+
NgtsRandomizedLights.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsRandomizedLights, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
513
|
+
NgtsRandomizedLights.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsRandomizedLights, isStandalone: true, selector: "ngts-randomized-lights", inputs: { lightsRef: "lightsRef", frames: "frames", position: "position", radius: "radius", amount: "amount", intensity: "intensity", ambient: "ambient", castShadow: "castShadow", bias: "bias", mapSize: "mapSize", size: "size", near: "near", far: "far" }, providers: [
|
|
514
514
|
{ provide: NGTS_RANDOMIZED_LIGHTS_API, useFactory: randomizedLightsApiFactory, deps: [NgtsRandomizedLights] },
|
|
515
515
|
], usesInheritance: true, ngImport: i0, template: `
|
|
516
|
-
<ngt-group ngtCompound
|
|
516
|
+
<ngt-group ngtCompound [ref]="lightsRef">
|
|
517
517
|
<ngt-directional-light
|
|
518
518
|
*ngFor="let i; repeat: get('amount')"
|
|
519
519
|
[castShadow]="get('castShadow')"
|
|
@@ -525,14 +525,14 @@ NgtsRandomizedLights.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
525
525
|
</ngt-directional-light>
|
|
526
526
|
<ngts-randomized-lights-consumer />
|
|
527
527
|
</ngt-group>
|
|
528
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: RandomizedLightsConsumer, selector: "ngts-randomized-lights-consumer" }, { kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }, { kind: "directive", type: NgtRepeat, selector: "[ngFor][ngForRepeat]", inputs: ["ngForRepeat"] }
|
|
529
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
528
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: RandomizedLightsConsumer, selector: "ngts-randomized-lights-consumer" }, { kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }, { kind: "directive", type: NgtRepeat, selector: "[ngFor][ngForRepeat]", inputs: ["ngForRepeat"] }] });
|
|
529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsRandomizedLights, decorators: [{
|
|
530
530
|
type: Component,
|
|
531
531
|
args: [{
|
|
532
532
|
selector: 'ngts-randomized-lights',
|
|
533
533
|
standalone: true,
|
|
534
534
|
template: `
|
|
535
|
-
<ngt-group ngtCompound
|
|
535
|
+
<ngt-group ngtCompound [ref]="lightsRef">
|
|
536
536
|
<ngt-directional-light
|
|
537
537
|
*ngFor="let i; repeat: get('amount')"
|
|
538
538
|
[castShadow]="get('castShadow')"
|
|
@@ -545,7 +545,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
545
545
|
<ngts-randomized-lights-consumer />
|
|
546
546
|
</ngt-group>
|
|
547
547
|
`,
|
|
548
|
-
imports: [RandomizedLightsConsumer, NgtArgs, NgtRepeat
|
|
548
|
+
imports: [RandomizedLightsConsumer, NgtArgs, NgtRepeat],
|
|
549
549
|
providers: [
|
|
550
550
|
{ provide: NGTS_RANDOMIZED_LIGHTS_API, useFactory: randomizedLightsApiFactory, deps: [NgtsRandomizedLights] },
|
|
551
551
|
],
|
|
@@ -819,23 +819,22 @@ class NgtsBounds extends NgtRxStore {
|
|
|
819
819
|
});
|
|
820
820
|
}
|
|
821
821
|
}
|
|
822
|
-
NgtsBounds.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
823
|
-
NgtsBounds.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
824
|
-
<ngt-group ngtCompound
|
|
822
|
+
NgtsBounds.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsBounds, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
823
|
+
NgtsBounds.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsBounds, isStandalone: true, selector: "ngts-bounds", inputs: { boundsRef: "boundsRef", damping: "damping", fit: "fit", clip: "clip", observe: "observe", margin: "margin", eps: "eps" }, outputs: { fitted: "fitted" }, providers: [{ provide: NGTS_BOUNDS_API, useFactory: boundsApiFactory, deps: [NgtsBounds] }], usesInheritance: true, ngImport: i0, template: `
|
|
824
|
+
<ngt-group ngtCompound [ref]="boundsRef">
|
|
825
825
|
<ng-content />
|
|
826
826
|
</ngt-group>
|
|
827
|
-
`, isInline: true
|
|
828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
827
|
+
`, isInline: true });
|
|
828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsBounds, decorators: [{
|
|
829
829
|
type: Component,
|
|
830
830
|
args: [{
|
|
831
831
|
selector: 'ngts-bounds',
|
|
832
832
|
standalone: true,
|
|
833
833
|
template: `
|
|
834
|
-
<ngt-group ngtCompound
|
|
834
|
+
<ngt-group ngtCompound [ref]="boundsRef">
|
|
835
835
|
<ng-content />
|
|
836
836
|
</ngt-group>
|
|
837
837
|
`,
|
|
838
|
-
imports: [NgtRef],
|
|
839
838
|
providers: [{ provide: NGTS_BOUNDS_API, useFactory: boundsApiFactory, deps: [NgtsBounds] }],
|
|
840
839
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
841
840
|
}]
|
|
@@ -945,9 +944,9 @@ class NgtsCameraShake extends NgtRxStore {
|
|
|
945
944
|
}
|
|
946
945
|
}
|
|
947
946
|
}
|
|
948
|
-
NgtsCameraShake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
949
|
-
NgtsCameraShake.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
947
|
+
NgtsCameraShake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsCameraShake, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
948
|
+
NgtsCameraShake.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: NgtsCameraShake, isStandalone: true, selector: "ngts-camera-shake", inputs: { intensity: "intensity", decay: "decay", decayRate: "decayRate", maxYaw: "maxYaw", maxPitch: "maxPitch", maxRoll: "maxRoll", yawFrequency: "yawFrequency", pitchFrequency: "pitchFrequency", rollFrequency: "rollFrequency" }, usesInheritance: true, ngImport: i0 });
|
|
949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsCameraShake, decorators: [{
|
|
951
950
|
type: Directive,
|
|
952
951
|
args: [{
|
|
953
952
|
selector: 'ngts-camera-shake',
|
|
@@ -1056,31 +1055,30 @@ class NgtsCenter extends NgtRxStore {
|
|
|
1056
1055
|
});
|
|
1057
1056
|
}
|
|
1058
1057
|
}
|
|
1059
|
-
NgtsCenter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1060
|
-
NgtsCenter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1061
|
-
<ngt-group ngtCompound
|
|
1062
|
-
<ngt-group
|
|
1063
|
-
<ngt-group
|
|
1058
|
+
NgtsCenter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsCenter, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1059
|
+
NgtsCenter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsCenter, isStandalone: true, selector: "ngts-center", inputs: { centerRef: "centerRef", top: "top", right: "right", bottom: "bottom", left: "left", front: "front", back: "back", disableX: "disableX", disableY: "disableY", disableZ: "disableZ", disabled: "disabled", precise: "precise" }, outputs: { centered: "centered" }, usesInheritance: true, ngImport: i0, template: `
|
|
1060
|
+
<ngt-group ngtCompound [ref]="centerRef">
|
|
1061
|
+
<ngt-group [ref]="outerRef">
|
|
1062
|
+
<ngt-group [ref]="innerRef">
|
|
1064
1063
|
<ng-content />
|
|
1065
1064
|
</ngt-group>
|
|
1066
1065
|
</ngt-group>
|
|
1067
1066
|
</ngt-group>
|
|
1068
|
-
`, isInline: true
|
|
1069
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1067
|
+
`, isInline: true });
|
|
1068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsCenter, decorators: [{
|
|
1070
1069
|
type: Component,
|
|
1071
1070
|
args: [{
|
|
1072
1071
|
selector: 'ngts-center',
|
|
1073
1072
|
standalone: true,
|
|
1074
1073
|
template: `
|
|
1075
|
-
<ngt-group ngtCompound
|
|
1076
|
-
<ngt-group
|
|
1077
|
-
<ngt-group
|
|
1074
|
+
<ngt-group ngtCompound [ref]="centerRef">
|
|
1075
|
+
<ngt-group [ref]="outerRef">
|
|
1076
|
+
<ngt-group [ref]="innerRef">
|
|
1078
1077
|
<ng-content />
|
|
1079
1078
|
</ngt-group>
|
|
1080
1079
|
</ngt-group>
|
|
1081
1080
|
</ngt-group>
|
|
1082
1081
|
`,
|
|
1083
|
-
imports: [NgtRef],
|
|
1084
1082
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1085
1083
|
}]
|
|
1086
1084
|
}], propDecorators: { centerRef: [{
|
|
@@ -1176,9 +1174,9 @@ class NgtsCloud extends NgtRxStore {
|
|
|
1176
1174
|
});
|
|
1177
1175
|
}
|
|
1178
1176
|
}
|
|
1179
|
-
NgtsCloud.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1180
|
-
NgtsCloud.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1181
|
-
<ngt-group ngtCompound
|
|
1177
|
+
NgtsCloud.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsCloud, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1178
|
+
NgtsCloud.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsCloud, isStandalone: true, selector: "ngts-cloud", inputs: { groupRef: "groupRef", opacity: "opacity", speed: "speed", width: "width", depth: "depth", segments: "segments", texture: "texture", color: "color", depthTest: "depthTest" }, usesInheritance: true, ngImport: i0, template: `
|
|
1179
|
+
<ngt-group ngtCompound [ref]="groupRef">
|
|
1182
1180
|
<ngt-group
|
|
1183
1181
|
[position]="[0, 0, (get('segments') / 2) * get('depth')]"
|
|
1184
1182
|
(beforeRender)="onBeforeRender($any($event))"
|
|
@@ -1205,14 +1203,14 @@ NgtsCloud.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15
|
|
|
1205
1203
|
</ngts-billboard>
|
|
1206
1204
|
</ngt-group>
|
|
1207
1205
|
</ngt-group>
|
|
1208
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: NgtPush, name: "ngtPush" }, { kind: "component", type: NgtsBillboard, selector: "ngts-billboard", inputs: ["billboardRef", "follow", "lockX", "lockY", "lockZ"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }
|
|
1209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1206
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: NgtPush, name: "ngtPush" }, { kind: "component", type: NgtsBillboard, selector: "ngts-billboard", inputs: ["billboardRef", "follow", "lockX", "lockY", "lockZ"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsCloud, decorators: [{
|
|
1210
1208
|
type: Component,
|
|
1211
1209
|
args: [{
|
|
1212
1210
|
selector: 'ngts-cloud',
|
|
1213
1211
|
standalone: true,
|
|
1214
1212
|
template: `
|
|
1215
|
-
<ngt-group ngtCompound
|
|
1213
|
+
<ngt-group ngtCompound [ref]="groupRef">
|
|
1216
1214
|
<ngt-group
|
|
1217
1215
|
[position]="[0, 0, (get('segments') / 2) * get('depth')]"
|
|
1218
1216
|
(beforeRender)="onBeforeRender($any($event))"
|
|
@@ -1240,7 +1238,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
1240
1238
|
</ngt-group>
|
|
1241
1239
|
</ngt-group>
|
|
1242
1240
|
`,
|
|
1243
|
-
imports: [NgFor, NgtPush, NgtsBillboard, NgIf
|
|
1241
|
+
imports: [NgFor, NgtPush, NgtsBillboard, NgIf],
|
|
1244
1242
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1245
1243
|
}]
|
|
1246
1244
|
}], propDecorators: { groupRef: [{
|
|
@@ -1399,9 +1397,9 @@ class NgtsContactShadows extends NgtRxStore {
|
|
|
1399
1397
|
blurPlane.visible = false;
|
|
1400
1398
|
}
|
|
1401
1399
|
}
|
|
1402
|
-
NgtsContactShadows.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1403
|
-
NgtsContactShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1404
|
-
<ngt-group ngtCompound
|
|
1400
|
+
NgtsContactShadows.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsContactShadows, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1401
|
+
NgtsContactShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsContactShadows, isStandalone: true, selector: "ngts-contact-shadows", inputs: { contactShadowsRef: "contactShadowsRef", opacity: "opacity", width: "width", height: "height", blur: "blur", far: "far", smooth: "smooth", resolution: "resolution", frames: "frames", scale: "scale", color: "color", depthWrite: "depthWrite", renderOrder: "renderOrder" }, usesInheritance: true, ngImport: i0, template: `
|
|
1402
|
+
<ngt-group ngtCompound [ref]="contactShadowsRef" [rotation]="[Math.PI / 2, 0, 0]">
|
|
1405
1403
|
<ng-container *ngIf="contactShadows$ | ngtPush : null as contactShadows">
|
|
1406
1404
|
<ngt-mesh
|
|
1407
1405
|
[renderOrder]="get('renderOrder')"
|
|
@@ -1418,19 +1416,17 @@ NgtsContactShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
1418
1416
|
<ngt-value [rawValue]="encoding" attach="map.encoding" />
|
|
1419
1417
|
</ngt-mesh-basic-material>
|
|
1420
1418
|
</ngt-mesh>
|
|
1421
|
-
<
|
|
1422
|
-
<ngt-orthographic-camera *ref="shadowCameraRef" />
|
|
1423
|
-
</ng-container>
|
|
1419
|
+
<ngt-orthographic-camera *args="get('cameraArgs')" [ref]="shadowCameraRef" />
|
|
1424
1420
|
</ng-container>
|
|
1425
1421
|
</ngt-group>
|
|
1426
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: NgtPush, name: "ngtPush" }, { kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }
|
|
1427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1422
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: NgtPush, name: "ngtPush" }, { kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
1423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsContactShadows, decorators: [{
|
|
1428
1424
|
type: Component,
|
|
1429
1425
|
args: [{
|
|
1430
1426
|
selector: 'ngts-contact-shadows',
|
|
1431
1427
|
standalone: true,
|
|
1432
1428
|
template: `
|
|
1433
|
-
<ngt-group ngtCompound
|
|
1429
|
+
<ngt-group ngtCompound [ref]="contactShadowsRef" [rotation]="[Math.PI / 2, 0, 0]">
|
|
1434
1430
|
<ng-container *ngIf="contactShadows$ | ngtPush : null as contactShadows">
|
|
1435
1431
|
<ngt-mesh
|
|
1436
1432
|
[renderOrder]="get('renderOrder')"
|
|
@@ -1447,13 +1443,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
1447
1443
|
<ngt-value [rawValue]="encoding" attach="map.encoding" />
|
|
1448
1444
|
</ngt-mesh-basic-material>
|
|
1449
1445
|
</ngt-mesh>
|
|
1450
|
-
<
|
|
1451
|
-
<ngt-orthographic-camera *ref="shadowCameraRef" />
|
|
1452
|
-
</ng-container>
|
|
1446
|
+
<ngt-orthographic-camera *args="get('cameraArgs')" [ref]="shadowCameraRef" />
|
|
1453
1447
|
</ng-container>
|
|
1454
1448
|
</ngt-group>
|
|
1455
1449
|
`,
|
|
1456
|
-
imports: [NgIf, NgtPush, NgtArgs
|
|
1450
|
+
imports: [NgIf, NgtPush, NgtArgs],
|
|
1457
1451
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1458
1452
|
}]
|
|
1459
1453
|
}], ctorParameters: function () { return []; }, propDecorators: { contactShadowsRef: [{
|
|
@@ -1545,9 +1539,9 @@ class NgtsEnvironmentInputs extends NgtRxStore {
|
|
|
1545
1539
|
this.set({ encoding });
|
|
1546
1540
|
}
|
|
1547
1541
|
}
|
|
1548
|
-
NgtsEnvironmentInputs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1549
|
-
NgtsEnvironmentInputs.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1542
|
+
NgtsEnvironmentInputs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentInputs, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1543
|
+
NgtsEnvironmentInputs.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: NgtsEnvironmentInputs, inputs: { frames: "frames", near: "near", far: "far", resolution: "resolution", background: "background", blur: "blur", map: "map", files: "files", path: "path", preset: "preset", scene: "scene", extensions: "extensions", ground: "ground", encoding: "encoding" }, usesInheritance: true, ngImport: i0 });
|
|
1544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentInputs, decorators: [{
|
|
1551
1545
|
type: Directive
|
|
1552
1546
|
}], propDecorators: { frames: [{
|
|
1553
1547
|
type: Input
|
|
@@ -1670,9 +1664,9 @@ class NgtsEnvironmentCube extends NgtsEnvironmentInputs {
|
|
|
1670
1664
|
});
|
|
1671
1665
|
}
|
|
1672
1666
|
}
|
|
1673
|
-
NgtsEnvironmentCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1674
|
-
NgtsEnvironmentCube.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1675
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1667
|
+
NgtsEnvironmentCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentCube, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1668
|
+
NgtsEnvironmentCube.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: NgtsEnvironmentCube, isStandalone: true, selector: "ngts-environment-cube", usesInheritance: true, ngImport: i0 });
|
|
1669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentCube, decorators: [{
|
|
1676
1670
|
type: Directive,
|
|
1677
1671
|
args: [{
|
|
1678
1672
|
selector: 'ngts-environment-cube',
|
|
@@ -1702,9 +1696,9 @@ class NgtsEnvironmentMap extends NgtsEnvironmentInputs {
|
|
|
1702
1696
|
});
|
|
1703
1697
|
}
|
|
1704
1698
|
}
|
|
1705
|
-
NgtsEnvironmentMap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1706
|
-
NgtsEnvironmentMap.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1699
|
+
NgtsEnvironmentMap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentMap, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1700
|
+
NgtsEnvironmentMap.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: NgtsEnvironmentMap, isStandalone: true, selector: "ngts-environment-map", usesInheritance: true, ngImport: i0 });
|
|
1701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentMap, decorators: [{
|
|
1708
1702
|
type: Directive,
|
|
1709
1703
|
args: [{
|
|
1710
1704
|
selector: 'ngts-environment-map',
|
|
@@ -1726,8 +1720,8 @@ class NgtsEnvironmentGround extends NgtsEnvironmentInputs {
|
|
|
1726
1720
|
this.connect('groundScale', this.select(['ground'], ({ ground }) => { var _a; return (_a = ground === null || ground === void 0 ? void 0 : ground.scale) !== null && _a !== void 0 ? _a : 1000; }));
|
|
1727
1721
|
}
|
|
1728
1722
|
}
|
|
1729
|
-
NgtsEnvironmentGround.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1730
|
-
NgtsEnvironmentGround.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1723
|
+
NgtsEnvironmentGround.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentGround, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1724
|
+
NgtsEnvironmentGround.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsEnvironmentGround, isStandalone: true, selector: "ngts-environment-ground", usesInheritance: true, ngImport: i0, template: `
|
|
1731
1725
|
<ngts-environment-map
|
|
1732
1726
|
[background]="get('background')"
|
|
1733
1727
|
[blur]="get('blur')"
|
|
@@ -1743,7 +1737,7 @@ NgtsEnvironmentGround.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1743
1737
|
/>
|
|
1744
1738
|
</ng-container>
|
|
1745
1739
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtsEnvironmentMap, selector: "ngts-environment-map" }, { kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentGround, decorators: [{
|
|
1747
1741
|
type: Component,
|
|
1748
1742
|
args: [{
|
|
1749
1743
|
selector: 'ngts-environment-ground',
|
|
@@ -1817,14 +1811,12 @@ class NgtsEnvironmentPortal extends NgtsEnvironmentInputs {
|
|
|
1817
1811
|
}
|
|
1818
1812
|
}
|
|
1819
1813
|
}
|
|
1820
|
-
NgtsEnvironmentPortal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1821
|
-
NgtsEnvironmentPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1814
|
+
NgtsEnvironmentPortal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentPortal, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1815
|
+
NgtsEnvironmentPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsEnvironmentPortal, isStandalone: true, selector: "ngts-environment-portal", usesInheritance: true, ngImport: i0, template: `
|
|
1822
1816
|
<ngt-portal [container]="virtualSceneRef">
|
|
1823
1817
|
<ng-template ngtPortalContent>
|
|
1824
1818
|
<ng-content />
|
|
1825
|
-
<
|
|
1826
|
-
<ngt-cube-camera *ref="cubeCameraRef" />
|
|
1827
|
-
</ng-container>
|
|
1819
|
+
<ngt-cube-camera *args="get('cameraArgs')" [ref]="cubeCameraRef" />
|
|
1828
1820
|
<ng-container *ngIf="get('files') || get('preset'); else environmentMap">
|
|
1829
1821
|
<ngts-environment-cube
|
|
1830
1822
|
[background]="true"
|
|
@@ -1839,8 +1831,8 @@ NgtsEnvironmentPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1839
1831
|
</ng-template>
|
|
1840
1832
|
</ng-template>
|
|
1841
1833
|
</ngt-portal>
|
|
1842
|
-
`, isInline: true, dependencies: [{ kind: "component", type: NgtPortal, selector: "ngt-portal", inputs: ["container", "state", "autoRender", "autoRenderPriority"], outputs: ["beforeRender"] }, { kind: "directive", type: NgtPortalContent, selector: "ng-template[ngtPortalContent]" }, { kind: "directive", type: NgtsEnvironmentMap, selector: "ngts-environment-map" }, { kind: "directive", type: NgtsEnvironmentCube, selector: "ngts-environment-cube" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }
|
|
1843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1834
|
+
`, isInline: true, dependencies: [{ kind: "component", type: NgtPortal, selector: "ngt-portal", inputs: ["container", "state", "autoRender", "autoRenderPriority"], outputs: ["beforeRender"] }, { kind: "directive", type: NgtPortalContent, selector: "ng-template[ngtPortalContent]" }, { kind: "directive", type: NgtsEnvironmentMap, selector: "ngts-environment-map" }, { kind: "directive", type: NgtsEnvironmentCube, selector: "ngts-environment-cube" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
1835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentPortal, decorators: [{
|
|
1844
1836
|
type: Component,
|
|
1845
1837
|
args: [{
|
|
1846
1838
|
selector: 'ngts-environment-portal',
|
|
@@ -1849,9 +1841,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
1849
1841
|
<ngt-portal [container]="virtualSceneRef">
|
|
1850
1842
|
<ng-template ngtPortalContent>
|
|
1851
1843
|
<ng-content />
|
|
1852
|
-
<
|
|
1853
|
-
<ngt-cube-camera *ref="cubeCameraRef" />
|
|
1854
|
-
</ng-container>
|
|
1844
|
+
<ngt-cube-camera *args="get('cameraArgs')" [ref]="cubeCameraRef" />
|
|
1855
1845
|
<ng-container *ngIf="get('files') || get('preset'); else environmentMap">
|
|
1856
1846
|
<ngts-environment-cube
|
|
1857
1847
|
[background]="true"
|
|
@@ -1867,23 +1857,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
1867
1857
|
</ng-template>
|
|
1868
1858
|
</ngt-portal>
|
|
1869
1859
|
`,
|
|
1870
|
-
imports: [NgtPortal, NgtPortalContent, NgtsEnvironmentMap, NgtsEnvironmentCube, NgIf, NgtArgs
|
|
1860
|
+
imports: [NgtPortal, NgtPortalContent, NgtsEnvironmentMap, NgtsEnvironmentCube, NgIf, NgtArgs],
|
|
1871
1861
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1872
1862
|
}]
|
|
1873
1863
|
}], ctorParameters: function () { return []; } });
|
|
1874
1864
|
|
|
1875
1865
|
class NgtsEnvironmentContent {
|
|
1876
1866
|
}
|
|
1877
|
-
NgtsEnvironmentContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1878
|
-
NgtsEnvironmentContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1879
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1867
|
+
NgtsEnvironmentContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1868
|
+
NgtsEnvironmentContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: NgtsEnvironmentContent, isStandalone: true, selector: "ng-template[ngtsEnvironmentContent]", ngImport: i0 });
|
|
1869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironmentContent, decorators: [{
|
|
1880
1870
|
type: Directive,
|
|
1881
1871
|
args: [{ selector: 'ng-template[ngtsEnvironmentContent]', standalone: true }]
|
|
1882
1872
|
}] });
|
|
1883
1873
|
class NgtsEnvironment extends NgtsEnvironmentInputs {
|
|
1884
1874
|
}
|
|
1885
|
-
NgtsEnvironment.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1886
|
-
NgtsEnvironment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1875
|
+
NgtsEnvironment.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironment, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1876
|
+
NgtsEnvironment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsEnvironment, isStandalone: true, selector: "ngts-environment", queries: [{ propertyName: "content", first: true, predicate: NgtsEnvironmentContent, descendants: true, read: TemplateRef }], usesInheritance: true, ngImport: i0, template: `
|
|
1887
1877
|
<ngts-environment-ground
|
|
1888
1878
|
*ngIf="get('ground'); else noGround"
|
|
1889
1879
|
[ground]="get('ground')"
|
|
@@ -1945,7 +1935,7 @@ NgtsEnvironment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
1945
1935
|
</ng-template>
|
|
1946
1936
|
</ng-template>
|
|
1947
1937
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtsEnvironmentMap, selector: "ngts-environment-map" }, { kind: "component", type: NgtsEnvironmentGround, selector: "ngts-environment-ground" }, { kind: "directive", type: NgtsEnvironmentCube, selector: "ngts-environment-cube" }, { kind: "component", type: NgtsEnvironmentPortal, selector: "ngts-environment-portal" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsEnvironment, decorators: [{
|
|
1949
1939
|
type: Component,
|
|
1950
1940
|
args: [{
|
|
1951
1941
|
selector: 'ngts-environment',
|
|
@@ -2065,27 +2055,26 @@ class NgtsFloat extends NgtRxStore {
|
|
|
2065
2055
|
this.floatRef.nativeElement.position.y = yPosition * floatIntensity;
|
|
2066
2056
|
}
|
|
2067
2057
|
}
|
|
2068
|
-
NgtsFloat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2069
|
-
NgtsFloat.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2058
|
+
NgtsFloat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsFloat, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2059
|
+
NgtsFloat.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsFloat, isStandalone: true, selector: "ngts-float", inputs: { floatRef: "floatRef", speed: "speed", rotationIntensity: "rotationIntensity", floatIntensity: "floatIntensity", floatingRange: "floatingRange" }, usesInheritance: true, ngImport: i0, template: `
|
|
2070
2060
|
<ngt-group ngtCompound>
|
|
2071
|
-
<ngt-group
|
|
2061
|
+
<ngt-group [ref]="floatRef">
|
|
2072
2062
|
<ng-content />
|
|
2073
2063
|
</ngt-group>
|
|
2074
2064
|
</ngt-group>
|
|
2075
|
-
`, isInline: true
|
|
2076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2065
|
+
`, isInline: true });
|
|
2066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsFloat, decorators: [{
|
|
2077
2067
|
type: Component,
|
|
2078
2068
|
args: [{
|
|
2079
2069
|
selector: 'ngts-float',
|
|
2080
2070
|
standalone: true,
|
|
2081
2071
|
template: `
|
|
2082
2072
|
<ngt-group ngtCompound>
|
|
2083
|
-
<ngt-group
|
|
2073
|
+
<ngt-group [ref]="floatRef">
|
|
2084
2074
|
<ng-content />
|
|
2085
2075
|
</ngt-group>
|
|
2086
2076
|
</ngt-group>
|
|
2087
2077
|
`,
|
|
2088
|
-
imports: [NgtRef],
|
|
2089
2078
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2090
2079
|
}]
|
|
2091
2080
|
}], ctorParameters: function () { return []; }, propDecorators: { floatRef: [{
|
|
@@ -2156,35 +2145,31 @@ class NgtsSky extends NgtRxStore {
|
|
|
2156
2145
|
this.connect('scale', this.select(['distance'], ({ distance }) => new Vector3().setScalar(distance)));
|
|
2157
2146
|
}
|
|
2158
2147
|
}
|
|
2159
|
-
NgtsSky.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2160
|
-
NgtsSky.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2161
|
-
<
|
|
2162
|
-
<ngt-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }, { kind: "directive", type: NgtRef, selector: "[ref]", inputs: ["ref"] }] });
|
|
2171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NgtsSky, decorators: [{
|
|
2148
|
+
NgtsSky.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsSky, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2149
|
+
NgtsSky.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsSky, isStandalone: true, selector: "ngts-sky", inputs: { skyRef: "skyRef", distance: "distance", sunPosition: "sunPosition", inclination: "inclination", azimuth: "azimuth", mieCoefficient: "mieCoefficient", mieDirectionalG: "mieDirectionalG", rayleigh: "rayleigh", turbidity: "turbidity" }, usesInheritance: true, ngImport: i0, template: `
|
|
2150
|
+
<ngt-primitive ngtCompound *args="[sky]" [ref]="skyRef" [scale]="get('scale')">
|
|
2151
|
+
<ngt-value [rawValue]="get('mieCoefficient')" attach="material.uniforms.mieCoefficient.value" />
|
|
2152
|
+
<ngt-value [rawValue]="get('mieDirectionalG')" attach="material.uniforms.mieDirectionalG.value" />
|
|
2153
|
+
<ngt-value [rawValue]="get('rayleigh')" attach="material.uniforms.rayleigh.value" />
|
|
2154
|
+
<ngt-value [rawValue]="get('sunPosition')" attach="material.uniforms.sunPosition.value" />
|
|
2155
|
+
<ngt-value [rawValue]="get('turbidity')" attach="material.uniforms.turbidity.value" />
|
|
2156
|
+
</ngt-primitive>
|
|
2157
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
2158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsSky, decorators: [{
|
|
2172
2159
|
type: Component,
|
|
2173
2160
|
args: [{
|
|
2174
2161
|
selector: 'ngts-sky',
|
|
2175
2162
|
standalone: true,
|
|
2176
2163
|
template: `
|
|
2177
|
-
<
|
|
2178
|
-
<ngt-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
</ngt-primitive>
|
|
2185
|
-
</ng-container>
|
|
2164
|
+
<ngt-primitive ngtCompound *args="[sky]" [ref]="skyRef" [scale]="get('scale')">
|
|
2165
|
+
<ngt-value [rawValue]="get('mieCoefficient')" attach="material.uniforms.mieCoefficient.value" />
|
|
2166
|
+
<ngt-value [rawValue]="get('mieDirectionalG')" attach="material.uniforms.mieDirectionalG.value" />
|
|
2167
|
+
<ngt-value [rawValue]="get('rayleigh')" attach="material.uniforms.rayleigh.value" />
|
|
2168
|
+
<ngt-value [rawValue]="get('sunPosition')" attach="material.uniforms.sunPosition.value" />
|
|
2169
|
+
<ngt-value [rawValue]="get('turbidity')" attach="material.uniforms.turbidity.value" />
|
|
2170
|
+
</ngt-primitive>
|
|
2186
2171
|
`,
|
|
2187
|
-
imports: [NgtArgs
|
|
2172
|
+
imports: [NgtArgs],
|
|
2188
2173
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2189
2174
|
}]
|
|
2190
2175
|
}], propDecorators: { skyRef: [{
|
|
@@ -2357,9 +2342,9 @@ class NgtsSparkles extends NgtRxStore {
|
|
|
2357
2342
|
return this.select(key).pipe(startWith(this.get(key) || undefined), withLatestFrom(this.select('count')), map(([value, count]) => usePropAsIsOrAsAttribute(options.countValue(value, count), options.keyValue(value, count), options === null || options === void 0 ? void 0 : options.setDefault)));
|
|
2358
2343
|
}
|
|
2359
2344
|
}
|
|
2360
|
-
NgtsSparkles.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2361
|
-
NgtsSparkles.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2362
|
-
<ngt-points ngtCompount
|
|
2345
|
+
NgtsSparkles.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsSparkles, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2346
|
+
NgtsSparkles.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsSparkles, isStandalone: true, selector: "ngts-sparkles", inputs: { pointsRef: "pointsRef", count: "count", speed: "speed", opacity: "opacity", color: "color", size: "size", scale: "scale", noise: "noise" }, usesInheritance: true, ngImport: i0, template: `
|
|
2347
|
+
<ngt-points ngtCompount [ref]="pointsRef">
|
|
2363
2348
|
<ngt-buffer-geometry>
|
|
2364
2349
|
<ngt-buffer-attribute *args="[get('positions'), 3]" attach="attributes.position" />
|
|
2365
2350
|
<ngt-buffer-attribute *args="[get('sizes'), 1]" attach="attributes.size" />
|
|
@@ -2368,16 +2353,16 @@ NgtsSparkles.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
2368
2353
|
<ngt-buffer-attribute *args="[get('colors'), 3]" attach="attributes.color" />
|
|
2369
2354
|
<ngt-buffer-attribute *args="[get('noises'), 3]" attach="attributes.noise" />
|
|
2370
2355
|
</ngt-buffer-geometry>
|
|
2371
|
-
<ngt-sparkles-material
|
|
2356
|
+
<ngt-sparkles-material [ref]="materialRef" [transparent]="true" [depthWrite]="false" [pixelRatio]="dpr" />
|
|
2372
2357
|
</ngt-points>
|
|
2373
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }
|
|
2374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2358
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
2359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsSparkles, decorators: [{
|
|
2375
2360
|
type: Component,
|
|
2376
2361
|
args: [{
|
|
2377
2362
|
selector: 'ngts-sparkles',
|
|
2378
2363
|
standalone: true,
|
|
2379
2364
|
template: `
|
|
2380
|
-
<ngt-points ngtCompount
|
|
2365
|
+
<ngt-points ngtCompount [ref]="pointsRef">
|
|
2381
2366
|
<ngt-buffer-geometry>
|
|
2382
2367
|
<ngt-buffer-attribute *args="[get('positions'), 3]" attach="attributes.position" />
|
|
2383
2368
|
<ngt-buffer-attribute *args="[get('sizes'), 1]" attach="attributes.size" />
|
|
@@ -2386,10 +2371,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
2386
2371
|
<ngt-buffer-attribute *args="[get('colors'), 3]" attach="attributes.color" />
|
|
2387
2372
|
<ngt-buffer-attribute *args="[get('noises'), 3]" attach="attributes.noise" />
|
|
2388
2373
|
</ngt-buffer-geometry>
|
|
2389
|
-
<ngt-sparkles-material
|
|
2374
|
+
<ngt-sparkles-material [ref]="materialRef" [transparent]="true" [depthWrite]="false" [pixelRatio]="dpr" />
|
|
2390
2375
|
</ngt-points>
|
|
2391
2376
|
`,
|
|
2392
|
-
imports: [NgtArgs
|
|
2377
|
+
imports: [NgtArgs],
|
|
2393
2378
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2394
2379
|
}]
|
|
2395
2380
|
}], ctorParameters: function () { return []; }, propDecorators: { pointsRef: [{
|
|
@@ -2440,9 +2425,9 @@ class NgtsStageRefit {
|
|
|
2440
2425
|
}
|
|
2441
2426
|
}
|
|
2442
2427
|
}
|
|
2443
|
-
NgtsStageRefit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2444
|
-
NgtsStageRefit.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
2445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2428
|
+
NgtsStageRefit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsStageRefit, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2429
|
+
NgtsStageRefit.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: NgtsStageRefit, isStandalone: true, selector: "ngts-stage-refit", inputs: { radius: "radius", adjustCamera: "adjustCamera" }, usesOnChanges: true, ngImport: i0 });
|
|
2430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsStageRefit, decorators: [{
|
|
2446
2431
|
type: Directive,
|
|
2447
2432
|
args: [{ selector: 'ngts-stage-refit', standalone: true }]
|
|
2448
2433
|
}], propDecorators: { radius: [{
|
|
@@ -2520,8 +2505,8 @@ class NgtsStage extends NgtRxStore {
|
|
|
2520
2505
|
this.centered.emit(props);
|
|
2521
2506
|
}
|
|
2522
2507
|
}
|
|
2523
|
-
NgtsStage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2524
|
-
NgtsStage.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2508
|
+
NgtsStage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsStage, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2509
|
+
NgtsStage.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsStage, isStandalone: true, selector: "ngts-stage", inputs: { preset: "preset", shadows: "shadows", adjustCamera: "adjustCamera", environment: "environment", intensity: "intensity", center: "center" }, outputs: { centered: "centered" }, usesInheritance: true, ngImport: i0, template: `
|
|
2525
2510
|
<ngt-ambient-light [intensity]="get('intensity')! / 3" />
|
|
2526
2511
|
<ngt-spot-light
|
|
2527
2512
|
[penumbra]="1"
|
|
@@ -2622,7 +2607,7 @@ NgtsStage.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15
|
|
|
2622
2607
|
[encoding]="get('environmentInfo').encoding"
|
|
2623
2608
|
/>
|
|
2624
2609
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }, { kind: "component", type: NgtsBounds, selector: "ngts-bounds", inputs: ["boundsRef", "damping", "fit", "clip", "observe", "margin", "eps"], outputs: ["fitted"] }, { kind: "directive", type: NgtsStageRefit, selector: "ngts-stage-refit", inputs: ["radius", "adjustCamera"] }, { kind: "component", type: NgtsCenter, selector: "ngts-center", inputs: ["centerRef", "top", "right", "bottom", "left", "front", "back", "disableX", "disableY", "disableZ", "disabled", "precise"], outputs: ["centered"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgtsContactShadows, selector: "ngts-contact-shadows", inputs: ["contactShadowsRef", "opacity", "width", "height", "blur", "far", "smooth", "resolution", "frames", "scale", "color", "depthWrite", "renderOrder"] }, { kind: "component", type: NgtsAccumulativeShadows, selector: "ngts-accumulative-shadows", inputs: ["frames", "blend", "limit", "scale", "temporal", "opacity", "alphaTest", "color", "colorBlend", "resolution", "toneMapped"] }, { kind: "component", type: NgtsRandomizedLights, selector: "ngts-randomized-lights", inputs: ["lightsRef", "frames", "position", "radius", "amount", "intensity", "ambient", "castShadow", "bias", "mapSize", "size", "near", "far"] }, { kind: "component", type: NgtsEnvironment, selector: "ngts-environment" }] });
|
|
2625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsStage, decorators: [{
|
|
2626
2611
|
type: Component,
|
|
2627
2612
|
args: [{
|
|
2628
2613
|
selector: 'ngts-stage',
|
|
@@ -2858,9 +2843,9 @@ class NgtsStars extends NgtRxStore {
|
|
|
2858
2843
|
this.material.uniforms['time'].value = clock.getElapsedTime() * this.get('speed');
|
|
2859
2844
|
}
|
|
2860
2845
|
}
|
|
2861
|
-
NgtsStars.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2862
|
-
NgtsStars.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2863
|
-
<ngt-points
|
|
2846
|
+
NgtsStars.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsStars, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2847
|
+
NgtsStars.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsStars, isStandalone: true, selector: "ngts-stars", inputs: { starsRef: "starsRef", radius: "radius", depth: "depth", count: "count", factor: "factor", saturation: "saturation", fade: "fade", speed: "speed" }, usesInheritance: true, ngImport: i0, template: `
|
|
2848
|
+
<ngt-points [ref]="starsRef">
|
|
2864
2849
|
<ngt-buffer-geometry>
|
|
2865
2850
|
<ngt-buffer-attribute attach="attributes.position" *args="[get('bufferAttributes').positions, 3]" />
|
|
2866
2851
|
<ngt-buffer-attribute attach="attributes.color" *args="[get('bufferAttributes').colors, 3]" />
|
|
@@ -2877,14 +2862,14 @@ NgtsStars.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15
|
|
|
2877
2862
|
<ngt-value attach="uniforms.fade.value" [rawValue]="get('fade')" />
|
|
2878
2863
|
</ngt-primitive>
|
|
2879
2864
|
</ngt-points>
|
|
2880
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }
|
|
2881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2865
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
2866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsStars, decorators: [{
|
|
2882
2867
|
type: Component,
|
|
2883
2868
|
args: [{
|
|
2884
2869
|
selector: 'ngts-stars',
|
|
2885
2870
|
standalone: true,
|
|
2886
2871
|
template: `
|
|
2887
|
-
<ngt-points
|
|
2872
|
+
<ngt-points [ref]="starsRef">
|
|
2888
2873
|
<ngt-buffer-geometry>
|
|
2889
2874
|
<ngt-buffer-attribute attach="attributes.position" *args="[get('bufferAttributes').positions, 3]" />
|
|
2890
2875
|
<ngt-buffer-attribute attach="attributes.color" *args="[get('bufferAttributes').colors, 3]" />
|
|
@@ -2902,7 +2887,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
2902
2887
|
</ngt-primitive>
|
|
2903
2888
|
</ngt-points>
|
|
2904
2889
|
`,
|
|
2905
|
-
imports: [NgtArgs
|
|
2890
|
+
imports: [NgtArgs],
|
|
2906
2891
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2907
2892
|
}]
|
|
2908
2893
|
}], ctorParameters: function () { return []; }, propDecorators: { starsRef: [{
|