angular-three-postprocessing 4.0.0-next.4 → 4.0.0-next.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/angular-three-postprocessing-n8ao.mjs +3 -3
- package/fesm2022/angular-three-postprocessing.mjs +269 -132
- package/fesm2022/angular-three-postprocessing.mjs.map +1 -1
- package/lib/effect-composer.d.ts +2 -1
- package/lib/effects/index.d.ts +1 -0
- package/lib/effects/selective-bloom.d.ts +42 -0
- package/package.json +2 -2
package/lib/effect-composer.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EffectComposer } from 'postprocessing';
|
|
1
2
|
import * as THREE from 'three';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export interface NgtpEffectComposerOptions {
|
|
@@ -16,7 +17,6 @@ export interface NgtpEffectComposerOptions {
|
|
|
16
17
|
}
|
|
17
18
|
export declare class NgtpEffectComposer {
|
|
18
19
|
options: import("@angular/core").InputSignalWithTransform<NgtpEffectComposerOptions, "" | Partial<NgtpEffectComposerOptions>>;
|
|
19
|
-
private injector;
|
|
20
20
|
private store;
|
|
21
21
|
private depthBuffer;
|
|
22
22
|
private stencilBuffer;
|
|
@@ -31,6 +31,7 @@ export declare class NgtpEffectComposer {
|
|
|
31
31
|
private groupRef;
|
|
32
32
|
private priority;
|
|
33
33
|
private composerData;
|
|
34
|
+
effectComposer: import("@angular/core").Signal<EffectComposer>;
|
|
34
35
|
constructor();
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffectComposer, never>;
|
|
36
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpEffectComposer, "ngtp-effect-composer", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
package/lib/effects/index.d.ts
CHANGED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { BloomEffectOptions, SelectiveBloomEffect } from 'postprocessing';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type SelectiveBloomOptions = BloomEffectOptions & {
|
|
6
|
+
selectionLayer: number;
|
|
7
|
+
inverted: boolean;
|
|
8
|
+
ignoreBackground: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare class NgtpSelectiveBloom {
|
|
11
|
+
lights: import("@angular/core").InputSignal<THREE.Object3D<THREE.Object3DEventMap>[] | ElementRef<THREE.Object3D<THREE.Object3DEventMap> | undefined>[]>;
|
|
12
|
+
selection: import("@angular/core").InputSignal<THREE.Object3D<THREE.Object3DEventMap> | THREE.Object3D<THREE.Object3DEventMap>[] | ElementRef<THREE.Object3D<THREE.Object3DEventMap> | undefined> | ElementRef<THREE.Object3D<THREE.Object3DEventMap> | undefined>[]>;
|
|
13
|
+
options: import("@angular/core").InputSignalWithTransform<SelectiveBloomOptions, "" | Partial<SelectiveBloomOptions>>;
|
|
14
|
+
private blendFunction;
|
|
15
|
+
private luminanceThreshold;
|
|
16
|
+
private luminanceSmoothing;
|
|
17
|
+
private mipmapBlur;
|
|
18
|
+
private intensity;
|
|
19
|
+
private radius;
|
|
20
|
+
private levels;
|
|
21
|
+
private kernelSize;
|
|
22
|
+
private resolutionScale;
|
|
23
|
+
private width;
|
|
24
|
+
private height;
|
|
25
|
+
private resolutionX;
|
|
26
|
+
private resolutionY;
|
|
27
|
+
private inverted;
|
|
28
|
+
private ignoreBackground;
|
|
29
|
+
private selectionLayer;
|
|
30
|
+
private store;
|
|
31
|
+
private effectComposer;
|
|
32
|
+
private ngtSelection;
|
|
33
|
+
private resolvedLights;
|
|
34
|
+
private resolvedSelected;
|
|
35
|
+
private resolvedNgtSelected;
|
|
36
|
+
protected effect: import("@angular/core").Signal<SelectiveBloomEffect>;
|
|
37
|
+
constructor();
|
|
38
|
+
private addLight;
|
|
39
|
+
private removeLight;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSelectiveBloom, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSelectiveBloom, "ngtp-selective-bloom", never, { "lights": { "alias": "lights"; "required": true; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-three-postprocessing",
|
|
3
|
-
"version": "4.0.0-next.
|
|
3
|
+
"version": "4.0.0-next.41",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"maath": ">=0.10.0 <0.11.0",
|
|
28
28
|
"n8ao": ">=1.9.4 <2.0.0",
|
|
29
29
|
"postprocessing": "^6.0.0",
|
|
30
|
-
"three": ">=0.148.0 <0.
|
|
30
|
+
"three": ">=0.148.0 <0.174.0",
|
|
31
31
|
"three-stdlib": "^2.0.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependenciesMeta": {
|