angular-three-soba 3.7.0 → 4.0.0-next.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.d.ts +6 -6
- package/abstractions/lib/catmull-rom-line.d.ts +155 -545
- package/abstractions/lib/cubic-bezier-line.d.ts +7 -7
- package/abstractions/lib/edges.d.ts +153 -729
- package/abstractions/lib/gradient-texture.d.ts +8 -8
- package/abstractions/lib/grid.d.ts +24 -292
- package/abstractions/lib/helper.d.ts +5 -5
- package/abstractions/lib/line.d.ts +11 -12
- package/abstractions/lib/prism-geometry.d.ts +8 -8
- package/abstractions/lib/quadratic-bezier-line.d.ts +7 -7
- package/abstractions/lib/rounded-box.d.ts +8 -8
- package/abstractions/lib/text-3d.d.ts +8 -287
- package/abstractions/lib/text.d.ts +12 -13
- package/cameras/lib/camera-content.d.ts +2 -2
- package/cameras/lib/cube-camera.d.ts +12 -12
- package/cameras/lib/orthographic-camera.d.ts +10 -10
- package/cameras/lib/perspective-camera.d.ts +9 -9
- package/controls/lib/camera-controls.d.ts +1 -6
- package/controls/lib/orbit-controls.d.ts +6 -10
- package/controls/lib/scroll-controls.d.ts +8 -14
- package/fesm2022/angular-three-soba-abstractions.mjs +75 -52
- package/fesm2022/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2022/angular-three-soba-cameras.mjs +18 -20
- package/fesm2022/angular-three-soba-cameras.mjs.map +1 -1
- package/fesm2022/angular-three-soba-controls.mjs +65 -65
- package/fesm2022/angular-three-soba-controls.mjs.map +1 -1
- package/fesm2022/angular-three-soba-gizmos.mjs +185 -194
- package/fesm2022/angular-three-soba-gizmos.mjs.map +1 -1
- package/fesm2022/angular-three-soba-loaders.mjs +21 -16
- package/fesm2022/angular-three-soba-loaders.mjs.map +1 -1
- package/fesm2022/angular-three-soba-materials.mjs +90 -93
- package/fesm2022/angular-three-soba-materials.mjs.map +1 -1
- package/fesm2022/angular-three-soba-misc.mjs +282 -279
- package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
- package/fesm2022/angular-three-soba-performances.mjs +51 -56
- package/fesm2022/angular-three-soba-performances.mjs.map +1 -1
- package/fesm2022/angular-three-soba-shaders.mjs +5 -6
- package/fesm2022/angular-three-soba-shaders.mjs.map +1 -1
- package/fesm2022/angular-three-soba-staging.mjs +253 -277
- package/fesm2022/angular-three-soba-staging.mjs.map +1 -1
- package/fesm2022/angular-three-soba-stats.mjs +3 -4
- package/fesm2022/angular-three-soba-stats.mjs.map +1 -1
- package/gizmos/lib/gizmo-helper/gizmo-helper.d.ts +12 -15
- package/gizmos/lib/gizmo-helper/gizmo-viewcube.d.ts +5 -6
- package/gizmos/lib/gizmo-helper/gizmo-viewport.d.ts +8 -9
- package/gizmos/lib/pivot-controls/axis-arrow.d.ts +11 -13
- package/gizmos/lib/pivot-controls/axis-rotator.d.ts +11 -12
- package/gizmos/lib/pivot-controls/pivot-controls.d.ts +28 -29
- package/gizmos/lib/pivot-controls/plane-slider.d.ts +12 -13
- package/gizmos/lib/pivot-controls/scaling-sphere.d.ts +12 -14
- package/gizmos/lib/transform-controls.d.ts +15 -20
- package/loaders/lib/loader.d.ts +10 -11
- package/loaders/lib/texture-loader.d.ts +3 -3
- package/materials/lib/custom-shader-material.d.ts +2 -2
- package/materials/lib/mesh-distort-material.d.ts +3 -3
- package/materials/lib/mesh-portal-material.d.ts +19 -118
- package/materials/lib/mesh-reflector-material.d.ts +4 -5
- package/materials/lib/mesh-refraction-material.d.ts +13 -14
- package/materials/lib/mesh-transmission-material.d.ts +14 -14
- package/materials/lib/mesh-wobble-material.d.ts +4 -4
- package/materials/lib/point-material.d.ts +3 -3
- package/misc/lib/animations.d.ts +12 -12
- package/misc/lib/computed-attribute.d.ts +5 -48
- package/misc/lib/decal.d.ts +9 -9
- package/misc/lib/deprecated.d.ts +2 -2
- package/misc/lib/depth-buffer.d.ts +2 -2
- package/misc/lib/fbo.d.ts +9 -9
- package/misc/lib/html/html-content.d.ts +5 -7
- package/misc/lib/html/html.d.ts +15 -14
- package/misc/lib/html/utils.d.ts +9 -9
- package/misc/lib/intersect.d.ts +2 -2
- package/misc/lib/preload.d.ts +3 -6
- package/misc/lib/sampler.d.ts +22 -21
- package/misc/lib/scale-factor.d.ts +2 -2
- package/package.json +23 -23
- package/performances/lib/detailed.d.ts +5 -5
- package/performances/lib/instances/instances.d.ts +8 -96
- package/performances/lib/instances/position-mesh.d.ts +8 -8
- package/performances/lib/points/points.d.ts +9 -187
- package/performances/lib/points/position-point.d.ts +8 -8
- package/performances/lib/segments/segment-object.d.ts +6 -6
- package/performances/lib/segments/segments.d.ts +44 -45
- package/shaders/lib/grid-material.d.ts +16 -16
- package/shaders/lib/point-material.d.ts +5 -5
- package/staging/lib/accumulative-shadows.d.ts +21 -25
- package/staging/lib/backdrop.d.ts +8 -8
- package/staging/lib/bb-anchor.d.ts +5 -5
- package/staging/lib/bounds.d.ts +13 -17
- package/staging/lib/camera-shake.d.ts +0 -2
- package/staging/lib/caustics.d.ts +11 -11
- package/staging/lib/center.d.ts +10 -350
- package/staging/lib/contact-shadows.d.ts +17 -16
- package/staging/lib/environment/environment.d.ts +13 -15
- package/staging/lib/environment/inject-environment.d.ts +3 -3
- package/staging/lib/float.d.ts +5 -5
- package/staging/lib/lightformer.d.ts +11 -290
- package/staging/lib/mask.d.ts +8 -10
- package/staging/lib/matcap-texture.d.ts +5 -5
- package/staging/lib/normal-texture.d.ts +5 -5
- package/staging/lib/randomized-lights.d.ts +13 -13
- package/staging/lib/render-texture.d.ts +21 -17
- package/staging/lib/sky.d.ts +13 -13
- package/staging/lib/spot-light.d.ts +39 -39
- package/staging/lib/stage.d.ts +107 -277
- package/vanilla-exports/index.d.ts +6 -7
- package/metadata.json +0 -1
- package/web-types.json +0 -1
|
@@ -1,117 +1,22 @@
|
|
|
1
1
|
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NgtAttachable,
|
|
3
|
-
import {
|
|
2
|
+
import { NgtAttachable, NgtThreeElements } from 'angular-three';
|
|
3
|
+
import { NgtMeshPortalMaterial } from 'angular-three-soba/vanilla-exports';
|
|
4
|
+
import * as THREE from 'three';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* This directive is used inside of the render texture, hence has access to the render texture store (a portal store)
|
|
7
8
|
*/
|
|
8
9
|
export declare class ManagePortalScene {
|
|
9
10
|
events: import("@angular/core").InputSignal<boolean | undefined>;
|
|
10
|
-
rootScene: import("@angular/core").InputSignal<Scene>;
|
|
11
|
-
material: import("@angular/core").InputSignal<
|
|
12
|
-
fragmentShader: string;
|
|
13
|
-
vertexShader: string;
|
|
14
|
-
uniforms: {
|
|
15
|
-
[uniform: string]: import("three").IUniform;
|
|
16
|
-
};
|
|
17
|
-
defines: {
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
};
|
|
20
|
-
map?: (import("three").Texture | null) | undefined;
|
|
21
|
-
wireframe: boolean;
|
|
22
|
-
wireframeLinewidth: number;
|
|
23
|
-
fog: boolean;
|
|
24
|
-
setValues: (parameters: import("three").ShaderMaterialParameters) => void;
|
|
25
|
-
readonly isMaterial: true;
|
|
26
|
-
type: string;
|
|
27
|
-
alphaHash: boolean;
|
|
28
|
-
alphaToCoverage: boolean;
|
|
29
|
-
blendAlpha: number;
|
|
30
|
-
blendColor: import("three").Color;
|
|
31
|
-
blendDst: import("three").BlendingDstFactor;
|
|
32
|
-
blendDstAlpha: number | null;
|
|
33
|
-
blendEquation: import("three").BlendingEquation;
|
|
34
|
-
blendEquationAlpha: number | null;
|
|
35
|
-
blending: import("three").Blending;
|
|
36
|
-
blendSrc: import("three").BlendingSrcFactor | import("three").BlendingDstFactor;
|
|
37
|
-
blendSrcAlpha: number | null;
|
|
38
|
-
clipIntersection: boolean;
|
|
39
|
-
clippingPlanes: import("three").Plane[] | null;
|
|
40
|
-
clipShadows: boolean;
|
|
41
|
-
colorWrite: boolean;
|
|
42
|
-
depthFunc: import("three").DepthModes;
|
|
43
|
-
depthTest: boolean;
|
|
44
|
-
depthWrite: boolean;
|
|
45
|
-
id: number;
|
|
46
|
-
stencilWrite: boolean;
|
|
47
|
-
stencilFunc: import("three").StencilFunc;
|
|
48
|
-
stencilRef: number;
|
|
49
|
-
stencilWriteMask: number;
|
|
50
|
-
stencilFuncMask: number;
|
|
51
|
-
stencilFail: import("three").StencilOp;
|
|
52
|
-
stencilZFail: import("three").StencilOp;
|
|
53
|
-
stencilZPass: import("three").StencilOp;
|
|
54
|
-
name: string;
|
|
55
|
-
opacity: number;
|
|
56
|
-
polygonOffset: boolean;
|
|
57
|
-
polygonOffsetFactor: number;
|
|
58
|
-
polygonOffsetUnits: number;
|
|
59
|
-
precision: "highp" | "mediump" | "lowp" | null;
|
|
60
|
-
premultipliedAlpha: boolean;
|
|
61
|
-
forceSinglePass: boolean;
|
|
62
|
-
dithering: boolean;
|
|
63
|
-
side: import("three").Side;
|
|
64
|
-
shadowSide: import("three").Side | null;
|
|
65
|
-
toneMapped: boolean;
|
|
66
|
-
transparent: boolean;
|
|
67
|
-
uuid: string;
|
|
68
|
-
vertexColors: boolean;
|
|
69
|
-
visible: boolean;
|
|
70
|
-
userData: Record<string, any>;
|
|
71
|
-
version: number;
|
|
72
|
-
alphaTest: number;
|
|
73
|
-
onBeforeRender: (renderer: import("three").WebGLRenderer, scene: Scene, camera: import("three").Camera, geometry: import("three").BufferGeometry, object: import("three").Object3D, group: import("three").Group) => void;
|
|
74
|
-
onBeforeCompile: (parameters: import("three").WebGLProgramParametersWithUniforms, renderer: import("three").WebGLRenderer) => void;
|
|
75
|
-
customProgramCacheKey: () => string;
|
|
76
|
-
toJSON: (meta?: import("three").JSONMeta) => import("three").ShaderMaterialJSON;
|
|
77
|
-
clone: () => ShaderMaterial & import("@pmndrs/vanilla").PortalMaterialType;
|
|
78
|
-
copy: (material: import("three").Material) => ShaderMaterial & import("@pmndrs/vanilla").PortalMaterialType;
|
|
79
|
-
dispose: () => void;
|
|
80
|
-
needsUpdate: boolean;
|
|
81
|
-
onBuild: (object: import("three").Object3D, parameters: import("three").WebGLProgramParametersWithUniforms, renderer: import("three").WebGLRenderer) => void;
|
|
82
|
-
hasEventListener: <T extends "dispose">(type: T, listener: import("three").EventListener<{
|
|
83
|
-
dispose: {};
|
|
84
|
-
}[T], T, ShaderMaterial & import("@pmndrs/vanilla").PortalMaterialType>) => boolean;
|
|
85
|
-
dispatchEvent: <T extends "dispose">(event: import("three").BaseEvent<T> & {
|
|
86
|
-
dispose: {};
|
|
87
|
-
}[T]) => void;
|
|
88
|
-
resolution: import("three").Vector2;
|
|
89
|
-
blur: number;
|
|
90
|
-
size?: number | undefined;
|
|
91
|
-
sdf?: (import("three").Texture | null) | undefined;
|
|
92
|
-
readonly isShaderMaterial: true;
|
|
93
|
-
uniformsGroups: import("three").UniformsGroup[];
|
|
94
|
-
linewidth: number;
|
|
95
|
-
lights: boolean;
|
|
96
|
-
clipping: boolean;
|
|
97
|
-
extensions: {
|
|
98
|
-
clipCullDistance: boolean;
|
|
99
|
-
multiDraw: boolean;
|
|
100
|
-
};
|
|
101
|
-
defaultAttributeValues: any;
|
|
102
|
-
index0AttributeName: string | undefined;
|
|
103
|
-
uniformsNeedUpdate: boolean;
|
|
104
|
-
glslVersion: import("three").GLSLVersion | null;
|
|
105
|
-
}>, import("angular-three").NgtNodeElement<ShaderMaterial & import("@pmndrs/vanilla").PortalMaterialType, (new (parameters?: (import("three").ShaderMaterialParameters & Partial<import("@pmndrs/vanilla").PortalMaterialType>) | undefined) => ShaderMaterial & import("@pmndrs/vanilla").PortalMaterialType) & {
|
|
106
|
-
key: string;
|
|
107
|
-
}>>>>;
|
|
11
|
+
rootScene: import("@angular/core").InputSignal<THREE.Scene>;
|
|
12
|
+
material: import("@angular/core").InputSignal<NgtMeshPortalMaterial>;
|
|
108
13
|
priority: import("@angular/core").InputSignal<number>;
|
|
109
14
|
worldUnits: import("@angular/core").InputSignal<boolean>;
|
|
110
15
|
constructor();
|
|
111
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ManagePortalScene, never>;
|
|
112
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ManagePortalScene, "ngts-manage-portal-scene", never, { "events": { "alias": "events"; "required": false; "isSignal": true; }; "rootScene": { "alias": "rootScene"; "required": true; "isSignal": true; }; "material": { "alias": "material"; "required": true; "isSignal": true; }; "priority": { "alias": "priority"; "required": true; "isSignal": true; }; "worldUnits": { "alias": "worldUnits"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
113
18
|
}
|
|
114
|
-
export interface NgtsMeshPortalMaterialOptions extends Partial<
|
|
19
|
+
export interface NgtsMeshPortalMaterialOptions extends Partial<NgtThreeElements['ngt-shader-material']> {
|
|
115
20
|
/** Mix the portals own scene with the world scene, 0 = world scene render,
|
|
116
21
|
* 0.5 = both scenes render, 1 = portal scene renders, defaults to 0. */
|
|
117
22
|
blend: number;
|
|
@@ -131,27 +36,23 @@ export interface NgtsMeshPortalMaterialOptions extends Partial<NgtShaderMaterial
|
|
|
131
36
|
export declare class NgtsMeshPortalMaterial {
|
|
132
37
|
attach: import("@angular/core").InputSignal<NgtAttachable>;
|
|
133
38
|
options: import("@angular/core").InputSignalWithTransform<NgtsMeshPortalMaterialOptions, "" | Partial<NgtsMeshPortalMaterialOptions>>;
|
|
134
|
-
parameters: import("@angular/core").Signal<Omit<NgtsMeshPortalMaterialOptions, "resolution" | "blur" | "events" | "worldUnits" | "eventPriority" | "renderPriority">>;
|
|
135
|
-
blur: import("@angular/core").Signal<number>;
|
|
136
|
-
eventPriority: import("@angular/core").Signal<number>;
|
|
137
|
-
renderPriority: import("@angular/core").Signal<number>;
|
|
138
|
-
events: import("@angular/core").Signal<boolean>;
|
|
139
|
-
worldUnits: import("@angular/core").Signal<boolean>;
|
|
140
|
-
materialRef: import("@angular/core").Signal<ElementRef<ShaderMaterial & import("@pmndrs/vanilla").PortalMaterialType>>;
|
|
141
|
-
content: import("@angular/core").Signal<TemplateRef<any>>;
|
|
39
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsMeshPortalMaterialOptions, "resolution" | "blur" | "events" | "worldUnits" | "eventPriority" | "renderPriority">>;
|
|
40
|
+
protected blur: import("@angular/core").Signal<number>;
|
|
41
|
+
protected eventPriority: import("@angular/core").Signal<number>;
|
|
42
|
+
protected renderPriority: import("@angular/core").Signal<number>;
|
|
43
|
+
protected events: import("@angular/core").Signal<boolean>;
|
|
44
|
+
protected worldUnits: import("@angular/core").Signal<boolean>;
|
|
45
|
+
materialRef: import("@angular/core").Signal<ElementRef<THREE.ShaderMaterial & import("@pmndrs/vanilla").PortalMaterialType>>;
|
|
46
|
+
protected content: import("@angular/core").Signal<TemplateRef<any>>;
|
|
142
47
|
private store;
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
private gl;
|
|
146
|
-
private setEvents;
|
|
147
|
-
rootScene: import("@angular/core").Signal<Scene>;
|
|
148
|
-
materialResolution: import("@angular/core").Signal<number[]>;
|
|
48
|
+
protected rootScene: import("angular-three").DeepSignal<THREE.Scene>;
|
|
49
|
+
protected materialResolution: import("@angular/core").Signal<number[]>;
|
|
149
50
|
private resolution;
|
|
150
51
|
private parent;
|
|
151
52
|
private visible;
|
|
152
|
-
renderTextureFrames: import("@angular/core").Signal<number>;
|
|
153
|
-
renderTextureCompute:
|
|
154
|
-
priority: import("@angular/core").WritableSignal<number>;
|
|
53
|
+
protected renderTextureFrames: import("@angular/core").Signal<number>;
|
|
54
|
+
protected renderTextureCompute: (event: import("angular-three").NgtDomEvent, root: import("angular-three").SignalState<import("angular-three").NgtState>, previous: import("angular-three").SignalState<import("angular-three").NgtState> | null) => false | undefined;
|
|
55
|
+
protected priority: import("@angular/core").WritableSignal<number>;
|
|
155
56
|
constructor();
|
|
156
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsMeshPortalMaterial, never>;
|
|
157
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsMeshPortalMaterial, "ngts-mesh-portal-material", never, { "attach": { "alias": "attach"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, ["content"], never, true, never>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { NgtAttachable,
|
|
2
|
+
import { NgtAttachable, NgtThreeElements } from 'angular-three';
|
|
3
3
|
import { MeshReflectorMaterial } from 'angular-three-soba/vanilla-exports';
|
|
4
|
-
import
|
|
4
|
+
import * as THREE from 'three';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export interface NgtsMeshReflectorMaterialOptions extends Partial<
|
|
6
|
+
export interface NgtsMeshReflectorMaterialOptions extends Partial<NgtThreeElements['ngt-mesh-standard-material']> {
|
|
7
7
|
resolution: number;
|
|
8
8
|
mixBlur: number;
|
|
9
9
|
mixStrength: number;
|
|
@@ -16,14 +16,13 @@ export interface NgtsMeshReflectorMaterialOptions extends Partial<NgtMeshStandar
|
|
|
16
16
|
distortion: number;
|
|
17
17
|
mixContrast: number;
|
|
18
18
|
reflectorOffset: number;
|
|
19
|
-
distortionMap?: Texture;
|
|
19
|
+
distortionMap?: THREE.Texture;
|
|
20
20
|
}
|
|
21
21
|
export declare class NgtsMeshReflectorMaterial {
|
|
22
22
|
attach: import("@angular/core").InputSignal<NgtAttachable>;
|
|
23
23
|
options: import("@angular/core").InputSignalWithTransform<NgtsMeshReflectorMaterialOptions, "" | Partial<NgtsMeshReflectorMaterialOptions>>;
|
|
24
24
|
private parameters;
|
|
25
25
|
private store;
|
|
26
|
-
private gl;
|
|
27
26
|
materialRef: import("@angular/core").Signal<ElementRef<MeshReflectorMaterial> | undefined>;
|
|
28
27
|
private reflectOptions;
|
|
29
28
|
private blur;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { NgtAttachable,
|
|
3
|
-
import
|
|
2
|
+
import { NgtAttachable, NgtThreeElements } from 'angular-three';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export interface NgtsMeshRefractionMaterialOptions extends Partial<
|
|
5
|
+
export interface NgtsMeshRefractionMaterialOptions extends Partial<NgtThreeElements['ngt-shader-material']> {
|
|
6
6
|
/** Number of ray-cast bounces, it can be expensive to have too many, 2 */
|
|
7
7
|
bounces: number;
|
|
8
8
|
/** Refraction index, 2.4 */
|
|
@@ -12,29 +12,28 @@ export interface NgtsMeshRefractionMaterialOptions extends Partial<NgtShaderMate
|
|
|
12
12
|
/** RGB shift intensity, can be expensive, 0 */
|
|
13
13
|
aberrationStrength: number;
|
|
14
14
|
/** Color, white */
|
|
15
|
-
color: ColorRepresentation;
|
|
15
|
+
color: THREE.ColorRepresentation;
|
|
16
16
|
/** If this is on it uses fewer ray casts for the RGB shift sacrificing physical accuracy, true */
|
|
17
17
|
fastChroma: boolean;
|
|
18
18
|
}
|
|
19
19
|
export declare class NgtsMeshRefractionMaterial {
|
|
20
|
-
envMap: import("@angular/core").InputSignal<Texture | CubeTexture>;
|
|
20
|
+
envMap: import("@angular/core").InputSignal<THREE.Texture | THREE.CubeTexture>;
|
|
21
21
|
attach: import("@angular/core").InputSignal<NgtAttachable>;
|
|
22
22
|
options: import("@angular/core").InputSignalWithTransform<NgtsMeshRefractionMaterialOptions, "" | Partial<NgtsMeshRefractionMaterialOptions>>;
|
|
23
|
-
parameters: import("@angular/core").Signal<Omit<NgtsMeshRefractionMaterialOptions, "aberrationStrength" | "fastChroma">>;
|
|
23
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsMeshRefractionMaterialOptions, "aberrationStrength" | "fastChroma">>;
|
|
24
24
|
private fastChroma;
|
|
25
|
-
aberrationStrength: import("@angular/core").Signal<number>;
|
|
26
|
-
materialRef: import("@angular/core").Signal<ElementRef<
|
|
27
|
-
[name: string]: number | boolean | any[] |
|
|
25
|
+
protected aberrationStrength: import("@angular/core").Signal<number>;
|
|
26
|
+
materialRef: import("@angular/core").Signal<ElementRef<THREE.ShaderMaterial & {
|
|
27
|
+
[name: string]: number | boolean | any[] | THREE.Color | THREE.Matrix3 | THREE.Matrix4 | THREE.Quaternion | THREE.Vector2 | THREE.Vector3 | THREE.Vector4 | THREE.Texture | THREE.CubeTexture | Int32Array | Float32Array | null;
|
|
28
28
|
}> | undefined>;
|
|
29
29
|
private store;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
defines: import("@angular/core").Signal<{
|
|
30
|
+
protected resolution: import("@angular/core").Signal<number[]>;
|
|
31
|
+
protected defines: import("@angular/core").Signal<{
|
|
33
32
|
[key: string]: string;
|
|
34
33
|
}>;
|
|
35
34
|
private defineKeys;
|
|
36
|
-
material: import("@angular/core").Signal<
|
|
37
|
-
[name: string]: number | boolean | any[] |
|
|
35
|
+
protected material: import("@angular/core").Signal<THREE.ShaderMaterial & {
|
|
36
|
+
[name: string]: number | boolean | any[] | THREE.Color | THREE.Matrix3 | THREE.Matrix4 | THREE.Quaternion | THREE.Vector2 | THREE.Vector3 | THREE.Vector4 | THREE.Texture | THREE.CubeTexture | Int32Array | Float32Array | null;
|
|
38
37
|
}>;
|
|
39
38
|
constructor();
|
|
40
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsMeshRefractionMaterial, never>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { NgtAttachable,
|
|
2
|
+
import { NgtAttachable, NgtThreeElements } from 'angular-three';
|
|
3
3
|
import { MeshTransmissionMaterial } from 'angular-three-soba/vanilla-exports';
|
|
4
|
-
import
|
|
4
|
+
import * as THREE from 'three';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export type MeshTransmissionMaterialOptions = ConstructorParameters<typeof MeshTransmissionMaterial>[0];
|
|
7
|
-
export type NgtsMeshTransmissionMaterialOptions = Partial<
|
|
7
|
+
export type NgtsMeshTransmissionMaterialOptions = Partial<NgtThreeElements['ngt-mesh-physical-material']> & Omit<MeshTransmissionMaterialOptions, 'buffer' | 'anisotropicBlur' | 'samples' | 'transmissionSampler'> & {
|
|
8
8
|
anisotropicBlur?: number;
|
|
9
|
-
buffer?: Texture;
|
|
9
|
+
buffer?: THREE.Texture;
|
|
10
10
|
/** transmissionSampler, you can use the threejs transmission sampler texture that is
|
|
11
11
|
* generated once for all transmissive materials. The upside is that it can be faster if you
|
|
12
12
|
* use multiple MeshPhysical and Transmission materials, the downside is that transmissive materials
|
|
@@ -24,12 +24,12 @@ export type NgtsMeshTransmissionMaterialOptions = Partial<NgtMeshPhysicalMateria
|
|
|
24
24
|
/** Refraction samples, default: 6 */
|
|
25
25
|
samples: number;
|
|
26
26
|
/** Buffer scene background (can be a texture, a cubetexture or a color), default: null */
|
|
27
|
-
background?: Texture | Color;
|
|
27
|
+
background?: THREE.Texture | THREE.Color;
|
|
28
28
|
};
|
|
29
29
|
export declare class NgtsMeshTransmissionMaterial {
|
|
30
30
|
attach: import("@angular/core").InputSignal<NgtAttachable>;
|
|
31
31
|
options: import("@angular/core").InputSignalWithTransform<NgtsMeshTransmissionMaterialOptions, "" | Partial<NgtsMeshTransmissionMaterialOptions>>;
|
|
32
|
-
parameters: import("@angular/core").Signal<Omit<NgtsMeshTransmissionMaterialOptions, "thickness" | "anisotropy" | "transmission" | "side" | "resolution" | "buffer" | "anisotropicBlur" | "samples" | "transmissionSampler" | "backside" | "backsideThickness" | "backsideEnvMapIntensity" | "backsideResolution"
|
|
32
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsMeshTransmissionMaterialOptions, "thickness" | "anisotropy" | "transmission" | "side" | "resolution" | "background" | "buffer" | "anisotropicBlur" | "samples" | "transmissionSampler" | "backside" | "backsideThickness" | "backsideEnvMapIntensity" | "backsideResolution">>;
|
|
33
33
|
private resolution;
|
|
34
34
|
private backsideResolution;
|
|
35
35
|
private samples;
|
|
@@ -40,10 +40,10 @@ export declare class NgtsMeshTransmissionMaterial {
|
|
|
40
40
|
private backside;
|
|
41
41
|
private backsideThickness;
|
|
42
42
|
private backsideEnvMapIntensity;
|
|
43
|
-
transmissionSampler: import("@angular/core").Signal<boolean>;
|
|
44
|
-
transmission: import("@angular/core").Signal<number | undefined
|
|
45
|
-
thickness: import("@angular/core").Signal<number | undefined
|
|
46
|
-
side: import("@angular/core").Signal<
|
|
43
|
+
protected transmissionSampler: import("@angular/core").Signal<boolean>;
|
|
44
|
+
protected transmission: import("@angular/core").Signal<Readonly<number | undefined>>;
|
|
45
|
+
protected thickness: import("@angular/core").Signal<Readonly<number | undefined>>;
|
|
46
|
+
protected side: import("@angular/core").Signal<0 | 1 | 2 | undefined>;
|
|
47
47
|
materialRef: import("@angular/core").Signal<ElementRef<MeshTransmissionMaterial & {
|
|
48
48
|
samples?: number | undefined;
|
|
49
49
|
transmissionSampler?: boolean | undefined;
|
|
@@ -55,7 +55,7 @@ export declare class NgtsMeshTransmissionMaterial {
|
|
|
55
55
|
thickness?: number | undefined;
|
|
56
56
|
thicknessMap?: null | undefined;
|
|
57
57
|
attenuationDistance?: number | undefined;
|
|
58
|
-
attenuationColor?: Color | undefined;
|
|
58
|
+
attenuationColor?: THREE.Color | undefined;
|
|
59
59
|
anisotropicBlur?: number | undefined;
|
|
60
60
|
time?: number | undefined;
|
|
61
61
|
distortion?: number | undefined;
|
|
@@ -66,10 +66,10 @@ export declare class NgtsMeshTransmissionMaterial {
|
|
|
66
66
|
private backResolution;
|
|
67
67
|
private fboBack;
|
|
68
68
|
private fboMain;
|
|
69
|
-
bufferTexture: import("@angular/core").Signal<Texture>;
|
|
70
|
-
anisotropicBlurOption: import("@angular/core").Signal<number | undefined
|
|
69
|
+
protected bufferTexture: import("@angular/core").Signal<THREE.Texture>;
|
|
70
|
+
protected anisotropicBlurOption: import("@angular/core").Signal<Readonly<number | undefined>>;
|
|
71
71
|
private discardMaterial;
|
|
72
|
-
material: import("@angular/core").Signal<MeshTransmissionMaterial>;
|
|
72
|
+
protected material: import("@angular/core").Signal<MeshTransmissionMaterial>;
|
|
73
73
|
constructor();
|
|
74
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsMeshTransmissionMaterial, never>;
|
|
75
75
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsMeshTransmissionMaterial, "ngts-mesh-transmission-material", never, { "attach": { "alias": "attach"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { NgtAttachable,
|
|
1
|
+
import { NgtAttachable, NgtThreeElements } from 'angular-three';
|
|
2
2
|
import { MeshWobbleMaterial, MeshWobbleMaterialParameters } from 'angular-three-soba/vanilla-exports';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export interface NgtsMeshWobbleMaterialOptions extends MeshWobbleMaterialParameters, Partial<
|
|
4
|
+
export interface NgtsMeshWobbleMaterialOptions extends MeshWobbleMaterialParameters, Partial<NgtThreeElements['ngt-mesh-standard-material']> {
|
|
5
5
|
speed: number;
|
|
6
6
|
}
|
|
7
7
|
export declare class NgtsMeshWobbleMaterial {
|
|
8
8
|
attach: import("@angular/core").InputSignal<NgtAttachable>;
|
|
9
9
|
options: import("@angular/core").InputSignalWithTransform<NgtsMeshWobbleMaterialOptions, "" | Partial<NgtsMeshWobbleMaterialOptions>>;
|
|
10
|
-
parameters: import("@angular/core").Signal<Omit<NgtsMeshWobbleMaterialOptions, "speed">>;
|
|
11
|
-
material: MeshWobbleMaterial;
|
|
10
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsMeshWobbleMaterialOptions, "speed">>;
|
|
11
|
+
protected material: MeshWobbleMaterial;
|
|
12
12
|
constructor();
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsMeshWobbleMaterial, never>;
|
|
14
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsMeshWobbleMaterial, "ngts-mesh-wobble-material", never, { "attach": { "alias": "attach"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NgtAttachable } from 'angular-three';
|
|
2
2
|
import { PointMaterial } from 'angular-three-soba/shaders';
|
|
3
|
-
import
|
|
3
|
+
import * as THREE from 'three';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class NgtsPointMaterial {
|
|
6
6
|
attach: import("@angular/core").InputSignal<NgtAttachable>;
|
|
7
|
-
options: import("@angular/core").InputSignal<PointsMaterialParameters>;
|
|
8
|
-
material: PointMaterial;
|
|
7
|
+
options: import("@angular/core").InputSignal<THREE.PointsMaterialParameters>;
|
|
8
|
+
protected material: PointMaterial;
|
|
9
9
|
constructor();
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsPointMaterial, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsPointMaterial, "ngts-point-material", never, { "attach": { "alias": "attach"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
package/misc/lib/animations.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ElementRef, Injector
|
|
2
|
-
import
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
3
|
/**
|
|
4
4
|
* name: any to allow consumers to pass in type-safe animation clips
|
|
5
5
|
*/
|
|
6
|
-
type NgtsAnimationClipWithoutName = Omit<AnimationClip, 'name'> & {
|
|
6
|
+
type NgtsAnimationClipWithoutName = Omit<THREE.AnimationClip, 'name'> & {
|
|
7
7
|
name: any;
|
|
8
8
|
};
|
|
9
9
|
export type NgtsAnimationClip = Omit<NgtsAnimationClipWithoutName, 'clone'> & {
|
|
@@ -15,21 +15,21 @@ export type NgtsAnimationClips<TAnimationNames extends string> = {
|
|
|
15
15
|
};
|
|
16
16
|
}[TAnimationNames];
|
|
17
17
|
export type NgtsAnimationApi<T extends NgtsAnimationClip> = {
|
|
18
|
-
/**
|
|
19
|
-
* Whether or not the animations finishes initialized
|
|
20
|
-
*
|
|
21
|
-
* @deprecated 3.5.0 - use `isReady` getter for better type-narrow instead. Will be removed in 4.0.0
|
|
22
|
-
*/
|
|
23
|
-
ready: Signal<boolean>;
|
|
24
18
|
clips: T[];
|
|
25
|
-
mixer: AnimationMixer;
|
|
19
|
+
mixer: THREE.AnimationMixer;
|
|
26
20
|
names: T['name'][];
|
|
27
21
|
} & ({
|
|
22
|
+
/**
|
|
23
|
+
* Whether or not the animations finishes initialized
|
|
24
|
+
*/
|
|
28
25
|
get isReady(): true;
|
|
29
26
|
actions: {
|
|
30
|
-
[key in T['name']]: AnimationAction;
|
|
27
|
+
[key in T['name']]: THREE.AnimationAction;
|
|
31
28
|
};
|
|
32
29
|
} | {
|
|
30
|
+
/**
|
|
31
|
+
* Whether or not the animations finishes initialized
|
|
32
|
+
*/
|
|
33
33
|
get isReady(): false;
|
|
34
34
|
});
|
|
35
35
|
export type NgtsAnimation<TAnimation extends NgtsAnimationClip = NgtsAnimationClip> = TAnimation[] | {
|
|
@@ -38,7 +38,7 @@ export type NgtsAnimation<TAnimation extends NgtsAnimationClip = NgtsAnimationCl
|
|
|
38
38
|
/**
|
|
39
39
|
* Use afterNextRender
|
|
40
40
|
*/
|
|
41
|
-
export declare function injectAnimations<TAnimation extends NgtsAnimationClip>(animations: () => NgtsAnimation<TAnimation> | undefined | null, object: ElementRef<Object3D> | Object3D | (() => ElementRef<Object3D> | Object3D | undefined | null), { injector }?: {
|
|
41
|
+
export declare function injectAnimations<TAnimation extends NgtsAnimationClip>(animations: () => NgtsAnimation<TAnimation> | undefined | null, object: ElementRef<THREE.Object3D> | THREE.Object3D | (() => ElementRef<THREE.Object3D> | THREE.Object3D | undefined | null), { injector }?: {
|
|
42
42
|
injector?: Injector;
|
|
43
43
|
}): NgtsAnimationApi<TAnimation>;
|
|
44
44
|
export {};
|
|
@@ -1,55 +1,12 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import
|
|
2
|
+
import * as THREE from 'three';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class NgtsComputedAttribute {
|
|
5
|
-
compute: import("@angular/core").InputSignal<(geometry: BufferGeometry) => BufferAttribute>;
|
|
5
|
+
compute: import("@angular/core").InputSignal<(geometry: THREE.BufferGeometry) => THREE.BufferAttribute>;
|
|
6
6
|
name: import("@angular/core").InputSignal<string>;
|
|
7
|
-
options: import("@angular/core").InputSignal<Partial<import("angular-three").
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
toJSON: () => import("three").BufferAttributeJSON;
|
|
11
|
-
array: import("three").TypedArray;
|
|
12
|
-
itemSize: number;
|
|
13
|
-
usage: import("three").Usage;
|
|
14
|
-
gpuType: import("three").AttributeGPUType;
|
|
15
|
-
updateRanges: Array<{
|
|
16
|
-
start: number;
|
|
17
|
-
count: number;
|
|
18
|
-
}>;
|
|
19
|
-
version: number;
|
|
20
|
-
normalized: boolean;
|
|
21
|
-
readonly count: number;
|
|
22
|
-
needsUpdate: boolean;
|
|
23
|
-
readonly isBufferAttribute: true;
|
|
24
|
-
onUploadCallback: () => void;
|
|
25
|
-
onUpload: (callback: () => void) => BufferAttribute;
|
|
26
|
-
setUsage: (usage: import("three").Usage) => BufferAttribute;
|
|
27
|
-
addUpdateRange: (start: number, count: number) => void;
|
|
28
|
-
clearUpdateRanges: () => void;
|
|
29
|
-
copy: (source: BufferAttribute) => BufferAttribute;
|
|
30
|
-
copyAt: (index1: number, attribute: BufferAttribute, index2: number) => BufferAttribute;
|
|
31
|
-
copyArray: (array: ArrayLike<number>) => BufferAttribute;
|
|
32
|
-
applyMatrix3: (m: import("three").Matrix3) => BufferAttribute;
|
|
33
|
-
applyMatrix4: (m: import("three").Matrix4) => BufferAttribute;
|
|
34
|
-
applyNormalMatrix: (m: import("three").Matrix3) => BufferAttribute;
|
|
35
|
-
transformDirection: (m: import("three").Matrix4) => BufferAttribute;
|
|
36
|
-
set: (value: ArrayLike<number> | ArrayBufferView, offset?: number) => BufferAttribute;
|
|
37
|
-
getComponent: (index: number, component: number) => number;
|
|
38
|
-
setComponent: (index: number, component: number, value: number) => void;
|
|
39
|
-
getX: (index: number) => number;
|
|
40
|
-
setX: (index: number, x: number) => BufferAttribute;
|
|
41
|
-
getY: (index: number) => number;
|
|
42
|
-
setY: (index: number, y: number) => BufferAttribute;
|
|
43
|
-
getZ: (index: number) => number;
|
|
44
|
-
setZ: (index: number, z: number) => BufferAttribute;
|
|
45
|
-
getW: (index: number) => number;
|
|
46
|
-
setW: (index: number, z: number) => BufferAttribute;
|
|
47
|
-
setXY: (index: number, x: number, y: number) => BufferAttribute;
|
|
48
|
-
setXYZ: (index: number, x: number, y: number, z: number) => BufferAttribute;
|
|
49
|
-
setXYZW: (index: number, x: number, y: number, z: number, w: number) => BufferAttribute;
|
|
50
|
-
}>, import("angular-three").NgtNodeElement<BufferAttribute, typeof BufferAttribute>>>>>;
|
|
51
|
-
bufferAttribute: BufferAttribute;
|
|
52
|
-
attributeRef: import("@angular/core").Signal<ElementRef<BufferAttribute> | undefined>;
|
|
7
|
+
options: import("@angular/core").InputSignal<Partial<import("angular-three").NgtThreeElement<typeof THREE.BufferGeometry>>>;
|
|
8
|
+
protected bufferAttribute: THREE.BufferAttribute;
|
|
9
|
+
attributeRef: import("@angular/core").Signal<ElementRef<THREE.BufferAttribute> | undefined>;
|
|
53
10
|
constructor();
|
|
54
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsComputedAttribute, never>;
|
|
55
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsComputedAttribute, "ngts-computed-attribute", never, { "compute": { "alias": "compute"; "required": true; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
package/misc/lib/decal.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
2
|
+
import { NgtThreeElements } from 'angular-three';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export interface NgtsDecalOptions extends Partial<
|
|
5
|
+
export interface NgtsDecalOptions extends Partial<NgtThreeElements['ngt-mesh']> {
|
|
6
6
|
polygonOffsetFactor: number;
|
|
7
7
|
depthTest: boolean;
|
|
8
8
|
debug: boolean;
|
|
9
|
-
map?: Texture | null;
|
|
9
|
+
map?: THREE.Texture | null;
|
|
10
10
|
}
|
|
11
11
|
export declare class NgtsDecal {
|
|
12
|
-
mesh: import("@angular/core").InputSignal<Mesh<
|
|
12
|
+
mesh: import("@angular/core").InputSignal<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap> | ElementRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> | null | undefined>;
|
|
13
13
|
options: import("@angular/core").InputSignalWithTransform<NgtsDecalOptions, "" | Partial<NgtsDecalOptions>>;
|
|
14
|
-
parameters: import("@angular/core").Signal<Omit<NgtsDecalOptions, "
|
|
15
|
-
meshRef: import("@angular/core").Signal<ElementRef<Mesh<
|
|
16
|
-
helperRef
|
|
17
|
-
protected map: import("@angular/core").Signal<Texture | null | undefined>;
|
|
14
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsDecalOptions, "debug" | "scale" | "map" | "position" | "rotation" | "depthTest" | "polygonOffsetFactor">>;
|
|
15
|
+
meshRef: import("@angular/core").Signal<ElementRef<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>>;
|
|
16
|
+
private helperRef;
|
|
17
|
+
protected map: import("@angular/core").Signal<THREE.Texture | null | undefined>;
|
|
18
18
|
protected depthTest: import("@angular/core").Signal<boolean>;
|
|
19
19
|
protected polygonOffsetFactor: import("@angular/core").Signal<number>;
|
|
20
20
|
protected debug: import("@angular/core").Signal<boolean>;
|
package/misc/lib/deprecated.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type * as THREE from 'three';
|
|
2
2
|
/**
|
|
3
3
|
* NOTE: Sets `BufferAttribute.updateRange` since r159.
|
|
4
4
|
*/
|
|
5
|
-
export declare const setUpdateRange: (attribute: BufferAttribute, updateRange: {
|
|
5
|
+
export declare const setUpdateRange: (attribute: THREE.BufferAttribute, updateRange: {
|
|
6
6
|
offset: number;
|
|
7
7
|
count: number;
|
|
8
8
|
}) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
-
import
|
|
2
|
+
import * as THREE from 'three';
|
|
3
3
|
export declare function injectDepthBuffer(params?: () => {
|
|
4
4
|
size?: number;
|
|
5
5
|
frames?: number;
|
|
6
6
|
}, { injector }?: {
|
|
7
7
|
injector?: Injector;
|
|
8
|
-
}): import("@angular/core").Signal<DepthTexture | null>;
|
|
8
|
+
}): import("@angular/core").Signal<THREE.DepthTexture | null>;
|
package/misc/lib/fbo.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
-
import
|
|
2
|
+
import * as THREE from 'three';
|
|
3
3
|
import { TextureEncoding } from './deprecated';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
interface FBOSettings {
|
|
@@ -7,19 +7,19 @@ interface FBOSettings {
|
|
|
7
7
|
samples?: number;
|
|
8
8
|
/** If set, the scene depth will be rendered into buffer.depthTexture. Default: false */
|
|
9
9
|
depth?: boolean;
|
|
10
|
-
wrapS?: Wrapping | undefined;
|
|
11
|
-
wrapT?: Wrapping | undefined;
|
|
12
|
-
magFilter?: MagnificationTextureFilter | undefined;
|
|
13
|
-
minFilter?: MinificationTextureFilter | undefined;
|
|
10
|
+
wrapS?: THREE.Wrapping | undefined;
|
|
11
|
+
wrapT?: THREE.Wrapping | undefined;
|
|
12
|
+
magFilter?: THREE.MagnificationTextureFilter | undefined;
|
|
13
|
+
minFilter?: THREE.MinificationTextureFilter | undefined;
|
|
14
14
|
format?: number | undefined;
|
|
15
|
-
type?: TextureDataType | undefined;
|
|
15
|
+
type?: THREE.TextureDataType | undefined;
|
|
16
16
|
anisotropy?: number | undefined;
|
|
17
17
|
depthBuffer?: boolean | undefined;
|
|
18
18
|
stencilBuffer?: boolean | undefined;
|
|
19
19
|
generateMipmaps?: boolean | undefined;
|
|
20
|
-
depthTexture?: DepthTexture | undefined;
|
|
20
|
+
depthTexture?: THREE.DepthTexture | undefined;
|
|
21
21
|
encoding?: TextureEncoding | undefined;
|
|
22
|
-
colorSpace?: ColorSpace | undefined;
|
|
22
|
+
colorSpace?: THREE.ColorSpace | undefined;
|
|
23
23
|
}
|
|
24
24
|
export interface NgtsFBOParams {
|
|
25
25
|
width?: number | FBOSettings;
|
|
@@ -28,7 +28,7 @@ export interface NgtsFBOParams {
|
|
|
28
28
|
}
|
|
29
29
|
export declare function injectFBO(params?: () => NgtsFBOParams, { injector }?: {
|
|
30
30
|
injector?: Injector;
|
|
31
|
-
}): import("@angular/core").Signal<WebGLRenderTarget<
|
|
31
|
+
}): import("@angular/core").Signal<THREE.WebGLRenderTarget<THREE.Texture>>;
|
|
32
32
|
export declare class NgtsFBO {
|
|
33
33
|
fbo: import("@angular/core").InputSignal<{
|
|
34
34
|
width: NgtsFBOParams["width"];
|
|
@@ -21,15 +21,13 @@ export interface NgtsHTMLContentOptions {
|
|
|
21
21
|
export declare class NgtsHTMLContent extends NgtHTML {
|
|
22
22
|
options: import("@angular/core").InputSignalWithTransform<NgtsHTMLContentOptions, "" | Partial<NgtsHTMLContentOptions>>;
|
|
23
23
|
occluded: import("@angular/core").OutputEmitterRef<boolean>;
|
|
24
|
-
html: NgtsHTML;
|
|
25
24
|
transformOuterRef: import("@angular/core").Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
26
25
|
transformInnerRef: import("@angular/core").Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
27
26
|
containerRef: import("@angular/core").Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
28
|
-
|
|
29
|
-
private
|
|
30
|
-
private
|
|
31
|
-
|
|
32
|
-
protected size: import("@angular/core").Signal<import("angular-three").NgtSize>;
|
|
27
|
+
protected html: NgtsHTML;
|
|
28
|
+
private host;
|
|
29
|
+
private store;
|
|
30
|
+
protected size: import("angular-three").DeepSignal<import("angular-three").NgtSize>;
|
|
33
31
|
private parent;
|
|
34
32
|
private zIndexRange;
|
|
35
33
|
private calculatePosition;
|
|
@@ -42,6 +40,6 @@ export declare class NgtsHTMLContent extends NgtHTML {
|
|
|
42
40
|
private target;
|
|
43
41
|
constructor();
|
|
44
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsHTMLContent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsHTMLContent, "[
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsHTMLContent, "div[htmlContent]", never, { "options": { "alias": "htmlContent"; "required": false; "isSignal": true; }; }, { "occluded": "occluded"; }, never, ["*"], true, never>;
|
|
46
44
|
}
|
|
47
45
|
export {};
|