@galacean/engine-core 1.1.0-alpha.2 → 1.1.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.
@@ -14,29 +14,29 @@ export declare class MainModule implements ICustomClone {
14
14
  private static readonly _simulationSpace;
15
15
  private static readonly _startRotation3D;
16
16
  private static readonly _scaleMode;
17
- /** The duration of the Particle System in seconds. */
17
+ /** The duration of the Particle Generator in seconds. */
18
18
  duration: number;
19
- /** Specifies whether the Particle System loops. */
19
+ /** Specifies whether the Particle Generator loops. */
20
20
  isLoop: boolean;
21
21
  /** Start delay in seconds. */
22
22
  startDelay: ParticleCompositeCurve;
23
23
  /** The initial lifetime of particles when emitted. */
24
24
  startLifetime: ParticleCompositeCurve;
25
- /** The initial speed of particles when the Particle System first spawns them. */
25
+ /** The initial speed of particles when the Particle Generator first spawns them. */
26
26
  startSpeed: ParticleCompositeCurve;
27
27
  /** A flag to enable specifying particle size individually for each axis. */
28
28
  startSize3D: boolean;
29
- /** The initial size of particles when the Particle System first spawns them. */
29
+ /** The initial size of particles when the Particle Generator first spawns them. */
30
30
  startSize: ParticleCompositeCurve;
31
- /** The initial size of particles along the x-axis when the Particle System first spawns them. */
31
+ /** The initial size of particles along the x-axis when the Particle Generator first spawns them. */
32
32
  startSizeX: ParticleCompositeCurve;
33
- /** The initial size of particles along the y-axis when the Particle System first spawns them. */
33
+ /** The initial size of particles along the y-axis when the Particle Generator first spawns them. */
34
34
  startSizeY: ParticleCompositeCurve;
35
- /** The initial size of particles along the z-axis when the Particle System first spawns them. */
35
+ /** The initial size of particles along the z-axis when the Particle Generator first spawns them. */
36
36
  startSizeZ: ParticleCompositeCurve;
37
37
  /** A flag to enable 3D particle rotation. */
38
38
  startRotation3D: boolean;
39
- /** The initial rotation of particles when the Particle System first spawns them. */
39
+ /** The initial rotation of particles when the Particle Generator first spawns them. */
40
40
  startRotation: ParticleCompositeCurve;
41
41
  /** The initial rotation of particles around the x-axis when emitted.*/
42
42
  startRotationX: ParticleCompositeCurve;
@@ -47,13 +47,13 @@ export declare class MainModule implements ICustomClone {
47
47
  flipRotation: number;
48
48
  /** The mode of start color */
49
49
  startColor: ParticleCompositeGradient;
50
- /** A scale that this Particle System applies to gravity, defined by Physics.gravity. */
50
+ /** A scale that this Particle Generator applies to gravity, defined by Physics.gravity. */
51
51
  gravityModifier: ParticleCompositeCurve;
52
52
  /** This selects the space in which to simulate particles. It can be either world or local space. */
53
53
  simulationSpace: ParticleSimulationSpace;
54
- /** Override the default playback speed of the Particle System. */
54
+ /** Override the default playback speed of the Particle Generator. */
55
55
  simulationSpeed: number;
56
- /** Control how the Particle System applies its Transform component to the particles it emits. */
56
+ /** Control how the Particle Generator applies its Transform component to the particles it emits. */
57
57
  scalingMode: ParticleScaleMode;
58
58
  /** If set to true, the Particle Generator automatically begins to play on startup. */
59
59
  playOnEnabled: boolean;
@@ -1,5 +1,6 @@
1
- declare class ShaderFactory {
1
+ export declare class ShaderFactory {
2
2
  static parseCustomMacros(macros: string[]): string;
3
+ static registerInclude(includeName: string, includeSource: string): void;
3
4
  static parseIncludes(src: string): string;
4
5
  /**
5
6
  * GLSL extension.
@@ -14,4 +15,3 @@ declare class ShaderFactory {
14
15
  static convertTo300(shader: string, isFrag?: boolean): string;
15
16
  private static _replaceMRTShader;
16
17
  }
17
- export { ShaderFactory };
@@ -1,4 +1,15 @@
1
1
  export declare const ShaderLib: {
2
+ particle_common: string;
3
+ velocity_over_lifetime_module: string;
4
+ rotation_over_lifetime_module: string;
5
+ size_over_lifetime_module: string;
6
+ color_over_lifetime_module: string;
7
+ texture_sheet_animation_module: string;
8
+ sphere_billboard: string;
9
+ stretched_billboard: string;
10
+ vertical_billboard: string;
11
+ horizontal_billboard: string;
12
+ particle_mesh: string;
2
13
  normal_get: string;
3
14
  pbr_frag_define: string;
4
15
  pbr_helper: string;