angular-three-soba 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abstractions/lib/catmull-rom-line.d.ts +153 -153
- package/abstractions/lib/edges.d.ts +173 -173
- package/abstractions/lib/grid.d.ts +33 -33
- package/abstractions/lib/line.d.ts +2 -2
- package/abstractions/lib/prism-geometry.d.ts +4 -4
- package/abstractions/lib/rounded-box.d.ts +1 -1
- package/abstractions/lib/text-3d.d.ts +40 -40
- package/abstractions/lib/text.d.ts +2 -2
- package/cameras/lib/cube-camera.d.ts +1 -1
- package/cameras/lib/orthographic-camera.d.ts +1 -1
- package/cameras/lib/perspective-camera.d.ts +1 -1
- package/controls/lib/camera-controls.d.ts +1 -1
- package/controls/lib/orbit-controls.d.ts +1 -1
- package/gizmos/lib/gizmo-helper/gizmo-viewport.d.ts +1 -1
- package/gizmos/lib/pivot-controls/axis-arrow.d.ts +1 -1
- package/gizmos/lib/pivot-controls/axis-rotator.d.ts +1 -1
- package/gizmos/lib/pivot-controls/pivot-controls.d.ts +1 -1
- package/gizmos/lib/pivot-controls/plane-slider.d.ts +1 -1
- package/gizmos/lib/pivot-controls/scaling-sphere.d.ts +1 -1
- package/gizmos/lib/transform-controls.d.ts +2 -2
- package/materials/lib/custom-shader-material.d.ts +2 -2
- package/materials/lib/mesh-portal-material.d.ts +9 -9
- package/materials/lib/mesh-refraction-material.d.ts +3 -3
- package/materials/lib/mesh-transmission-material.d.ts +1 -1
- package/misc/lib/computed-attribute.d.ts +5 -5
- package/misc/lib/decal.d.ts +1 -1
- package/misc/lib/sampler.d.ts +1 -1
- package/package.json +9 -9
- package/performances/lib/instances/instances.d.ts +10 -10
- package/performances/lib/points/points.d.ts +22 -22
- package/performances/lib/segments/segments.d.ts +4 -4
- package/shaders/lib/mesh-refraction-material.d.ts +2 -2
- package/staging/lib/caustics.d.ts +1 -1
- package/staging/lib/center.d.ts +2 -2
- package/staging/lib/contact-shadows.d.ts +1 -1
- package/staging/lib/lightformer.d.ts +1 -1
- package/staging/lib/mask.d.ts +1 -1
- package/staging/lib/render-texture.d.ts +1 -1
- package/staging/lib/sky.d.ts +1 -1
- package/staging/lib/spot-light.d.ts +2 -2
- package/staging/lib/stage.d.ts +5 -5
|
@@ -29,7 +29,7 @@ export type NgtsMeshTransmissionMaterialOptions = Partial<NgtMeshPhysicalMateria
|
|
|
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" | "buffer" | "anisotropicBlur" | "samples" | "transmissionSampler" | "backside" | "backsideThickness" | "backsideEnvMapIntensity" | "
|
|
32
|
+
parameters: import("@angular/core").Signal<Omit<NgtsMeshTransmissionMaterialOptions, "thickness" | "anisotropy" | "transmission" | "side" | "resolution" | "buffer" | "anisotropicBlur" | "samples" | "transmissionSampler" | "backside" | "backsideThickness" | "backsideEnvMapIntensity" | "backsideResolution" | "background">>;
|
|
33
33
|
private resolution;
|
|
34
34
|
private backsideResolution;
|
|
35
35
|
private samples;
|
|
@@ -5,13 +5,9 @@ export declare class NgtsComputedAttribute {
|
|
|
5
5
|
compute: import("@angular/core").InputSignal<(geometry: BufferGeometry) => BufferAttribute>;
|
|
6
6
|
name: import("@angular/core").InputSignal<string>;
|
|
7
7
|
options: import("@angular/core").InputSignal<Partial<import("angular-three").NgtExtendedColors<import("angular-three").NgtOverwrite<Partial<{
|
|
8
|
-
set: (value: ArrayLike<number> | ArrayBufferView, offset?: number) => BufferAttribute;
|
|
9
8
|
name: string;
|
|
10
|
-
applyMatrix4: (m: import("three").Matrix4) => BufferAttribute;
|
|
11
|
-
toJSON: () => import("three").BufferAttributeJSON;
|
|
12
9
|
clone: () => BufferAttribute;
|
|
13
|
-
|
|
14
|
-
readonly count: number;
|
|
10
|
+
toJSON: () => import("three").BufferAttributeJSON;
|
|
15
11
|
array: import("three").TypedArray;
|
|
16
12
|
itemSize: number;
|
|
17
13
|
usage: import("three").Usage;
|
|
@@ -22,6 +18,7 @@ export declare class NgtsComputedAttribute {
|
|
|
22
18
|
}>;
|
|
23
19
|
version: number;
|
|
24
20
|
normalized: boolean;
|
|
21
|
+
readonly count: number;
|
|
25
22
|
needsUpdate: boolean;
|
|
26
23
|
readonly isBufferAttribute: true;
|
|
27
24
|
onUploadCallback: () => void;
|
|
@@ -29,11 +26,14 @@ export declare class NgtsComputedAttribute {
|
|
|
29
26
|
setUsage: (usage: import("three").Usage) => BufferAttribute;
|
|
30
27
|
addUpdateRange: (start: number, count: number) => void;
|
|
31
28
|
clearUpdateRanges: () => void;
|
|
29
|
+
copy: (source: BufferAttribute) => BufferAttribute;
|
|
32
30
|
copyAt: (index1: number, attribute: BufferAttribute, index2: number) => BufferAttribute;
|
|
33
31
|
copyArray: (array: ArrayLike<number>) => BufferAttribute;
|
|
34
32
|
applyMatrix3: (m: import("three").Matrix3) => BufferAttribute;
|
|
33
|
+
applyMatrix4: (m: import("three").Matrix4) => BufferAttribute;
|
|
35
34
|
applyNormalMatrix: (m: import("three").Matrix3) => BufferAttribute;
|
|
36
35
|
transformDirection: (m: import("three").Matrix4) => BufferAttribute;
|
|
36
|
+
set: (value: ArrayLike<number> | ArrayBufferView, offset?: number) => BufferAttribute;
|
|
37
37
|
getComponent: (index: number, component: number) => number;
|
|
38
38
|
setComponent: (index: number, component: number, value: number) => void;
|
|
39
39
|
getX: (index: number) => number;
|
package/misc/lib/decal.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface NgtsDecalOptions extends Partial<NgtMesh> {
|
|
|
11
11
|
export declare class NgtsDecal {
|
|
12
12
|
mesh: import("@angular/core").InputSignal<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> | ElementRef<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>> | null | undefined>;
|
|
13
13
|
options: import("@angular/core").InputSignalWithTransform<NgtsDecalOptions, "" | Partial<NgtsDecalOptions>>;
|
|
14
|
-
parameters: import("@angular/core").Signal<Omit<NgtsDecalOptions, "position" | "scale" | "rotation" | "
|
|
14
|
+
parameters: import("@angular/core").Signal<Omit<NgtsDecalOptions, "position" | "scale" | "rotation" | "polygonOffsetFactor" | "depthTest" | "debug" | "map">>;
|
|
15
15
|
meshRef: import("@angular/core").Signal<ElementRef<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>;
|
|
16
16
|
helperRef: import("@angular/core").Signal<ElementRef<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>> | undefined>;
|
|
17
17
|
protected map: import("@angular/core").Signal<Texture | null | undefined>;
|
package/misc/lib/sampler.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare class NgtsSampler {
|
|
|
62
62
|
mesh: import("@angular/core").InputSignal<Mesh<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> | ElementRef<Mesh<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>> | null>;
|
|
63
63
|
instances: import("@angular/core").InputSignal<InstancedMesh<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").InstancedMeshEventMap> | ElementRef<InstancedMesh<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").InstancedMeshEventMap>> | null>;
|
|
64
64
|
options: import("@angular/core").InputSignalWithTransform<NgtsSamplerOptions, "" | Partial<NgtsSamplerOptions>>;
|
|
65
|
-
parameters: import("@angular/core").Signal<Omit<NgtsSamplerOptions, "
|
|
65
|
+
parameters: import("@angular/core").Signal<Omit<NgtsSamplerOptions, "count" | "transform" | "weight">>;
|
|
66
66
|
groupRef: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>> | undefined>;
|
|
67
67
|
constructor();
|
|
68
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSampler, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-three-soba",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -51,14 +51,6 @@
|
|
|
51
51
|
"types": "./abstractions/index.d.ts",
|
|
52
52
|
"default": "./fesm2022/angular-three-soba-abstractions.mjs"
|
|
53
53
|
},
|
|
54
|
-
"./controls": {
|
|
55
|
-
"types": "./controls/index.d.ts",
|
|
56
|
-
"default": "./fesm2022/angular-three-soba-controls.mjs"
|
|
57
|
-
},
|
|
58
|
-
"./gizmos": {
|
|
59
|
-
"types": "./gizmos/index.d.ts",
|
|
60
|
-
"default": "./fesm2022/angular-three-soba-gizmos.mjs"
|
|
61
|
-
},
|
|
62
54
|
"./cameras": {
|
|
63
55
|
"types": "./cameras/index.d.ts",
|
|
64
56
|
"default": "./fesm2022/angular-three-soba-cameras.mjs"
|
|
@@ -67,6 +59,14 @@
|
|
|
67
59
|
"types": "./materials/index.d.ts",
|
|
68
60
|
"default": "./fesm2022/angular-three-soba-materials.mjs"
|
|
69
61
|
},
|
|
62
|
+
"./gizmos": {
|
|
63
|
+
"types": "./gizmos/index.d.ts",
|
|
64
|
+
"default": "./fesm2022/angular-three-soba-gizmos.mjs"
|
|
65
|
+
},
|
|
66
|
+
"./controls": {
|
|
67
|
+
"types": "./controls/index.d.ts",
|
|
68
|
+
"default": "./fesm2022/angular-three-soba-controls.mjs"
|
|
69
|
+
},
|
|
70
70
|
"./performances": {
|
|
71
71
|
"types": "./performances/index.d.ts",
|
|
72
72
|
"default": "./fesm2022/angular-three-soba-performances.mjs"
|
|
@@ -5,21 +5,16 @@ import { PositionMesh } from './position-mesh';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class NgtsInstance {
|
|
7
7
|
options: import("@angular/core").InputSignal<Partial<{
|
|
8
|
-
color?: import("three").ColorRepresentation | undefined;
|
|
9
|
-
name?: string | undefined;
|
|
10
|
-
visible?: boolean | undefined;
|
|
11
|
-
userData?: Record<string, any> | undefined;
|
|
12
8
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionMesh>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionMesh, typeof PositionMesh>, ev: import("angular-three").NgtNodeEventMap<PositionMesh>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
13
9
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionMesh>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionMesh, typeof PositionMesh>, ev: import("angular-three").NgtNodeEventMap<PositionMesh>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
14
10
|
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
15
11
|
__ngt_args__: [];
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
readonly isGroup?: true | undefined;
|
|
12
|
+
readonly type?: string | undefined;
|
|
13
|
+
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
19
14
|
readonly isObject3D?: true | undefined;
|
|
20
15
|
readonly id?: number | undefined;
|
|
21
16
|
uuid?: string | undefined;
|
|
22
|
-
|
|
17
|
+
name?: string | undefined;
|
|
23
18
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
24
19
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
25
20
|
readonly modelViewMatrix?: Matrix4 | undefined;
|
|
@@ -28,11 +23,13 @@ export declare class NgtsInstance {
|
|
|
28
23
|
matrixAutoUpdate?: boolean | undefined;
|
|
29
24
|
matrixWorldAutoUpdate?: boolean | undefined;
|
|
30
25
|
matrixWorldNeedsUpdate?: boolean | undefined;
|
|
26
|
+
visible?: boolean | undefined;
|
|
31
27
|
castShadow?: boolean | undefined;
|
|
32
28
|
receiveShadow?: boolean | undefined;
|
|
33
29
|
frustumCulled?: boolean | undefined;
|
|
34
30
|
renderOrder?: number | undefined;
|
|
35
31
|
animations?: import("three").AnimationClip[] | undefined;
|
|
32
|
+
userData?: Record<string, any> | undefined;
|
|
36
33
|
customDepthMaterial?: import("three").Material | undefined;
|
|
37
34
|
customDistanceMaterial?: import("three").Material | undefined;
|
|
38
35
|
onBeforeShadow?: ((renderer: import("three").WebGLRenderer, scene: import("three").Scene, camera: import("three").Camera, shadowCamera: import("three").Camera, geometry: import("three").BufferGeometry, depthMaterial: import("three").Material, group: import("three").Group) => void) | undefined;
|
|
@@ -78,11 +75,14 @@ export declare class NgtsInstance {
|
|
|
78
75
|
updateMatrix?: (() => void) | undefined;
|
|
79
76
|
updateMatrixWorld?: ((force?: boolean) => void) | undefined;
|
|
80
77
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | undefined;
|
|
81
|
-
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
82
78
|
clone?: ((recursive?: boolean) => PositionMesh) | undefined;
|
|
83
79
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => PositionMesh) | undefined;
|
|
84
80
|
hasEventListener?: (<T extends keyof import("three").Object3DEventMap>(type: T, listener: import("three").EventListener<import("three").Object3DEventMap[T], T, PositionMesh>) => boolean) | undefined;
|
|
85
81
|
dispatchEvent?: (<T extends keyof import("three").Object3DEventMap>(event: import("three").BaseEvent<T> & import("three").Object3DEventMap[T]) => void) | undefined;
|
|
82
|
+
color?: import("three").ColorRepresentation | undefined;
|
|
83
|
+
instance?: ElementRef<InstancedMesh> | InstancedMesh | null | undefined;
|
|
84
|
+
readonly geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
85
|
+
readonly isGroup?: true | undefined;
|
|
86
86
|
position: import("angular-three").NgtVector3;
|
|
87
87
|
up: import("angular-three").NgtVector3;
|
|
88
88
|
scale: import("angular-three").NgtVector3;
|
|
@@ -107,7 +107,7 @@ export interface NgtsInstancesOptions extends Partial<NgtInstancedMesh> {
|
|
|
107
107
|
export declare class NgtsInstances {
|
|
108
108
|
protected readonly DynamicDrawUsage: 35048;
|
|
109
109
|
options: import("@angular/core").InputSignalWithTransform<NgtsInstancesOptions, "" | Partial<NgtsInstancesOptions>>;
|
|
110
|
-
protected parameters: import("@angular/core").Signal<Omit<NgtsInstancesOptions, "
|
|
110
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsInstancesOptions, "frames" | "range" | "limit">>;
|
|
111
111
|
instancedMeshRef: import("@angular/core").Signal<ElementRef<InstancedMesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").InstancedMeshEventMap>>>;
|
|
112
112
|
private limit;
|
|
113
113
|
protected buffers: import("@angular/core").Signal<{
|
|
@@ -5,22 +5,17 @@ import { PositionPoint } from './position-point';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class NgtsPoint {
|
|
7
7
|
options: import("@angular/core").InputSignal<Partial<{
|
|
8
|
-
|
|
9
|
-
name?: string | undefined;
|
|
10
|
-
visible?: boolean | undefined;
|
|
11
|
-
userData?: Record<string, any> | undefined;
|
|
8
|
+
size?: number | undefined;
|
|
12
9
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
13
10
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
14
11
|
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
15
12
|
__ngt_args__: [];
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
19
|
-
readonly isGroup?: true | undefined;
|
|
13
|
+
readonly type?: string | undefined;
|
|
14
|
+
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
20
15
|
readonly isObject3D?: true | undefined;
|
|
21
16
|
readonly id?: number | undefined;
|
|
22
17
|
uuid?: string | undefined;
|
|
23
|
-
|
|
18
|
+
name?: string | undefined;
|
|
24
19
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
25
20
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
26
21
|
readonly modelViewMatrix?: Matrix4 | undefined;
|
|
@@ -29,11 +24,13 @@ export declare class NgtsPoint {
|
|
|
29
24
|
matrixAutoUpdate?: boolean | undefined;
|
|
30
25
|
matrixWorldAutoUpdate?: boolean | undefined;
|
|
31
26
|
matrixWorldNeedsUpdate?: boolean | undefined;
|
|
27
|
+
visible?: boolean | undefined;
|
|
32
28
|
castShadow?: boolean | undefined;
|
|
33
29
|
receiveShadow?: boolean | undefined;
|
|
34
30
|
frustumCulled?: boolean | undefined;
|
|
35
31
|
renderOrder?: number | undefined;
|
|
36
32
|
animations?: import("three").AnimationClip[] | undefined;
|
|
33
|
+
userData?: Record<string, any> | undefined;
|
|
37
34
|
customDepthMaterial?: import("three").Material | undefined;
|
|
38
35
|
customDistanceMaterial?: import("three").Material | undefined;
|
|
39
36
|
onBeforeShadow?: ((renderer: import("three").WebGLRenderer, scene: import("three").Scene, camera: import("three").Camera, shadowCamera: import("three").Camera, geometry: BufferGeometry, depthMaterial: import("three").Material, group: import("three").Group) => void) | undefined;
|
|
@@ -79,11 +76,14 @@ export declare class NgtsPoint {
|
|
|
79
76
|
updateMatrix?: (() => void) | undefined;
|
|
80
77
|
updateMatrixWorld?: ((force?: boolean) => void) | undefined;
|
|
81
78
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | undefined;
|
|
82
|
-
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
83
79
|
clone?: ((recursive?: boolean) => PositionPoint) | undefined;
|
|
84
80
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => PositionPoint) | undefined;
|
|
85
81
|
hasEventListener?: (<T extends keyof import("three").Object3DEventMap>(type: T, listener: import("three").EventListener<import("three").Object3DEventMap[T], T, PositionPoint>) => boolean) | undefined;
|
|
86
82
|
dispatchEvent?: (<T extends keyof import("three").Object3DEventMap>(event: import("three").BaseEvent<T> & import("three").Object3DEventMap[T]) => void) | undefined;
|
|
83
|
+
color?: import("three").ColorRepresentation | undefined;
|
|
84
|
+
instance?: ElementRef<Points> | Points | null | undefined;
|
|
85
|
+
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
86
|
+
readonly isGroup?: true | undefined;
|
|
87
87
|
position: import("angular-three").NgtVector3;
|
|
88
88
|
up: import("angular-three").NgtVector3;
|
|
89
89
|
scale: import("angular-three").NgtVector3;
|
|
@@ -104,24 +104,19 @@ export declare class NgtsPointsBuffer {
|
|
|
104
104
|
positions: import("@angular/core").InputSignal<Float32Array>;
|
|
105
105
|
colors: import("@angular/core").InputSignal<Float32Array | undefined>;
|
|
106
106
|
sizes: import("@angular/core").InputSignal<Float32Array | undefined>;
|
|
107
|
-
stride: import("@angular/core").InputSignal<
|
|
107
|
+
stride: import("@angular/core").InputSignal<2 | 3>;
|
|
108
108
|
options: import("@angular/core").InputSignal<Partial<{
|
|
109
|
-
|
|
110
|
-
name?: string | undefined;
|
|
111
|
-
visible?: boolean | undefined;
|
|
112
|
-
userData?: Record<string, any> | undefined;
|
|
109
|
+
size?: number | undefined;
|
|
113
110
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
114
111
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<PositionPoint>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<PositionPoint, typeof PositionPoint>, ev: import("angular-three").NgtNodeEventMap<PositionPoint>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
115
112
|
attach: string | string[] | import("angular-three").NgtAttachFunction;
|
|
116
113
|
__ngt_args__: [];
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
120
|
-
readonly isGroup?: true | undefined;
|
|
114
|
+
readonly type?: string | undefined;
|
|
115
|
+
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
121
116
|
readonly isObject3D?: true | undefined;
|
|
122
117
|
readonly id?: number | undefined;
|
|
123
118
|
uuid?: string | undefined;
|
|
124
|
-
|
|
119
|
+
name?: string | undefined;
|
|
125
120
|
parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
|
|
126
121
|
children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
|
|
127
122
|
readonly modelViewMatrix?: Matrix4 | undefined;
|
|
@@ -130,11 +125,13 @@ export declare class NgtsPointsBuffer {
|
|
|
130
125
|
matrixAutoUpdate?: boolean | undefined;
|
|
131
126
|
matrixWorldAutoUpdate?: boolean | undefined;
|
|
132
127
|
matrixWorldNeedsUpdate?: boolean | undefined;
|
|
128
|
+
visible?: boolean | undefined;
|
|
133
129
|
castShadow?: boolean | undefined;
|
|
134
130
|
receiveShadow?: boolean | undefined;
|
|
135
131
|
frustumCulled?: boolean | undefined;
|
|
136
132
|
renderOrder?: number | undefined;
|
|
137
133
|
animations?: import("three").AnimationClip[] | undefined;
|
|
134
|
+
userData?: Record<string, any> | undefined;
|
|
138
135
|
customDepthMaterial?: import("three").Material | undefined;
|
|
139
136
|
customDistanceMaterial?: import("three").Material | undefined;
|
|
140
137
|
onBeforeShadow?: ((renderer: import("three").WebGLRenderer, scene: import("three").Scene, camera: import("three").Camera, shadowCamera: import("three").Camera, geometry: BufferGeometry, depthMaterial: import("three").Material, group: import("three").Group) => void) | undefined;
|
|
@@ -180,11 +177,14 @@ export declare class NgtsPointsBuffer {
|
|
|
180
177
|
updateMatrix?: (() => void) | undefined;
|
|
181
178
|
updateMatrixWorld?: ((force?: boolean) => void) | undefined;
|
|
182
179
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | undefined;
|
|
183
|
-
toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
|
|
184
180
|
clone?: ((recursive?: boolean) => PositionPoint) | undefined;
|
|
185
181
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => PositionPoint) | undefined;
|
|
186
182
|
hasEventListener?: (<T extends keyof import("three").Object3DEventMap>(type: T, listener: import("three").EventListener<import("three").Object3DEventMap[T], T, PositionPoint>) => boolean) | undefined;
|
|
187
183
|
dispatchEvent?: (<T extends keyof import("three").Object3DEventMap>(event: import("three").BaseEvent<T> & import("three").Object3DEventMap[T]) => void) | undefined;
|
|
184
|
+
color?: import("three").ColorRepresentation | undefined;
|
|
185
|
+
instance?: ElementRef<Points> | Points | null | undefined;
|
|
186
|
+
readonly geometry?: BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
187
|
+
readonly isGroup?: true | undefined;
|
|
188
188
|
position: import("angular-three").NgtVector3;
|
|
189
189
|
up: import("angular-three").NgtVector3;
|
|
190
190
|
scale: import("angular-three").NgtVector3;
|
|
@@ -207,7 +207,7 @@ export interface NgtsPointsInstancesOptions extends Partial<NgtPoints> {
|
|
|
207
207
|
}
|
|
208
208
|
export declare class NgtsPointsInstances {
|
|
209
209
|
options: import("@angular/core").InputSignalWithTransform<NgtsPointsInstancesOptions, "" | Partial<NgtsPointsInstancesOptions>>;
|
|
210
|
-
parameters: import("@angular/core").Signal<Omit<NgtsPointsInstancesOptions, "
|
|
210
|
+
parameters: import("@angular/core").Signal<Omit<NgtsPointsInstancesOptions, "range" | "limit">>;
|
|
211
211
|
pointsRef: import("@angular/core").Signal<ElementRef<Points<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>;
|
|
212
212
|
private limit;
|
|
213
213
|
buffers: import("@angular/core").Signal<{
|
|
@@ -32,8 +32,11 @@ export declare class NgtsSegments {
|
|
|
32
32
|
geometry: LineSegmentsGeometry;
|
|
33
33
|
resolution: Vector2;
|
|
34
34
|
materialParameters: import("@angular/core").Signal<{
|
|
35
|
-
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
visible?: boolean | undefined;
|
|
37
|
+
userData?: Record<string, any> | undefined;
|
|
36
38
|
color?: number | undefined;
|
|
39
|
+
alphaToCoverage?: boolean | undefined;
|
|
37
40
|
dashed?: boolean | undefined;
|
|
38
41
|
dashScale?: number | undefined;
|
|
39
42
|
dashSize?: number | undefined;
|
|
@@ -62,7 +65,6 @@ export declare class NgtsSegments {
|
|
|
62
65
|
depthFunc?: import("three").DepthModes | undefined;
|
|
63
66
|
depthTest?: boolean | undefined;
|
|
64
67
|
depthWrite?: boolean | undefined;
|
|
65
|
-
name?: string | undefined;
|
|
66
68
|
opacity?: number | undefined;
|
|
67
69
|
polygonOffset?: boolean | undefined;
|
|
68
70
|
polygonOffsetFactor?: number | undefined;
|
|
@@ -76,7 +78,6 @@ export declare class NgtsSegments {
|
|
|
76
78
|
toneMapped?: boolean | undefined;
|
|
77
79
|
transparent?: boolean | undefined;
|
|
78
80
|
vertexColors: boolean;
|
|
79
|
-
visible?: boolean | undefined;
|
|
80
81
|
format?: import("three").PixelFormat | undefined;
|
|
81
82
|
stencilWrite?: boolean | undefined;
|
|
82
83
|
stencilFunc?: import("three").StencilFunc | undefined;
|
|
@@ -86,7 +87,6 @@ export declare class NgtsSegments {
|
|
|
86
87
|
stencilFail?: import("three").StencilOp | undefined;
|
|
87
88
|
stencilZFail?: import("three").StencilOp | undefined;
|
|
88
89
|
stencilZPass?: import("three").StencilOp | undefined;
|
|
89
|
-
userData?: Record<string, any> | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
positions: import("@angular/core").Signal<number[]>;
|
|
92
92
|
colors: import("@angular/core").Signal<number[]>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
2
|
export declare const MeshRefractionMaterial: (new (parameters?: (THREE.ShaderMaterialParameters & Partial<{
|
|
3
|
-
[name: string]: number | boolean | any[] | THREE.CubeTexture | THREE.Texture | Int32Array | Float32Array | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 |
|
|
3
|
+
[name: string]: number | boolean | any[] | THREE.Color | THREE.CubeTexture | THREE.Texture | Int32Array | Float32Array | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | null;
|
|
4
4
|
}>) | undefined) => THREE.ShaderMaterial & {
|
|
5
|
-
[name: string]: number | boolean | any[] | THREE.CubeTexture | THREE.Texture | Int32Array | Float32Array | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 |
|
|
5
|
+
[name: string]: number | boolean | any[] | THREE.Color | THREE.CubeTexture | THREE.Texture | Int32Array | Float32Array | THREE.Matrix4 | THREE.Matrix3 | THREE.Quaternion | THREE.Vector4 | THREE.Vector3 | THREE.Vector2 | null;
|
|
6
6
|
}) & {
|
|
7
7
|
key: string;
|
|
8
8
|
};
|
|
@@ -32,7 +32,7 @@ export declare class NgtsCaustics {
|
|
|
32
32
|
protected readonly OneFactor: 201;
|
|
33
33
|
protected readonly SrcAlphaFactor: 204;
|
|
34
34
|
options: import("@angular/core").InputSignalWithTransform<NgtsCausticsOptions, "" | Partial<NgtsCausticsOptions>>;
|
|
35
|
-
parameters: import("@angular/core").Signal<Omit<NgtsCausticsOptions, "
|
|
35
|
+
parameters: import("@angular/core").Signal<Omit<NgtsCausticsOptions, "frames" | "color" | "resolution" | "debug" | "causticsOnly" | "backside" | "ior" | "backsideIOR" | "worldRadius" | "intensity" | "lightSource">>;
|
|
36
36
|
debug: import("@angular/core").Signal<boolean>;
|
|
37
37
|
color: import("@angular/core").Signal<ColorRepresentation>;
|
|
38
38
|
private resolution;
|
package/staging/lib/center.d.ts
CHANGED
|
@@ -293,7 +293,7 @@ export declare class NgtsCenter {
|
|
|
293
293
|
layers: import("angular-three").NgtLayers;
|
|
294
294
|
dispose: (() => void) | null;
|
|
295
295
|
raycast: Object3D["raycast"] | null;
|
|
296
|
-
}> & NgtsCenterOptions, "
|
|
296
|
+
}> & NgtsCenterOptions, "disable" | "precise" | "cacheKey" | "top" | "right" | "bottom" | "left" | "front" | "back" | "disableX" | "disableY" | "disableZ">>;
|
|
297
297
|
centered: import("@angular/core").OutputEmitterRef<NgtsCenterState>;
|
|
298
298
|
groupRef: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>>>;
|
|
299
299
|
private outerRef;
|
|
@@ -383,7 +383,7 @@ export declare class NgtsCenter {
|
|
|
383
383
|
layers: import("angular-three").NgtLayers;
|
|
384
384
|
dispose: (() => void) | null;
|
|
385
385
|
raycast: Object3D["raycast"] | null;
|
|
386
|
-
}> & NgtsCenterOptions, "
|
|
386
|
+
}> & NgtsCenterOptions, "disable" | "precise" | "cacheKey" | "top" | "right" | "bottom" | "left" | "front" | "back" | "disableX" | "disableY" | "disableZ">>;
|
|
387
387
|
constructor();
|
|
388
388
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtsCenter, never>;
|
|
389
389
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgtsCenter, "ngts-center", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "centered": "centered"; }, never, ["*"], true, never>;
|
|
@@ -19,7 +19,7 @@ export interface NgtsContactShadowsOptions extends Partial<Omit<NgtGroup, 'scale
|
|
|
19
19
|
export declare class NgtsContactShadows {
|
|
20
20
|
Math: Math;
|
|
21
21
|
options: import("@angular/core").InputSignalWithTransform<NgtsContactShadowsOptions, "" | Partial<NgtsContactShadowsOptions>>;
|
|
22
|
-
parameters: import("@angular/core").Signal<Omit<NgtsContactShadowsOptions, "scale" | "renderOrder" | "
|
|
22
|
+
parameters: import("@angular/core").Signal<Omit<NgtsContactShadowsOptions, "scale" | "renderOrder" | "frames" | "opacity" | "color" | "resolution" | "depthWrite" | "near" | "far" | "width" | "height" | "blur" | "smooth">>;
|
|
23
23
|
contactShadowsRef: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>>>;
|
|
24
24
|
shadowsCameraRef: import("@angular/core").Signal<ElementRef<OrthographicCamera> | undefined>;
|
|
25
25
|
private store;
|
|
@@ -293,7 +293,7 @@ export declare class NgtsLightformer {
|
|
|
293
293
|
layers: import("angular-three").NgtLayers;
|
|
294
294
|
dispose: (() => void) | null;
|
|
295
295
|
raycast: import("three").Object3D["raycast"] | null;
|
|
296
|
-
}, "scale">> & NgtsLightformerOptions, "scale" | "
|
|
296
|
+
}, "scale">> & NgtsLightformerOptions, "scale" | "color" | "toneMapped" | "map" | "target" | "intensity" | "form">>;
|
|
297
297
|
private intensity;
|
|
298
298
|
private color;
|
|
299
299
|
private target;
|
package/staging/lib/mask.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface NgtsMaskOptions extends Partial<NgtMesh> {
|
|
|
9
9
|
export declare class NgtsMask {
|
|
10
10
|
id: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
11
11
|
options: import("@angular/core").InputSignalWithTransform<NgtsMaskOptions, "" | Partial<NgtsMaskOptions>>;
|
|
12
|
-
parameters: import("@angular/core").Signal<Omit<NgtsMaskOptions, "
|
|
12
|
+
parameters: import("@angular/core").Signal<Omit<NgtsMaskOptions, "colorWrite" | "depthWrite">>;
|
|
13
13
|
meshRef: import("@angular/core").Signal<ElementRef<Mesh<BufferGeometry<import("three").NormalBufferAttributes>, Material, import("three").Object3DEventMap>>>;
|
|
14
14
|
private colorWrite;
|
|
15
15
|
private depthWrite;
|
|
@@ -45,7 +45,7 @@ export declare class NgtsRenderTextureContent {
|
|
|
45
45
|
export declare class NgtsRenderTexture {
|
|
46
46
|
attach: import("@angular/core").InputSignal<NgtAttachable>;
|
|
47
47
|
options: import("@angular/core").InputSignalWithTransform<NgtsRenderTextureOptions, "" | Partial<NgtsRenderTextureOptions>>;
|
|
48
|
-
parameters: import("@angular/core").Signal<Omit<NgtsRenderTextureOptions, "
|
|
48
|
+
parameters: import("@angular/core").Signal<Omit<NgtsRenderTextureOptions, "frames" | "width" | "height" | "depthBuffer" | "stencilBuffer" | "samples" | "generateMipmaps" | "renderPriority" | "eventPriority" | "compute">>;
|
|
49
49
|
content: import("@angular/core").Signal<TemplateRef<any>>;
|
|
50
50
|
private store;
|
|
51
51
|
private size;
|
package/staging/lib/sky.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface NgtsSkyOptions extends Partial<Omit<NgtMesh, 'scale'>> {
|
|
|
15
15
|
}
|
|
16
16
|
export declare class NgtsSky {
|
|
17
17
|
options: import("@angular/core").InputSignalWithTransform<NgtsSkyOptions, "" | Partial<NgtsSkyOptions>>;
|
|
18
|
-
parameters: import("@angular/core").Signal<Omit<NgtsSkyOptions, "distance" | "inclination" | "azimuth" | "
|
|
18
|
+
parameters: import("@angular/core").Signal<Omit<NgtsSkyOptions, "distance" | "inclination" | "azimuth" | "mieCoefficient" | "mieDirectionalG" | "turbidity" | "sunPosition">>;
|
|
19
19
|
distance: import("@angular/core").Signal<number>;
|
|
20
20
|
turbidity: import("@angular/core").Signal<number>;
|
|
21
21
|
mieCoefficient: import("@angular/core").Signal<number>;
|
|
@@ -104,8 +104,8 @@ export declare class NgtsSpotLightShadow {
|
|
|
104
104
|
export declare class NgtsSpotLight {
|
|
105
105
|
protected readonly SpotLightHelper: typeof SpotLightHelper;
|
|
106
106
|
options: import("@angular/core").InputSignalWithTransform<NgtsSpotLightOptions, "" | Partial<NgtsSpotLightOptions>>;
|
|
107
|
-
parameters: import("@angular/core").Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "
|
|
108
|
-
volumetricOptions: import("@angular/core").Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "
|
|
107
|
+
parameters: import("@angular/core").Signal<Omit<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "debug" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom" | "volumetric">>;
|
|
108
|
+
volumetricOptions: import("@angular/core").Signal<Pick<NgtsSpotLightOptions, "opacity" | "color" | "distance" | "debug" | "depthBuffer" | "angle" | "attenuation" | "anglePower" | "radiusTop" | "radiusBottom">>;
|
|
109
109
|
spotLight: import("@angular/core").Signal<ElementRef<SpotLight>>;
|
|
110
110
|
debug: import("@angular/core").Signal<boolean | undefined>;
|
|
111
111
|
angle: import("@angular/core").Signal<number | undefined>;
|
package/staging/lib/stage.d.ts
CHANGED
|
@@ -55,14 +55,11 @@ export declare class NgtsStage {
|
|
|
55
55
|
intensity: import("@angular/core").Signal<number>;
|
|
56
56
|
shadows: import("@angular/core").Signal<boolean | "contact" | "accumulative" | NgtsStageShadowsOptions>;
|
|
57
57
|
environment: import("@angular/core").Signal<"apartment" | "city" | "dawn" | "forest" | "lobby" | "night" | "park" | "studio" | "sunset" | "warehouse" | Partial<NgtsEnvironmentOptions> | null>;
|
|
58
|
-
preset: import("@angular/core").Signal<
|
|
58
|
+
preset: import("@angular/core").Signal<{
|
|
59
59
|
main: [x: number, y: number, z: number];
|
|
60
60
|
fill: [x: number, y: number, z: number];
|
|
61
|
-
}>;
|
|
61
|
+
} | "rembrandt" | "portrait" | "upfront" | "soft">;
|
|
62
62
|
config: import("@angular/core").Signal<{
|
|
63
|
-
main: [x: number, y: number, z: number];
|
|
64
|
-
fill: [x: number, y: number, z: number];
|
|
65
|
-
} | {
|
|
66
63
|
readonly main: readonly [1, 2, 1];
|
|
67
64
|
readonly fill: readonly [-2, -0.5, -2];
|
|
68
65
|
} | {
|
|
@@ -74,6 +71,9 @@ export declare class NgtsStage {
|
|
|
74
71
|
} | {
|
|
75
72
|
readonly main: readonly [-2, 4, 4];
|
|
76
73
|
readonly fill: readonly [-1, 0.5, -1.5];
|
|
74
|
+
} | {
|
|
75
|
+
main: [x: number, y: number, z: number];
|
|
76
|
+
fill: [x: number, y: number, z: number];
|
|
77
77
|
}>;
|
|
78
78
|
shadowBias: import("@angular/core").Signal<number>;
|
|
79
79
|
normalBias: import("@angular/core").Signal<number>;
|