angular-three-postprocessing 2.0.0-beta.24 → 2.0.0-beta.241
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/esm2022/lib/effect-composer.mjs +135 -170
- package/esm2022/lib/effect.mjs +45 -70
- package/esm2022/lib/effects/ascii.mjs +121 -0
- package/esm2022/lib/effects/bloom.mjs +39 -0
- package/esm2022/lib/effects/brightness-contrast.mjs +48 -0
- package/esm2022/lib/effects/chromatic-abberation.mjs +48 -0
- package/esm2022/lib/effects/color-average.mjs +34 -0
- package/esm2022/lib/effects/color-depth.mjs +38 -0
- package/esm2022/lib/effects/depth-of-field.mjs +57 -0
- package/esm2022/lib/effects/depth.mjs +38 -0
- package/esm2022/lib/effects/dot-screen.mjs +38 -0
- package/esm2022/lib/effects/fxaa.mjs +38 -0
- package/esm2022/lib/effects/glitch.mjs +64 -0
- package/esm2022/lib/effects/god-rays.mjs +42 -0
- package/esm2022/lib/effects/grid.mjs +45 -0
- package/esm2022/lib/effects/hue-saturation.mjs +38 -0
- package/esm2022/lib/effects/index.mjs +27 -18
- package/esm2022/lib/effects/lens-flare.mjs +195 -0
- package/esm2022/lib/effects/lut.mjs +51 -0
- package/esm2022/lib/effects/noise.mjs +39 -0
- package/esm2022/lib/effects/pixelation.mjs +31 -0
- package/esm2022/lib/effects/scanline.mjs +43 -0
- package/esm2022/lib/effects/sepia.mjs +38 -0
- package/esm2022/lib/effects/shock-wave.mjs +38 -0
- package/esm2022/lib/effects/smaa.mjs +38 -0
- package/esm2022/lib/effects/tilt-shift-2.mjs +121 -0
- package/esm2022/lib/effects/tilt-shift.mjs +39 -0
- package/esm2022/lib/effects/vignette.mjs +38 -0
- package/esm2022/lib/effects/water.mjs +64 -0
- package/fesm2022/angular-three-postprocessing.mjs +1193 -655
- package/fesm2022/angular-three-postprocessing.mjs.map +1 -1
- package/lib/effect-composer.d.ts +70 -66
- package/lib/effect.d.ts +55 -24
- package/lib/effects/ascii.d.ts +24 -0
- package/lib/effects/bloom.d.ts +10 -0
- package/lib/effects/brightness-contrast.d.ts +15 -0
- package/lib/effects/chromatic-abberation.d.ts +16 -0
- package/lib/effects/color-average.d.ts +12 -0
- package/lib/effects/color-depth.d.ts +14 -0
- package/lib/effects/depth-of-field.d.ts +30 -0
- package/lib/effects/depth.d.ts +14 -0
- package/lib/effects/dot-screen.d.ts +15 -0
- package/lib/effects/fxaa.d.ts +13 -0
- package/lib/effects/glitch.d.ts +30 -0
- package/lib/effects/god-rays.d.ts +38 -0
- package/lib/effects/grid.d.ts +24 -0
- package/lib/effects/hue-saturation.d.ts +15 -0
- package/lib/effects/index.d.ts +26 -17
- package/lib/effects/lens-flare.d.ts +111 -0
- package/lib/effects/lut.d.ts +20 -0
- package/lib/effects/noise.d.ts +14 -0
- package/lib/effects/pixelation.d.ts +17 -0
- package/lib/effects/scanline.d.ts +17 -0
- package/lib/effects/sepia.d.ts +14 -0
- package/lib/effects/shock-wave.d.ts +11 -0
- package/lib/effects/smaa.d.ts +15 -0
- package/lib/effects/tilt-shift-2.d.ts +35 -0
- package/lib/effects/tilt-shift.d.ts +22 -0
- package/lib/effects/vignette.d.ts +17 -0
- package/lib/effects/water.d.ts +20 -0
- package/package.json +54 -46
- package/esm2022/lib/effects/bloom/bloom.mjs +0 -33
- package/esm2022/lib/effects/brightness-contrast/brightness-contrast.mjs +0 -29
- package/esm2022/lib/effects/color-depth/color-depth.mjs +0 -29
- package/esm2022/lib/effects/depth/depth.mjs +0 -29
- package/esm2022/lib/effects/dot-screen/dot-screen.mjs +0 -29
- package/esm2022/lib/effects/hue-saturation/hue-saturation.mjs +0 -29
- package/esm2022/lib/effects/lut/lut.mjs +0 -74
- package/esm2022/lib/effects/noise/noise.mjs +0 -33
- package/esm2022/lib/effects/pixelation/pixelation.mjs +0 -37
- package/esm2022/lib/effects/scanline/scanline.mjs +0 -33
- package/esm2022/lib/effects/sepia/sepia.mjs +0 -29
- package/esm2022/lib/effects/shock-wave/shock-wave.mjs +0 -29
- package/esm2022/lib/effects/smaa/smaa.mjs +0 -29
- package/esm2022/lib/effects/ssao/ssao.mjs +0 -217
- package/esm2022/lib/effects/tilt-shift/tilt-shift.mjs +0 -33
- package/esm2022/lib/effects/tone-mapping/tone-mapping.mjs +0 -29
- package/esm2022/lib/effects/vignette/vignette.mjs +0 -29
- package/lib/effects/bloom/bloom.d.ts +0 -13
- package/lib/effects/brightness-contrast/brightness-contrast.d.ts +0 -15
- package/lib/effects/color-depth/color-depth.d.ts +0 -14
- package/lib/effects/depth/depth.d.ts +0 -14
- package/lib/effects/dot-screen/dot-screen.d.ts +0 -15
- package/lib/effects/hue-saturation/hue-saturation.d.ts +0 -15
- package/lib/effects/lut/lut.d.ts +0 -29
- package/lib/effects/noise/noise.d.ts +0 -15
- package/lib/effects/pixelation/pixelation.d.ts +0 -20
- package/lib/effects/scanline/scanline.d.ts +0 -15
- package/lib/effects/sepia/sepia.d.ts +0 -14
- package/lib/effects/shock-wave/shock-wave.d.ts +0 -17
- package/lib/effects/smaa/smaa.d.ts +0 -16
- package/lib/effects/ssao/ssao.d.ts +0 -42
- package/lib/effects/tilt-shift/tilt-shift.d.ts +0 -23
- package/lib/effects/tone-mapping/tone-mapping.d.ts +0 -22
- package/lib/effects/vignette/vignette.d.ts +0 -17
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { BlendFunction, Effect } from 'postprocessing';
|
|
2
|
+
import { Color, Texture, Vector2, Vector3 } from 'three';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LensFlareEffect extends Effect {
|
|
5
|
+
constructor({ blendFunction, enabled, glareSize, lensPosition, iResolution, starPoints, flareSize, flareSpeed, flareShape, animated, anamorphic, colorGain, lensDirtTexture, haloScale, secondaryGhosts, aditionalStreaks, ghostScale, opacity, starBurst, }?: {
|
|
6
|
+
blendFunction?: BlendFunction | undefined;
|
|
7
|
+
enabled?: boolean | undefined;
|
|
8
|
+
glareSize?: number | undefined;
|
|
9
|
+
lensPosition?: number[] | undefined;
|
|
10
|
+
iResolution?: number[] | undefined;
|
|
11
|
+
starPoints?: number | undefined;
|
|
12
|
+
flareSize?: number | undefined;
|
|
13
|
+
flareSpeed?: number | undefined;
|
|
14
|
+
flareShape?: number | undefined;
|
|
15
|
+
animated?: boolean | undefined;
|
|
16
|
+
anamorphic?: boolean | undefined;
|
|
17
|
+
colorGain?: Color | undefined;
|
|
18
|
+
lensDirtTexture?: Texture | null | undefined;
|
|
19
|
+
haloScale?: number | undefined;
|
|
20
|
+
secondaryGhosts?: boolean | undefined;
|
|
21
|
+
aditionalStreaks?: boolean | undefined;
|
|
22
|
+
ghostScale?: number | undefined;
|
|
23
|
+
opacity?: number | undefined;
|
|
24
|
+
starBurst?: boolean | undefined;
|
|
25
|
+
});
|
|
26
|
+
update(_renderer: any, _inputBuffer: any, deltaTime: number): void;
|
|
27
|
+
}
|
|
28
|
+
export type LensFlareOptions = ConstructorParameters<typeof LensFlareEffect>[0] & {
|
|
29
|
+
position: Vector3;
|
|
30
|
+
followMouse: boolean;
|
|
31
|
+
smoothTime: number;
|
|
32
|
+
};
|
|
33
|
+
export declare class NgtpLensFlare {
|
|
34
|
+
autoEffect: (autoEffectCallback: (autoEffectInjector: import("@angular/core").Injector) => void | (() => void), options?: Omit<import("@angular/core").CreateEffectOptions, "injector"> | undefined) => import("@angular/core").EffectRef;
|
|
35
|
+
store: import("angular-three").NgtSignalStore<import("angular-three").NgtState>;
|
|
36
|
+
viewport: import("@angular/core").Signal<import("angular-three").NgtSize & {
|
|
37
|
+
initialDpr: number;
|
|
38
|
+
dpr: number;
|
|
39
|
+
factor: number;
|
|
40
|
+
distance: number;
|
|
41
|
+
aspect: number;
|
|
42
|
+
} & {
|
|
43
|
+
getCurrentViewport: (camera?: import("angular-three").NgtCamera | undefined, target?: Vector3 | [x: number, y: number, z: number] | undefined, size?: import("angular-three").NgtSize | undefined) => Omit<import("angular-three").NgtViewport, "dpr" | "initialDpr">;
|
|
44
|
+
}>;
|
|
45
|
+
raycaster: import("@angular/core").Signal<import("three").Raycaster>;
|
|
46
|
+
pointer: import("@angular/core").Signal<Vector2>;
|
|
47
|
+
composerApi: import("@angular/core").Signal<{
|
|
48
|
+
composer: import("postprocessing").EffectComposer;
|
|
49
|
+
camera: import("three").Camera;
|
|
50
|
+
scene: import("three").Scene;
|
|
51
|
+
normalPass: import("postprocessing").NormalPass | null;
|
|
52
|
+
downSamplingPass: import("postprocessing").DepthDownsamplingPass | null;
|
|
53
|
+
resolutionScale: number | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<LensFlareEffect>>;
|
|
56
|
+
options: import("@angular/core").InputSignalWithTransform<{
|
|
57
|
+
blendFunction?: BlendFunction | undefined;
|
|
58
|
+
enabled?: boolean | undefined;
|
|
59
|
+
glareSize?: number | undefined;
|
|
60
|
+
lensPosition?: number[] | undefined;
|
|
61
|
+
iResolution?: number[] | undefined;
|
|
62
|
+
starPoints?: number | undefined;
|
|
63
|
+
flareSize?: number | undefined;
|
|
64
|
+
flareSpeed?: number | undefined;
|
|
65
|
+
flareShape?: number | undefined;
|
|
66
|
+
animated?: boolean | undefined;
|
|
67
|
+
anamorphic?: boolean | undefined;
|
|
68
|
+
colorGain?: Color | undefined;
|
|
69
|
+
lensDirtTexture?: Texture | null | undefined;
|
|
70
|
+
haloScale?: number | undefined;
|
|
71
|
+
secondaryGhosts?: boolean | undefined;
|
|
72
|
+
aditionalStreaks?: boolean | undefined;
|
|
73
|
+
ghostScale?: number | undefined;
|
|
74
|
+
opacity?: number | undefined;
|
|
75
|
+
starBurst?: boolean | undefined;
|
|
76
|
+
} & {
|
|
77
|
+
position: Vector3;
|
|
78
|
+
followMouse: boolean;
|
|
79
|
+
smoothTime: number;
|
|
80
|
+
}, "" | Partial<{
|
|
81
|
+
blendFunction?: BlendFunction | undefined;
|
|
82
|
+
enabled?: boolean | undefined;
|
|
83
|
+
glareSize?: number | undefined;
|
|
84
|
+
lensPosition?: number[] | undefined;
|
|
85
|
+
iResolution?: number[] | undefined;
|
|
86
|
+
starPoints?: number | undefined;
|
|
87
|
+
flareSize?: number | undefined;
|
|
88
|
+
flareSpeed?: number | undefined;
|
|
89
|
+
flareShape?: number | undefined;
|
|
90
|
+
animated?: boolean | undefined;
|
|
91
|
+
anamorphic?: boolean | undefined;
|
|
92
|
+
colorGain?: Color | undefined;
|
|
93
|
+
lensDirtTexture?: Texture | null | undefined;
|
|
94
|
+
haloScale?: number | undefined;
|
|
95
|
+
secondaryGhosts?: boolean | undefined;
|
|
96
|
+
aditionalStreaks?: boolean | undefined;
|
|
97
|
+
ghostScale?: number | undefined;
|
|
98
|
+
opacity?: number | undefined;
|
|
99
|
+
starBurst?: boolean | undefined;
|
|
100
|
+
} & {
|
|
101
|
+
position: Vector3;
|
|
102
|
+
followMouse: boolean;
|
|
103
|
+
smoothTime: number;
|
|
104
|
+
}>>;
|
|
105
|
+
projectedPosition: Vector3;
|
|
106
|
+
mouse2d: Vector2;
|
|
107
|
+
effect: import("@angular/core").Signal<LensFlareEffect>;
|
|
108
|
+
constructor();
|
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpLensFlare, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLensFlare, "ngtp-lens-flare", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
111
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BlendFunction, LUT3DEffect } from 'postprocessing';
|
|
2
|
+
import { Texture } from 'three';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface LUTOptions {
|
|
5
|
+
lut: Texture;
|
|
6
|
+
blendFunction?: BlendFunction;
|
|
7
|
+
tetrahedralInterpolation?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class NgtpLUT {
|
|
10
|
+
autoEffect: (autoEffectCallback: (autoEffectInjector: import("@angular/core").Injector) => void | (() => void), options?: Omit<import("@angular/core").CreateEffectOptions, "injector"> | undefined) => import("@angular/core").EffectRef;
|
|
11
|
+
store: import("angular-three").NgtSignalStore<import("angular-three").NgtState>;
|
|
12
|
+
invalidate: import("@angular/core").Signal<(frames?: number | undefined) => void>;
|
|
13
|
+
effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<LUT3DEffect>>;
|
|
14
|
+
options: import("@angular/core").InputSignal<LUTOptions>;
|
|
15
|
+
lut: import("@angular/core").Signal<Texture>;
|
|
16
|
+
effect: import("@angular/core").Signal<LUT3DEffect>;
|
|
17
|
+
constructor();
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpLUT, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLUT, "ngtp-lut", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BlendFunction, NoiseEffect } from 'postprocessing';
|
|
2
|
+
import { NgtpEffect } from '../effect';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../effect";
|
|
5
|
+
export type NoiseEffectOptions = Partial<NonNullable<ConstructorParameters<typeof NoiseEffect>[0]>>;
|
|
6
|
+
export declare class NgtpNoise {
|
|
7
|
+
effect: NgtpEffect;
|
|
8
|
+
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
9
|
+
blendFunction?: BlendFunction | undefined;
|
|
10
|
+
premultiply?: boolean | undefined;
|
|
11
|
+
}>, "blendFunction">>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpNoise, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpNoise, "ngtp-noise", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PixelationEffect } from 'postprocessing';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface PixelationOptions {
|
|
4
|
+
granularity: number;
|
|
5
|
+
}
|
|
6
|
+
export declare class NgtpPixelation {
|
|
7
|
+
effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<PixelationEffect>>;
|
|
8
|
+
options: import("@angular/core").InputSignalWithTransform<{
|
|
9
|
+
granularity: number;
|
|
10
|
+
}, "" | Partial<{
|
|
11
|
+
granularity: number;
|
|
12
|
+
}>>;
|
|
13
|
+
granularity: import("@angular/core").Signal<number>;
|
|
14
|
+
effect: import("@angular/core").Signal<PixelationEffect>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpPixelation, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpPixelation, "ngtp-pixelation", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BlendFunction, ScanlineEffect } from 'postprocessing';
|
|
2
|
+
import { NgtpEffect } from '../effect';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../effect";
|
|
5
|
+
export type ScanlineEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ScanlineEffect>[0]>>;
|
|
6
|
+
export declare class NgtpScanline {
|
|
7
|
+
effect: NgtpEffect;
|
|
8
|
+
options: import("@angular/core").InputSignalWithTransform<Omit<Partial<{
|
|
9
|
+
blendFunction?: BlendFunction | undefined;
|
|
10
|
+
density?: number | undefined;
|
|
11
|
+
}>, "blendFunction">, "" | Partial<Omit<Partial<{
|
|
12
|
+
blendFunction?: BlendFunction | undefined;
|
|
13
|
+
density?: number | undefined;
|
|
14
|
+
}>, "blendFunction">>>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpScanline, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpScanline, "ngtp-scanline", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SepiaEffect } from 'postprocessing';
|
|
2
|
+
import { NgtpEffect } from '../effect';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../effect";
|
|
5
|
+
export type SepiaEffectOptions = Partial<NonNullable<ConstructorParameters<typeof SepiaEffect>[0]>>;
|
|
6
|
+
export declare class NgtpSepia {
|
|
7
|
+
effect: NgtpEffect;
|
|
8
|
+
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
9
|
+
blendFunction?: import("postprocessing").BlendFunction | undefined;
|
|
10
|
+
intensity?: number | undefined;
|
|
11
|
+
}>, "blendFunction">>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSepia, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSepia, "ngtp-sepia", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ShockWaveEffect } from 'postprocessing';
|
|
2
|
+
import { NgtpEffect } from '../effect';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../effect";
|
|
5
|
+
export type ShockWaveEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ShockWaveEffect>[0]>>;
|
|
6
|
+
export declare class NgtpShockWave {
|
|
7
|
+
effect: NgtpEffect;
|
|
8
|
+
options: import("@angular/core").InputSignal<Omit<Partial<import("three").Camera>, "blendFunction">>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpShockWave, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpShockWave, "ngtp-shock-wave", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SMAAEffect } from 'postprocessing';
|
|
2
|
+
import { NgtpEffect } from '../effect';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../effect";
|
|
5
|
+
export type SMAAEffectOptions = Partial<NonNullable<ConstructorParameters<typeof SMAAEffect>[0]>>;
|
|
6
|
+
export declare class NgtpSMAA {
|
|
7
|
+
effect: NgtpEffect;
|
|
8
|
+
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
9
|
+
preset?: import("postprocessing").SMAAPreset | undefined;
|
|
10
|
+
edgeDetectionMode?: import("postprocessing").EdgeDetectionMode | undefined;
|
|
11
|
+
predicationMode?: import("postprocessing").PredicationMode | undefined;
|
|
12
|
+
}>, "blendFunction">>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSMAA, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSMAA, "ngtp-smaa", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BlendFunction, Effect } from 'postprocessing';
|
|
2
|
+
import { NgtpEffect } from '../effect';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../effect";
|
|
5
|
+
export declare class TiltShift2Effect extends Effect {
|
|
6
|
+
constructor({ blendFunction, blur, // [0, 1], can go beyond 1 for extra
|
|
7
|
+
taper, // [0, 1], can go beyond 1 for extra
|
|
8
|
+
start, // [0,1] percentage x,y of screenspace
|
|
9
|
+
end, // [0,1] percentage x,y of screenspace
|
|
10
|
+
samples, // number of blur samples
|
|
11
|
+
direction, }?: {
|
|
12
|
+
blendFunction?: BlendFunction | undefined;
|
|
13
|
+
blur?: number | undefined;
|
|
14
|
+
taper?: number | undefined;
|
|
15
|
+
start?: number[] | undefined;
|
|
16
|
+
end?: number[] | undefined;
|
|
17
|
+
samples?: number | undefined;
|
|
18
|
+
direction?: number[] | undefined;
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export type TiltShift2EffectOptions = Partial<NonNullable<ConstructorParameters<typeof TiltShift2Effect>[0]>>;
|
|
22
|
+
export declare class NgtpTiltShift2 {
|
|
23
|
+
effect: NgtpEffect;
|
|
24
|
+
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
25
|
+
blendFunction?: BlendFunction | undefined;
|
|
26
|
+
blur?: number | undefined;
|
|
27
|
+
taper?: number | undefined;
|
|
28
|
+
start?: number[] | undefined;
|
|
29
|
+
end?: number[] | undefined;
|
|
30
|
+
samples?: number | undefined;
|
|
31
|
+
direction?: number[] | undefined;
|
|
32
|
+
}>, "blendFunction">>;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpTiltShift2, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpTiltShift2, "ngtp-tilt-shift2", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BlendFunction, TiltShiftEffect } from 'postprocessing';
|
|
2
|
+
import { NgtpEffect } from '../effect';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../effect";
|
|
5
|
+
export type TiltShiftEffectOptions = Partial<NonNullable<ConstructorParameters<typeof TiltShiftEffect>[0]>>;
|
|
6
|
+
export declare class NgtpTiltShift {
|
|
7
|
+
effect: NgtpEffect;
|
|
8
|
+
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
9
|
+
blendFunction?: BlendFunction | undefined;
|
|
10
|
+
offset?: number | undefined;
|
|
11
|
+
rotation?: number | undefined;
|
|
12
|
+
focusArea?: number | undefined;
|
|
13
|
+
feather?: number | undefined;
|
|
14
|
+
bias?: number | undefined;
|
|
15
|
+
kernelSize?: import("postprocessing").KernelSize | undefined;
|
|
16
|
+
resolutionScale?: number | undefined;
|
|
17
|
+
resolutionX?: number | undefined;
|
|
18
|
+
resolutionY?: number | undefined;
|
|
19
|
+
}>, "blendFunction">>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpTiltShift, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpTiltShift, "ngtp-tilt-shift", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { VignetteEffect } from 'postprocessing';
|
|
2
|
+
import { NgtpEffect } from '../effect';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../effect";
|
|
5
|
+
export type VignetteEffectOptions = Partial<NonNullable<ConstructorParameters<typeof VignetteEffect>[0]>>;
|
|
6
|
+
export declare class NgtpVignette {
|
|
7
|
+
effect: NgtpEffect;
|
|
8
|
+
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
9
|
+
blendFunction?: import("postprocessing").BlendFunction | undefined;
|
|
10
|
+
technique?: import("postprocessing").VignetteTechnique | undefined;
|
|
11
|
+
eskil?: boolean | undefined;
|
|
12
|
+
offset?: number | undefined;
|
|
13
|
+
darkness?: number | undefined;
|
|
14
|
+
}>, "blendFunction">>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpVignette, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpVignette, "ngtp-vignette", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BlendFunction, Effect } from 'postprocessing';
|
|
2
|
+
import { NgtpEffect } from '../effect';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../effect";
|
|
5
|
+
export declare class WaterEffect extends Effect {
|
|
6
|
+
constructor({ blendFunction, factor }?: {
|
|
7
|
+
blendFunction?: BlendFunction | undefined;
|
|
8
|
+
factor?: number | undefined;
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
export type WaterEffectOptions = Partial<NonNullable<ConstructorParameters<typeof WaterEffect>[0]>>;
|
|
12
|
+
export declare class NgtpWater {
|
|
13
|
+
effect: NgtpEffect;
|
|
14
|
+
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
15
|
+
blendFunction?: BlendFunction | undefined;
|
|
16
|
+
factor?: number | undefined;
|
|
17
|
+
}>, "blendFunction">>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpWater, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpWater, "ngtp-water", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
|
|
20
|
+
}
|
package/package.json
CHANGED
|
@@ -1,48 +1,56 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
2
|
+
"name": "angular-three-postprocessing",
|
|
3
|
+
"version": "2.0.0-beta.241",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/angular-threejs/angular-three/tree/main/libs/postprocessing"
|
|
10
|
+
},
|
|
11
|
+
"author": {
|
|
12
|
+
"name": "Chau Tran",
|
|
13
|
+
"email": "nartc7789@gmail.com",
|
|
14
|
+
"url": "https://nartc.me"
|
|
15
|
+
},
|
|
16
|
+
"description": "Postprocessing for Angular Three",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"angular",
|
|
19
|
+
"threejs",
|
|
20
|
+
"renderer",
|
|
21
|
+
"postprocessing"
|
|
22
|
+
],
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"@angular/common": "^18.0.0",
|
|
26
|
+
"@angular/core": "^18.0.0",
|
|
27
|
+
"maath": "^0.10.0",
|
|
28
|
+
"ngxtension": "^3.0.0",
|
|
29
|
+
"postprocessing": "^6.0.0",
|
|
30
|
+
"three": ">=0.148.0",
|
|
31
|
+
"three-stdlib": "^2.0.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependenciesMeta": {
|
|
34
|
+
"maath": {
|
|
35
|
+
"optional": true
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"tslib": "^2.3.0"
|
|
40
|
+
},
|
|
41
|
+
"sideEffects": false,
|
|
42
|
+
"module": "fesm2022/angular-three-postprocessing.mjs",
|
|
43
|
+
"typings": "index.d.ts",
|
|
44
|
+
"exports": {
|
|
45
|
+
"./package.json": {
|
|
46
|
+
"default": "./package.json"
|
|
47
|
+
},
|
|
48
|
+
".": {
|
|
49
|
+
"types": "./index.d.ts",
|
|
50
|
+
"esm2022": "./esm2022/angular-three-postprocessing.mjs",
|
|
51
|
+
"esm": "./esm2022/angular-three-postprocessing.mjs",
|
|
52
|
+
"default": "./fesm2022/angular-three-postprocessing.mjs"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
48
55
|
}
|
|
56
|
+
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
2
|
-
import { NgtArgs, extend } from 'angular-three';
|
|
3
|
-
import { BlendFunction, BloomEffect } from 'postprocessing';
|
|
4
|
-
import { NgtpEffect } from '../../effect';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
extend({ BloomEffect });
|
|
7
|
-
export class NgtpBloom extends NgtpEffect {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.defaultBlendFunction = BlendFunction.ADD;
|
|
11
|
-
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtpBloom, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtpBloom, isStandalone: true, selector: "ngtp-bloom", usesInheritance: true, ngImport: i0, template: `
|
|
14
|
-
<ngt-bloom-effect ngtCompound *args="args()" [ref]="effectRef" [camera]="camera()">
|
|
15
|
-
<ng-content />
|
|
16
|
-
</ngt-bloom-effect>
|
|
17
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }] }); }
|
|
18
|
-
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtpBloom, decorators: [{
|
|
20
|
-
type: Component,
|
|
21
|
-
args: [{
|
|
22
|
-
selector: 'ngtp-bloom',
|
|
23
|
-
standalone: true,
|
|
24
|
-
template: `
|
|
25
|
-
<ngt-bloom-effect ngtCompound *args="args()" [ref]="effectRef" [camera]="camera()">
|
|
26
|
-
<ng-content />
|
|
27
|
-
</ngt-bloom-effect>
|
|
28
|
-
`,
|
|
29
|
-
imports: [NgtArgs],
|
|
30
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
31
|
-
}]
|
|
32
|
-
}] });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvb20uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3Bvc3Rwcm9jZXNzaW5nL3NyYy9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W9ucyB9IGZyb20gJ3Bvc3Rwcm9jZXNzaW5nJztcbmltcG9ydCB7IE5ndHBFZmZlY3QsIHR5cGUgTmd0cEVmZmVjdFN0YXRlIH0gZnJvbSAnLi4vLi4vZWZmZWN0JztcblxuZXh0ZW5kKHsgQmxvb21FZmZlY3QgfSk7XG5cbmRlY2xhcmUgZ2xvYmFsIHtcblx0aW50ZXJmYWNlIEhUTUxFbGVtZW50VGFnTmFtZU1hcCB7XG5cdFx0J25ndHAtYmxvb20nOiBCbG9vbUVmZmVjdE9wdGlvbnMgJiBOZ3RwRWZmZWN0U3RhdGU7XG5cdH1cbn1cblxuQENvbXBvbmVudCh7XG5cdHNlbGVjdG9yOiAnbmd0cC1ibG9vbScsXG5cdHN0YW5kYWxvbmU6IHRydWUsXG5cdHRlbXBsYXRlOiBgXG5cdFx0PG5ndC1ibG9vbS1lZmZlY3Qgbmd0Q29tcG91bmQgKmFyZ3M9XCJhcmdzKClcIiBbcmVmXT1cImVmZmVjdFJlZlwiIFtjYW1lcmFdPVwiY2FtZXJhKClcIj5cblx0XHRcdDxuZy1jb250ZW50IC8+XG5cdFx0PC9uZ3QtYmxvb20tZWZmZWN0PlxuXHRgLFxuXHRpbXBvcnRzOiBbTmd0QXJnc10sXG5cdHNjaGVtYXM6IFtDVVNUT01fRUxFTUVOVFNfU0NIRU1BXSxcbn0pXG5leHBvcnQgY2xhc3MgTmd0cEJsb29tIGV4dGVuZHMgTmd0cEVmZmVjdDxCbG9vbUVmZmVjdD4ge1xuXHRvdmVycmlkZSBkZWZhdWx0QmxlbmRGdW5jdGlvbiA9IEJsZW5kRnVuY3Rpb24uQUREO1xufVxuIl19
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
2
|
-
import { NgtArgs, extend } from 'angular-three';
|
|
3
|
-
import { BrightnessContrastEffect } from 'postprocessing';
|
|
4
|
-
import { NgtpEffect } from '../../effect';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
extend({ BrightnessContrastEffect });
|
|
7
|
-
export class NgtpBrightnessContrast extends NgtpEffect {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtpBrightnessContrast, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtpBrightnessContrast, isStandalone: true, selector: "ngtp-brightness-contrast", usesInheritance: true, ngImport: i0, template: `
|
|
10
|
-
<ngt-brightness-contrast-effect ngtCompound *args="args()" [camera]="camera()" [ref]="effectRef">
|
|
11
|
-
<ng-content />
|
|
12
|
-
</ngt-brightness-contrast-effect>
|
|
13
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }] }); }
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtpBrightnessContrast, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{
|
|
18
|
-
selector: 'ngtp-brightness-contrast',
|
|
19
|
-
standalone: true,
|
|
20
|
-
template: `
|
|
21
|
-
<ngt-brightness-contrast-effect ngtCompound *args="args()" [camera]="camera()" [ref]="effectRef">
|
|
22
|
-
<ng-content />
|
|
23
|
-
</ngt-brightness-contrast-effect>
|
|
24
|
-
`,
|
|
25
|
-
imports: [NgtArgs],
|
|
26
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
27
|
-
}]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJpZ2h0bmVzcy1jb250cmFzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpY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Vzc2luZyc7XG5pbXBvcnQgeyBOZ3RwRWZmZWN0LCB0eXBlIE5ndHBFZmZlY3RTdGF0ZSB9IGZyb20gJy4uLy4uL2VmZmVjdCc7XG5cbmV4dGVuZCh7IEJyaWdodG5lc3NDb250cmFzdEVmZmVjdCB9KTtcblxuZGVjbGFyZSBnbG9iYWwge1xuXHRpbnRlcmZhY2UgSFRNTEVsZW1lbnRUYWdOYW1lTWFwIHtcblx0XHQnbmd0cC1icmlnaHRuZXNzLWNvbnRyYXN0JzogeyBicmlnaHRuZXNzPzogbnVtYmVyOyBjb250cmFzdD86IG51bWJlciB9ICYgTmd0cEVmZmVjdFN0YXRlO1xuXHR9XG59XG5cbkBDb21wb25lbnQoe1xuXHRzZWxlY3RvcjogJ25ndHAtYnJpZ2h0bmVzcy1jb250cmFzdCcsXG5cdHN0YW5kYWxvbmU6IHRydWUsXG5cdHRlbXBsYXRlOiBgXG5cdFx0PG5ndC1icmlnaHRuZXNzLWNvbnRyYXN0LWVmZmVjdCBuZ3RDb21wb3VuZCAqYXJncz1cImFyZ3MoKVwiIFtjYW1lcmFdPVwiY2FtZXJhKClcIiBbcmVmXT1cImVmZmVjdFJlZlwiPlxuXHRcdFx0PG5nLWNvbnRlbnQgLz5cblx0XHQ8L25ndC1icmlnaHRuZXNzLWNvbnRyYXN0LWVmZmVjdD5cblx0YCxcblx0aW1wb3J0czogW05ndEFyZ3NdLFxuXHRzY2hlbWFzOiBbQ1VTVE9NX0VMRU1FTlRTX1NDSEVNQV0sXG59KVxuZXhwb3J0IGNsYXNzIE5ndHBCcmlnaHRuZXNzQ29udHJhc3QgZXh0ZW5kcyBOZ3RwRWZmZWN0PEJyaWdodG5lc3NDb250cmFzdEVmZmVjdD4ge31cbiJdfQ==
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
2
|
-
import { NgtArgs, extend } from 'angular-three';
|
|
3
|
-
import { ColorDepthEffect } from 'postprocessing';
|
|
4
|
-
import { NgtpEffect } from '../../effect';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
extend({ ColorDepthEffect });
|
|
7
|
-
export class NgtpColorDepth extends NgtpEffect {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtpColorDepth, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtpColorDepth, isStandalone: true, selector: "ngtp-color-depth", usesInheritance: true, ngImport: i0, template: `
|
|
10
|
-
<ngt-color-depth-effect ngtCompound *args="args()" [camera]="camera()" [ref]="effectRef">
|
|
11
|
-
<ng-content />
|
|
12
|
-
</ngt-color-depth-effect>
|
|
13
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }] }); }
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtpColorDepth, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{
|
|
18
|
-
selector: 'ngtp-color-depth',
|
|
19
|
-
standalone: true,
|
|
20
|
-
template: `
|
|
21
|
-
<ngt-color-depth-effect ngtCompound *args="args()" [camera]="camera()" [ref]="effectRef">
|
|
22
|
-
<ng-content />
|
|
23
|
-
</ngt-color-depth-effect>
|
|
24
|
-
`,
|
|
25
|
-
imports: [NgtArgs],
|
|
26
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
27
|
-
}]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItZGVwdGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3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lwZSBOZ3RwRWZmZWN0U3RhdGUgfSBmcm9tICcuLi8uLi9lZmZlY3QnO1xuXG5leHRlbmQoeyBDb2xvckRlcHRoRWZmZWN0IH0pO1xuXG5kZWNsYXJlIGdsb2JhbCB7XG5cdGludGVyZmFjZSBIVE1MRWxlbWVudFRhZ05hbWVNYXAge1xuXHRcdCduZ3RwLWNvbG9yLWRlcHRoJzogeyBiaXRzPzogbnVtYmVyIH0gJiBOZ3RwRWZmZWN0U3RhdGU7XG5cdH1cbn1cblxuQENvbXBvbmVudCh7XG5cdHNlbGVjdG9yOiAnbmd0cC1jb2xvci1kZXB0aCcsXG5cdHN0YW5kYWxvbmU6IHRydWUsXG5cdHRlbXBsYXRlOiBgXG5cdFx0PG5ndC1jb2xvci1kZXB0aC1lZmZlY3Qgbmd0Q29tcG91bmQgKmFyZ3M9XCJhcmdzKClcIiBbY2FtZXJhXT1cImNhbWVyYSgpXCIgW3JlZl09XCJlZmZlY3RSZWZcIj5cblx0XHRcdDxuZy1jb250ZW50IC8+XG5cdFx0PC9uZ3QtY29sb3ItZGVwdGgtZWZmZWN0PlxuXHRgLFxuXHRpbXBvcnRzOiBbTmd0QXJnc10sXG5cdHNjaGVtYXM6IFtDVVNUT01fRUxFTUVOVFNfU0NIRU1BXSxcbn0pXG5leHBvcnQgY2xhc3MgTmd0cENvbG9yRGVwdGggZXh0ZW5kcyBOZ3RwRWZmZWN0PENvbG9yRGVwdGhFZmZlY3Q+IHt9XG4iXX0=
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
2
|
-
import { NgtArgs, extend } from 'angular-three';
|
|
3
|
-
import { DepthEffect } from 'postprocessing';
|
|
4
|
-
import { NgtpEffect } from '../../effect';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
extend({ DepthEffect });
|
|
7
|
-
export class NgtpDepth extends NgtpEffect {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtpDepth, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtpDepth, isStandalone: true, selector: "ngtp-depth", usesInheritance: true, ngImport: i0, template: `
|
|
10
|
-
<ngt-depth-effect ngtCompound *args="args()" [camera]="camera()" [ref]="effectRef">
|
|
11
|
-
<ng-content />
|
|
12
|
-
</ngt-depth-effect>
|
|
13
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }] }); }
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtpDepth, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{
|
|
18
|
-
selector: 'ngtp-depth',
|
|
19
|
-
standalone: true,
|
|
20
|
-
template: `
|
|
21
|
-
<ngt-depth-effect ngtCompound *args="args()" [camera]="camera()" [ref]="effectRef">
|
|
22
|
-
<ng-content />
|
|
23
|
-
</ngt-depth-effect>
|
|
24
|
-
`,
|
|
25
|
-
imports: [NgtArgs],
|
|
26
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
27
|
-
}]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwdGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3Bvc3Rwcm9jZXNzaW5nL3NyYy9saWIvZWZmZWN0cy9kZXB0aC9kZXB0aC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2xFLE9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ZWQ/OiBib29sZWFuIH0gJiBOZ3RwRWZmZWN0U3RhdGU7XG5cdH1cbn1cblxuQENvbXBvbmVudCh7XG5cdHNlbGVjdG9yOiAnbmd0cC1kZXB0aCcsXG5cdHN0YW5kYWxvbmU6IHRydWUsXG5cdHRlbXBsYXRlOiBgXG5cdFx0PG5ndC1kZXB0aC1lZmZlY3Qgbmd0Q29tcG91bmQgKmFyZ3M9XCJhcmdzKClcIiBbY2FtZXJhXT1cImNhbWVyYSgpXCIgW3JlZl09XCJlZmZlY3RSZWZcIj5cblx0XHRcdDxuZy1jb250ZW50IC8+XG5cdFx0PC9uZ3QtZGVwdGgtZWZmZWN0PlxuXHRgLFxuXHRpbXBvcnRzOiBbTmd0QXJnc10sXG5cdHNjaGVtYXM6IFtDVVNUT01fRUxFTUVOVFNfU0NIRU1BXSxcbn0pXG5leHBvcnQgY2xhc3MgTmd0cERlcHRoIGV4dGVuZHMgTmd0cEVmZmVjdDxEZXB0aEVmZmVjdD4ge31cbiJdfQ==
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
2
|
-
import { NgtArgs, extend } from 'angular-three';
|
|
3
|
-
import { DotScreenEffect } from 'postprocessing';
|
|
4
|
-
import { NgtpEffect } from '../../effect';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
extend({ DotScreenEffect });
|
|
7
|
-
export class NgtpDotScreen extends NgtpEffect {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtpDotScreen, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtpDotScreen, isStandalone: true, selector: "ngtp-dot-screen", usesInheritance: true, ngImport: i0, template: `
|
|
10
|
-
<ngt-dot-screen-effect ngtCompound *args="args()" [camera]="camera()" [ref]="effectRef">
|
|
11
|
-
<ng-content />
|
|
12
|
-
</ngt-dot-screen-effect>
|
|
13
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }] }); }
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtpDotScreen, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{
|
|
18
|
-
selector: 'ngtp-dot-screen',
|
|
19
|
-
standalone: true,
|
|
20
|
-
template: `
|
|
21
|
-
<ngt-dot-screen-effect ngtCompound *args="args()" [camera]="camera()" [ref]="effectRef">
|
|
22
|
-
<ng-content />
|
|
23
|
-
</ngt-dot-screen-effect>
|
|
24
|
-
`,
|
|
25
|
-
imports: [NgtArgs],
|
|
26
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
27
|
-
}]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG90LXNjcmVlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcG9zdHByb2Nlc3Npbmcvc3JjL2xpYi9lZmZlY3RzL2RvdC1zY3JlZW4vZG90LXNjcmVlbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2xFLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNqRCxPQUFPLEVBQUUsVUFBVSxFQUF3QixNQUFNLGNBQWMsQ0FBQzs7QUFFaEUsTUFBTS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