angular-three-soba 2.3.2 → 2.5.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/LICENSE +21 -0
- package/abstractions/lib/catmull-rom-line.d.ts +32 -32
- package/abstractions/lib/edges.d.ts +51 -51
- package/abstractions/lib/grid.d.ts +30 -30
- 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 +39 -38
- package/abstractions/lib/text.d.ts +1 -1
- 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/esm2022/abstractions/lib/billboard.mjs +3 -3
- package/esm2022/abstractions/lib/catmull-rom-line.mjs +3 -3
- package/esm2022/abstractions/lib/cubic-bezier-line.mjs +3 -3
- package/esm2022/abstractions/lib/edges.mjs +3 -3
- package/esm2022/abstractions/lib/gradient-texture.mjs +3 -3
- package/esm2022/abstractions/lib/grid.mjs +3 -3
- package/esm2022/abstractions/lib/helper.mjs +3 -3
- package/esm2022/abstractions/lib/line.mjs +3 -3
- package/esm2022/abstractions/lib/prism-geometry.mjs +3 -3
- package/esm2022/abstractions/lib/quadratic-bezier-line.mjs +3 -3
- package/esm2022/abstractions/lib/rounded-box.mjs +3 -3
- package/esm2022/abstractions/lib/text-3d.mjs +15 -10
- package/esm2022/abstractions/lib/text.mjs +3 -3
- package/esm2022/cameras/lib/camera-content.mjs +3 -3
- package/esm2022/cameras/lib/cube-camera.mjs +3 -3
- package/esm2022/cameras/lib/orthographic-camera.mjs +3 -3
- package/esm2022/cameras/lib/perspective-camera.mjs +3 -3
- package/esm2022/controls/lib/camera-controls.mjs +3 -3
- package/esm2022/controls/lib/orbit-controls.mjs +3 -3
- package/esm2022/controls/lib/scroll-controls.mjs +9 -9
- package/esm2022/gizmos/lib/gizmo-helper/gizmo-helper.mjs +6 -6
- package/esm2022/gizmos/lib/gizmo-helper/gizmo-viewcube.mjs +12 -12
- package/esm2022/gizmos/lib/gizmo-helper/gizmo-viewport.mjs +9 -9
- package/esm2022/gizmos/lib/pivot-controls/axis-arrow.mjs +3 -3
- package/esm2022/gizmos/lib/pivot-controls/axis-rotator.mjs +3 -3
- package/esm2022/gizmos/lib/pivot-controls/pivot-controls.mjs +3 -3
- package/esm2022/gizmos/lib/pivot-controls/plane-slider.mjs +3 -3
- package/esm2022/gizmos/lib/pivot-controls/scaling-sphere.mjs +3 -3
- package/esm2022/gizmos/lib/transform-controls.mjs +3 -3
- package/esm2022/loaders/lib/loader.mjs +3 -3
- package/esm2022/materials/lib/custom-shader-material.mjs +3 -3
- package/esm2022/materials/lib/mesh-distort-material.mjs +3 -3
- package/esm2022/materials/lib/mesh-reflector-material.mjs +3 -3
- package/esm2022/materials/lib/mesh-refraction-material.mjs +3 -3
- package/esm2022/materials/lib/mesh-transmission-material.mjs +4 -4
- package/esm2022/materials/lib/mesh-wobble-material.mjs +3 -3
- package/esm2022/materials/lib/point-material.mjs +3 -3
- package/esm2022/misc/index.mjs +2 -1
- package/esm2022/misc/lib/bake-shadows.mjs +3 -3
- package/esm2022/misc/lib/computed-attribute.mjs +3 -3
- package/esm2022/misc/lib/decal.mjs +3 -3
- package/esm2022/misc/lib/fbo.mjs +3 -3
- package/esm2022/misc/lib/html/html-content.mjs +3 -3
- package/esm2022/misc/lib/html/html.mjs +3 -3
- package/esm2022/misc/lib/intersect.mjs +3 -3
- package/esm2022/misc/lib/preload.mjs +58 -0
- package/esm2022/misc/lib/sampler.mjs +3 -3
- package/esm2022/performances/lib/adaptive-dpr.mjs +3 -3
- package/esm2022/performances/lib/adaptive-events.mjs +3 -3
- package/esm2022/performances/lib/detailed.mjs +3 -3
- package/esm2022/performances/lib/instances/instances.mjs +6 -6
- package/esm2022/performances/lib/points/points.mjs +9 -9
- package/esm2022/performances/lib/segments/segments.mjs +6 -6
- package/esm2022/staging/lib/accumulative-shadows.mjs +3 -3
- package/esm2022/staging/lib/backdrop.mjs +3 -3
- package/esm2022/staging/lib/bb-anchor.mjs +3 -3
- package/esm2022/staging/lib/bounds.mjs +3 -3
- package/esm2022/staging/lib/camera-shake.mjs +3 -3
- package/esm2022/staging/lib/caustics.mjs +3 -3
- package/esm2022/staging/lib/center.mjs +3 -3
- package/esm2022/staging/lib/contact-shadows.mjs +3 -3
- package/esm2022/staging/lib/environment/environment.mjs +15 -15
- package/esm2022/staging/lib/float.mjs +3 -3
- package/esm2022/staging/lib/lightformer.mjs +3 -3
- package/esm2022/staging/lib/mask.mjs +3 -3
- package/esm2022/staging/lib/matcap-texture.mjs +3 -3
- package/esm2022/staging/lib/normal-texture.mjs +3 -3
- package/esm2022/staging/lib/randomized-lights.mjs +3 -3
- package/esm2022/staging/lib/render-texture.mjs +9 -9
- package/esm2022/staging/lib/sky.mjs +3 -3
- package/esm2022/staging/lib/spot-light.mjs +15 -15
- package/esm2022/staging/lib/stage.mjs +6 -6
- package/esm2022/stats/lib/stats.mjs +3 -3
- package/fesm2022/angular-three-soba-abstractions.mjs +50 -45
- package/fesm2022/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2022/angular-three-soba-cameras.mjs +12 -12
- package/fesm2022/angular-three-soba-controls.mjs +15 -15
- package/fesm2022/angular-three-soba-gizmos.mjs +45 -45
- package/fesm2022/angular-three-soba-loaders.mjs +3 -3
- package/fesm2022/angular-three-soba-materials.mjs +21 -21
- package/fesm2022/angular-three-soba-materials.mjs.map +1 -1
- package/fesm2022/angular-three-soba-misc.mjs +80 -26
- package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
- package/fesm2022/angular-three-soba-performances.mjs +30 -30
- package/fesm2022/angular-three-soba-staging.mjs +90 -90
- package/fesm2022/angular-three-soba-stats.mjs +3 -3
- 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 +4 -4
- package/materials/lib/mesh-refraction-material.d.ts +2 -2
- package/materials/lib/mesh-transmission-material.d.ts +3 -4
- package/misc/index.d.ts +1 -0
- package/misc/lib/computed-attribute.d.ts +0 -4
- package/misc/lib/html/html.d.ts +1 -1
- package/misc/lib/preload.d.ts +17 -0
- package/package.json +8 -8
- package/performances/lib/instances/instances.d.ts +7 -7
- package/performances/lib/points/points.d.ts +15 -15
- package/performances/lib/segments/segments.d.ts +1 -1
- package/shaders/lib/mesh-refraction-material.d.ts +2 -2
- package/staging/lib/accumulative-shadows.d.ts +1 -1
- package/staging/lib/caustics.d.ts +1 -1
- package/staging/lib/center.d.ts +44 -44
- package/staging/lib/contact-shadows.d.ts +1 -1
- package/staging/lib/lightformer.d.ts +31 -31
- package/staging/lib/render-texture.d.ts +1 -1
- package/staging/lib/spot-light.d.ts +2 -2
- package/staging/lib/stage.d.ts +38 -38
|
@@ -15,7 +15,17 @@ export declare class NgtsText3D {
|
|
|
15
15
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
16
16
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
17
17
|
__ngt_args__: [geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined, material?: import("three").Material | import("three").Material[] | undefined];
|
|
18
|
+
readonly isMesh?: true | undefined;
|
|
18
19
|
readonly type?: string | undefined;
|
|
20
|
+
geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
21
|
+
material?: import("three").Material | import("three").Material[] | undefined;
|
|
22
|
+
morphTargetInfluences?: number[] | undefined;
|
|
23
|
+
morphTargetDictionary?: {
|
|
24
|
+
[key: string]: number;
|
|
25
|
+
} | undefined;
|
|
26
|
+
updateMorphTargets?: (() => void) | undefined;
|
|
27
|
+
getVertexPosition?: ((index: number, target: import("three").Vector3) => import("three").Vector3) | undefined;
|
|
28
|
+
toJSON?: ((meta?: import("three").JSONMeta) => import("three").MeshJSON) | undefined;
|
|
19
29
|
readonly isObject3D?: true | undefined;
|
|
20
30
|
readonly id?: number | undefined;
|
|
21
31
|
uuid?: string | undefined;
|
|
@@ -80,20 +90,10 @@ export declare class NgtsText3D {
|
|
|
80
90
|
updateMatrix?: (() => void) | undefined;
|
|
81
91
|
updateMatrixWorld?: ((force?: boolean) => void) | undefined;
|
|
82
92
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | undefined;
|
|
83
|
-
toJSON?: ((meta?: import("three").JSONMeta) => import("three").MeshJSON) | undefined;
|
|
84
93
|
clone?: ((recursive?: boolean) => Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>) | undefined;
|
|
85
94
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>) | undefined;
|
|
86
95
|
hasEventListener?: (<T extends keyof import("three").Object3DEventMap>(type: T, listener: import("three").EventListener<import("three").Object3DEventMap[T], T, Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>) => boolean) | undefined;
|
|
87
96
|
dispatchEvent?: (<T extends keyof import("three").Object3DEventMap>(event: import("three").BaseEvent<T> & import("three").Object3DEventMap[T]) => void) | undefined;
|
|
88
|
-
geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
89
|
-
material?: import("three").Material | import("three").Material[] | undefined;
|
|
90
|
-
readonly isMesh?: true | undefined;
|
|
91
|
-
morphTargetInfluences?: number[] | undefined;
|
|
92
|
-
morphTargetDictionary?: {
|
|
93
|
-
[key: string]: number;
|
|
94
|
-
} | undefined;
|
|
95
|
-
updateMorphTargets?: (() => void) | undefined;
|
|
96
|
-
getVertexPosition?: ((index: number, target: import("three").Vector3) => import("three").Vector3) | undefined;
|
|
97
97
|
position: import("angular-three").NgtVector3;
|
|
98
98
|
up: import("angular-three").NgtVector3;
|
|
99
99
|
scale: import("angular-three").NgtVector3;
|
|
@@ -108,7 +108,17 @@ export declare class NgtsText3D {
|
|
|
108
108
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
109
109
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
110
110
|
__ngt_args__: [geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined, material?: import("three").Material | import("three").Material[] | undefined];
|
|
111
|
+
readonly isMesh?: true | undefined;
|
|
111
112
|
readonly type?: string | undefined;
|
|
113
|
+
geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
114
|
+
material?: import("three").Material | import("three").Material[] | undefined;
|
|
115
|
+
morphTargetInfluences?: number[] | undefined;
|
|
116
|
+
morphTargetDictionary?: {
|
|
117
|
+
[key: string]: number;
|
|
118
|
+
} | undefined;
|
|
119
|
+
updateMorphTargets?: (() => void) | undefined;
|
|
120
|
+
getVertexPosition?: ((index: number, target: import("three").Vector3) => import("three").Vector3) | undefined;
|
|
121
|
+
toJSON?: ((meta?: import("three").JSONMeta) => import("three").MeshJSON) | undefined;
|
|
112
122
|
readonly isObject3D?: true | undefined;
|
|
113
123
|
readonly id?: number | undefined;
|
|
114
124
|
uuid?: string | undefined;
|
|
@@ -173,20 +183,10 @@ export declare class NgtsText3D {
|
|
|
173
183
|
updateMatrix?: (() => void) | undefined;
|
|
174
184
|
updateMatrixWorld?: ((force?: boolean) => void) | undefined;
|
|
175
185
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | undefined;
|
|
176
|
-
toJSON?: ((meta?: import("three").JSONMeta) => import("three").MeshJSON) | undefined;
|
|
177
186
|
clone?: ((recursive?: boolean) => Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>) | undefined;
|
|
178
187
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>) | undefined;
|
|
179
188
|
hasEventListener?: (<T extends keyof import("three").Object3DEventMap>(type: T, listener: import("three").EventListener<import("three").Object3DEventMap[T], T, Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>) => boolean) | undefined;
|
|
180
189
|
dispatchEvent?: (<T extends keyof import("three").Object3DEventMap>(event: import("three").BaseEvent<T> & import("three").Object3DEventMap[T]) => void) | undefined;
|
|
181
|
-
geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
182
|
-
material?: import("three").Material | import("three").Material[] | undefined;
|
|
183
|
-
readonly isMesh?: true | undefined;
|
|
184
|
-
morphTargetInfluences?: number[] | undefined;
|
|
185
|
-
morphTargetDictionary?: {
|
|
186
|
-
[key: string]: number;
|
|
187
|
-
} | undefined;
|
|
188
|
-
updateMorphTargets?: (() => void) | undefined;
|
|
189
|
-
getVertexPosition?: ((index: number, target: import("three").Vector3) => import("three").Vector3) | undefined;
|
|
190
190
|
position: import("angular-three").NgtVector3;
|
|
191
191
|
up: import("angular-three").NgtVector3;
|
|
192
192
|
scale: import("angular-three").NgtVector3;
|
|
@@ -202,7 +202,17 @@ export declare class NgtsText3D {
|
|
|
202
202
|
addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
203
203
|
removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>, typeof Mesh>, ev: import("angular-three").NgtNodeEventMap<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
|
|
204
204
|
__ngt_args__: [geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined, material?: import("three").Material | import("three").Material[] | undefined];
|
|
205
|
+
readonly isMesh?: true | undefined;
|
|
205
206
|
readonly type?: string | undefined;
|
|
207
|
+
geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
208
|
+
material?: import("three").Material | import("three").Material[] | undefined;
|
|
209
|
+
morphTargetInfluences?: number[] | undefined;
|
|
210
|
+
morphTargetDictionary?: {
|
|
211
|
+
[key: string]: number;
|
|
212
|
+
} | undefined;
|
|
213
|
+
updateMorphTargets?: (() => void) | undefined;
|
|
214
|
+
getVertexPosition?: ((index: number, target: import("three").Vector3) => import("three").Vector3) | undefined;
|
|
215
|
+
toJSON?: ((meta?: import("three").JSONMeta) => import("three").MeshJSON) | undefined;
|
|
206
216
|
readonly isObject3D?: true | undefined;
|
|
207
217
|
readonly id?: number | undefined;
|
|
208
218
|
uuid?: string | undefined;
|
|
@@ -267,20 +277,10 @@ export declare class NgtsText3D {
|
|
|
267
277
|
updateMatrix?: (() => void) | undefined;
|
|
268
278
|
updateMatrixWorld?: ((force?: boolean) => void) | undefined;
|
|
269
279
|
updateWorldMatrix?: ((updateParents: boolean, updateChildren: boolean) => void) | undefined;
|
|
270
|
-
toJSON?: ((meta?: import("three").JSONMeta) => import("three").MeshJSON) | undefined;
|
|
271
280
|
clone?: ((recursive?: boolean) => Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>) | undefined;
|
|
272
281
|
copy?: ((object: import("three").Object3D, recursive?: boolean) => Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>) | undefined;
|
|
273
282
|
hasEventListener?: (<T extends keyof import("three").Object3DEventMap>(type: T, listener: import("three").EventListener<import("three").Object3DEventMap[T], T, Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>) => boolean) | undefined;
|
|
274
283
|
dispatchEvent?: (<T extends keyof import("three").Object3DEventMap>(event: import("three").BaseEvent<T> & import("three").Object3DEventMap[T]) => void) | undefined;
|
|
275
|
-
geometry?: import("three").BufferGeometry<import("three").NormalBufferAttributes> | undefined;
|
|
276
|
-
material?: import("three").Material | import("three").Material[] | undefined;
|
|
277
|
-
readonly isMesh?: true | undefined;
|
|
278
|
-
morphTargetInfluences?: number[] | undefined;
|
|
279
|
-
morphTargetDictionary?: {
|
|
280
|
-
[key: string]: number;
|
|
281
|
-
} | undefined;
|
|
282
|
-
updateMorphTargets?: (() => void) | undefined;
|
|
283
|
-
getVertexPosition?: ((index: number, target: import("three").Vector3) => import("three").Vector3) | undefined;
|
|
284
284
|
position: import("angular-three").NgtVector3;
|
|
285
285
|
up: import("angular-three").NgtVector3;
|
|
286
286
|
scale: import("angular-three").NgtVector3;
|
|
@@ -290,22 +290,23 @@ export declare class NgtsText3D {
|
|
|
290
290
|
layers: import("angular-three").NgtLayers;
|
|
291
291
|
dispose: (() => void) | null;
|
|
292
292
|
raycast: import("three").Object3D["raycast"] | null;
|
|
293
|
-
}> & NgtsText3DOptions, "
|
|
294
|
-
meshRef: import("@angular/core").Signal<ElementRef<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap
|
|
293
|
+
}> & NgtsText3DOptions, "bevelEnabled" | "bevelOffset" | "bevelSize" | "bevelThickness" | "curveSegments" | "height" | "size" | "lineHeight" | "letterSpacing" | "bevelSegments" | "smooth">>;
|
|
294
|
+
meshRef: import("@angular/core").Signal<ElementRef<Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>;
|
|
295
|
+
private textGeometryRef;
|
|
295
296
|
loadedFont: import("@angular/core").Signal<import("three-stdlib").Font | null>;
|
|
296
297
|
private smooth;
|
|
297
298
|
private textOptions;
|
|
298
299
|
textArgs: import("@angular/core").Signal<(string | {
|
|
299
|
-
size?: number | undefined;
|
|
300
|
-
height?: number | undefined;
|
|
301
|
-
curveSegments?: number | undefined;
|
|
302
300
|
bevelEnabled?: boolean | undefined;
|
|
303
|
-
bevelThickness?: number | undefined;
|
|
304
|
-
bevelSize?: number | undefined;
|
|
305
301
|
bevelOffset?: number | undefined;
|
|
306
|
-
|
|
302
|
+
bevelSize?: number | undefined;
|
|
303
|
+
bevelThickness?: number | undefined;
|
|
304
|
+
curveSegments?: number | undefined;
|
|
305
|
+
height?: number | undefined;
|
|
306
|
+
size?: number | undefined;
|
|
307
307
|
lineHeight?: number | undefined;
|
|
308
308
|
letterSpacing?: number | undefined;
|
|
309
|
+
bevelSegments: number;
|
|
309
310
|
font: import("three-stdlib").Font;
|
|
310
311
|
})[] | null>;
|
|
311
312
|
constructor();
|
|
@@ -36,7 +36,7 @@ export interface NgtsTextOptions extends Partial<NgtMesh> {
|
|
|
36
36
|
export declare class NgtsText {
|
|
37
37
|
text: import("@angular/core").InputSignal<string>;
|
|
38
38
|
options: import("@angular/core").InputSignalWithTransform<NgtsTextOptions, "" | Partial<NgtsTextOptions>>;
|
|
39
|
-
parameters: import("@angular/core").Signal<Omit<NgtsTextOptions, "
|
|
39
|
+
parameters: import("@angular/core").Signal<Omit<NgtsTextOptions, "font" | "characters" | "fontSize" | "anchorX" | "anchorY" | "sdfGlyphSize">>;
|
|
40
40
|
synced: import("@angular/core").OutputEmitterRef<Text>;
|
|
41
41
|
private store;
|
|
42
42
|
private invalidate;
|
|
@@ -26,7 +26,7 @@ export interface NgtsCubeCameraOptions extends Partial<NgtGroup>, CubeCameraOpti
|
|
|
26
26
|
}
|
|
27
27
|
export declare class NgtsCubeCamera {
|
|
28
28
|
options: import("@angular/core").InputSignalWithTransform<NgtsCubeCameraOptions, "" | Partial<NgtsCubeCameraOptions>>;
|
|
29
|
-
parameters: import("@angular/core").Signal<Omit<NgtsCubeCameraOptions, "
|
|
29
|
+
parameters: import("@angular/core").Signal<Omit<NgtsCubeCameraOptions, "near" | "far" | "frames" | "resolution" | "envMap" | "fog">>;
|
|
30
30
|
private cubeCamera;
|
|
31
31
|
camera: import("@angular/core").Signal<CubeCamera>;
|
|
32
32
|
texture: import("@angular/core").Signal<import("three").CubeTexture>;
|
|
@@ -16,7 +16,7 @@ export interface NgtsOrthographicCameraOptions extends Partial<NgtOrthographicCa
|
|
|
16
16
|
}
|
|
17
17
|
export declare class NgtsOrthographicCamera {
|
|
18
18
|
options: import("@angular/core").InputSignalWithTransform<NgtsOrthographicCameraOptions, "" | Partial<NgtsOrthographicCameraOptions>>;
|
|
19
|
-
protected parameters: import("@angular/core").Signal<Omit<NgtsOrthographicCameraOptions, "
|
|
19
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsOrthographicCameraOptions, "makeDefault" | "manual" | "frames" | "resolution" | "envMap" | "left" | "right" | "top" | "bottom">>;
|
|
20
20
|
content: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
21
21
|
cameraContent: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
22
22
|
cameraRef: import("@angular/core").Signal<ElementRef<OrthographicCamera>>;
|
|
@@ -16,7 +16,7 @@ export interface NgtsPerspectiveCameraOptions extends Partial<NgtPerspectiveCame
|
|
|
16
16
|
}
|
|
17
17
|
export declare class NgtsPerspectiveCamera {
|
|
18
18
|
options: import("@angular/core").InputSignalWithTransform<NgtsPerspectiveCameraOptions, "" | Partial<NgtsPerspectiveCameraOptions>>;
|
|
19
|
-
protected parameters: import("@angular/core").Signal<Omit<NgtsPerspectiveCameraOptions, "
|
|
19
|
+
protected parameters: import("@angular/core").Signal<Omit<NgtsPerspectiveCameraOptions, "makeDefault" | "manual" | "frames" | "resolution" | "envMap">>;
|
|
20
20
|
content: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
21
21
|
cameraContent: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
22
22
|
cameraRef: import("@angular/core").Signal<ElementRef<PerspectiveCamera>>;
|
|
@@ -41,8 +41,8 @@ export class NgtsBillboard {
|
|
|
41
41
|
group.rotation.z = prevRotation.z;
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
45
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsBillboard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsBillboard, isStandalone: true, selector: "ngts-billboard", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "groupRef", first: true, predicate: ["group"], descendants: true, isSignal: true }, { propertyName: "innerRef", first: true, predicate: ["inner"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
46
46
|
<ngt-group #group [parameters]="parameters()">
|
|
47
47
|
<ngt-group #inner>
|
|
48
48
|
<ng-content />
|
|
@@ -50,7 +50,7 @@ export class NgtsBillboard {
|
|
|
50
50
|
</ngt-group>
|
|
51
51
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsBillboard, decorators: [{
|
|
54
54
|
type: Component,
|
|
55
55
|
args: [{
|
|
56
56
|
selector: 'ngts-billboard',
|
|
@@ -52,14 +52,14 @@ export class NgtsCatmullRomLine {
|
|
|
52
52
|
});
|
|
53
53
|
this.lineOptions = computed(() => ({ ...this.parameters(), vertexColors: this.interpolatedVertexColors() }));
|
|
54
54
|
}
|
|
55
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
56
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsCatmullRomLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsCatmullRomLine, isStandalone: true, selector: "ngts-catmull-rom-line", inputs: { points: { classPropertyName: "points", publicName: "points", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
57
57
|
<ngts-line [points]="segmentedPoints()" [options]="lineOptions()">
|
|
58
58
|
<ng-content />
|
|
59
59
|
</ngts-line>
|
|
60
60
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
61
61
|
}
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsCatmullRomLine, decorators: [{
|
|
63
63
|
type: Component,
|
|
64
64
|
args: [{
|
|
65
65
|
selector: 'ngts-catmull-rom-line',
|
|
@@ -27,14 +27,14 @@ export class NgtsCubicBezierLine {
|
|
|
27
27
|
return new CubicBezierCurve3(startV, midAV, midBV, endV).getPoints(segments);
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsCubicBezierLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsCubicBezierLine, isStandalone: true, selector: "ngts-cubic-bezier-line", inputs: { start: { classPropertyName: "start", publicName: "start", isSignal: true, isRequired: true, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: true, transformFunction: null }, midA: { classPropertyName: "midA", publicName: "midA", isSignal: true, isRequired: true, transformFunction: null }, midB: { classPropertyName: "midB", publicName: "midB", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
32
32
|
<ngts-line [points]="points()" [options]="parameters()">
|
|
33
33
|
<ng-content />
|
|
34
34
|
</ngts-line>
|
|
35
35
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsCubicBezierLine, decorators: [{
|
|
38
38
|
type: Component,
|
|
39
39
|
args: [{
|
|
40
40
|
selector: 'ngts-cubic-bezier-line',
|
|
@@ -42,14 +42,14 @@ export class NgtsEdges {
|
|
|
42
42
|
line.computeLineDistances();
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
46
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsEdges, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
46
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsEdges, isStandalone: true, selector: "ngts-edges", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
47
47
|
<ngts-line [points]="tmpPoints" [options]="lineOptions()">
|
|
48
48
|
<ng-content />
|
|
49
49
|
</ngts-line>
|
|
50
50
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsEdges, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
54
|
args: [{
|
|
55
55
|
selector: 'ngts-edges',
|
|
@@ -56,8 +56,8 @@ export class NgtsGradientTexture {
|
|
|
56
56
|
});
|
|
57
57
|
extend({ CanvasTexture });
|
|
58
58
|
}
|
|
59
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
60
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
59
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsGradientTexture, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
60
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.6", type: NgtsGradientTexture, isStandalone: true, selector: "ngts-gradient-texture", inputs: { attach: { classPropertyName: "attach", publicName: "attach", isSignal: true, isRequired: false, transformFunction: null }, stops: { classPropertyName: "stops", publicName: "stops", isSignal: true, isRequired: true, transformFunction: null }, colors: { classPropertyName: "colors", publicName: "colors", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
61
61
|
<ngt-canvas-texture
|
|
62
62
|
*args="[canvas()]"
|
|
63
63
|
[attach]="attach()"
|
|
@@ -68,7 +68,7 @@ export class NgtsGradientTexture {
|
|
|
68
68
|
</ngt-canvas-texture>
|
|
69
69
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
70
70
|
}
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsGradientTexture, decorators: [{
|
|
72
72
|
type: Component,
|
|
73
73
|
args: [{
|
|
74
74
|
selector: 'ngts-gradient-texture',
|
|
@@ -70,8 +70,8 @@ export class NgtsGrid {
|
|
|
70
70
|
worldPlanePosition.value.set(0, 0, 0).applyMatrix4(mesh.matrixWorld);
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
74
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.
|
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsGrid, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
74
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsGrid, isStandalone: true, selector: "ngts-grid", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "meshRef", first: true, predicate: ["mesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
75
75
|
<ngt-mesh #mesh [frustumCulled]="false" [parameters]="parameters()">
|
|
76
76
|
<ngt-plane-geometry *args="planeArgs()" />
|
|
77
77
|
<ngt-grid-material [transparent]="true" [side]="side()" [parameters]="uniforms()">
|
|
@@ -81,7 +81,7 @@ export class NgtsGrid {
|
|
|
81
81
|
</ngt-mesh>
|
|
82
82
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
83
83
|
}
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsGrid, decorators: [{
|
|
85
85
|
type: Component,
|
|
86
86
|
args: [{
|
|
87
87
|
selector: 'ngts-grid',
|
|
@@ -54,12 +54,12 @@ export class NgtsHelper {
|
|
|
54
54
|
this.helper = injectHelper(this.parent, this.type, { args: this.options });
|
|
55
55
|
extend({ Object3D });
|
|
56
56
|
}
|
|
57
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
58
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.
|
|
57
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsHelper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
58
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsHelper, isStandalone: true, selector: "ngts-helper", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "helperRef", first: true, predicate: ["helper"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
59
59
|
<ngt-object3D #helper />
|
|
60
60
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
61
61
|
}
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsHelper, decorators: [{
|
|
63
63
|
type: Component,
|
|
64
64
|
args: [{
|
|
65
65
|
standalone: true,
|
|
@@ -74,8 +74,8 @@ export class NgtsLine {
|
|
|
74
74
|
});
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
78
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.
|
|
77
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
78
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsLine, isStandalone: true, selector: "ngts-line", inputs: { points: { classPropertyName: "points", publicName: "points", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "lineRef", first: true, predicate: ["line"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
79
79
|
<ngt-primitive *args="[line2()]" #line [parameters]="parameters()">
|
|
80
80
|
<ngt-primitive *args="[lineGeometry()]" attach="geometry" (attached)="onGeometryAttached($any($event))" />
|
|
81
81
|
<ngt-primitive
|
|
@@ -93,7 +93,7 @@ export class NgtsLine {
|
|
|
93
93
|
</ngt-primitive>
|
|
94
94
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
95
95
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsLine, decorators: [{
|
|
97
97
|
type: Component,
|
|
98
98
|
args: [{
|
|
99
99
|
selector: 'ngts-line',
|
|
@@ -21,14 +21,14 @@ export class NgtsPrismGeometry {
|
|
|
21
21
|
this.geometryRef = viewChild('geometry');
|
|
22
22
|
extend({ ExtrudeGeometry });
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsPrismGeometry, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsPrismGeometry, isStandalone: true, selector: "ngts-prism-geometry", inputs: { attach: { classPropertyName: "attach", publicName: "attach", isSignal: true, isRequired: false, transformFunction: null }, vertices: { classPropertyName: "vertices", publicName: "vertices", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "geometryRef", first: true, predicate: ["geometry"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
26
26
|
<ngt-extrude-geometry #geometry *args="[shape(), parameters()]" [attach]="attach()">
|
|
27
27
|
<ng-content />
|
|
28
28
|
</ngt-extrude-geometry>
|
|
29
29
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsPrismGeometry, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
33
|
args: [{
|
|
34
34
|
selector: 'ngts-prism-geometry',
|
|
@@ -49,14 +49,14 @@ export class NgtsQuadraticBezierLine {
|
|
|
49
49
|
}
|
|
50
50
|
return this.curve.getPoints(segments);
|
|
51
51
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
53
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsQuadraticBezierLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsQuadraticBezierLine, isStandalone: true, selector: "ngts-quadratic-bezier-line", inputs: { start: { classPropertyName: "start", publicName: "start", isSignal: true, isRequired: false, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: false, transformFunction: null }, mid: { classPropertyName: "mid", publicName: "mid", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
54
54
|
<ngts-line [points]="points()" [options]="parameters()">
|
|
55
55
|
<ng-content />
|
|
56
56
|
</ngts-line>
|
|
57
57
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsQuadraticBezierLine, decorators: [{
|
|
60
60
|
type: Component,
|
|
61
61
|
args: [{
|
|
62
62
|
selector: 'ngts-quadratic-bezier-line',
|
|
@@ -78,15 +78,15 @@ export class NgtsRoundedBox {
|
|
|
78
78
|
toCreasedNormals(geometry, untracked(this.creaseAngle));
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
82
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.
|
|
81
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsRoundedBox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
82
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsRoundedBox, isStandalone: true, selector: "ngts-rounded-box", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "meshRef", first: true, predicate: ["mesh"], descendants: true, isSignal: true }, { propertyName: "geometryRef", first: true, predicate: ["geometry"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
83
83
|
<ngt-mesh #mesh [parameters]="parameters()">
|
|
84
84
|
<ngt-extrude-geometry #geometry *args="[shape(), params()]" />
|
|
85
85
|
<ng-content />
|
|
86
86
|
</ngt-mesh>
|
|
87
87
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
88
88
|
}
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsRoundedBox, decorators: [{
|
|
90
90
|
type: Component,
|
|
91
91
|
args: [{
|
|
92
92
|
selector: 'ngts-rounded-box',
|
|
@@ -35,7 +35,8 @@ export class NgtsText3D {
|
|
|
35
35
|
'curveSegments',
|
|
36
36
|
'smooth',
|
|
37
37
|
]);
|
|
38
|
-
this.meshRef = viewChild('mesh');
|
|
38
|
+
this.meshRef = viewChild.required('mesh');
|
|
39
|
+
this.textGeometryRef = viewChild('textGeometry');
|
|
39
40
|
this.loadedFont = injectFont(this.font);
|
|
40
41
|
this.smooth = pick(this.options, 'smooth');
|
|
41
42
|
this.textOptions = pick(this.options, [
|
|
@@ -58,32 +59,36 @@ export class NgtsText3D {
|
|
|
58
59
|
});
|
|
59
60
|
extend({ Mesh, TextGeometry });
|
|
60
61
|
effect(() => {
|
|
61
|
-
const [mesh, textArgs] = [
|
|
62
|
-
|
|
62
|
+
const [mesh, textGeometry, textArgs] = [
|
|
63
|
+
this.meshRef()?.nativeElement,
|
|
64
|
+
this.textGeometryRef()?.nativeElement,
|
|
65
|
+
this.textArgs(),
|
|
66
|
+
];
|
|
67
|
+
if (!textArgs || !textGeometry || !mesh)
|
|
63
68
|
return;
|
|
64
69
|
const smooth = this.smooth();
|
|
65
70
|
if (smooth) {
|
|
66
|
-
mesh.geometry = mergeVertices(
|
|
71
|
+
mesh.geometry = mergeVertices(textGeometry, smooth);
|
|
67
72
|
mesh.geometry.computeVertexNormals();
|
|
68
73
|
}
|
|
69
74
|
});
|
|
70
75
|
}
|
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
72
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsText3D, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
77
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsText3D, isStandalone: true, selector: "ngts-text-3d", inputs: { font: { classPropertyName: "font", publicName: "font", isSignal: true, isRequired: true, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "meshRef", first: true, predicate: ["mesh"], descendants: true, isSignal: true }, { propertyName: "textGeometryRef", first: true, predicate: ["textGeometry"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
73
78
|
<ngt-mesh #mesh [parameters]="parameters()">
|
|
74
|
-
<ngt-text-geometry *args="textArgs()" />
|
|
79
|
+
<ngt-text-geometry #textGeometry *args="textArgs()" />
|
|
75
80
|
<ng-content />
|
|
76
81
|
</ngt-mesh>
|
|
77
82
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
78
83
|
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsText3D, decorators: [{
|
|
80
85
|
type: Component,
|
|
81
86
|
args: [{
|
|
82
87
|
selector: 'ngts-text-3d',
|
|
83
88
|
standalone: true,
|
|
84
89
|
template: `
|
|
85
90
|
<ngt-mesh #mesh [parameters]="parameters()">
|
|
86
|
-
<ngt-text-geometry *args="textArgs()" />
|
|
91
|
+
<ngt-text-geometry #textGeometry *args="textArgs()" />
|
|
87
92
|
<ng-content />
|
|
88
93
|
</ngt-mesh>
|
|
89
94
|
`,
|
|
@@ -92,4 +97,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
92
97
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
93
98
|
}]
|
|
94
99
|
}], ctorParameters: () => [] });
|
|
95
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
100
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC0zZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc29iYS9hYnN0cmFjdGlvbnMvc3JjL2xpYi90ZXh0LTNkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTix1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFFBQVEsRUFDUixzQkFBc0IsRUFDdEIsTUFBTSxFQUVOLEtBQUssRUFDTCxTQUFTLEdBQ1QsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLE1BQU0sRUFBRSxPQUFPLEVBQVcsSUFBSSxFQUFFLElBQUksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNyRSxPQUFPLEVBQUUsVUFBVSxFQUFpQixNQUFNLDRCQUE0QixDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBT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RyeVJlZigpPy5uYXRpdmVFbGVtZW50LFxuXHRcdFx0XHR0aGlzLnRleHRBcmdzKCksXG5cdFx0XHRdO1xuXHRcdFx0aWYgKCF0ZXh0QXJncyB8fCAhdGV4dEdlb21ldHJ5IHx8ICFtZXNoKSByZXR1cm47XG5cblx0XHRcdGNvbnN0IHNtb290aCA9IHRoaXMuc21vb3RoKCk7XG5cdFx0XHRpZiAoc21vb3RoKSB7XG5cdFx0XHRcdG1lc2guZ2VvbWV0cnkgPSBtZXJnZVZlcnRpY2VzKHRleHRHZW9tZXRyeSwgc21vb3RoKTtcblx0XHRcdFx0bWVzaC5nZW9tZXRyeS5jb21wdXRlVmVydGV4Tm9ybWFscygpO1xuXHRcdFx0fVxuXHRcdH0pO1xuXHR9XG59XG4iXX0=
|
|
@@ -43,8 +43,8 @@ export class NgtsText {
|
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
47
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsText, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.6", type: NgtsText, isStandalone: true, selector: "ngts-text", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { synced: "synced" }, ngImport: i0, template: `
|
|
48
48
|
<ngt-primitive
|
|
49
49
|
*args="[troikaMesh]"
|
|
50
50
|
[text]="text()"
|
|
@@ -59,7 +59,7 @@ export class NgtsText {
|
|
|
59
59
|
</ngt-primitive>
|
|
60
60
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
61
61
|
}
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsText, decorators: [{
|
|
63
63
|
type: Component,
|
|
64
64
|
args: [{
|
|
65
65
|
selector: 'ngts-text',
|
|
@@ -4,10 +4,10 @@ export class NgtsCameraContent {
|
|
|
4
4
|
static ngTemplateContextGuard(_, ctx) {
|
|
5
5
|
return true;
|
|
6
6
|
}
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
8
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsCameraContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.6", type: NgtsCameraContent, isStandalone: true, selector: "ng-template[cameraContent]", ngImport: i0 }); }
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsCameraContent, decorators: [{
|
|
11
11
|
type: Directive,
|
|
12
12
|
args: [{ standalone: true, selector: 'ng-template[cameraContent]' }]
|
|
13
13
|
}] });
|