@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.
@@ -1,5 +1,5 @@
1
- import type { Geometry, GeometryDrawMode, Engine, spec } from '@galacean/effects';
2
- import { GLGeometry, Material, Mesh } from '@galacean/effects';
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: Uint8Array | Uint16Array | Uint32Array;
18
- releasable?: boolean;
17
+ data: Uint16Array | Uint32Array;
19
18
  };
20
19
  geometry: Geometry;
21
20
  }
22
- export declare class SharedGeometry extends GLGeometry {
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.1",
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-plugin-model": "2.10.0-alpha.1",
35
- "@galacean/effects": "2.10.0-alpha.1"
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",