@galacean/effects-plugin-editor-gizmo 2.10.0-alpha.1 → 2.10.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +27 -54
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +28 -55
- package/dist/index.mjs.map +1 -1
- package/dist/wireframe.d.ts +4 -10
- package/package.json +3 -3
package/dist/wireframe.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
1
|
+
import type { GeometryDrawMode, Engine, spec } from '@galacean/effects';
|
|
2
|
+
import { Geometry, Material, Mesh } from '@galacean/effects';
|
|
3
3
|
export declare function createParticleWireframe(engine: Engine, mesh: Mesh, color: spec.vec3): Mesh;
|
|
4
4
|
export declare enum WireframeGeometryType {
|
|
5
5
|
triangle = 0,
|
|
@@ -14,16 +14,10 @@ export interface SharedGeometryOptions {
|
|
|
14
14
|
drawCount?: number;
|
|
15
15
|
mode?: GeometryDrawMode;
|
|
16
16
|
index?: {
|
|
17
|
-
data:
|
|
18
|
-
releasable?: boolean;
|
|
17
|
+
data: Uint16Array | Uint32Array;
|
|
19
18
|
};
|
|
20
19
|
geometry: Geometry;
|
|
21
20
|
}
|
|
22
|
-
export declare class SharedGeometry extends
|
|
23
|
-
private readonly source;
|
|
21
|
+
export declare class SharedGeometry extends Geometry {
|
|
24
22
|
constructor(engine: Engine, options: SharedGeometryOptions);
|
|
25
|
-
initialize(): void;
|
|
26
|
-
getAttributeNames(): string[];
|
|
27
|
-
flush(): void;
|
|
28
|
-
dispose(): void;
|
|
29
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/effects-plugin-editor-gizmo",
|
|
3
|
-
"version": "2.10.0-alpha.
|
|
3
|
+
"version": "2.10.0-alpha.2",
|
|
4
4
|
"description": "Galacean Effects player editor gizmo plugin",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"registry": "https://registry.npmjs.org"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@galacean/effects
|
|
35
|
-
"@galacean/effects": "2.10.0-alpha.
|
|
34
|
+
"@galacean/effects": "2.10.0-alpha.2",
|
|
35
|
+
"@galacean/effects-plugin-model": "2.10.0-alpha.2"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"dev": "vite",
|