@galacean/effects-threejs 2.6.6 → 2.7.0-alpha.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.
- package/dist/index.js +17213 -16937
- 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 +17187 -16911
- package/dist/index.mjs.map +1 -1
- package/dist/three-mesh.d.ts +3 -3
- package/package.json +2 -2
package/dist/three-mesh.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Geometry, Material,
|
|
2
|
-
import {
|
|
1
|
+
import type { Geometry, Material, MeshDestroyOptions, GeometryMeshProps, Sortable, Engine, Renderer } from '@galacean/effects-core';
|
|
2
|
+
import { Mesh } from '@galacean/effects-core';
|
|
3
3
|
import * as THREE from 'three';
|
|
4
4
|
/**
|
|
5
5
|
* mesh 抽象类的 THREE 实现
|
|
@@ -48,7 +48,7 @@ export declare class ThreeMesh extends Mesh implements Sortable {
|
|
|
48
48
|
* @param mtl - material 对象
|
|
49
49
|
* @param destroy 销毁参数
|
|
50
50
|
*/
|
|
51
|
-
setMaterial(mtl: Material
|
|
51
|
+
setMaterial(mtl: Material): void;
|
|
52
52
|
onStart(): void;
|
|
53
53
|
/**
|
|
54
54
|
* 重建方法
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/effects-threejs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0-alpha.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.
|
|
46
|
+
"@galacean/effects-core": "2.7.0-alpha.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"three": "^0.149.0",
|