@galacean/effects-core 2.0.0-alpha.33 → 2.0.0-alpha.34
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/canvas-pool.d.ts +0 -1
- package/dist/components/effect-component.d.ts +2 -22
- package/dist/index.js +270 -217
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +270 -211
- package/dist/index.mjs.map +1 -1
- package/dist/material/material.d.ts +1 -5
- package/dist/material/utils.d.ts +0 -10
- package/dist/math/utils.d.ts +0 -3
- package/dist/plugins/particle/burst.d.ts +10 -3
- package/dist/plugins/particle/particle-loader.d.ts +1 -1
- package/dist/plugins/particle/particle-system.d.ts +1 -1
- package/dist/plugins/particle/particle-vfx-item.d.ts +1 -0
- package/dist/render/create-copy-shader.d.ts +2 -2
- package/dist/render/mesh.d.ts +1 -1
- package/dist/shader/index.d.ts +1 -2
- package/dist/shader/shader-factory.d.ts +35 -0
- package/package.json +1 -1
package/dist/canvas-pool.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Matrix4 } from '@galacean/effects-math/es/core/matrix4';
|
|
2
|
-
import type { TriangleLike } from '@galacean/effects-math/es/core/type';
|
|
3
2
|
import type { Engine } from '../engine';
|
|
4
3
|
import type { Material, MaterialDestroyOptions } from '../material';
|
|
5
4
|
import type { BoundingBoxTriangle, HitTestTriangleParams } from '../plugins';
|
|
@@ -12,10 +11,6 @@ import { RendererComponent } from './renderer-component';
|
|
|
12
11
|
* @internal
|
|
13
12
|
*/
|
|
14
13
|
export declare class EffectComponent extends RendererComponent {
|
|
15
|
-
/**
|
|
16
|
-
* Mesh 的全局唯一 id
|
|
17
|
-
*/
|
|
18
|
-
readonly id: string;
|
|
19
14
|
/**
|
|
20
15
|
* Mesh 的世界矩阵
|
|
21
16
|
*/
|
|
@@ -24,27 +19,12 @@ export declare class EffectComponent extends RendererComponent {
|
|
|
24
19
|
* Mesh 的 Geometry
|
|
25
20
|
*/
|
|
26
21
|
geometry: Geometry;
|
|
27
|
-
triangles
|
|
28
|
-
|
|
29
|
-
private visible;
|
|
22
|
+
private triangles;
|
|
23
|
+
private destroyed;
|
|
30
24
|
private hitTestGeometry;
|
|
31
25
|
constructor(engine: Engine);
|
|
32
|
-
get isDestroyed(): boolean;
|
|
33
|
-
/**
|
|
34
|
-
* 设置当前 Mesh 的可见性。
|
|
35
|
-
* @param visible - true:可见,false:不可见
|
|
36
|
-
*/
|
|
37
|
-
setVisible(visible: boolean): void;
|
|
38
26
|
start(): void;
|
|
39
27
|
render(renderer: Renderer): void;
|
|
40
|
-
/**
|
|
41
|
-
* 获取当前 Mesh 的可见性。
|
|
42
|
-
*/
|
|
43
|
-
getVisible(): boolean;
|
|
44
|
-
/**
|
|
45
|
-
* 获取当前 Mesh 的第一个 geometry。
|
|
46
|
-
*/
|
|
47
|
-
firstGeometry(): Geometry;
|
|
48
28
|
/**
|
|
49
29
|
* 设置当前 Mesh 的材质
|
|
50
30
|
* @param material - 要设置的材质
|