@galacean/effects-threejs 2.0.0-alpha.2 → 2.0.0-alpha.4

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.
@@ -159,9 +159,9 @@ export declare class ThreeMaterial extends Material {
159
159
  setInt(name: string, value: number): void;
160
160
  hasUniform(name: string): boolean;
161
161
  private setUniform;
162
- enableKeyword(keyword: string): void;
163
- disableKeyword(keyword: string): void;
164
- isKeywordEnabled(keyword: string): boolean;
162
+ enableMacro(keyword: string): void;
163
+ disableMacro(keyword: string): void;
164
+ isMacroEnabled(keyword: string): boolean;
165
165
  clone(props?: MaterialProps): Material;
166
166
  cloneUniforms(sourceMaterial: Material): void;
167
167
  fromData(data: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-threejs",
3
- "version": "2.0.0-alpha.2",
3
+ "version": "2.0.0-alpha.4",
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.0.0-alpha.2"
46
+ "@galacean/effects-core": "2.0.0-alpha.4"
47
47
  },
48
48
  "devDependencies": {
49
49
  "three": "^0.149.0",