@galacean/effects-threejs 2.7.0-alpha.2 → 2.7.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.
@@ -1,4 +1,4 @@
1
- import type { MaterialProps, Texture, UniformValue, MaterialDestroyOptions, UndefinedAble, Engine, GlobalUniforms, Renderer } from '@galacean/effects-core';
1
+ import type { MaterialProps, Texture, UniformValue, UndefinedAble, Engine, GlobalUniforms, Renderer } from '@galacean/effects-core';
2
2
  import { math, Material } from '@galacean/effects-core';
3
3
  import * as THREE from 'three';
4
4
  type Matrix4 = math.Matrix4;
@@ -174,6 +174,6 @@ export declare class ThreeMaterial extends Material {
174
174
  clone(props?: MaterialProps): Material;
175
175
  cloneUniforms(sourceMaterial: Material): void;
176
176
  fromData(data: unknown): void;
177
- dispose(destroyOptions?: MaterialDestroyOptions): void;
177
+ dispose(): void;
178
178
  }
179
179
  export {};
@@ -1,4 +1,4 @@
1
- import type { Scene, ShaderLibrary, Transform, MeshRendererOptions, EventSystem, CompositionProps } from '@galacean/effects-core';
1
+ import type { Scene, ShaderLibrary, Transform, EventSystem, CompositionProps } from '@galacean/effects-core';
2
2
  import { Composition } from '@galacean/effects-core';
3
3
  import type THREE from 'three';
4
4
  /**
@@ -49,10 +49,4 @@ export declare class ThreeComposition extends Composition {
49
49
  static shape: Record<string, number>;
50
50
  constructor(props: ThreeCompositionProps, scene: Scene);
51
51
  prepareRender(): void;
52
- /**
53
- * 获取 render 参数
54
- *
55
- * @returns
56
- */
57
- getRendererOptions(): MeshRendererOptions;
58
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-threejs",
3
- "version": "2.7.0-alpha.2",
3
+ "version": "2.7.0",
4
4
  "description": "Galacean Effects runtime threejs plugin for the web",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "registry": "https://registry.npmjs.org"
44
44
  },
45
45
  "dependencies": {
46
- "@galacean/effects-core": "2.7.0-alpha.2"
46
+ "@galacean/effects-core": "2.7.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "three": "^0.149.0",