@galacean/effects-threejs 2.0.0-alpha.3 → 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.
- package/dist/index.js +727 -254
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +763 -291
- package/dist/index.mjs.map +1 -1
- package/dist/material/three-material.d.ts +3 -3
- package/package.json +2 -2
|
@@ -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
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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.
|
|
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.
|
|
46
|
+
"@galacean/effects-core": "2.0.0-alpha.4"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"three": "^0.149.0",
|