@needle-tools/engine 4.5.5-next.f053174 → 4.5.6-next.1d4dc79

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/{needle-engine.bundle-DvRTYg0j.js → needle-engine.bundle-BgKkDMl2.js} +3 -3
  3. package/dist/{needle-engine.bundle-DFfLpZpn.min.js → needle-engine.bundle-D9kyS8Tj.min.js} +1 -1
  4. package/dist/{needle-engine.bundle-Dx2hV9Bu.umd.cjs → needle-engine.bundle-DqD4rb6x.umd.cjs} +2 -2
  5. package/dist/needle-engine.js +2 -2
  6. package/dist/needle-engine.min.js +1 -1
  7. package/dist/needle-engine.umd.cjs +1 -1
  8. package/package.json +2 -3
  9. package/plugins/common/license.js +12 -2
  10. package/dist/gltf-progressive-BEgFkNGc.light.min.js +0 -8
  11. package/dist/gltf-progressive-C9Dguupm.light.umd.cjs +0 -8
  12. package/dist/gltf-progressive-ZWp05WqX.light.js +0 -1054
  13. package/dist/needle-engine.bundle-5YrltOTW.light.umd.cjs +0 -1559
  14. package/dist/needle-engine.bundle-Bjtl-M4D.light.js +0 -43245
  15. package/dist/needle-engine.bundle-BxW8rOic.light.min.js +0 -1559
  16. package/dist/needle-engine.light.d.ts +0 -132
  17. package/dist/needle-engine.light.js +0 -617
  18. package/dist/needle-engine.light.min.js +0 -1
  19. package/dist/needle-engine.light.umd.cjs +0 -1
  20. package/dist/postprocessing-FosLwPQS.light.min.js +0 -1637
  21. package/dist/postprocessing-WrSov-2f.light.umd.cjs +0 -1637
  22. package/dist/postprocessing-hAt4uO_H.light.js +0 -14814
  23. package/dist/rapier-CU5cp-KB.light.js +0 -5142
  24. package/dist/rapier-CUe6_xwE.light.umd.cjs +0 -1
  25. package/dist/rapier-CyWhltHY.light.min.js +0 -1
  26. package/dist/three-1JG7vpNC.light.js +0 -32110
  27. package/dist/three-CFtLGNtV.light.min.js +0 -3874
  28. package/dist/three-Cn7l9Zcu.light.umd.cjs +0 -3874
  29. package/dist/three-examples-BEj-FSbn.light.umd.cjs +0 -501
  30. package/dist/three-examples-BnHP6TJv.light.min.js +0 -501
  31. package/dist/three-examples-D7sODHUy.light.js +0 -10800
  32. package/dist/three-mesh-ui-455xHppU.light.umd.cjs +0 -406
  33. package/dist/three-mesh-ui-d5QV--Fw.light.js +0 -6230
  34. package/dist/three-mesh-ui-d9DMm4Vu.light.min.js +0 -406
  35. package/dist/vendor-C6uo3n0R.light.js +0 -14010
  36. package/dist/vendor-Chn-TYVI.light.umd.cjs +0 -1121
  37. package/dist/vendor-D_SttDVr.light.min.js +0 -1121
@@ -1,132 +0,0 @@
1
- export { }
2
-
3
-
4
- declare module 'three' {
5
- interface SkinnedMesh {
6
- staticGenerator?: StaticGeometryGenerator;
7
- staticGeometry?: BufferGeometry;
8
- staticGeometryLastUpdate?: number;
9
- }
10
- interface Mesh {
11
- acceleratedRaycast?: any;
12
- }
13
- interface SkinnedMesh {
14
- autoUpdateMeshBVH?: boolean;
15
- bvhNeedsUpdate?: boolean;
16
- }
17
- }
18
-
19
-
20
- declare module 'three' {
21
- interface Object3D {
22
- get guid(): string | undefined;
23
- set guid(value: string | undefined);
24
- /**
25
- * Allows to control e.g. if an object should be exported
26
- */
27
- hideFlags: HideFlags;
28
- /**
29
- * Add a Needle Engine component to the {@link Object3D}.
30
- * @param comp The component instance or constructor to add.
31
- * @param init Optional initialization data for the component.
32
- * @returns The added component instance.
33
- * @example Directly pass in constructor and properties:
34
- * ```ts
35
- * const obj = new Object3D();
36
- * obj.addComponent(MyComponent, { myProperty: 42 });
37
- * ```
38
- * @example Create a component instance, assign properties and then add it:
39
- * ```ts
40
- * const obj = new Object3D();
41
- * const comp = new MyComponent();
42
- * comp.myProperty = 42;
43
- * obj.addComponent(comp);
44
- * ```
45
- */
46
- addComponent<T extends IComponent>(comp: T | ConstructorConcrete<T>, init?: ComponentInit<T>): T;
47
- /**
48
- * Remove a Needle Engine component from the {@link Object3D}.
49
- */
50
- removeComponent(inst: IComponent): IComponent;
51
- /**
52
- * Get or add a Needle Engine component to the Object3D.
53
- * If the component already exists, it will be returned. Otherwise, a new component will be added.
54
- * @param typeName The component constructor to get or add.
55
- * @param init Optional initialization data for the component.
56
- * @returns The component instance.
57
- */
58
- getOrAddComponent<T extends IComponent>(typeName: ConstructorConcrete<T>, init?: ComponentInit<T>): T;
59
- /**
60
- * Get a Needle Engine component from the {@link Object3D}.
61
- * @returns The component instance or null if not found.
62
- */
63
- getComponent<T extends IComponent>(type: Constructor<T>): T | null;
64
- /**
65
- * Get all components of a specific type from the {@link Object3D}.
66
- * @param arr Optional array to fill with the found components.
67
- * @returns An array of components.
68
- */
69
- getComponents<T extends IComponent>(type: Constructor<T>, arr?: []): T[];
70
- /**
71
- * Get a Needle Engine component from the {@link Object3D} or its children. This will search on the current Object and all its children.
72
- * @returns The component instance or null if not found.
73
- */
74
- getComponentInChildren<T extends IComponent>(type: Constructor<T>): T | null;
75
- /**
76
- * Get all components of a specific type from the {@link Object3D} or its children. This will search on the current Object and all its children.
77
- * @param arr Optional array to fill with the found components.
78
- * @returns An array of components.
79
- */
80
- getComponentsInChildren<T extends IComponent>(type: Constructor<T>, arr?: []): T[];
81
- /**
82
- * Get a Needle Engine component from the {@link Object3D} or its parents. This will search on the current Object and all its parents.
83
- * @returns The component instance or null if not found.
84
- */
85
- getComponentInParent<T extends IComponent>(type: Constructor<T>): T | null;
86
- /**
87
- * Get all Needle Engine components of a specific type from the {@link Object3D} or its parents. This will search on the current Object and all its parents.
88
- * @param arr Optional array to fill with the found components.
89
- * @returns An array of components.
90
- */
91
- getComponentsInParent<T extends IComponent>(type: Constructor<T>, arr?: []): T[];
92
- /**
93
- * Destroys the {@link Object3D} and all its Needle Engine components.
94
- */
95
- destroy(): void;
96
- /**
97
- * Get or set the world position of the {@link Object3D}.
98
- * Added by Needle Engine.
99
- */
100
- worldPosition: Vector3;
101
- /**
102
- * Get or set the world quaternion of the {@link Object3D}.
103
- * Added by Needle Engine.
104
- */
105
- worldQuaternion: Quaternion;
106
- /**
107
- * Get or set the world rotation of the {@link Object3D}.
108
- * Added by Needle Engine.
109
- */
110
- worldRotation: Vector3;
111
- /**
112
- * Get or set the world scale of the {@link Object3D}.
113
- * Added by Needle Engine.
114
- */
115
- worldScale: Vector3;
116
- /**
117
- * Get the world forward vector of the {@link Object3D}.
118
- * Added by Needle Engine.
119
- */
120
- get worldForward(): Vector3;
121
- /**
122
- * Get the world right vector of the {@link Object3D}.
123
- * Added by Needle Engine.
124
- */
125
- get worldRight(): Vector3;
126
- /**
127
- * Get the world up vector of the {@link Object3D}.
128
- * Added by Needle Engine.
129
- */
130
- get worldUp(): Vector3;
131
- }
132
- }