angular-three 2.0.0-beta.31 → 2.0.0-beta.310
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/README.md +221 -4
- package/esm2022/index.mjs +13 -13
- package/esm2022/lib/canvas.mjs +128 -200
- package/esm2022/lib/directives/args.mjs +46 -20
- package/esm2022/lib/directives/selection.mjs +65 -0
- package/esm2022/lib/dom/events.mjs +2 -2
- package/esm2022/lib/events.mjs +33 -31
- package/esm2022/lib/html.mjs +40 -0
- package/esm2022/lib/instance.mjs +43 -36
- package/esm2022/lib/loader.mjs +62 -31
- package/esm2022/lib/loop.mjs +28 -25
- package/esm2022/lib/pipes/hexify.mjs +67 -0
- package/esm2022/lib/portal.mjs +173 -193
- package/esm2022/lib/renderer/catalogue.mjs +2 -2
- package/esm2022/lib/renderer/constants.mjs +5 -6
- package/esm2022/lib/renderer/index.mjs +387 -234
- package/esm2022/lib/renderer/state.mjs +49 -0
- package/esm2022/lib/renderer/utils.mjs +107 -95
- package/esm2022/lib/roots.mjs +85 -61
- package/esm2022/lib/routed-scene.mjs +6 -7
- package/esm2022/lib/store.mjs +170 -194
- package/esm2022/lib/three-types.mjs +2 -2
- package/esm2022/lib/types.mjs +1 -1
- package/esm2022/lib/utils/apply-props.mjs +24 -28
- package/esm2022/lib/utils/attach.mjs +12 -9
- package/esm2022/lib/utils/before-render.mjs +12 -0
- package/esm2022/lib/utils/is.mjs +6 -5
- package/esm2022/lib/utils/make.mjs +19 -17
- package/esm2022/lib/utils/non-nullish.mjs +7 -0
- package/esm2022/lib/utils/object-events.mjs +92 -0
- package/esm2022/lib/utils/parameters.mjs +70 -0
- package/esm2022/lib/utils/resolve-ref.mjs +8 -0
- package/esm2022/lib/utils/signal-store.mjs +52 -58
- package/esm2022/lib/utils/update.mjs +8 -4
- package/esm2022/testing/angular-three-testing.mjs +5 -0
- package/esm2022/testing/index.mjs +3 -0
- package/esm2022/testing/lib/test-bed.mjs +130 -0
- package/esm2022/testing/lib/test-canvas.mjs +45 -0
- package/esm2022/testing/lib/utils/mock-canvas.mjs +37 -0
- package/esm2022/testing/lib/utils/web-gl-rendering-context.mjs +752 -0
- package/fesm2022/angular-three-testing.mjs +966 -0
- package/fesm2022/angular-three-testing.mjs.map +1 -0
- package/fesm2022/angular-three.mjs +2506 -2539
- package/fesm2022/angular-three.mjs.map +1 -1
- package/index.d.ts +14 -12
- package/lib/canvas.d.ts +366 -96
- package/lib/directives/args.d.ts +14 -7
- package/lib/directives/selection.d.ts +17 -0
- package/lib/dom/events.d.ts +2 -3
- package/lib/events.d.ts +4 -80
- package/lib/html.d.ts +17 -0
- package/lib/instance.d.ts +3 -35
- package/lib/loader.d.ts +18 -6
- package/lib/loop.d.ts +11 -59
- package/lib/pipes/hexify.d.ts +20 -0
- package/lib/portal.d.ts +54 -48
- package/lib/renderer/catalogue.d.ts +7 -3
- package/lib/renderer/constants.d.ts +4 -5
- package/lib/renderer/index.d.ts +64 -4
- package/lib/renderer/state.d.ts +24 -0
- package/lib/renderer/utils.d.ts +9 -27
- package/lib/roots.d.ts +9 -7
- package/lib/store.d.ts +13 -141
- package/lib/three-types.d.ts +500 -147
- package/lib/types.d.ts +291 -0
- package/lib/utils/apply-props.d.ts +1 -3
- package/lib/utils/attach.d.ts +3 -5
- package/lib/{before-render.d.ts → utils/before-render.d.ts} +1 -1
- package/lib/utils/is.d.ts +13 -14
- package/lib/utils/make.d.ts +7 -13
- package/lib/utils/non-nullish.d.ts +4 -0
- package/lib/utils/object-events.d.ts +34 -0
- package/lib/utils/parameters.d.ts +20 -0
- package/lib/utils/resolve-ref.d.ts +2 -0
- package/lib/utils/signal-store.d.ts +13 -4
- package/lib/utils/update.d.ts +1 -1
- package/metadata.json +1 -1
- package/package.json +40 -24
- package/plugin/generators.json +8 -30
- package/plugin/package.json +3 -22
- package/plugin/src/generators/add-soba/compat.js.map +1 -0
- package/plugin/src/generators/add-soba/generator.d.ts +3 -0
- package/plugin/src/generators/add-soba/generator.js +78 -0
- package/plugin/src/generators/add-soba/generator.js.map +1 -0
- package/plugin/src/generators/add-soba/schema.json +4 -0
- package/plugin/src/generators/init/compat.d.ts +1 -3
- package/plugin/src/generators/init/files/experience/experience.component.ts__tmpl__ +18 -7
- package/plugin/src/generators/init/generator.d.ts +5 -5
- package/plugin/src/generators/init/generator.js +100 -106
- package/plugin/src/generators/init/generator.js.map +1 -1
- package/plugin/src/generators/init/schema.json +8 -12
- package/plugin/src/generators/utils.js +4 -3
- package/plugin/src/generators/utils.js.map +1 -1
- package/plugin/src/generators/version.d.ts +17 -0
- package/plugin/src/generators/version.js +21 -0
- package/plugin/src/generators/version.js.map +1 -0
- package/plugin/src/index.d.ts +0 -3
- package/plugin/src/index.js +0 -9
- package/plugin/src/index.js.map +1 -1
- package/testing/README.md +3 -0
- package/testing/index.d.ts +2 -0
- package/testing/lib/test-bed.d.ts +38 -0
- package/testing/lib/test-canvas.d.ts +11 -0
- package/testing/lib/utils/mock-canvas.d.ts +5 -0
- package/testing/lib/utils/web-gl-rendering-context.d.ts +16 -0
- package/testing/package.json +3 -0
- package/web-types.json +1 -1
- package/esm2022/lib/before-render.mjs +0 -13
- package/esm2022/lib/directives/common.mjs +0 -41
- package/esm2022/lib/directives/key.mjs +0 -29
- package/esm2022/lib/directives/parent.mjs +0 -35
- package/esm2022/lib/ref.mjs +0 -48
- package/esm2022/lib/renderer/store.mjs +0 -408
- package/esm2022/lib/utils/safe-detect-changes.mjs +0 -17
- package/lib/directives/common.d.ts +0 -15
- package/lib/directives/key.d.ts +0 -10
- package/lib/directives/parent.d.ts +0 -11
- package/lib/ref.d.ts +0 -8
- package/lib/renderer/store.d.ts +0 -67
- package/lib/utils/safe-detect-changes.d.ts +0 -2
- package/plugin/migrations.json +0 -16
- package/plugin/src/generators/init/files/experience/experience.component.html__tmpl__ +0 -4
- package/plugin/src/generators/init-cannon/compat.js.map +0 -1
- package/plugin/src/generators/init-cannon/generator.d.ts +0 -2
- package/plugin/src/generators/init-cannon/generator.js +0 -23
- package/plugin/src/generators/init-cannon/generator.js.map +0 -1
- package/plugin/src/generators/init-cannon/schema.json +0 -6
- package/plugin/src/generators/init-postprocessing/compat.d.ts +0 -2
- package/plugin/src/generators/init-postprocessing/compat.js +0 -6
- package/plugin/src/generators/init-postprocessing/compat.js.map +0 -1
- package/plugin/src/generators/init-postprocessing/generator.d.ts +0 -2
- package/plugin/src/generators/init-postprocessing/generator.js +0 -21
- package/plugin/src/generators/init-postprocessing/generator.js.map +0 -1
- package/plugin/src/generators/init-postprocessing/schema.json +0 -6
- package/plugin/src/generators/init-soba/compat.d.ts +0 -2
- package/plugin/src/generators/init-soba/compat.js +0 -6
- package/plugin/src/generators/init-soba/compat.js.map +0 -1
- package/plugin/src/generators/init-soba/generator.d.ts +0 -2
- package/plugin/src/generators/init-soba/generator.js +0 -27
- package/plugin/src/generators/init-soba/generator.js.map +0 -1
- package/plugin/src/generators/init-soba/schema.json +0 -6
- package/plugin/src/generators/versions.d.ts +0 -13
- package/plugin/src/generators/versions.js +0 -17
- package/plugin/src/generators/versions.js.map +0 -1
- package/plugin/src/migrations/migrate-to-ngxtension/compat.d.ts +0 -2
- package/plugin/src/migrations/migrate-to-ngxtension/compat.js +0 -6
- package/plugin/src/migrations/migrate-to-ngxtension/compat.js.map +0 -1
- package/plugin/src/migrations/migrate-to-ngxtension/migrate-to-ngxtension.d.ts +0 -2
- package/plugin/src/migrations/migrate-to-ngxtension/migrate-to-ngxtension.js +0 -41
- package/plugin/src/migrations/migrate-to-ngxtension/migrate-to-ngxtension.js.map +0 -1
- /package/plugin/src/generators/{init-cannon → add-soba}/compat.d.ts +0 -0
- /package/plugin/src/generators/{init-cannon → add-soba}/compat.js +0 -0
package/lib/three-types.d.ts
CHANGED
|
@@ -1,46 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { AmbientLight, ArrayCamera, ArrowHelper, Audio, AxesHelper, BatchedMesh, Bone, Box3Helper, BoxGeometry, BoxHelper, BufferAttribute, BufferGeometry, Camera, CameraHelper, CanvasTexture, CapsuleGeometry, CircleGeometry, Color, ColorRepresentation, CompressedTexture, ConeGeometry, CubeCamera, CubeTexture, CylinderGeometry, Data3DTexture, DataTexture, DepthTexture, DirectionalLight, DirectionalLightHelper, DirectionalLightShadow, DodecahedronGeometry, EdgesGeometry, Euler, ExtrudeGeometry, Float16BufferAttribute, Float32BufferAttribute, Fog, FogExp2, GridHelper, Group, HemisphereLight, HemisphereLightHelper, IcosahedronGeometry, InstancedBufferAttribute, InstancedBufferGeometry, InstancedMesh, Int16BufferAttribute, Int32BufferAttribute, Int8BufferAttribute, LOD, LatheGeometry, Layers, Light, LightProbe, LightShadow, Line, LineBasicMaterial, LineBasicMaterialParameters, LineDashedMaterial, LineDashedMaterialParameters, LineLoop, LineSegments, Material, Matrix3, Matrix4, Mesh, MeshBasicMaterial, MeshBasicMaterialParameters, MeshDepthMaterial, MeshDepthMaterialParameters, MeshDistanceMaterial, MeshDistanceMaterialParameters, MeshLambertMaterial, MeshLambertMaterialParameters, MeshMatcapMaterial, MeshMatcapMaterialParameters, MeshNormalMaterial, MeshNormalMaterialParameters, MeshPhongMaterial, MeshPhongMaterialParameters, MeshPhysicalMaterial, MeshPhysicalMaterialParameters, MeshStandardMaterial, MeshStandardMaterialParameters, MeshToonMaterial, MeshToonMaterialParameters, Object3D, OctahedronGeometry, OrthographicCamera, PerspectiveCamera, PlaneGeometry, PlaneHelper, PointLight, PointLightHelper, Points, PointsMaterial, PointsMaterialParameters, PolarGridHelper, PolyhedronGeometry, PositionalAudio, Quaternion, RawShaderMaterial, Raycaster, RectAreaLight, RingGeometry, Scene, ShaderMaterial, ShaderMaterialParameters, ShadowMaterial, Shape, ShapeGeometry, Skeleton, SkeletonHelper, SkinnedMesh, SphereGeometry, SpotLight, SpotLightHelper, SpotLightShadow, Sprite, SpriteMaterial, SpriteMaterialParameters, TetrahedronGeometry, Texture, TorusGeometry, TorusKnotGeometry, TubeGeometry, Uint16BufferAttribute, Uint32BufferAttribute, Uint8BufferAttribute, Vector2, Vector3, Vector4, VideoTexture, WireframeGeometry } from 'three';
|
|
2
|
+
import { NgtAfterAttach, NgtAttachFunction, NgtBeforeRenderEvent, NgtEventHandlers, NgtInstanceNode } from './types';
|
|
3
|
+
type Expand<T> = T extends infer O ? {
|
|
4
|
+
[K in keyof O]: O[K];
|
|
5
|
+
} : never;
|
|
5
6
|
type NoEvent<T> = Omit<T, 'addEventListener' | 'removeEventListener'>;
|
|
6
7
|
export type NgtNonFunctionKeys<T> = {
|
|
7
8
|
[K in keyof T]-?: T[K] extends Function ? never : K;
|
|
8
9
|
}[keyof T];
|
|
9
10
|
export type NgtOverwrite<T, O> = Omit<T, NgtNonFunctionKeys<O>> & O;
|
|
10
11
|
export type NgtExtendedColors<T> = {
|
|
11
|
-
[K in keyof T]: T[K] extends
|
|
12
|
+
[K in keyof T]: T[K] extends Color | undefined ? ColorRepresentation : T[K];
|
|
12
13
|
};
|
|
13
14
|
/**
|
|
14
15
|
* If **T** contains a constructor, @see ConstructorParameters must be used, otherwise **T**.
|
|
15
16
|
*/
|
|
16
|
-
type
|
|
17
|
-
export type NgtEuler =
|
|
18
|
-
export type NgtMatrix4 =
|
|
17
|
+
type NgtArguments<T> = T extends new (...args: any) => any ? ConstructorParameters<T> : T;
|
|
18
|
+
export type NgtEuler = Euler | Parameters<Euler['set']>;
|
|
19
|
+
export type NgtMatrix4 = Matrix4 | Parameters<Matrix4['set']> | Readonly<Matrix4['set']>;
|
|
19
20
|
/**
|
|
20
|
-
* Turn an implementation of
|
|
21
|
+
* Turn an implementation of Vector in to the type that an r3f component would accept as a prop.
|
|
21
22
|
*/
|
|
22
|
-
type NgtVectorLike<VectorClass extends
|
|
23
|
-
export type NgtVector2 = NgtVectorLike<
|
|
24
|
-
export type NgtVector3 = NgtVectorLike<
|
|
25
|
-
export type NgtVector4 = NgtVectorLike<
|
|
26
|
-
export type NgtLayers =
|
|
27
|
-
export type NgtQuaternion =
|
|
23
|
+
type NgtVectorLike<VectorClass extends Vector2 | Vector3 | Vector4> = VectorClass | Parameters<VectorClass['set']> | Readonly<Parameters<VectorClass['set']>> | Parameters<VectorClass['setScalar']>[0];
|
|
24
|
+
export type NgtVector2 = NgtVectorLike<Vector2>;
|
|
25
|
+
export type NgtVector3 = NgtVectorLike<Vector3>;
|
|
26
|
+
export type NgtVector4 = NgtVectorLike<Vector4>;
|
|
27
|
+
export type NgtLayers = Layers | Parameters<Layers['set']>[0];
|
|
28
|
+
export type NgtQuaternion = Quaternion | Parameters<Quaternion['set']>;
|
|
28
29
|
export interface NgtNodeEventMap<TOriginal> {
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
attached: NgtAfterAttach<NgtInstanceNode, TOriginal>;
|
|
31
|
+
updated: TOriginal;
|
|
31
32
|
beforeRender: NgtBeforeRenderEvent<TOriginal>;
|
|
32
33
|
}
|
|
33
34
|
export type NgtNodeElement<TOriginal, TConstructor> = {
|
|
34
35
|
attach: string | string[] | NgtAttachFunction;
|
|
35
36
|
addEventListener<TEventKey extends keyof NgtNodeEventMap<TOriginal>>(type: TEventKey, listener: (this: NgtNodeElement<TOriginal, TConstructor>, ev: NgtNodeEventMap<TOriginal>[TEventKey]) => any): void;
|
|
36
37
|
removeEventListener<TEventKey extends keyof NgtNodeEventMap<TOriginal>>(type: TEventKey, listener: (this: NgtNodeElement<TOriginal, TConstructor>, ev: NgtNodeEventMap<TOriginal>[TEventKey]) => any): void;
|
|
37
|
-
__ngt_args__:
|
|
38
|
+
__ngt_args__: NgtArguments<TConstructor>;
|
|
38
39
|
};
|
|
39
|
-
export type NgtNode<TOriginal, TConstructor, TNoEvent = NoEvent<TOriginal>> = NgtExtendedColors<NgtOverwrite<Partial<TNoEvent>, NgtNodeElement<TOriginal, TConstructor
|
|
40
|
+
export type NgtNode<TOriginal, TConstructor, TNoEvent = NoEvent<TOriginal>> = Expand<NgtExtendedColors<NgtOverwrite<Partial<TNoEvent>, NgtNodeElement<TOriginal, TConstructor>>>>;
|
|
40
41
|
export type NgtObject3DEventsMap = {
|
|
41
42
|
[TEvent in keyof NgtEventHandlers]-?: Parameters<NonNullable<NgtEventHandlers[TEvent]>>[0];
|
|
42
43
|
};
|
|
43
|
-
export type
|
|
44
|
+
export type NgtAllObject3DEventsMap = NgtObject3DEventsMap & NgtNodeEventMap<NgtInstanceNode>;
|
|
45
|
+
export type NgtObject3DNode<TOriginal, TConstructor, TNoEvent = NoEvent<TOriginal>> = Expand<NgtOverwrite<NgtNode<TOriginal, TConstructor, TNoEvent>, {
|
|
44
46
|
position: NgtVector3;
|
|
45
47
|
up: NgtVector3;
|
|
46
48
|
scale: NgtVector3;
|
|
@@ -49,258 +51,609 @@ export type NgtObject3DNode<TOriginal, TConstructor, TNoEvent = NoEvent<TOrigina
|
|
|
49
51
|
quaternion: NgtQuaternion;
|
|
50
52
|
layers: NgtLayers;
|
|
51
53
|
dispose: (() => void) | null;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export type
|
|
57
|
-
export type
|
|
58
|
-
export type
|
|
59
|
-
export type
|
|
60
|
-
export type
|
|
61
|
-
export type
|
|
62
|
-
export type
|
|
63
|
-
export type
|
|
64
|
-
export type
|
|
65
|
-
export type
|
|
66
|
-
export type
|
|
67
|
-
export type
|
|
68
|
-
export type
|
|
69
|
-
export type
|
|
70
|
-
export type
|
|
71
|
-
export type
|
|
72
|
-
export type
|
|
73
|
-
export type
|
|
74
|
-
export type
|
|
75
|
-
export type
|
|
76
|
-
export type
|
|
77
|
-
export type
|
|
78
|
-
export type
|
|
79
|
-
export type
|
|
80
|
-
export type
|
|
81
|
-
export type
|
|
82
|
-
export type
|
|
83
|
-
export type
|
|
84
|
-
export type
|
|
85
|
-
export type
|
|
86
|
-
export type
|
|
87
|
-
export type
|
|
88
|
-
export type
|
|
89
|
-
export type
|
|
90
|
-
export type
|
|
91
|
-
export type
|
|
92
|
-
export type
|
|
93
|
-
export type
|
|
94
|
-
export type
|
|
95
|
-
export type
|
|
96
|
-
export type
|
|
97
|
-
export type
|
|
98
|
-
export type
|
|
99
|
-
export type
|
|
100
|
-
export type
|
|
101
|
-
export type
|
|
102
|
-
export type
|
|
103
|
-
export type
|
|
104
|
-
export type
|
|
105
|
-
export type
|
|
106
|
-
export type
|
|
107
|
-
export type
|
|
108
|
-
export type
|
|
109
|
-
export type
|
|
110
|
-
export type
|
|
111
|
-
export type
|
|
112
|
-
export type
|
|
113
|
-
export type
|
|
114
|
-
export type
|
|
115
|
-
export type
|
|
116
|
-
export type
|
|
117
|
-
export type
|
|
118
|
-
export type
|
|
119
|
-
export type
|
|
54
|
+
raycast: Object3D['raycast'] | null;
|
|
55
|
+
addEventListener<TEventKey extends keyof NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: NgtObject3DNode<TOriginal, TConstructor>, ev: NgtAllObject3DEventsMap[TEventKey]) => any): void;
|
|
56
|
+
removeEventListener<TEventKey extends keyof NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: NgtObject3DNode<TOriginal, TConstructor>, ev: NgtAllObject3DEventsMap[TEventKey]) => any): void;
|
|
57
|
+
}>>;
|
|
58
|
+
export type NgtGeometry<TGeometry extends BufferGeometry, TConstructor> = NgtNode<TGeometry, TConstructor>;
|
|
59
|
+
export type NgtMaterial<TMaterial extends Material, TConstructor> = NgtNode<TMaterial, TConstructor>;
|
|
60
|
+
export type NgtLight<T extends Light, P> = NgtObject3DNode<T, P>;
|
|
61
|
+
export type NgtObject3D = NgtObject3DNode<Object3D, typeof Object3D>;
|
|
62
|
+
export type NgtAudio = NgtObject3DNode<Audio, typeof Audio>;
|
|
63
|
+
export type NgtAudioListener = NgtObject3DNode<AudioListener, typeof AudioListener>;
|
|
64
|
+
export type NgtPositionalAudio = NgtObject3DNode<PositionalAudio, typeof PositionalAudio>;
|
|
65
|
+
export type NgtMesh = NgtObject3DNode<Mesh, typeof Mesh>;
|
|
66
|
+
export type NgtInstancedMesh = NgtObject3DNode<InstancedMesh, typeof InstancedMesh>;
|
|
67
|
+
export type NgtBatchedMesh = NgtObject3DNode<BatchedMesh, typeof BatchedMesh>;
|
|
68
|
+
export type NgtScene = NgtObject3DNode<Scene, typeof Scene>;
|
|
69
|
+
export type NgtSprite = NgtObject3DNode<Sprite, typeof Sprite>;
|
|
70
|
+
export type NgtLOD = NgtObject3DNode<LOD, typeof LOD>;
|
|
71
|
+
export type NgtSkinnedMesh = NgtObject3DNode<SkinnedMesh, typeof SkinnedMesh>;
|
|
72
|
+
export type NgtSkeleton = NgtObject3DNode<Skeleton, typeof Skeleton>;
|
|
73
|
+
export type NgtBone = NgtObject3DNode<Bone, typeof Bone>;
|
|
74
|
+
export type NgtLine = NgtObject3DNode<Line, typeof Line>;
|
|
75
|
+
export type NgtLineSegments = NgtObject3DNode<LineSegments, typeof LineSegments>;
|
|
76
|
+
export type NgtLineLoop = NgtObject3DNode<LineLoop, typeof LineLoop>;
|
|
77
|
+
export type NgtPoints = NgtObject3DNode<Points, typeof Points>;
|
|
78
|
+
export type NgtGroup = NgtObject3DNode<Group, typeof Group>;
|
|
79
|
+
export type NgtCameraNode = NgtObject3DNode<Camera, typeof Camera>;
|
|
80
|
+
export type NgtPerspectiveCamera = NgtObject3DNode<PerspectiveCamera, typeof PerspectiveCamera>;
|
|
81
|
+
export type NgtOrthographicCamera = NgtObject3DNode<OrthographicCamera, typeof OrthographicCamera>;
|
|
82
|
+
export type NgtCubeCamera = NgtObject3DNode<CubeCamera, typeof CubeCamera>;
|
|
83
|
+
export type NgtArrayCamera = NgtObject3DNode<ArrayCamera, typeof ArrayCamera>;
|
|
84
|
+
export type NgtInstancedBufferGeometry = NgtGeometry<InstancedBufferGeometry, typeof InstancedBufferGeometry>;
|
|
85
|
+
export type NgtBufferGeometry = NgtGeometry<BufferGeometry, typeof BufferGeometry>;
|
|
86
|
+
export type NgtWireframeGeometry = NgtGeometry<WireframeGeometry, typeof WireframeGeometry>;
|
|
87
|
+
export type NgtTetrahedronGeometry = NgtGeometry<TetrahedronGeometry, typeof TetrahedronGeometry>;
|
|
88
|
+
export type NgtOctahedronGeometry = NgtGeometry<OctahedronGeometry, typeof OctahedronGeometry>;
|
|
89
|
+
export type NgtIcosahedronGeometry = NgtGeometry<IcosahedronGeometry, typeof IcosahedronGeometry>;
|
|
90
|
+
export type NgtDodecahedronGeometry = NgtGeometry<DodecahedronGeometry, typeof DodecahedronGeometry>;
|
|
91
|
+
export type NgtPolyhedronGeometry = NgtGeometry<PolyhedronGeometry, typeof PolyhedronGeometry>;
|
|
92
|
+
export type NgtTubeGeometry = NgtGeometry<TubeGeometry, typeof TubeGeometry>;
|
|
93
|
+
export type NgtTorusKnotGeometry = NgtGeometry<TorusKnotGeometry, typeof TorusKnotGeometry>;
|
|
94
|
+
export type NgtTorusGeometry = NgtGeometry<TorusGeometry, typeof TorusGeometry>;
|
|
95
|
+
export type NgtSphereGeometry = NgtGeometry<SphereGeometry, typeof SphereGeometry>;
|
|
96
|
+
export type NgtRingGeometry = NgtGeometry<RingGeometry, typeof RingGeometry>;
|
|
97
|
+
export type NgtPlaneGeometry = NgtGeometry<PlaneGeometry, typeof PlaneGeometry>;
|
|
98
|
+
export type NgtLatheGeometry = NgtGeometry<LatheGeometry, typeof LatheGeometry>;
|
|
99
|
+
export type NgtShapeGeometry = NgtGeometry<ShapeGeometry, typeof ShapeGeometry>;
|
|
100
|
+
export type NgtExtrudeGeometry = NgtGeometry<ExtrudeGeometry, typeof ExtrudeGeometry>;
|
|
101
|
+
export type NgtEdgesGeometry = NgtGeometry<EdgesGeometry, typeof EdgesGeometry>;
|
|
102
|
+
export type NgtConeGeometry = NgtGeometry<ConeGeometry, typeof ConeGeometry>;
|
|
103
|
+
export type NgtCylinderGeometry = NgtGeometry<CylinderGeometry, typeof CylinderGeometry>;
|
|
104
|
+
export type NgtCircleGeometry = NgtGeometry<CircleGeometry, typeof CircleGeometry>;
|
|
105
|
+
export type NgtBoxGeometry = NgtGeometry<BoxGeometry, typeof BoxGeometry>;
|
|
106
|
+
export type NgtCapsuleGeometry = NgtGeometry<CapsuleGeometry, typeof CapsuleGeometry>;
|
|
107
|
+
export type NgtShadowMaterial = NgtMaterial<ShadowMaterial, [ShaderMaterialParameters]>;
|
|
108
|
+
export type NgtSpriteMaterial = NgtMaterial<SpriteMaterial, [SpriteMaterialParameters]>;
|
|
109
|
+
export type NgtRawShaderMaterial = NgtMaterial<RawShaderMaterial, [ShaderMaterialParameters]>;
|
|
110
|
+
export type NgtShaderMaterial = NgtMaterial<ShaderMaterial, [ShaderMaterialParameters]>;
|
|
111
|
+
export type NgtPointsMaterial = NgtMaterial<PointsMaterial, [PointsMaterialParameters]>;
|
|
112
|
+
export type NgtMeshPhysicalMaterial = NgtMaterial<MeshPhysicalMaterial, [MeshPhysicalMaterialParameters]>;
|
|
113
|
+
export type NgtMeshStandardMaterial = NgtMaterial<MeshStandardMaterial, [MeshStandardMaterialParameters]>;
|
|
114
|
+
export type NgtMeshPhongMaterial = NgtMaterial<MeshPhongMaterial, [MeshPhongMaterialParameters]>;
|
|
115
|
+
export type NgtMeshToonMaterial = NgtMaterial<MeshToonMaterial, [MeshToonMaterialParameters]>;
|
|
116
|
+
export type NgtMeshNormalMaterial = NgtMaterial<MeshNormalMaterial, [MeshNormalMaterialParameters]>;
|
|
117
|
+
export type NgtMeshLambertMaterial = NgtMaterial<MeshLambertMaterial, [MeshLambertMaterialParameters]>;
|
|
118
|
+
export type NgtMeshDepthMaterial = NgtMaterial<MeshDepthMaterial, [MeshDepthMaterialParameters]>;
|
|
119
|
+
export type NgtMeshDistanceMaterial = NgtMaterial<MeshDistanceMaterial, [MeshDistanceMaterialParameters]>;
|
|
120
|
+
export type NgtMeshBasicMaterial = NgtMaterial<MeshBasicMaterial, [MeshBasicMaterialParameters]>;
|
|
121
|
+
export type NgtMeshMatcapMaterial = NgtMaterial<MeshMatcapMaterial, [MeshMatcapMaterialParameters]>;
|
|
122
|
+
export type NgtLineDashedMaterial = NgtMaterial<LineDashedMaterial, [LineDashedMaterialParameters]>;
|
|
123
|
+
export type NgtLineBasicMaterial = NgtMaterial<LineBasicMaterial, [LineBasicMaterialParameters]>;
|
|
120
124
|
export type NgtPrimitive = NgtNodeElement<any, any>;
|
|
121
125
|
export type NgtValue = NgtNode<{
|
|
122
126
|
rawValue: any;
|
|
123
127
|
}, {}>;
|
|
124
|
-
export type NgtLightShadow = NgtNode<
|
|
125
|
-
export type NgtSpotLightShadow = NgtNode<
|
|
126
|
-
export type NgtDirectionalLightShadow = NgtNode<
|
|
127
|
-
export type NgtSpotLight = NgtLight<
|
|
128
|
-
export type NgtPointLight = NgtLight<
|
|
129
|
-
export type NgtRectAreaLight = NgtLight<
|
|
130
|
-
export type NgtHemisphereLight = NgtLight<
|
|
131
|
-
export type NgtDirectionalLight = NgtLight<
|
|
132
|
-
export type NgtAmbientLight = NgtLight<
|
|
133
|
-
export type
|
|
134
|
-
export type
|
|
135
|
-
export type
|
|
136
|
-
export type
|
|
137
|
-
export type
|
|
138
|
-
export type
|
|
139
|
-
export type
|
|
140
|
-
export type
|
|
141
|
-
export type
|
|
142
|
-
export type
|
|
143
|
-
export type
|
|
144
|
-
export type
|
|
145
|
-
export type
|
|
146
|
-
export type
|
|
147
|
-
export type
|
|
148
|
-
export type
|
|
149
|
-
export type
|
|
150
|
-
export type
|
|
151
|
-
export type
|
|
152
|
-
export type
|
|
153
|
-
export type
|
|
154
|
-
export type
|
|
155
|
-
export type
|
|
156
|
-
export type
|
|
157
|
-
export type
|
|
158
|
-
export type
|
|
159
|
-
export type
|
|
160
|
-
export type
|
|
161
|
-
export type
|
|
162
|
-
export type
|
|
163
|
-
export type
|
|
164
|
-
export type
|
|
165
|
-
export type
|
|
166
|
-
export type
|
|
167
|
-
export type
|
|
168
|
-
export type
|
|
169
|
-
export type
|
|
170
|
-
export type
|
|
171
|
-
export type
|
|
172
|
-
export type
|
|
173
|
-
export type
|
|
174
|
-
export type
|
|
175
|
-
export type
|
|
176
|
-
export type
|
|
177
|
-
export type NgtFog = NgtNode<THREE.Fog, typeof THREE.Fog>;
|
|
178
|
-
export type NgtFogExp2 = NgtNode<THREE.FogExp2, typeof THREE.FogExp2>;
|
|
179
|
-
export type NgtShape = NgtNode<THREE.Shape, typeof THREE.Shape>;
|
|
128
|
+
export type NgtLightShadow = NgtNode<LightShadow, typeof LightShadow>;
|
|
129
|
+
export type NgtSpotLightShadow = NgtNode<SpotLightShadow, typeof SpotLightShadow>;
|
|
130
|
+
export type NgtDirectionalLightShadow = NgtNode<DirectionalLightShadow, typeof DirectionalLightShadow>;
|
|
131
|
+
export type NgtSpotLight = NgtLight<SpotLight, typeof SpotLight>;
|
|
132
|
+
export type NgtPointLight = NgtLight<PointLight, typeof PointLight>;
|
|
133
|
+
export type NgtRectAreaLight = NgtLight<RectAreaLight, typeof RectAreaLight>;
|
|
134
|
+
export type NgtHemisphereLight = NgtLight<HemisphereLight, typeof HemisphereLight>;
|
|
135
|
+
export type NgtDirectionalLight = NgtLight<DirectionalLight, typeof DirectionalLight>;
|
|
136
|
+
export type NgtAmbientLight = NgtLight<AmbientLight, typeof AmbientLight>;
|
|
137
|
+
export type NgtLightProbe = NgtLight<LightProbe, typeof LightProbe>;
|
|
138
|
+
export type NgtSpotLightHelper = NgtObject3DNode<SpotLightHelper, typeof SpotLightHelper>;
|
|
139
|
+
export type NgtSkeletonHelper = NgtObject3DNode<SkeletonHelper, typeof SkeletonHelper>;
|
|
140
|
+
export type NgtPointLightHelper = NgtObject3DNode<PointLightHelper, typeof PointLightHelper>;
|
|
141
|
+
export type NgtHemisphereLightHelper = NgtObject3DNode<HemisphereLightHelper, typeof HemisphereLightHelper>;
|
|
142
|
+
export type NgtGridHelper = NgtObject3DNode<GridHelper, typeof GridHelper>;
|
|
143
|
+
export type NgtPolarGridHelper = NgtObject3DNode<PolarGridHelper, typeof PolarGridHelper>;
|
|
144
|
+
export type NgtDirectionalLightHelper = NgtObject3DNode<DirectionalLightHelper, typeof DirectionalLightHelper>;
|
|
145
|
+
export type NgtCameraHelper = NgtObject3DNode<CameraHelper, typeof CameraHelper>;
|
|
146
|
+
export type NgtBoxHelper = NgtObject3DNode<BoxHelper, typeof BoxHelper>;
|
|
147
|
+
export type NgtBox3Helper = NgtObject3DNode<Box3Helper, typeof Box3Helper>;
|
|
148
|
+
export type NgtPlaneHelper = NgtObject3DNode<PlaneHelper, typeof PlaneHelper>;
|
|
149
|
+
export type NgtArrowHelper = NgtObject3DNode<ArrowHelper, typeof ArrowHelper>;
|
|
150
|
+
export type NgtAxesHelper = NgtObject3DNode<AxesHelper, typeof AxesHelper>;
|
|
151
|
+
export type NgtTexture = NgtNode<Texture, typeof Texture>;
|
|
152
|
+
export type NgtVideoTexture = NgtNode<VideoTexture, typeof VideoTexture>;
|
|
153
|
+
export type NgtDataTexture = NgtNode<DataTexture, typeof DataTexture>;
|
|
154
|
+
export type NgtData3DTexture = NgtNode<Data3DTexture, typeof Data3DTexture>;
|
|
155
|
+
export type NgtCompressedTexture = NgtNode<CompressedTexture, typeof CompressedTexture>;
|
|
156
|
+
export type NgtCubeTexture = NgtNode<CubeTexture, typeof CubeTexture>;
|
|
157
|
+
export type NgtCanvasTexture = NgtNode<CanvasTexture, typeof CanvasTexture>;
|
|
158
|
+
export type NgtDepthTexture = NgtNode<DepthTexture, typeof DepthTexture>;
|
|
159
|
+
export type NgtRaycaster = NgtNode<Raycaster, typeof Raycaster>;
|
|
160
|
+
export type NgtVector2Node = NgtNode<Vector2, typeof Vector2>;
|
|
161
|
+
export type NgtVector3Node = NgtNode<Vector3, typeof Vector3>;
|
|
162
|
+
export type NgtVector4Node = NgtNode<Vector4, typeof Vector4>;
|
|
163
|
+
export type NgtEulerNode = NgtNode<Euler, typeof Euler>;
|
|
164
|
+
export type NgtMatrix3Node = NgtNode<Matrix3, typeof Matrix3>;
|
|
165
|
+
export type NgtMatrix4Node = NgtNode<Matrix4, typeof Matrix4>;
|
|
166
|
+
export type NgtQuaternionNode = NgtNode<Quaternion, typeof Quaternion>;
|
|
167
|
+
export type NgtBufferAttribute = NgtNode<BufferAttribute, typeof BufferAttribute>;
|
|
168
|
+
export type NgtFloat16BufferAttribute = NgtNode<Float16BufferAttribute, typeof Float16BufferAttribute>;
|
|
169
|
+
export type NgtFloat32BufferAttribute = NgtNode<Float32BufferAttribute, typeof Float32BufferAttribute>;
|
|
170
|
+
export type NgtInt8BufferAttribute = NgtNode<Int8BufferAttribute, typeof Int8BufferAttribute>;
|
|
171
|
+
export type NgtInt16BufferAttribute = NgtNode<Int16BufferAttribute, typeof Int16BufferAttribute>;
|
|
172
|
+
export type NgtInt32BufferAttribute = NgtNode<Int32BufferAttribute, typeof Int32BufferAttribute>;
|
|
173
|
+
export type NgtUint8BufferAttribute = NgtNode<Uint8BufferAttribute, typeof Uint8BufferAttribute>;
|
|
174
|
+
export type NgtUint16BufferAttribute = NgtNode<Uint16BufferAttribute, typeof Uint16BufferAttribute>;
|
|
175
|
+
export type NgtUint32BufferAttribute = NgtNode<Uint32BufferAttribute, typeof Uint32BufferAttribute>;
|
|
176
|
+
export type NgtInstancedBufferAttribute = NgtNode<InstancedBufferAttribute, typeof InstancedBufferAttribute>;
|
|
177
|
+
export type NgtColor = NgtNode<Color, ColorRepresentation>;
|
|
178
|
+
export type NgtFog = NgtNode<Fog, typeof Fog>;
|
|
179
|
+
export type NgtFogExp2 = NgtNode<FogExp2, typeof FogExp2>;
|
|
180
|
+
export type NgtShape = NgtNode<Shape, typeof Shape>;
|
|
180
181
|
export interface ThreeElements {
|
|
182
|
+
/**
|
|
183
|
+
* @from node_modules/@types/three/src/core/Object3D.d.ts
|
|
184
|
+
*/
|
|
181
185
|
'ngt-object3D': NgtObject3D;
|
|
186
|
+
/**
|
|
187
|
+
* @from node_modules/@types/three/src/audio/Audio.d.ts
|
|
188
|
+
*/
|
|
182
189
|
'ngt-audio': NgtAudio;
|
|
190
|
+
/**
|
|
191
|
+
* @from node_modules/@types/three/src/audio/AudioListener.d.ts
|
|
192
|
+
*/
|
|
183
193
|
'ngt-audio-listener': NgtAudioListener;
|
|
194
|
+
/**
|
|
195
|
+
* @from node_modules/@types/three/src/audio/PositionalAudio.d.ts
|
|
196
|
+
*/
|
|
184
197
|
'ngt-positional-audio': NgtPositionalAudio;
|
|
198
|
+
/**
|
|
199
|
+
* @from node_modules/@types/three/src/objects/Mesh.d.ts
|
|
200
|
+
*/
|
|
185
201
|
'ngt-mesh': NgtMesh;
|
|
202
|
+
/**
|
|
203
|
+
* @from node_modules/@types/three/src/objects/InstancedMesh.d.ts
|
|
204
|
+
*/
|
|
186
205
|
'ngt-instanced-mesh': NgtInstancedMesh;
|
|
206
|
+
/**
|
|
207
|
+
* @from node_modules/@types/three/src/scenes/Scene.d.ts
|
|
208
|
+
*/
|
|
187
209
|
'ngt-scene': NgtScene;
|
|
210
|
+
/**
|
|
211
|
+
* @from node_modules/@types/three/src/objects/Sprite.d.ts
|
|
212
|
+
*/
|
|
188
213
|
'ngt-sprite': NgtSprite;
|
|
214
|
+
/**
|
|
215
|
+
* @from node_modules/@types/three/src/objects/LOD.d.ts
|
|
216
|
+
*/
|
|
189
217
|
'ngt-lOD': NgtLOD;
|
|
218
|
+
/**
|
|
219
|
+
* @from node_modules/@types/three/src/objects/SkinnedMesh.d.ts
|
|
220
|
+
*/
|
|
190
221
|
'ngt-skinned-mesh': NgtSkinnedMesh;
|
|
222
|
+
/**
|
|
223
|
+
* @from node_modules/@types/three/src/objects/Skeleton.d.ts
|
|
224
|
+
*/
|
|
191
225
|
'ngt-skeleton': NgtSkeleton;
|
|
226
|
+
/**
|
|
227
|
+
* @from node_modules/@types/three/src/objects/Bone.d.ts
|
|
228
|
+
*/
|
|
192
229
|
'ngt-bone': NgtBone;
|
|
230
|
+
/**
|
|
231
|
+
* @from node_modules/@types/three/src/objects/Line.d.ts
|
|
232
|
+
*/
|
|
193
233
|
'ngt-line': NgtLine;
|
|
234
|
+
/**
|
|
235
|
+
* @from node_modules/@types/three/src/objects/LineSegments.d.ts
|
|
236
|
+
*/
|
|
194
237
|
'ngt-line-segments': NgtLineSegments;
|
|
238
|
+
/**
|
|
239
|
+
* @from node_modules/@types/three/src/objects/LineLoop.d.ts
|
|
240
|
+
*/
|
|
195
241
|
'ngt-line-loop': NgtLineLoop;
|
|
242
|
+
/**
|
|
243
|
+
* @from node_modules/@types/three/src/objects/Points.d.ts
|
|
244
|
+
*/
|
|
196
245
|
'ngt-points': NgtPoints;
|
|
246
|
+
/**
|
|
247
|
+
* @from node_modules/@types/three/src/objects/Group.d.ts
|
|
248
|
+
*/
|
|
197
249
|
'ngt-group': NgtGroup;
|
|
250
|
+
/**
|
|
251
|
+
* @from node_modules/@types/three/src/cameras/Camera.d.ts
|
|
252
|
+
*/
|
|
198
253
|
'ngt-camera': NgtCameraNode;
|
|
254
|
+
/**
|
|
255
|
+
* @from node_modules/@types/three/src/cameras/PerspectiveCamera.d.ts
|
|
256
|
+
*/
|
|
199
257
|
'ngt-perspective-camera': NgtPerspectiveCamera;
|
|
258
|
+
/**
|
|
259
|
+
* @from node_modules/@types/three/src/cameras/OrthographicCamera.d.ts
|
|
260
|
+
*/
|
|
200
261
|
'ngt-orthographic-camera': NgtOrthographicCamera;
|
|
262
|
+
/**
|
|
263
|
+
* @from node_modules/@types/three/src/cameras/CubeCamera.d.ts
|
|
264
|
+
*/
|
|
201
265
|
'ngt-cube-camera': NgtCubeCamera;
|
|
266
|
+
/**
|
|
267
|
+
* @from node_modules/@types/three/src/cameras/ArrayCamera.d.ts
|
|
268
|
+
*/
|
|
202
269
|
'ngt-array-camera': NgtArrayCamera;
|
|
270
|
+
/**
|
|
271
|
+
* @from node_modules/@types/three/src/core/InstancedBufferGeometry.d.ts
|
|
272
|
+
*/
|
|
203
273
|
'ngt-instanced-buffer-geometry': NgtInstancedBufferGeometry;
|
|
274
|
+
/**
|
|
275
|
+
* @from node_modules/@types/three/src/core/BufferGeometry.d.ts
|
|
276
|
+
*/
|
|
204
277
|
'ngt-buffer-geometry': NgtBufferGeometry;
|
|
278
|
+
/**
|
|
279
|
+
* @from node_modules/@types/three/src/geometries/WireframeGeometry.d.ts
|
|
280
|
+
*/
|
|
205
281
|
'ngt-wireframe-geometry': NgtWireframeGeometry;
|
|
282
|
+
/**
|
|
283
|
+
* @from node_modules/@types/three/src/geometries/TetrahedronGeometry.d.ts
|
|
284
|
+
*/
|
|
206
285
|
'ngt-tetrahedron-geometry': NgtTetrahedronGeometry;
|
|
286
|
+
/**
|
|
287
|
+
* @from node_modules/@types/three/src/geometries/OctahedronGeometry.d.ts
|
|
288
|
+
*/
|
|
207
289
|
'ngt-octahedron-geometry': NgtOctahedronGeometry;
|
|
290
|
+
/**
|
|
291
|
+
* @from node_modules/@types/three/src/geometries/IcosahedronGeometry.d.ts
|
|
292
|
+
*/
|
|
208
293
|
'ngt-icosahedron-geometry': NgtIcosahedronGeometry;
|
|
294
|
+
/**
|
|
295
|
+
* @from node_modules/@types/three/src/geometries/PolyhedronGeometry.d.ts
|
|
296
|
+
*/
|
|
209
297
|
'ngt-polyhedron-geometry': NgtPolyhedronGeometry;
|
|
298
|
+
/**
|
|
299
|
+
* @from node_modules/@types/three/src/geometries/DodecahedronGeometry.d.ts
|
|
300
|
+
*/
|
|
210
301
|
'ngt-dodecahedron-geometry': NgtDodecahedronGeometry;
|
|
302
|
+
/**
|
|
303
|
+
* @from node_modules/@types/three/src/geometries/TubeGeometry.d.ts
|
|
304
|
+
*/
|
|
211
305
|
'ngt-tube-geometry': NgtTubeGeometry;
|
|
306
|
+
/**
|
|
307
|
+
* @from node_modules/@types/three/src/geometries/TorusKnotGeometry.d.ts
|
|
308
|
+
*/
|
|
212
309
|
'ngt-torus-knot-geometry': NgtTorusKnotGeometry;
|
|
310
|
+
/**
|
|
311
|
+
* @from node_modules/@types/three/src/geometries/TorusGeometry.d.ts
|
|
312
|
+
*/
|
|
213
313
|
'ngt-torus-geometry': NgtTorusGeometry;
|
|
314
|
+
/**
|
|
315
|
+
* @from node_modules/@types/three/src/geometries/SphereGeometry.d.ts
|
|
316
|
+
*/
|
|
214
317
|
'ngt-sphere-geometry': NgtSphereGeometry;
|
|
318
|
+
/**
|
|
319
|
+
* @from node_modules/@types/three/src/geometries/RingGeometry.d.ts
|
|
320
|
+
*/
|
|
215
321
|
'ngt-ring-geometry': NgtRingGeometry;
|
|
322
|
+
/**
|
|
323
|
+
* @from node_modules/@types/three/src/geometries/PlaneGeometry.d.ts
|
|
324
|
+
*/
|
|
216
325
|
'ngt-plane-geometry': NgtPlaneGeometry;
|
|
326
|
+
/**
|
|
327
|
+
* @from node_modules/@types/three/src/geometries/LatheGeometry.d.ts
|
|
328
|
+
*/
|
|
217
329
|
'ngt-lathe-geometry': NgtLatheGeometry;
|
|
330
|
+
/**
|
|
331
|
+
* @from node_modules/@types/three/src/geometries/ShapeGeometry.d.ts
|
|
332
|
+
*/
|
|
218
333
|
'ngt-shape-geometry': NgtShapeGeometry;
|
|
334
|
+
/**
|
|
335
|
+
* @from node_modules/@types/three/src/geometries/ExtrudeGeometry.d.ts
|
|
336
|
+
*/
|
|
219
337
|
'ngt-extrude-geometry': NgtExtrudeGeometry;
|
|
338
|
+
/**
|
|
339
|
+
* @from node_modules/@types/three/src/geometries/EdgesGeometry.d.ts
|
|
340
|
+
*/
|
|
220
341
|
'ngt-edges-geometry': NgtEdgesGeometry;
|
|
342
|
+
/**
|
|
343
|
+
* @from node_modules/@types/three/src/geometries/ConeGeometry.d.ts
|
|
344
|
+
*/
|
|
221
345
|
'ngt-cone-geometry': NgtConeGeometry;
|
|
346
|
+
/**
|
|
347
|
+
* @from node_modules/@types/three/src/geometries/CylinderGeometry.d.ts
|
|
348
|
+
*/
|
|
222
349
|
'ngt-cylinder-geometry': NgtCylinderGeometry;
|
|
350
|
+
/**
|
|
351
|
+
* @from node_modules/@types/three/src/geometries/CircleGeometry.d.ts
|
|
352
|
+
*/
|
|
223
353
|
'ngt-circle-geometry': NgtCircleGeometry;
|
|
354
|
+
/**
|
|
355
|
+
* @from node_modules/@types/three/src/geometries/BoxGeometry.d.ts
|
|
356
|
+
*/
|
|
224
357
|
'ngt-box-geometry': NgtBoxGeometry;
|
|
358
|
+
/**
|
|
359
|
+
* @from node_modules/@types/three/src/geometries/CapsuleGeometry.d.ts
|
|
360
|
+
*/
|
|
225
361
|
'ngt-capsule-geometry': NgtCapsuleGeometry;
|
|
362
|
+
/**
|
|
363
|
+
* @from node_modules/@types/three/src/materials/ShadowMaterial.d.ts
|
|
364
|
+
*/
|
|
226
365
|
'ngt-shadow-material': NgtShadowMaterial;
|
|
366
|
+
/**
|
|
367
|
+
* @from node_modules/@types/three/src/materials/SpriteMaterial.d.ts
|
|
368
|
+
*/
|
|
227
369
|
'ngt-sprite-material': NgtSpriteMaterial;
|
|
370
|
+
/**
|
|
371
|
+
* @from node_modules/@types/three/src/materials/RawShaderMaterial.d.ts
|
|
372
|
+
*/
|
|
228
373
|
'ngt-raw-shader-material': NgtRawShaderMaterial;
|
|
374
|
+
/**
|
|
375
|
+
* @from node_modules/@types/three/src/materials/ShaderMaterial.d.ts
|
|
376
|
+
*/
|
|
229
377
|
'ngt-shader-material': NgtShaderMaterial;
|
|
378
|
+
/**
|
|
379
|
+
* @from node_modules/@types/three/src/materials/PointsMaterial.d.ts
|
|
380
|
+
*/
|
|
230
381
|
'ngt-points-material': NgtPointsMaterial;
|
|
382
|
+
/**
|
|
383
|
+
* @from node_modules/@types/three/src/materials/MeshPhysicalMaterial.d.ts
|
|
384
|
+
*/
|
|
231
385
|
'ngt-mesh-physical-material': NgtMeshPhysicalMaterial;
|
|
386
|
+
/**
|
|
387
|
+
* @from node_modules/@types/three/src/materials/MeshStandardMaterial.d.ts
|
|
388
|
+
*/
|
|
232
389
|
'ngt-mesh-standard-material': NgtMeshStandardMaterial;
|
|
390
|
+
/**
|
|
391
|
+
* @from node_modules/@types/three/src/materials/MeshPhongMaterial.d.ts
|
|
392
|
+
*/
|
|
233
393
|
'ngt-mesh-phong-material': NgtMeshPhongMaterial;
|
|
394
|
+
/**
|
|
395
|
+
* @from node_modules/@types/three/src/materials/MeshToonMaterial.d.ts
|
|
396
|
+
*/
|
|
234
397
|
'ngt-mesh-toon-material': NgtMeshToonMaterial;
|
|
398
|
+
/**
|
|
399
|
+
* @from node_modules/@types/three/src/materials/MeshNormalMaterial.d.ts
|
|
400
|
+
*/
|
|
235
401
|
'ngt-mesh-normal-material': NgtMeshNormalMaterial;
|
|
402
|
+
/**
|
|
403
|
+
* @from node_modules/@types/three/src/materials/MeshLambertMaterial.d.ts
|
|
404
|
+
*/
|
|
236
405
|
'ngt-mesh-lambert-material': NgtMeshLambertMaterial;
|
|
406
|
+
/**
|
|
407
|
+
* @from node_modules/@types/three/src/materials/MeshDepthMaterial.d.ts
|
|
408
|
+
*/
|
|
237
409
|
'ngt-mesh-depth-material': NgtMeshDepthMaterial;
|
|
410
|
+
/**
|
|
411
|
+
* @from node_modules/@types/three/src/materials/MeshDistanceMaterial.d.ts
|
|
412
|
+
*/
|
|
238
413
|
'ngt-mesh-distance-material': NgtMeshDistanceMaterial;
|
|
414
|
+
/**
|
|
415
|
+
* @from node_modules/@types/three/src/materials/MeshBasicMaterial.d.ts
|
|
416
|
+
*/
|
|
239
417
|
'ngt-mesh-basic-material': NgtMeshBasicMaterial;
|
|
418
|
+
/**
|
|
419
|
+
* @from node_modules/@types/three/src/materials/MeshMatcapMaterial.d.ts
|
|
420
|
+
*/
|
|
240
421
|
'ngt-mesh-matcap-material': NgtMeshMatcapMaterial;
|
|
422
|
+
/**
|
|
423
|
+
* @from node_modules/@types/three/src/materials/LineDashedMaterial.d.ts
|
|
424
|
+
*/
|
|
241
425
|
'ngt-line-dashed-material': NgtLineDashedMaterial;
|
|
426
|
+
/**
|
|
427
|
+
* @from node_modules/@types/three/src/materials/LineBasicMaterial.d.ts
|
|
428
|
+
*/
|
|
242
429
|
'ngt-line-basic-material': NgtLineBasicMaterial;
|
|
243
430
|
'ngt-primitive': NgtPrimitive;
|
|
244
431
|
'ngt-value': NgtValue;
|
|
432
|
+
/**
|
|
433
|
+
* @from node_modules/@types/three/src/lights/SpotLightShadow.d.ts
|
|
434
|
+
*/
|
|
245
435
|
'ngt-spot-light-shadow': NgtSpotLightShadow;
|
|
436
|
+
/**
|
|
437
|
+
* @from node_modules/@types/three/src/lights/SpotLight.d.ts
|
|
438
|
+
*/
|
|
246
439
|
'ngt-spot-light': NgtSpotLight;
|
|
440
|
+
/**
|
|
441
|
+
* @from node_modules/@types/three/src/lights/PointLight.d.ts
|
|
442
|
+
*/
|
|
247
443
|
'ngt-point-light': NgtPointLight;
|
|
444
|
+
/**
|
|
445
|
+
* @from node_modules/@types/three/src/lights/RectAreaLight.d.ts
|
|
446
|
+
*/
|
|
248
447
|
'ngt-rect-area-light': NgtRectAreaLight;
|
|
448
|
+
/**
|
|
449
|
+
* @from node_modules/@types/three/src/lights/HemisphereLight.d.ts
|
|
450
|
+
*/
|
|
249
451
|
'ngt-hemisphere-light': NgtHemisphereLight;
|
|
452
|
+
/**
|
|
453
|
+
* @from node_modules/@types/three/src/lights/DirectionalLightShadow.d.ts
|
|
454
|
+
*/
|
|
250
455
|
'ngt-directional-light-shadow': NgtDirectionalLightShadow;
|
|
456
|
+
/**
|
|
457
|
+
* @from node_modules/@types/three/src/lights/DirectionalLight.d.ts
|
|
458
|
+
*/
|
|
251
459
|
'ngt-directional-light': NgtDirectionalLight;
|
|
460
|
+
/**
|
|
461
|
+
* @from node_modules/@types/three/src/lights/AmbientLight.d.ts
|
|
462
|
+
*/
|
|
252
463
|
'ngt-ambient-light': NgtAmbientLight;
|
|
464
|
+
/**
|
|
465
|
+
* @from node_modules/@types/three/src/lights/LightShadow
|
|
466
|
+
*/
|
|
253
467
|
'ngt-light-shadow': NgtLightShadow;
|
|
254
|
-
|
|
255
|
-
|
|
468
|
+
/**
|
|
469
|
+
* @from node_modules/@types/three/src/lights/LightProbe.d.ts
|
|
470
|
+
*/
|
|
256
471
|
'ngt-light-probe': NgtLightProbe;
|
|
472
|
+
/**
|
|
473
|
+
* @from node_modules/@types/three/src/helpers/SpotLightHelper.d.ts
|
|
474
|
+
*/
|
|
257
475
|
'ngt-spot-light-helper': NgtSpotLightHelper;
|
|
476
|
+
/**
|
|
477
|
+
* @from node_modules/@types/three/src/helpers/SkeletonHelper.d.ts
|
|
478
|
+
*/
|
|
258
479
|
'ngt-skeleton-helper': NgtSkeletonHelper;
|
|
480
|
+
/**
|
|
481
|
+
* @from node_modules/@types/three/src/helpers/PointLightHelper.d.ts
|
|
482
|
+
*/
|
|
259
483
|
'ngt-point-light-helper': NgtPointLightHelper;
|
|
484
|
+
/**
|
|
485
|
+
* @from node_modules/@types/three/src/helpers/HemisphereLightHelper.d.ts
|
|
486
|
+
*/
|
|
260
487
|
'ngt-hemisphere-light-helper': NgtHemisphereLightHelper;
|
|
488
|
+
/**
|
|
489
|
+
* @from node_modules/@types/three/src/helpers/GridHelper.d.ts
|
|
490
|
+
*/
|
|
261
491
|
'ngt-grid-helper': NgtGridHelper;
|
|
492
|
+
/**
|
|
493
|
+
* @from node_modules/@types/three/src/helpers/PolarGridHelper.d.ts
|
|
494
|
+
*/
|
|
262
495
|
'ngt-polar-grid-helper': NgtPolarGridHelper;
|
|
496
|
+
/**
|
|
497
|
+
* @from node_modules/@types/three/src/helpers/DirectionalLightHelper.d.ts
|
|
498
|
+
*/
|
|
263
499
|
'ngt-directional-light-helper': NgtDirectionalLightHelper;
|
|
500
|
+
/**
|
|
501
|
+
* @from node_modules/@types/three/src/helpers/CameraHelper.d.ts
|
|
502
|
+
*/
|
|
264
503
|
'ngt-camera-helper': NgtCameraHelper;
|
|
504
|
+
/**
|
|
505
|
+
* @from node_modules/@types/three/src/helpers/BoxHelper.d.ts
|
|
506
|
+
*/
|
|
265
507
|
'ngt-box-helper': NgtBoxHelper;
|
|
508
|
+
/**
|
|
509
|
+
* @from node_modules/@types/three/src/helpers/Box3Helper.d.ts
|
|
510
|
+
*/
|
|
266
511
|
'ngt-box3-helper': NgtBox3Helper;
|
|
512
|
+
/**
|
|
513
|
+
* @from node_modules/@types/three/src/helpers/PlaneHelper.d.ts
|
|
514
|
+
*/
|
|
267
515
|
'ngt-plane-helper': NgtPlaneHelper;
|
|
516
|
+
/**
|
|
517
|
+
* @from node_modules/@types/three/src/helpers/ArrowHelper.d.ts
|
|
518
|
+
*/
|
|
268
519
|
'ngt-arrow-helper': NgtArrowHelper;
|
|
520
|
+
/**
|
|
521
|
+
* @from node_modules/@types/three/src/helpers/AxesHelper.d.ts
|
|
522
|
+
*/
|
|
269
523
|
'ngt-axes-helper': NgtAxesHelper;
|
|
524
|
+
/**
|
|
525
|
+
* @from node_modules/@types/three/src/textures/Texture.d.ts
|
|
526
|
+
*/
|
|
270
527
|
'ngt-texture': NgtTexture;
|
|
528
|
+
/**
|
|
529
|
+
* @from node_modules/@types/three/src/textures/VideoTexture.d.ts
|
|
530
|
+
*/
|
|
271
531
|
'ngt-video-texture': NgtVideoTexture;
|
|
532
|
+
/**
|
|
533
|
+
* @from node_modules/@types/three/src/textures/DataTexture.d.ts
|
|
534
|
+
*/
|
|
272
535
|
'ngt-data-texture': NgtDataTexture;
|
|
536
|
+
/**
|
|
537
|
+
* @from node_modules/@types/three/src/textures/Data3DTexture.d.ts
|
|
538
|
+
*/
|
|
273
539
|
'ngt-data3D-texture': NgtData3DTexture;
|
|
540
|
+
/**
|
|
541
|
+
* @from node_modules/@types/three/src/textures/CompressedTexture.d.ts
|
|
542
|
+
*/
|
|
274
543
|
'ngt-compressed-texture': NgtCompressedTexture;
|
|
544
|
+
/**
|
|
545
|
+
* @from node_modules/@types/three/src/textures/CubeTexture.d.ts
|
|
546
|
+
*/
|
|
275
547
|
'ngt-cube-texture': NgtCubeTexture;
|
|
548
|
+
/**
|
|
549
|
+
* @from node_modules/@types/three/src/textures/CanvasTexture.d.ts
|
|
550
|
+
*/
|
|
276
551
|
'ngt-canvas-texture': NgtCanvasTexture;
|
|
552
|
+
/**
|
|
553
|
+
* @from node_modules/@types/three/src/textures/DepthTexture.d.ts
|
|
554
|
+
*/
|
|
277
555
|
'ngt-depth-texture': NgtDepthTexture;
|
|
556
|
+
/**
|
|
557
|
+
* @from node_modules/@types/three/src/core/Raycaster.d.ts
|
|
558
|
+
*/
|
|
278
559
|
'ngt-raycaster': NgtRaycaster;
|
|
560
|
+
/**
|
|
561
|
+
* @from node_modules/@types/three/src/math/Vector2.d.ts
|
|
562
|
+
*/
|
|
279
563
|
'ngt-vector2': NgtVector2Node;
|
|
564
|
+
/**
|
|
565
|
+
* @from node_modules/@types/three/src/math/Vector3.d.ts
|
|
566
|
+
*/
|
|
280
567
|
'ngt-vector3': NgtVector3Node;
|
|
568
|
+
/**
|
|
569
|
+
* @from node_modules/@types/three/src/math/Vector4.d.ts
|
|
570
|
+
*/
|
|
281
571
|
'ngt-vector4': NgtVector4Node;
|
|
572
|
+
/**
|
|
573
|
+
* @from node_modules/@types/three/src/math/Euler.d.ts
|
|
574
|
+
*/
|
|
282
575
|
'ngt-euler': NgtEulerNode;
|
|
576
|
+
/**
|
|
577
|
+
* @from node_modules/@types/three/src/math/Matrix3.d.ts
|
|
578
|
+
*/
|
|
283
579
|
'ngt-matrix3': NgtMatrix3Node;
|
|
580
|
+
/**
|
|
581
|
+
* @from node_modules/@types/three/src/math/Matrix4.d.ts
|
|
582
|
+
*/
|
|
284
583
|
'ngt-matrix4': NgtMatrix4Node;
|
|
584
|
+
/**
|
|
585
|
+
* @from node_modules/@types/three/src/math/Quaternion.d.ts
|
|
586
|
+
*/
|
|
285
587
|
'ngt-quaternion': NgtQuaternionNode;
|
|
588
|
+
/**
|
|
589
|
+
* @from node_modules/@types/three/src/core/BufferAttribute.d.ts
|
|
590
|
+
*/
|
|
286
591
|
'ngt-buffer-attribute': NgtBufferAttribute;
|
|
592
|
+
/**
|
|
593
|
+
* @from node_modules/@types/three/src/core/BufferAttribute.d.ts
|
|
594
|
+
* @symbol Float16BufferAttribute
|
|
595
|
+
*/
|
|
287
596
|
'ngt-float16-buffer-attribute': NgtFloat16BufferAttribute;
|
|
597
|
+
/**
|
|
598
|
+
* @from node_modules/@types/three/src/core/BufferAttribute.d.ts
|
|
599
|
+
* @symbol Float32BufferAttribute
|
|
600
|
+
*/
|
|
288
601
|
'ngt-float32-buffer-attribute': NgtFloat32BufferAttribute;
|
|
289
|
-
|
|
602
|
+
/**
|
|
603
|
+
* @from node_modules/@types/three/src/core/BufferAttribute.d.ts
|
|
604
|
+
* @symbol Int8BufferAttribute
|
|
605
|
+
*/
|
|
290
606
|
'ngt-int8-buffer-attribute': NgtInt8BufferAttribute;
|
|
607
|
+
/**
|
|
608
|
+
* @from node_modules/@types/three/src/core/BufferAttribute.d.ts
|
|
609
|
+
* @symbol Int16BufferAttribute
|
|
610
|
+
*/
|
|
291
611
|
'ngt-int16-buffer-attribute': NgtInt16BufferAttribute;
|
|
612
|
+
/**
|
|
613
|
+
* @from node_modules/@types/three/src/core/BufferAttribute.d.ts
|
|
614
|
+
* @symbol Int32BufferAttribute
|
|
615
|
+
*/
|
|
292
616
|
'ngt-int32-buffer-attribute': NgtInt32BufferAttribute;
|
|
617
|
+
/**
|
|
618
|
+
* @from node_modules/@types/three/src/core/BufferAttribute.d.ts
|
|
619
|
+
* @symbol Uint8BufferAttribute
|
|
620
|
+
*/
|
|
293
621
|
'ngt-unit8-buffer-attribute': NgtUint8BufferAttribute;
|
|
622
|
+
/**
|
|
623
|
+
* @from node_modules/@types/three/src/core/BufferAttribute.d.ts
|
|
624
|
+
* @symbol Uint16BufferAttribute
|
|
625
|
+
*/
|
|
294
626
|
'ngt-unit16-buffer-attribute': NgtUint16BufferAttribute;
|
|
627
|
+
/**
|
|
628
|
+
* @from node_modules/@types/three/src/core/BufferAttribute.d.ts
|
|
629
|
+
* @symbol Uint32BufferAttribute
|
|
630
|
+
*/
|
|
295
631
|
'ngt-unit32-buffer-attribute': NgtUint32BufferAttribute;
|
|
632
|
+
/**
|
|
633
|
+
* @from node_modules/@types/three/src/core/InstancedBufferAttribute.d.ts
|
|
634
|
+
*/
|
|
296
635
|
'ngt-instanced-buffer-attribute': NgtInstancedBufferAttribute;
|
|
636
|
+
/**
|
|
637
|
+
* @from node_modules/@types/three/src/math/Color.d.ts
|
|
638
|
+
*/
|
|
297
639
|
'ngt-color': NgtColor;
|
|
640
|
+
/**
|
|
641
|
+
* @from node_modules/@types/three/src/scenes/Fog.d.ts
|
|
642
|
+
*/
|
|
298
643
|
'ngt-fog': NgtFog;
|
|
644
|
+
/**
|
|
645
|
+
* @from node_modules/@types/three/src/scenes/FogExp2.d.ts
|
|
646
|
+
*/
|
|
299
647
|
'ngt-fog-exp2': NgtFogExp2;
|
|
648
|
+
/**
|
|
649
|
+
* @from node_modules/@types/three/src/extras/core/Shape.d.ts
|
|
650
|
+
*/
|
|
300
651
|
'ngt-shape': NgtShape;
|
|
301
652
|
}
|
|
302
653
|
declare global {
|
|
303
654
|
interface HTMLElementTagNameMap extends ThreeElements {
|
|
304
655
|
}
|
|
656
|
+
interface HTMLElementEventMap extends NgtNodeEventMap<NgtInstanceNode> {
|
|
657
|
+
}
|
|
305
658
|
}
|
|
306
659
|
export {};
|