angular-three-soba 1.9.0 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abstractions/lib/billboard/billboard.d.ts +1 -1
- package/esm2020/abstractions/lib/billboard/billboard.mjs +10 -10
- 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 +6 -6
- 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 +3 -3
- package/esm2020/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.mjs +3 -3
- package/esm2020/abstractions/lib/text/text.mjs +3 -3
- 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 +3 -3
- package/esm2020/cameras/lib/perspective-camera/perspective-camera.mjs +3 -3
- package/esm2020/controls/lib/orbit-controls/orbit-controls.mjs +3 -3
- package/esm2020/loaders/lib/loader/loader.mjs +3 -3
- package/esm2020/materials/lib/mesh-distort-material/mesh-distort-material.mjs +3 -3
- package/esm2020/materials/lib/mesh-reflector-material/mesh-reflector-material.mjs +3 -3
- package/esm2020/materials/lib/mesh-wobble-material/mesh-wobble-material.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 +3 -3
- package/esm2020/performance/lib/stats/stats.mjs +3 -3
- package/esm2020/staging/lib/accumulative-shadows/accumulative-shadows.mjs +6 -6
- package/esm2020/staging/lib/accumulative-shadows/randomized-lights.mjs +6 -6
- package/esm2020/staging/lib/bounds/bounds.mjs +3 -3
- package/esm2020/staging/lib/camera-shake/camera-shake.mjs +3 -3
- package/esm2020/staging/lib/center/center.mjs +3 -3
- package/esm2020/staging/lib/cloud/cloud.mjs +3 -3
- package/esm2020/staging/lib/contact-shadows/contact-shadows.mjs +3 -3
- 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 +3 -3
- package/esm2020/staging/lib/environment/environment.mjs +6 -6
- package/esm2020/staging/lib/float/float.mjs +3 -3
- package/esm2020/staging/lib/sky/sky.mjs +3 -3
- package/esm2020/staging/lib/sparkles/sparkles.mjs +3 -3
- package/esm2020/staging/lib/spot-light/common.mjs +5 -3
- package/esm2020/staging/lib/spot-light/shadow-mesh-input.mjs +6 -7
- package/esm2020/staging/lib/spot-light/spot-light-input.mjs +3 -3
- package/esm2020/staging/lib/spot-light/spot-light-shadow-no-shader.mjs +15 -17
- package/esm2020/staging/lib/spot-light/spot-light-shadow-shader.mjs +6 -5
- package/esm2020/staging/lib/spot-light/spot-light-shadow.mjs +27 -26
- package/esm2020/staging/lib/spot-light/spot-light.mjs +3 -3
- package/esm2020/staging/lib/spot-light/volumetric-mesh.mjs +3 -3
- package/esm2020/staging/lib/stage/stage.mjs +6 -6
- package/esm2020/staging/lib/stars/stars.mjs +3 -3
- package/fesm2015/angular-three-soba-abstractions.mjs +60 -60
- package/fesm2015/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2015/angular-three-soba-cameras.mjs +12 -12
- package/fesm2015/angular-three-soba-controls.mjs +3 -3
- package/fesm2015/angular-three-soba-loaders.mjs +3 -3
- package/fesm2015/angular-three-soba-materials.mjs +9 -9
- package/fesm2015/angular-three-soba-misc.mjs +3 -3
- package/fesm2015/angular-three-soba-performance.mjs +12 -12
- package/fesm2015/angular-three-soba-staging.mjs +128 -125
- package/fesm2015/angular-three-soba-staging.mjs.map +1 -1
- package/fesm2020/angular-three-soba-abstractions.mjs +60 -60
- package/fesm2020/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2020/angular-three-soba-cameras.mjs +12 -12
- package/fesm2020/angular-three-soba-controls.mjs +3 -3
- package/fesm2020/angular-three-soba-loaders.mjs +3 -3
- package/fesm2020/angular-three-soba-materials.mjs +9 -9
- package/fesm2020/angular-three-soba-misc.mjs +3 -3
- package/fesm2020/angular-three-soba-performance.mjs +12 -12
- package/fesm2020/angular-three-soba-staging.mjs +128 -125
- package/fesm2020/angular-three-soba-staging.mjs.map +1 -1
- package/package.json +3 -3
- package/plugin/package.json +2 -3
- package/staging/lib/spot-light/shadow-mesh-input.d.ts +1 -1
- package/staging/lib/spot-light/spot-light-shadow-no-shader.d.ts +0 -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, NgtArgs, NgtRepeat, is, injectBeforeRender, NgtPush, injectNgtDestroy, injectNgtLoader, startWithUndefined, prepare, NgtPortal, NgtPortalContent, createRunInContext } from 'angular-three';
|
|
3
|
+
import { extend, NgtStore, getLocalState, NgtRxStore, injectNgtRef, NgtArgs, NgtRepeat, is, injectBeforeRender, NgtPush, injectNgtDestroy, injectNgtLoader, startWithUndefined, prepare, NgtPortal, NgtPortalContent, createRunInContext, checkUpdate } from 'angular-three';
|
|
4
4
|
import { shaderMaterial, SpotLightMaterial } 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.5", ngImport: i0, type: AccumulativeShadowsConsumer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
231
|
+
AccumulativeShadowsConsumer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: AccumulativeShadowsConsumer, isStandalone: true, selector: "ngts-accumulative-shadows-consumer", ngImport: i0 });
|
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", 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.5", ngImport: i0, type: NgtsAccumulativeShadows, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
307
|
+
NgtsAccumulativeShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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,
|
|
@@ -329,7 +329,7 @@ NgtsAccumulativeShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
329
329
|
</ngt-mesh>
|
|
330
330
|
</ngt-group>
|
|
331
331
|
`, isInline: true, dependencies: [{ kind: "directive", type: AccumulativeShadowsConsumer, selector: "ngts-accumulative-shadows-consumer" }] });
|
|
332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsAccumulativeShadows, decorators: [{
|
|
333
333
|
type: Component,
|
|
334
334
|
args: [{
|
|
335
335
|
selector: 'ngts-accumulative-shadows',
|
|
@@ -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.5", ngImport: i0, type: RandomizedLightsConsumer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
433
|
+
RandomizedLightsConsumer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: RandomizedLightsConsumer, isStandalone: true, selector: "ngts-randomized-lights-consumer", ngImport: i0 });
|
|
434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", 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,8 +509,8 @@ 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.5", ngImport: i0, type: NgtsRandomizedLights, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
513
|
+
NgtsRandomizedLights.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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
516
|
<ngt-group ngtCompound [ref]="lightsRef">
|
|
@@ -526,7 +526,7 @@ NgtsRandomizedLights.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
526
526
|
<ngts-randomized-lights-consumer />
|
|
527
527
|
</ngt-group>
|
|
528
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.
|
|
529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsRandomizedLights, decorators: [{
|
|
530
530
|
type: Component,
|
|
531
531
|
args: [{
|
|
532
532
|
selector: 'ngts-randomized-lights',
|
|
@@ -819,13 +819,13 @@ 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.
|
|
822
|
+
NgtsBounds.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsBounds, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
823
|
+
NgtsBounds.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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
824
|
<ngt-group ngtCompound [ref]="boundsRef">
|
|
825
825
|
<ng-content />
|
|
826
826
|
</ngt-group>
|
|
827
827
|
`, isInline: true });
|
|
828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsBounds, decorators: [{
|
|
829
829
|
type: Component,
|
|
830
830
|
args: [{
|
|
831
831
|
selector: 'ngts-bounds',
|
|
@@ -944,9 +944,9 @@ class NgtsCameraShake extends NgtRxStore {
|
|
|
944
944
|
}
|
|
945
945
|
}
|
|
946
946
|
}
|
|
947
|
-
NgtsCameraShake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
948
|
-
NgtsCameraShake.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
947
|
+
NgtsCameraShake.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsCameraShake, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
948
|
+
NgtsCameraShake.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", 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.5", ngImport: i0, type: NgtsCameraShake, decorators: [{
|
|
950
950
|
type: Directive,
|
|
951
951
|
args: [{
|
|
952
952
|
selector: 'ngts-camera-shake',
|
|
@@ -1055,8 +1055,8 @@ class NgtsCenter extends NgtRxStore {
|
|
|
1055
1055
|
});
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
1058
|
-
NgtsCenter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1059
|
-
NgtsCenter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1058
|
+
NgtsCenter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsCenter, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1059
|
+
NgtsCenter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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
1060
|
<ngt-group ngtCompound [ref]="centerRef">
|
|
1061
1061
|
<ngt-group [ref]="outerRef">
|
|
1062
1062
|
<ngt-group [ref]="innerRef">
|
|
@@ -1065,7 +1065,7 @@ NgtsCenter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "1
|
|
|
1065
1065
|
</ngt-group>
|
|
1066
1066
|
</ngt-group>
|
|
1067
1067
|
`, isInline: true });
|
|
1068
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsCenter, decorators: [{
|
|
1069
1069
|
type: Component,
|
|
1070
1070
|
args: [{
|
|
1071
1071
|
selector: 'ngts-center',
|
|
@@ -1174,8 +1174,8 @@ class NgtsCloud extends NgtRxStore {
|
|
|
1174
1174
|
});
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
|
-
NgtsCloud.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1178
|
-
NgtsCloud.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1177
|
+
NgtsCloud.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsCloud, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1178
|
+
NgtsCloud.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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
1179
|
<ngt-group ngtCompound [ref]="groupRef">
|
|
1180
1180
|
<ngt-group
|
|
1181
1181
|
[position]="[0, 0, (get('segments') / 2) * get('depth')]"
|
|
@@ -1204,7 +1204,7 @@ NgtsCloud.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15
|
|
|
1204
1204
|
</ngt-group>
|
|
1205
1205
|
</ngt-group>
|
|
1206
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.
|
|
1207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsCloud, decorators: [{
|
|
1208
1208
|
type: Component,
|
|
1209
1209
|
args: [{
|
|
1210
1210
|
selector: 'ngts-cloud',
|
|
@@ -1397,8 +1397,8 @@ class NgtsContactShadows extends NgtRxStore {
|
|
|
1397
1397
|
blurPlane.visible = false;
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
|
-
NgtsContactShadows.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1401
|
-
NgtsContactShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1400
|
+
NgtsContactShadows.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsContactShadows, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1401
|
+
NgtsContactShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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
1402
|
<ngt-group ngtCompound [ref]="contactShadowsRef" [rotation]="[Math.PI / 2, 0, 0]">
|
|
1403
1403
|
<ng-container *ngIf="contactShadows$ | ngtPush : null as contactShadows">
|
|
1404
1404
|
<ngt-mesh
|
|
@@ -1420,7 +1420,7 @@ NgtsContactShadows.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
1420
1420
|
</ng-container>
|
|
1421
1421
|
</ngt-group>
|
|
1422
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.
|
|
1423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsContactShadows, decorators: [{
|
|
1424
1424
|
type: Component,
|
|
1425
1425
|
args: [{
|
|
1426
1426
|
selector: 'ngts-contact-shadows',
|
|
@@ -1539,9 +1539,9 @@ class NgtsEnvironmentInputs extends NgtRxStore {
|
|
|
1539
1539
|
this.set({ encoding });
|
|
1540
1540
|
}
|
|
1541
1541
|
}
|
|
1542
|
-
NgtsEnvironmentInputs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1543
|
-
NgtsEnvironmentInputs.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1542
|
+
NgtsEnvironmentInputs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironmentInputs, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1543
|
+
NgtsEnvironmentInputs.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", 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.5", ngImport: i0, type: NgtsEnvironmentInputs, decorators: [{
|
|
1545
1545
|
type: Directive
|
|
1546
1546
|
}], propDecorators: { frames: [{
|
|
1547
1547
|
type: Input
|
|
@@ -1664,9 +1664,9 @@ class NgtsEnvironmentCube extends NgtsEnvironmentInputs {
|
|
|
1664
1664
|
});
|
|
1665
1665
|
}
|
|
1666
1666
|
}
|
|
1667
|
-
NgtsEnvironmentCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1668
|
-
NgtsEnvironmentCube.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1667
|
+
NgtsEnvironmentCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironmentCube, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1668
|
+
NgtsEnvironmentCube.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: NgtsEnvironmentCube, isStandalone: true, selector: "ngts-environment-cube", usesInheritance: true, ngImport: i0 });
|
|
1669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironmentCube, decorators: [{
|
|
1670
1670
|
type: Directive,
|
|
1671
1671
|
args: [{
|
|
1672
1672
|
selector: 'ngts-environment-cube',
|
|
@@ -1696,9 +1696,9 @@ class NgtsEnvironmentMap extends NgtsEnvironmentInputs {
|
|
|
1696
1696
|
});
|
|
1697
1697
|
}
|
|
1698
1698
|
}
|
|
1699
|
-
NgtsEnvironmentMap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1700
|
-
NgtsEnvironmentMap.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1699
|
+
NgtsEnvironmentMap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironmentMap, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1700
|
+
NgtsEnvironmentMap.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: NgtsEnvironmentMap, isStandalone: true, selector: "ngts-environment-map", usesInheritance: true, ngImport: i0 });
|
|
1701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironmentMap, decorators: [{
|
|
1702
1702
|
type: Directive,
|
|
1703
1703
|
args: [{
|
|
1704
1704
|
selector: 'ngts-environment-map',
|
|
@@ -1720,8 +1720,8 @@ class NgtsEnvironmentGround extends NgtsEnvironmentInputs {
|
|
|
1720
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; }));
|
|
1721
1721
|
}
|
|
1722
1722
|
}
|
|
1723
|
-
NgtsEnvironmentGround.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1724
|
-
NgtsEnvironmentGround.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1723
|
+
NgtsEnvironmentGround.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironmentGround, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1724
|
+
NgtsEnvironmentGround.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NgtsEnvironmentGround, isStandalone: true, selector: "ngts-environment-ground", usesInheritance: true, ngImport: i0, template: `
|
|
1725
1725
|
<ngts-environment-map
|
|
1726
1726
|
[background]="get('background')"
|
|
1727
1727
|
[blur]="get('blur')"
|
|
@@ -1737,7 +1737,7 @@ NgtsEnvironmentGround.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1737
1737
|
/>
|
|
1738
1738
|
</ng-container>
|
|
1739
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"] }] });
|
|
1740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironmentGround, decorators: [{
|
|
1741
1741
|
type: Component,
|
|
1742
1742
|
args: [{
|
|
1743
1743
|
selector: 'ngts-environment-ground',
|
|
@@ -1811,8 +1811,8 @@ class NgtsEnvironmentPortal extends NgtsEnvironmentInputs {
|
|
|
1811
1811
|
}
|
|
1812
1812
|
}
|
|
1813
1813
|
}
|
|
1814
|
-
NgtsEnvironmentPortal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1815
|
-
NgtsEnvironmentPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1814
|
+
NgtsEnvironmentPortal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironmentPortal, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1815
|
+
NgtsEnvironmentPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NgtsEnvironmentPortal, isStandalone: true, selector: "ngts-environment-portal", usesInheritance: true, ngImport: i0, template: `
|
|
1816
1816
|
<ngt-portal [container]="virtualSceneRef">
|
|
1817
1817
|
<ng-template ngtPortalContent>
|
|
1818
1818
|
<ng-content />
|
|
@@ -1832,7 +1832,7 @@ NgtsEnvironmentPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1832
1832
|
</ng-template>
|
|
1833
1833
|
</ngt-portal>
|
|
1834
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.
|
|
1835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironmentPortal, decorators: [{
|
|
1836
1836
|
type: Component,
|
|
1837
1837
|
args: [{
|
|
1838
1838
|
selector: 'ngts-environment-portal',
|
|
@@ -1864,16 +1864,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
1864
1864
|
|
|
1865
1865
|
class NgtsEnvironmentContent {
|
|
1866
1866
|
}
|
|
1867
|
-
NgtsEnvironmentContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1868
|
-
NgtsEnvironmentContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
1869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1867
|
+
NgtsEnvironmentContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironmentContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1868
|
+
NgtsEnvironmentContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: NgtsEnvironmentContent, isStandalone: true, selector: "ng-template[ngtsEnvironmentContent]", ngImport: i0 });
|
|
1869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironmentContent, decorators: [{
|
|
1870
1870
|
type: Directive,
|
|
1871
1871
|
args: [{ selector: 'ng-template[ngtsEnvironmentContent]', standalone: true }]
|
|
1872
1872
|
}] });
|
|
1873
1873
|
class NgtsEnvironment extends NgtsEnvironmentInputs {
|
|
1874
1874
|
}
|
|
1875
|
-
NgtsEnvironment.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1876
|
-
NgtsEnvironment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1875
|
+
NgtsEnvironment.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironment, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1876
|
+
NgtsEnvironment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NgtsEnvironment, isStandalone: true, selector: "ngts-environment", queries: [{ propertyName: "content", first: true, predicate: NgtsEnvironmentContent, descendants: true, read: TemplateRef }], usesInheritance: true, ngImport: i0, template: `
|
|
1877
1877
|
<ngts-environment-ground
|
|
1878
1878
|
*ngIf="get('ground'); else noGround"
|
|
1879
1879
|
[ground]="get('ground')"
|
|
@@ -1935,7 +1935,7 @@ NgtsEnvironment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
1935
1935
|
</ng-template>
|
|
1936
1936
|
</ng-template>
|
|
1937
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"] }] });
|
|
1938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsEnvironment, decorators: [{
|
|
1939
1939
|
type: Component,
|
|
1940
1940
|
args: [{
|
|
1941
1941
|
selector: 'ngts-environment',
|
|
@@ -2055,15 +2055,15 @@ class NgtsFloat extends NgtRxStore {
|
|
|
2055
2055
|
this.floatRef.nativeElement.position.y = yPosition * floatIntensity;
|
|
2056
2056
|
}
|
|
2057
2057
|
}
|
|
2058
|
-
NgtsFloat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2059
|
-
NgtsFloat.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2058
|
+
NgtsFloat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsFloat, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2059
|
+
NgtsFloat.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NgtsFloat, isStandalone: true, selector: "ngts-float", inputs: { floatRef: "floatRef", speed: "speed", rotationIntensity: "rotationIntensity", floatIntensity: "floatIntensity", floatingRange: "floatingRange" }, usesInheritance: true, ngImport: i0, template: `
|
|
2060
2060
|
<ngt-group ngtCompound>
|
|
2061
2061
|
<ngt-group [ref]="floatRef">
|
|
2062
2062
|
<ng-content />
|
|
2063
2063
|
</ngt-group>
|
|
2064
2064
|
</ngt-group>
|
|
2065
2065
|
`, isInline: true });
|
|
2066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsFloat, decorators: [{
|
|
2067
2067
|
type: Component,
|
|
2068
2068
|
args: [{
|
|
2069
2069
|
selector: 'ngts-float',
|
|
@@ -2145,8 +2145,8 @@ class NgtsSky extends NgtRxStore {
|
|
|
2145
2145
|
this.connect('scale', this.select(['distance'], ({ distance }) => new Vector3().setScalar(distance)));
|
|
2146
2146
|
}
|
|
2147
2147
|
}
|
|
2148
|
-
NgtsSky.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2149
|
-
NgtsSky.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2148
|
+
NgtsSky.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSky, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2149
|
+
NgtsSky.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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
2150
|
<ngt-primitive ngtCompound *args="[sky]" [ref]="skyRef" [scale]="get('scale')">
|
|
2151
2151
|
<ngt-value [rawValue]="get('mieCoefficient')" attach="material.uniforms.mieCoefficient.value" />
|
|
2152
2152
|
<ngt-value [rawValue]="get('mieDirectionalG')" attach="material.uniforms.mieDirectionalG.value" />
|
|
@@ -2155,7 +2155,7 @@ NgtsSky.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1
|
|
|
2155
2155
|
<ngt-value [rawValue]="get('turbidity')" attach="material.uniforms.turbidity.value" />
|
|
2156
2156
|
</ngt-primitive>
|
|
2157
2157
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
2158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSky, decorators: [{
|
|
2159
2159
|
type: Component,
|
|
2160
2160
|
args: [{
|
|
2161
2161
|
selector: 'ngts-sky',
|
|
@@ -2342,8 +2342,8 @@ class NgtsSparkles extends NgtRxStore {
|
|
|
2342
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)));
|
|
2343
2343
|
}
|
|
2344
2344
|
}
|
|
2345
|
-
NgtsSparkles.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2346
|
-
NgtsSparkles.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2345
|
+
NgtsSparkles.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSparkles, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2346
|
+
NgtsSparkles.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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
2347
|
<ngt-points ngtCompount [ref]="pointsRef">
|
|
2348
2348
|
<ngt-buffer-geometry>
|
|
2349
2349
|
<ngt-buffer-attribute *args="[get('positions'), 3]" attach="attributes.position" />
|
|
@@ -2356,7 +2356,7 @@ NgtsSparkles.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
2356
2356
|
<ngt-sparkles-material [ref]="materialRef" [transparent]="true" [depthWrite]="false" [pixelRatio]="dpr" />
|
|
2357
2357
|
</ngt-points>
|
|
2358
2358
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
2359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSparkles, decorators: [{
|
|
2360
2360
|
type: Component,
|
|
2361
2361
|
args: [{
|
|
2362
2362
|
selector: 'ngts-sparkles',
|
|
@@ -2427,9 +2427,9 @@ class NgtsSpotLightInput extends NgtRxStore {
|
|
|
2427
2427
|
this.set({ debug });
|
|
2428
2428
|
}
|
|
2429
2429
|
}
|
|
2430
|
-
NgtsSpotLightInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2431
|
-
NgtsSpotLightInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
2432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2430
|
+
NgtsSpotLightInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLightInput, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2431
|
+
NgtsSpotLightInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: NgtsSpotLightInput, inputs: { depthBuffer: "depthBuffer", angle: "angle", distance: "distance", attenuation: "attenuation", anglePower: "anglePower", radiusTop: "radiusTop", radiusBottom: "radiusBottom", opacity: "opacity", color: "color", debug: "debug" }, usesInheritance: true, ngImport: i0 });
|
|
2432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLightInput, decorators: [{
|
|
2433
2433
|
type: Directive
|
|
2434
2434
|
}], propDecorators: { depthBuffer: [{
|
|
2435
2435
|
type: Input
|
|
@@ -2491,8 +2491,8 @@ class NgtsVolumetricMesh extends NgtsSpotLightInput {
|
|
|
2491
2491
|
});
|
|
2492
2492
|
}
|
|
2493
2493
|
}
|
|
2494
|
-
NgtsVolumetricMesh.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2495
|
-
NgtsVolumetricMesh.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2494
|
+
NgtsVolumetricMesh.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsVolumetricMesh, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2495
|
+
NgtsVolumetricMesh.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NgtsVolumetricMesh, isStandalone: true, selector: "ngts-volumetric-mesh", usesInheritance: true, ngImport: i0, template: `
|
|
2496
2496
|
<ngt-mesh [ref]="mesh" [geometry]="get('geometry')" [raycast]="nullRaycast">
|
|
2497
2497
|
<ngt-primitive *args="[material]" attach="material">
|
|
2498
2498
|
<ngt-value [rawValue]="get('opacity')" attach="uniforms.opacity.value" />
|
|
@@ -2506,7 +2506,7 @@ NgtsVolumetricMesh.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
2506
2506
|
</ngt-primitive>
|
|
2507
2507
|
</ngt-mesh>
|
|
2508
2508
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
2509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsVolumetricMesh, decorators: [{
|
|
2510
2510
|
type: Component,
|
|
2511
2511
|
args: [{
|
|
2512
2512
|
selector: 'ngts-volumetric-mesh',
|
|
@@ -2563,8 +2563,8 @@ class NgtsSpotLight extends NgtsSpotLightInput {
|
|
|
2563
2563
|
});
|
|
2564
2564
|
}
|
|
2565
2565
|
}
|
|
2566
|
-
NgtsSpotLight.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2567
|
-
NgtsSpotLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2566
|
+
NgtsSpotLight.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLight, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2567
|
+
NgtsSpotLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NgtsSpotLight, isStandalone: true, selector: "ngts-spot-light", inputs: { spotLightRef: "spotLightRef", volumetric: "volumetric" }, providers: [{ provide: NGTS_SPOT_LIGHT_API, useFactory: spotLightApiFactory, deps: [NgtsSpotLight] }], usesInheritance: true, ngImport: i0, template: `
|
|
2568
2568
|
<ngt-group>
|
|
2569
2569
|
<ng-container *ngIf="get('debug') && spotLightRef.nativeElement">
|
|
2570
2570
|
<ngt-spot-light-helper *args="[spotLightRef.nativeElement]" />
|
|
@@ -2594,7 +2594,7 @@ NgtsSpotLight.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
2594
2594
|
<ng-content />
|
|
2595
2595
|
</ngt-group>
|
|
2596
2596
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }, { kind: "component", type: NgtsVolumetricMesh, selector: "ngts-volumetric-mesh" }] });
|
|
2597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLight, decorators: [{
|
|
2598
2598
|
type: Component,
|
|
2599
2599
|
args: [{
|
|
2600
2600
|
selector: 'ngts-spot-light',
|
|
@@ -2642,7 +2642,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
2642
2642
|
class NgtsSpotLightShadowMeshInput extends NgtRxStore {
|
|
2643
2643
|
constructor() {
|
|
2644
2644
|
super(...arguments);
|
|
2645
|
-
this.
|
|
2645
|
+
this.map$ = this.select('map');
|
|
2646
2646
|
}
|
|
2647
2647
|
set distance(distance) {
|
|
2648
2648
|
this.set({ distance });
|
|
@@ -2658,7 +2658,6 @@ class NgtsSpotLightShadowMeshInput extends NgtRxStore {
|
|
|
2658
2658
|
}
|
|
2659
2659
|
set shader(shader) {
|
|
2660
2660
|
this.set({ shader });
|
|
2661
|
-
this.cdr.detectChanges();
|
|
2662
2661
|
}
|
|
2663
2662
|
set width(width) {
|
|
2664
2663
|
this.set({ width });
|
|
@@ -2667,9 +2666,9 @@ class NgtsSpotLightShadowMeshInput extends NgtRxStore {
|
|
|
2667
2666
|
this.set({ height });
|
|
2668
2667
|
}
|
|
2669
2668
|
}
|
|
2670
|
-
NgtsSpotLightShadowMeshInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2671
|
-
NgtsSpotLightShadowMeshInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
2672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2669
|
+
NgtsSpotLightShadowMeshInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLightShadowMeshInput, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2670
|
+
NgtsSpotLightShadowMeshInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: NgtsSpotLightShadowMeshInput, inputs: { distance: "distance", alphaTest: "alphaTest", scale: "scale", map: "map", shader: "shader", width: "width", height: "height" }, usesInheritance: true, ngImport: i0 });
|
|
2671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLightShadowMeshInput, decorators: [{
|
|
2673
2672
|
type: Directive
|
|
2674
2673
|
}], propDecorators: { distance: [{
|
|
2675
2674
|
type: Input
|
|
@@ -2718,8 +2717,10 @@ function injectShadowMeshCommon(spotLight, mesh, width, height, distance) {
|
|
|
2718
2717
|
const len = dir.length();
|
|
2719
2718
|
dir.normalize().multiplyScalar(len * distance);
|
|
2720
2719
|
pos.copy(A).add(dir);
|
|
2721
|
-
mesh.nativeElement
|
|
2722
|
-
|
|
2720
|
+
if (mesh.nativeElement) {
|
|
2721
|
+
mesh.nativeElement.position.copy(pos);
|
|
2722
|
+
mesh.nativeElement.lookAt(spotLight.nativeElement.target.position);
|
|
2723
|
+
}
|
|
2723
2724
|
});
|
|
2724
2725
|
return commonEffect;
|
|
2725
2726
|
}
|
|
@@ -2731,12 +2732,17 @@ class NgtsSpotLightShadowNoShader extends NgtsSpotLightShadowMeshInput {
|
|
|
2731
2732
|
this.mesh = injectNgtRef();
|
|
2732
2733
|
this.spotLightApi = inject(NGTS_SPOT_LIGHT_API);
|
|
2733
2734
|
this.DoubleSide = THREE.DoubleSide;
|
|
2734
|
-
this.RepeatWrapping = THREE.RepeatWrapping;
|
|
2735
2735
|
this.runInContext = createRunInContext();
|
|
2736
2736
|
}
|
|
2737
2737
|
initialize() {
|
|
2738
2738
|
super.initialize();
|
|
2739
2739
|
this.set({ distance: 0.4, alphaTest: 0.5, width: 512, height: 512 });
|
|
2740
|
+
this.hold(this.select('map'), (map) => {
|
|
2741
|
+
if (map) {
|
|
2742
|
+
map.wrapS = map.wrapT = THREE.RepeatWrapping;
|
|
2743
|
+
checkUpdate(map);
|
|
2744
|
+
}
|
|
2745
|
+
});
|
|
2740
2746
|
}
|
|
2741
2747
|
ngOnInit() {
|
|
2742
2748
|
const commonEffect = this.runInContext(() => {
|
|
@@ -2745,25 +2751,22 @@ class NgtsSpotLightShadowNoShader extends NgtsSpotLightShadowMeshInput {
|
|
|
2745
2751
|
commonEffect(this);
|
|
2746
2752
|
}
|
|
2747
2753
|
}
|
|
2748
|
-
NgtsSpotLightShadowNoShader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2749
|
-
NgtsSpotLightShadowNoShader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2754
|
+
NgtsSpotLightShadowNoShader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLightShadowNoShader, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2755
|
+
NgtsSpotLightShadowNoShader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NgtsSpotLightShadowNoShader, isStandalone: true, selector: "ngts-spot-light-shadow-no-shader", usesInheritance: true, ngImport: i0, template: `
|
|
2750
2756
|
<ngt-mesh [ref]="mesh" [scale]="get('scale')" [castShadow]="true">
|
|
2751
2757
|
<ngt-plane-geometry />
|
|
2752
2758
|
<ngt-mesh-basic-material
|
|
2753
|
-
*ngIf="!!get('map')"
|
|
2754
2759
|
[transparent]="true"
|
|
2755
2760
|
[side]="DoubleSide"
|
|
2756
2761
|
[alphaTest]="get('alphaTest')"
|
|
2757
|
-
[alphaMap]="
|
|
2762
|
+
[alphaMap]="map$ | ngtPush"
|
|
2758
2763
|
[opacity]="spotLightApi.debug ? 1 : 0"
|
|
2759
2764
|
>
|
|
2760
|
-
<ngt-value [rawValue]="RepeatWrapping" attach="alphaMap.wrapS" />
|
|
2761
|
-
<ngt-value [rawValue]="RepeatWrapping" attach="alphaMap.wrapT" />
|
|
2762
2765
|
<ng-content />
|
|
2763
2766
|
</ngt-mesh-basic-material>
|
|
2764
2767
|
</ngt-mesh>
|
|
2765
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
2766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2768
|
+
`, isInline: true, dependencies: [{ kind: "pipe", type: NgtPush, name: "ngtPush" }] });
|
|
2769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLightShadowNoShader, decorators: [{
|
|
2767
2770
|
type: Component,
|
|
2768
2771
|
args: [{
|
|
2769
2772
|
selector: 'ngts-spot-light-shadow-no-shader',
|
|
@@ -2772,20 +2775,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
2772
2775
|
<ngt-mesh [ref]="mesh" [scale]="get('scale')" [castShadow]="true">
|
|
2773
2776
|
<ngt-plane-geometry />
|
|
2774
2777
|
<ngt-mesh-basic-material
|
|
2775
|
-
*ngIf="!!get('map')"
|
|
2776
2778
|
[transparent]="true"
|
|
2777
2779
|
[side]="DoubleSide"
|
|
2778
2780
|
[alphaTest]="get('alphaTest')"
|
|
2779
|
-
[alphaMap]="
|
|
2781
|
+
[alphaMap]="map$ | ngtPush"
|
|
2780
2782
|
[opacity]="spotLightApi.debug ? 1 : 0"
|
|
2781
2783
|
>
|
|
2782
|
-
<ngt-value [rawValue]="RepeatWrapping" attach="alphaMap.wrapS" />
|
|
2783
|
-
<ngt-value [rawValue]="RepeatWrapping" attach="alphaMap.wrapT" />
|
|
2784
2784
|
<ng-content />
|
|
2785
2785
|
</ngt-mesh-basic-material>
|
|
2786
2786
|
</ngt-mesh>
|
|
2787
2787
|
`,
|
|
2788
|
-
imports: [
|
|
2788
|
+
imports: [NgtPush],
|
|
2789
2789
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2790
2790
|
}]
|
|
2791
2791
|
}] });
|
|
@@ -2846,7 +2846,8 @@ class NgtsSpotLightShadowShader extends NgtsSpotLightShadowMeshInput {
|
|
|
2846
2846
|
});
|
|
2847
2847
|
injectBeforeRender(({ delta, gl }) => {
|
|
2848
2848
|
this.uniforms.uTime.value += delta;
|
|
2849
|
-
const
|
|
2849
|
+
const fsQuad = this.get('fsQuad');
|
|
2850
|
+
const renderTarget = this.get('renderTarget');
|
|
2850
2851
|
if (fsQuad && renderTarget) {
|
|
2851
2852
|
gl.setRenderTarget(renderTarget);
|
|
2852
2853
|
fsQuad.render(gl);
|
|
@@ -2861,8 +2862,8 @@ class NgtsSpotLightShadowShader extends NgtsSpotLightShadowMeshInput {
|
|
|
2861
2862
|
commonEffect(this);
|
|
2862
2863
|
}
|
|
2863
2864
|
}
|
|
2864
|
-
NgtsSpotLightShadowShader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2865
|
-
NgtsSpotLightShadowShader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2865
|
+
NgtsSpotLightShadowShader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLightShadowShader, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2866
|
+
NgtsSpotLightShadowShader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NgtsSpotLightShadowShader, isStandalone: true, selector: "ngts-spot-light-shadow-shader", usesInheritance: true, ngImport: i0, template: `
|
|
2866
2867
|
<ngt-mesh [ref]="mesh" [scale]="get('scale')" [castShadow]="true">
|
|
2867
2868
|
<ngt-plane-geometry />
|
|
2868
2869
|
<ngt-mesh-basic-material
|
|
@@ -2878,7 +2879,7 @@ NgtsSpotLightShadowShader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
2878
2879
|
</ngt-mesh-basic-material>
|
|
2879
2880
|
</ngt-mesh>
|
|
2880
2881
|
`, isInline: true, dependencies: [{ kind: "pipe", type: NgtPush, name: "ngtPush" }] });
|
|
2881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLightShadowShader, decorators: [{
|
|
2882
2883
|
type: Component,
|
|
2883
2884
|
args: [{
|
|
2884
2885
|
selector: 'ngts-spot-light-shadow-shader',
|
|
@@ -2906,10 +2907,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
2906
2907
|
|
|
2907
2908
|
class NgtsSpotLightShadow extends NgtsSpotLightShadowMeshInput {
|
|
2908
2909
|
}
|
|
2909
|
-
NgtsSpotLightShadow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2910
|
-
NgtsSpotLightShadow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
2910
|
+
NgtsSpotLightShadow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLightShadow, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2911
|
+
NgtsSpotLightShadow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NgtsSpotLightShadow, isStandalone: true, selector: "ngts-spot-light-shadow", usesInheritance: true, ngImport: i0, template: `
|
|
2911
2912
|
<ngts-spot-light-shadow-shader
|
|
2912
|
-
*ngIf="
|
|
2913
|
+
*ngIf="get('shader'); else noShader"
|
|
2913
2914
|
[distance]="get('distance')"
|
|
2914
2915
|
[shader]="get('shader')"
|
|
2915
2916
|
[alphaTest]="get('alphaTest')"
|
|
@@ -2918,24 +2919,25 @@ NgtsSpotLightShadow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
2918
2919
|
[width]="get('width')"
|
|
2919
2920
|
[height]="get('height')"
|
|
2920
2921
|
/>
|
|
2921
|
-
<
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2922
|
+
<ng-template #noShader>
|
|
2923
|
+
<ngts-spot-light-shadow-no-shader
|
|
2924
|
+
[distance]="get('distance')"
|
|
2925
|
+
[alphaTest]="get('alphaTest')"
|
|
2926
|
+
[scale]="get('scale')"
|
|
2927
|
+
[map]="get('map')"
|
|
2928
|
+
[width]="get('width')"
|
|
2929
|
+
[height]="get('height')"
|
|
2930
|
+
/>
|
|
2931
|
+
</ng-template>
|
|
2930
2932
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsSpotLightShadowShader, selector: "ngts-spot-light-shadow-shader" }, { kind: "component", type: NgtsSpotLightShadowNoShader, selector: "ngts-spot-light-shadow-no-shader" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsSpotLightShadow, decorators: [{
|
|
2932
2934
|
type: Component,
|
|
2933
2935
|
args: [{
|
|
2934
2936
|
selector: 'ngts-spot-light-shadow',
|
|
2935
2937
|
standalone: true,
|
|
2936
2938
|
template: `
|
|
2937
2939
|
<ngts-spot-light-shadow-shader
|
|
2938
|
-
*ngIf="
|
|
2940
|
+
*ngIf="get('shader'); else noShader"
|
|
2939
2941
|
[distance]="get('distance')"
|
|
2940
2942
|
[shader]="get('shader')"
|
|
2941
2943
|
[alphaTest]="get('alphaTest')"
|
|
@@ -2944,17 +2946,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
2944
2946
|
[width]="get('width')"
|
|
2945
2947
|
[height]="get('height')"
|
|
2946
2948
|
/>
|
|
2947
|
-
<
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2949
|
+
<ng-template #noShader>
|
|
2950
|
+
<ngts-spot-light-shadow-no-shader
|
|
2951
|
+
[distance]="get('distance')"
|
|
2952
|
+
[alphaTest]="get('alphaTest')"
|
|
2953
|
+
[scale]="get('scale')"
|
|
2954
|
+
[map]="get('map')"
|
|
2955
|
+
[width]="get('width')"
|
|
2956
|
+
[height]="get('height')"
|
|
2957
|
+
/>
|
|
2958
|
+
</ng-template>
|
|
2956
2959
|
`,
|
|
2957
|
-
imports: [NgtsSpotLightShadowShader, NgtsSpotLightShadowNoShader, NgIf
|
|
2960
|
+
imports: [NgtsSpotLightShadowShader, NgtsSpotLightShadowNoShader, NgIf],
|
|
2958
2961
|
}]
|
|
2959
2962
|
}] });
|
|
2960
2963
|
|
|
@@ -2988,9 +2991,9 @@ class NgtsStageRefit {
|
|
|
2988
2991
|
}
|
|
2989
2992
|
}
|
|
2990
2993
|
}
|
|
2991
|
-
NgtsStageRefit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
2992
|
-
NgtsStageRefit.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
2993
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
2994
|
+
NgtsStageRefit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsStageRefit, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2995
|
+
NgtsStageRefit.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: NgtsStageRefit, isStandalone: true, selector: "ngts-stage-refit", inputs: { radius: "radius", adjustCamera: "adjustCamera" }, usesOnChanges: true, ngImport: i0 });
|
|
2996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsStageRefit, decorators: [{
|
|
2994
2997
|
type: Directive,
|
|
2995
2998
|
args: [{ selector: 'ngts-stage-refit', standalone: true }]
|
|
2996
2999
|
}], propDecorators: { radius: [{
|
|
@@ -3068,8 +3071,8 @@ class NgtsStage extends NgtRxStore {
|
|
|
3068
3071
|
this.centered.emit(props);
|
|
3069
3072
|
}
|
|
3070
3073
|
}
|
|
3071
|
-
NgtsStage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
3072
|
-
NgtsStage.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
3074
|
+
NgtsStage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsStage, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3075
|
+
NgtsStage.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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: `
|
|
3073
3076
|
<ngt-ambient-light [intensity]="get('intensity')! / 3" />
|
|
3074
3077
|
<ngt-spot-light
|
|
3075
3078
|
[penumbra]="1"
|
|
@@ -3170,7 +3173,7 @@ NgtsStage.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15
|
|
|
3170
3173
|
[encoding]="get('environmentInfo').encoding"
|
|
3171
3174
|
/>
|
|
3172
3175
|
`, 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" }] });
|
|
3173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
3176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsStage, decorators: [{
|
|
3174
3177
|
type: Component,
|
|
3175
3178
|
args: [{
|
|
3176
3179
|
selector: 'ngts-stage',
|
|
@@ -3406,8 +3409,8 @@ class NgtsStars extends NgtRxStore {
|
|
|
3406
3409
|
this.material.uniforms['time'].value = clock.getElapsedTime() * this.get('speed');
|
|
3407
3410
|
}
|
|
3408
3411
|
}
|
|
3409
|
-
NgtsStars.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
3410
|
-
NgtsStars.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
3412
|
+
NgtsStars.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsStars, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3413
|
+
NgtsStars.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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: `
|
|
3411
3414
|
<ngt-points [ref]="starsRef">
|
|
3412
3415
|
<ngt-buffer-geometry>
|
|
3413
3416
|
<ngt-buffer-attribute attach="attributes.position" *args="[get('bufferAttributes').positions, 3]" />
|
|
@@ -3426,7 +3429,7 @@ NgtsStars.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15
|
|
|
3426
3429
|
</ngt-primitive>
|
|
3427
3430
|
</ngt-points>
|
|
3428
3431
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
3429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
3432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NgtsStars, decorators: [{
|
|
3430
3433
|
type: Component,
|
|
3431
3434
|
args: [{
|
|
3432
3435
|
selector: 'ngts-stars',
|