@galacean/engine-core 2.0.0-alpha.47 → 2.0.0-alpha.49

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.
Files changed (50) hide show
  1. package/dist/main.js +190 -123
  2. package/dist/main.js.map +1 -1
  3. package/dist/module.js +190 -123
  4. package/dist/module.js.map +1 -1
  5. package/package.json +3 -3
  6. package/types/2d/assembler/ISpriteAssembler.d.ts +1 -0
  7. package/types/2d/assembler/ISpriteRenderer.d.ts +1 -0
  8. package/types/2d/assembler/SimpleSpriteAssembler.d.ts +1 -0
  9. package/types/2d/assembler/SlicedSpriteAssembler.d.ts +1 -0
  10. package/types/2d/assembler/TiledSpriteAssembler.d.ts +1 -0
  11. package/types/2d/sprite/SpriteMask.d.ts +1 -0
  12. package/types/2d/sprite/SpriteRenderer.d.ts +1 -0
  13. package/types/2d/text/ITextRenderer.d.ts +3 -0
  14. package/types/Camera.d.ts +2 -0
  15. package/types/Engine.d.ts +1 -0
  16. package/types/Renderer.d.ts +3 -0
  17. package/types/Signal.d.ts +1 -0
  18. package/types/SystemInfo.d.ts +3 -0
  19. package/types/Transform.d.ts +1 -0
  20. package/types/animation/Animator.d.ts +1 -0
  21. package/types/graphic/Buffer.d.ts +3 -0
  22. package/types/graphic/BufferUtil.d.ts +6 -3
  23. package/types/graphic/Mesh.d.ts +3 -0
  24. package/types/graphic/VertexElement.d.ts +1 -0
  25. package/types/material/Material.d.ts +3 -0
  26. package/types/mesh/MeshRenderer.d.ts +1 -0
  27. package/types/mesh/PrimitiveMesh.d.ts +6 -0
  28. package/types/mesh/SkinnedMeshRenderer.d.ts +1 -0
  29. package/types/particle/ParticleGenerator.d.ts +1 -0
  30. package/types/particle/ParticleRenderer.d.ts +1 -0
  31. package/types/particle/modules/ColorOverLifetimeModule.d.ts +7 -0
  32. package/types/particle/modules/EmissionModule.d.ts +1 -0
  33. package/types/particle/modules/LimitVelocityOverLifetimeModule.d.ts +26 -0
  34. package/types/particle/modules/MainModule.d.ts +2 -0
  35. package/types/particle/modules/NoiseModule.d.ts +13 -0
  36. package/types/particle/modules/RotationOverLifetimeModule.d.ts +12 -0
  37. package/types/particle/modules/SizeOverLifetimeModule.d.ts +9 -0
  38. package/types/particle/modules/VelocityOverLifetimeModule.d.ts +31 -0
  39. package/types/particle/modules/shape/MeshShape.d.ts +1 -0
  40. package/types/physics/Collider.d.ts +1 -0
  41. package/types/physics/DynamicCollider.d.ts +1 -0
  42. package/types/physics/PhysicsScene.d.ts +2 -0
  43. package/types/physics/shape/ColliderShape.d.ts +1 -0
  44. package/types/physics/shape/MeshColliderShape.d.ts +1 -0
  45. package/types/postProcess/PostProcess.d.ts +3 -0
  46. package/types/postProcess/PostProcessEffectParameter.d.ts +15 -0
  47. package/types/postProcess/PostProcessPass.d.ts +1 -0
  48. package/types/postProcess/PostProcessUberPass.d.ts +1 -0
  49. package/types/shader/ShaderData.d.ts +1 -0
  50. package/types/trail/TrailRenderer.d.ts +7 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-core",
3
- "version": "2.0.0-alpha.47",
3
+ "version": "2.0.0-alpha.49",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -18,10 +18,10 @@
18
18
  "types/**/*"
19
19
  ],
20
20
  "dependencies": {
21
- "@galacean/engine-math": "2.0.0-alpha.47"
21
+ "@galacean/engine-math": "2.0.0-alpha.49"
22
22
  },
23
23
  "devDependencies": {
24
- "@galacean/engine-design": "2.0.0-alpha.47"
24
+ "@galacean/engine-design": "2.0.0-alpha.49"
25
25
  },
26
26
  "scripts": {
27
27
  "b:types": "tsc"
@@ -1,6 +1,7 @@
1
1
  import { Matrix, Vector2 } from "@galacean/engine-math";
2
2
  import { ISpriteRenderer } from "./ISpriteRenderer";
3
3
  /**
4
+ * @internal
4
5
  * Interface for sprite assembler.
5
6
  */
6
7
  export interface ISpriteAssembler {
@@ -4,6 +4,7 @@ import { SubPrimitiveChunk } from "../../RenderPipeline/SubPrimitiveChunk";
4
4
  import { SpriteTileMode } from "../enums/SpriteTileMode";
5
5
  import { Sprite } from "../sprite";
6
6
  /**
7
+ * @internal
7
8
  * Interface for sprite renderer.
8
9
  */
9
10
  export interface ISpriteRenderer {
@@ -1,6 +1,7 @@
1
1
  import { Matrix, Vector2 } from "@galacean/engine-math";
2
2
  import { ISpriteRenderer } from "./ISpriteRenderer";
3
3
  /**
4
+ * @internal
4
5
  * Assemble vertex data for the sprite renderer in simple mode.
5
6
  */
6
7
  export declare class SimpleSpriteAssembler {
@@ -1,6 +1,7 @@
1
1
  import { Matrix, Vector2 } from "@galacean/engine-math";
2
2
  import { ISpriteRenderer } from "./ISpriteRenderer";
3
3
  /**
4
+ * @internal
4
5
  * Assemble vertex data for the sprite renderer in sliced mode.
5
6
  */
6
7
  export declare class SlicedSpriteAssembler {
@@ -1,6 +1,7 @@
1
1
  import { Matrix, Vector2 } from "@galacean/engine-math";
2
2
  import { ISpriteRenderer } from "./ISpriteRenderer";
3
3
  /**
4
+ * @internal
4
5
  * Assemble vertex data for the sprite renderer in tiled mode.
5
6
  */
6
7
  export declare class TiledSpriteAssembler {
@@ -80,6 +80,7 @@ export declare class SpriteMask extends Renderer implements ISpriteRenderer {
80
80
  */
81
81
  _updateTransformShaderData(context: RenderContext, onlyMVP: boolean): void;
82
82
  /**
83
+ * @internal
83
84
  * @inheritdoc
84
85
  */
85
86
  _onClone(target: SpriteMask): void;
@@ -104,6 +104,7 @@ export declare class SpriteRenderer extends Renderer implements ISpriteRenderer
104
104
  */
105
105
  _updateTransformShaderData(context: RenderContext, onlyMVP: boolean): void;
106
106
  /**
107
+ * @internal
107
108
  * @inheritdoc
108
109
  */
109
110
  _onClone(target: SpriteRenderer): void;
@@ -1,5 +1,8 @@
1
1
  import { OverflowMode } from "../enums/TextOverflow";
2
2
  import { SubFont } from "./SubFont";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export interface ITextRenderer {
4
7
  text: string;
5
8
  overflowMode: OverflowMode;
package/types/Camera.d.ts CHANGED
@@ -331,10 +331,12 @@ export declare class Camera extends Component {
331
331
  */
332
332
  resetReplacementShader(): void;
333
333
  /**
334
+ * @internal
334
335
  * @inheritdoc
335
336
  */
336
337
  _onEnableInScene(): void;
337
338
  /**
339
+ * @internal
338
340
  * @inheritdoc
339
341
  */
340
342
  _onDisableInScene(): void;
package/types/Engine.d.ts CHANGED
@@ -52,6 +52,7 @@ export declare class Engine extends EventDispatcher {
52
52
  _isDeviceLost: boolean;
53
53
  /** @internal */
54
54
  _batcherManager: BatcherManager;
55
+ /** @internal */
55
56
  _particleBufferUtils: ParticleBufferUtils;
56
57
  /** @internal */
57
58
  _frameInProcess: boolean;
@@ -33,9 +33,11 @@ export declare class Renderer extends Component implements ICloneHook<Renderer>
33
33
  _rendererIndex: number;
34
34
  /** @internal */
35
35
  _globalShaderMacro: ShaderMacroCollection;
36
+ /** @internal */
36
37
  _renderFrameCount: number;
37
38
  /** @internal */
38
39
  _maskInteraction: SpriteMaskInteraction;
40
+ /** @internal */
39
41
  _maskLayer: SpriteMaskLayer;
40
42
  protected _overrideUpdate: boolean;
41
43
  protected _materials: Material[];
@@ -147,6 +149,7 @@ export declare class Renderer extends Component implements ICloneHook<Renderer>
147
149
  */
148
150
  _prepareRender(context: RenderContext): void;
149
151
  /**
152
+ * @internal
150
153
  * @inheritdoc
151
154
  */
152
155
  _onClone(target: Renderer): void;
package/types/Signal.d.ts CHANGED
@@ -60,6 +60,7 @@ export declare class Signal<T extends any[] = []> extends DataObject implements
60
60
  */
61
61
  invoke(...args: T): void;
62
62
  /**
63
+ * @internal
63
64
  * @inheritdoc
64
65
  */
65
66
  _onClone(target: Signal<T>, cloneMap: ReadonlyMap<object, object>): void;
@@ -28,6 +28,9 @@ export declare class SystemInfo {
28
28
  * @internal
29
29
  */
30
30
  static _detectSIMDSupported(): boolean;
31
+ /**
32
+ * @internal
33
+ */
31
34
  static _checkWebpSupported(): AssetPromise<boolean>;
32
35
  /**
33
36
  * Checks whether the system supports the given texture format.
@@ -213,6 +213,7 @@ export declare class Transform extends Component implements ICloneHook<Transform
213
213
  */
214
214
  _copyLocalPoseFrom(source: Transform): void;
215
215
  /**
216
+ * @internal
216
217
  * @inheritdoc
217
218
  */
218
219
  _onClone(target: Transform): void;
@@ -142,6 +142,7 @@ export declare class Animator extends Component implements ICloneHook<Animator>
142
142
  _reset(): void;
143
143
  private _resetIfControllerUpdated;
144
144
  /**
145
+ * @internal
145
146
  * @inheritdoc
146
147
  */
147
148
  _onClone(target: Animator): void;
@@ -123,6 +123,9 @@ export declare class Buffer extends GraphicsResource {
123
123
  * Mark buffer as readable, the `data` property will be not accessible anymore.
124
124
  */
125
125
  markAsUnreadable(): void;
126
+ /**
127
+ * @internal
128
+ */
126
129
  _rebuild(): void;
127
130
  /**
128
131
  * @internal
@@ -1,17 +1,20 @@
1
1
  import { DataType } from "../base/Constant";
2
2
  import { IndexFormat } from "./enums/IndexFormat";
3
3
  import { VertexElementFormat } from "./enums/VertexElementFormat";
4
+ /**
5
+ * @internal
6
+ */
4
7
  export interface ElementInfo {
5
8
  size: number;
6
9
  type: DataType;
7
10
  normalized: boolean;
8
11
  normalizedScaleFactor: number;
9
12
  }
13
+ /**
14
+ * @internal
15
+ */
10
16
  export declare class BufferUtil {
11
17
  static _getGLIndexType(indexFormat: IndexFormat): DataType;
12
18
  static _getGLIndexByteCount(indexFormat: IndexFormat): number;
13
- /**
14
- * @internal
15
- */
16
19
  static _getElementInfo(format: VertexElementFormat): ElementInfo;
17
20
  }
@@ -88,6 +88,9 @@ export declare abstract class Mesh extends ReferResource {
88
88
  * @internal
89
89
  */
90
90
  _setVertexBufferBinding(index: number, binding: VertexBufferBinding): void;
91
+ /**
92
+ * @internal
93
+ */
91
94
  _addReferCount(value: number): void;
92
95
  /**
93
96
  * @internal
@@ -4,6 +4,7 @@ import { VertexElementFormat } from "./enums/VertexElementFormat";
4
4
  * Vertex element.
5
5
  */
6
6
  export declare class VertexElement {
7
+ /** @internal */
7
8
  _formatMetaInfo: ElementInfo;
8
9
  private _attributeName;
9
10
  private _offset;
@@ -36,6 +36,9 @@ export declare class Material extends ReferResource implements IClone {
36
36
  * @param target - target material
37
37
  */
38
38
  cloneTo(target: Material): void;
39
+ /**
40
+ * @internal
41
+ */
39
42
  _addReferCount(value: number): void;
40
43
  protected _cloneToAndModifyName(target: Material): void;
41
44
  /**
@@ -37,6 +37,7 @@ export declare class MeshRenderer extends Renderer {
37
37
  */
38
38
  protected _onDestroy(): void;
39
39
  /**
40
+ * @internal
40
41
  * @inheritdoc
41
42
  */
42
43
  _onClone(target: MeshRenderer): void;
@@ -124,6 +124,9 @@ export declare class PrimitiveMesh {
124
124
  * @internal
125
125
  */
126
126
  static _setPlaneData(planeMesh: ModelMesh, width: number, height: number, horizontalSegments: number, verticalSegments: number, noLongerAccessible: boolean, isRestoreMode: boolean, restoreVertexBuffer?: Buffer): void;
127
+ /**
128
+ * @internal
129
+ */
127
130
  static _setCylinderData(cylinderMesh: ModelMesh, radiusTop: number, radiusBottom: number, height: number, radialSegments: number, heightSegments: number, noLongerAccessible: boolean, isRestoreMode: boolean, restoreVertexBuffer?: Buffer): void;
128
131
  /**
129
132
  * @internal
@@ -133,6 +136,9 @@ export declare class PrimitiveMesh {
133
136
  * @internal
134
137
  */
135
138
  static _setConeData(coneMesh: ModelMesh, radius: number, height: number, radialSegments: number, heightSegments: number, noLongerAccessible: boolean, isRestoreMode: boolean, restoreVertexBuffer?: Buffer): void;
139
+ /**
140
+ * @internal
141
+ */
136
142
  static _setCapsuleData(capsuleMesh: ModelMesh, radius: number, height: number, radialSegments: number, heightSegments: number, noLongerAccessible: boolean, isRestoreMode: boolean, restoreVertexBuffer?: Buffer): void;
137
143
  private static _initialize;
138
144
  private static _generateIndices;
@@ -50,6 +50,7 @@ export declare class SkinnedMeshRenderer extends MeshRenderer {
50
50
  */
51
51
  _onDestroy(): void;
52
52
  /**
53
+ * @internal
53
54
  * @inheritdoc
54
55
  */
55
56
  _onClone(target: SkinnedMeshRenderer): void;
@@ -184,6 +184,7 @@ export declare class ParticleGenerator extends DataObject implements ICloneHook<
184
184
  */
185
185
  _getNotRetiredParticleCount(): number;
186
186
  /**
187
+ * @internal
187
188
  * @inheritdoc
188
189
  */
189
190
  _onClone(target: ParticleGenerator): void;
@@ -71,6 +71,7 @@ export declare class ParticleRenderer extends Renderer {
71
71
  protected _render(context: RenderContext): void;
72
72
  protected _onDestroy(): void;
73
73
  /**
74
+ * @internal
74
75
  * @inheritdoc
75
76
  */
76
77
  _onClone(target: ParticleRenderer): void;
@@ -8,12 +8,19 @@ import { ParticleGeneratorModule } from "./ParticleGeneratorModule";
8
8
  * Color over lifetime module.
9
9
  */
10
10
  export declare class ColorOverLifetimeModule extends ParticleGeneratorModule {
11
+ /** @internal */
11
12
  static readonly _gradientMacro: ShaderMacro;
13
+ /** @internal */
12
14
  static readonly _randomGradientsMacro: ShaderMacro;
15
+ /** @internal */
13
16
  static readonly _minGradientColor: ShaderProperty;
17
+ /** @internal */
14
18
  static readonly _minGradientAlpha: ShaderProperty;
19
+ /** @internal */
15
20
  static readonly _maxGradientColor: ShaderProperty;
21
+ /** @internal */
16
22
  static readonly _maxGradientAlpha: ShaderProperty;
23
+ /** @internal */
17
24
  static readonly _gradientKeysCount: ShaderProperty;
18
25
  /** Color gradient over lifetime. */
19
26
  color: ParticleCompositeGradient;
@@ -15,6 +15,7 @@ export declare class EmissionModule extends ParticleGeneratorModule {
15
15
  rateOverTime: ParticleCompositeCurve;
16
16
  /** The rate at which the emitter spawns new particles over distance. */
17
17
  rateOverDistance: ParticleCompositeCurve;
18
+ /** @internal */
18
19
  _shape: BaseShape;
19
20
  /** @internal */
20
21
  _shapeRand: Rand;
@@ -9,31 +9,57 @@ import { ParticleGeneratorModule } from "./ParticleGeneratorModule";
9
9
  * Limit velocity over lifetime module.
10
10
  */
11
11
  export declare class LimitVelocityOverLifetimeModule extends ParticleGeneratorModule {
12
+ /** @internal */
12
13
  static readonly _enabledMacro: ShaderMacro;
14
+ /** @internal */
13
15
  static readonly _separateAxesMacro: ShaderMacro;
16
+ /** @internal */
14
17
  static readonly _speedConstantModeMacro: ShaderMacro;
18
+ /** @internal */
15
19
  static readonly _speedCurveModeMacro: ShaderMacro;
20
+ /** @internal */
16
21
  static readonly _speedIsRandomMacro: ShaderMacro;
22
+ /** @internal */
17
23
  static readonly _dragCurveModeMacro: ShaderMacro;
24
+ /** @internal */
18
25
  static readonly _dragIsRandomMacro: ShaderMacro;
26
+ /** @internal */
19
27
  static readonly _multiplyDragBySizeMacro: ShaderMacro;
28
+ /** @internal */
20
29
  static readonly _multiplyDragByVelocityMacro: ShaderMacro;
30
+ /** @internal */
21
31
  static readonly _speedMaxConstProperty: ShaderProperty;
32
+ /** @internal */
22
33
  static readonly _speedMinConstProperty: ShaderProperty;
34
+ /** @internal */
23
35
  static readonly _speedMaxCurveProperty: ShaderProperty;
36
+ /** @internal */
24
37
  static readonly _speedMinCurveProperty: ShaderProperty;
38
+ /** @internal */
25
39
  static readonly _speedMaxConstVecProperty: ShaderProperty;
40
+ /** @internal */
26
41
  static readonly _speedMinConstVecProperty: ShaderProperty;
42
+ /** @internal */
27
43
  static readonly _speedXMaxCurveProperty: ShaderProperty;
44
+ /** @internal */
28
45
  static readonly _speedXMinCurveProperty: ShaderProperty;
46
+ /** @internal */
29
47
  static readonly _speedYMaxCurveProperty: ShaderProperty;
48
+ /** @internal */
30
49
  static readonly _speedYMinCurveProperty: ShaderProperty;
50
+ /** @internal */
31
51
  static readonly _speedZMaxCurveProperty: ShaderProperty;
52
+ /** @internal */
32
53
  static readonly _speedZMinCurveProperty: ShaderProperty;
54
+ /** @internal */
33
55
  static readonly _dampenProperty: ShaderProperty;
56
+ /** @internal */
34
57
  static readonly _dragConstantProperty: ShaderProperty;
58
+ /** @internal */
35
59
  static readonly _dragMaxCurveProperty: ShaderProperty;
60
+ /** @internal */
36
61
  static readonly _dragMinCurveProperty: ShaderProperty;
62
+ /** @internal */
37
63
  static readonly _spaceProperty: ShaderProperty;
38
64
  /** @internal */
39
65
  _speedRand: Rand;
@@ -57,6 +57,7 @@ export declare class MainModule extends DataObject implements ICloneHook<MainMod
57
57
  readonly _startSizeRand: Rand;
58
58
  /** @internal */
59
59
  readonly _startRotationRand: Rand;
60
+ /** @internal */
60
61
  readonly _gravityModifierRand: Rand;
61
62
  private _startLifetime;
62
63
  private _startSpeed;
@@ -134,6 +135,7 @@ export declare class MainModule extends DataObject implements ICloneHook<MainMod
134
135
  */
135
136
  _updateShaderData(shaderData: ShaderData): void;
136
137
  /**
138
+ * @internal
137
139
  * @inheritdoc
138
140
  */
139
141
  _onClone(target: MainModule): void;
@@ -8,18 +8,31 @@ import { ParticleGeneratorModule } from "./ParticleGeneratorModule";
8
8
  * Adds simplex noise-based turbulence displacement to particles.
9
9
  */
10
10
  export declare class NoiseModule extends ParticleGeneratorModule {
11
+ /** @internal */
11
12
  static readonly _enabledMacro: ShaderMacro;
13
+ /** @internal */
12
14
  static readonly _strengthCurveMacro: ShaderMacro;
15
+ /** @internal */
13
16
  static readonly _strengthIsRandomTwoMacro: ShaderMacro;
17
+ /** @internal */
14
18
  static readonly _separateAxesMacro: ShaderMacro;
19
+ /** @internal */
15
20
  static readonly _noiseProperty: ShaderProperty;
21
+ /** @internal */
16
22
  static readonly _noiseOctaveProperty: ShaderProperty;
23
+ /** @internal */
17
24
  static readonly _strengthMinConstProperty: ShaderProperty;
25
+ /** @internal */
18
26
  static readonly _strengthMaxCurveXProperty: ShaderProperty;
27
+ /** @internal */
19
28
  static readonly _strengthMaxCurveYProperty: ShaderProperty;
29
+ /** @internal */
20
30
  static readonly _strengthMaxCurveZProperty: ShaderProperty;
31
+ /** @internal */
21
32
  static readonly _strengthMinCurveXProperty: ShaderProperty;
33
+ /** @internal */
22
34
  static readonly _strengthMinCurveYProperty: ShaderProperty;
35
+ /** @internal */
23
36
  static readonly _strengthMinCurveZProperty: ShaderProperty;
24
37
  private _enabledModuleMacro;
25
38
  private _strengthCurveModeMacro;
@@ -8,17 +8,29 @@ import { ParticleGeneratorModule } from "./ParticleGeneratorModule";
8
8
  * Rotate particles throughout their lifetime.
9
9
  */
10
10
  export declare class RotationOverLifetimeModule extends ParticleGeneratorModule {
11
+ /** @internal */
11
12
  static readonly _constantModeMacro: ShaderMacro;
13
+ /** @internal */
12
14
  static readonly _curveModeMacro: ShaderMacro;
15
+ /** @internal */
13
16
  static readonly _isSeparateMacro: ShaderMacro;
17
+ /** @internal */
14
18
  static readonly _isRandomTwoMacro: ShaderMacro;
19
+ /** @internal */
15
20
  static readonly _minConstantProperty: ShaderProperty;
21
+ /** @internal */
16
22
  static readonly _minCurveXProperty: ShaderProperty;
23
+ /** @internal */
17
24
  static readonly _minCurveYProperty: ShaderProperty;
25
+ /** @internal */
18
26
  static readonly _minCurveZProperty: ShaderProperty;
27
+ /** @internal */
19
28
  static readonly _maxConstantProperty: ShaderProperty;
29
+ /** @internal */
20
30
  static readonly _maxCurveXProperty: ShaderProperty;
31
+ /** @internal */
21
32
  static readonly _maxCurveYProperty: ShaderProperty;
33
+ /** @internal */
22
34
  static readonly _maxCurveZProperty: ShaderProperty;
23
35
  /** Specifies whether the rotation is separate on each axis, when disabled, only `rotationZ` is used. */
24
36
  separateAxes: boolean;
@@ -9,14 +9,23 @@ import { ParticleGeneratorModule } from "./ParticleGeneratorModule";
9
9
  * Size over lifetime module.
10
10
  */
11
11
  export declare class SizeOverLifetimeModule extends ParticleGeneratorModule {
12
+ /** @internal */
12
13
  static readonly _curveModeMacro: ShaderMacro;
14
+ /** @internal */
13
15
  static readonly _isSeparateMacro: ShaderMacro;
16
+ /** @internal */
14
17
  static readonly _isRandomTwoMacro: ShaderMacro;
18
+ /** @internal */
15
19
  static readonly _minCurveXProperty: ShaderProperty;
20
+ /** @internal */
16
21
  static readonly _minCurveYProperty: ShaderProperty;
22
+ /** @internal */
17
23
  static readonly _minCurveZProperty: ShaderProperty;
24
+ /** @internal */
18
25
  static readonly _maxCurveXProperty: ShaderProperty;
26
+ /** @internal */
19
27
  static readonly _maxCurveYProperty: ShaderProperty;
28
+ /** @internal */
20
29
  static readonly _maxCurveZProperty: ShaderProperty;
21
30
  /** @internal */
22
31
  _sizeRand: Rand;
@@ -10,36 +10,67 @@ import { ParticleGeneratorModule } from "./ParticleGeneratorModule";
10
10
  * Velocity over lifetime module.
11
11
  */
12
12
  export declare class VelocityOverLifetimeModule extends ParticleGeneratorModule {
13
+ /** @internal */
13
14
  static readonly _constantModeMacro: ShaderMacro;
15
+ /** @internal */
14
16
  static readonly _curveModeMacro: ShaderMacro;
17
+ /** @internal */
15
18
  static readonly _isRandomMacro: ShaderMacro;
19
+ /** @internal */
16
20
  static readonly _minConstantProperty: ShaderProperty;
21
+ /** @internal */
17
22
  static readonly _maxConstantProperty: ShaderProperty;
23
+ /** @internal */
18
24
  static readonly _minGradientXProperty: ShaderProperty;
25
+ /** @internal */
19
26
  static readonly _minGradientYProperty: ShaderProperty;
27
+ /** @internal */
20
28
  static readonly _minGradientZProperty: ShaderProperty;
29
+ /** @internal */
21
30
  static readonly _maxGradientXProperty: ShaderProperty;
31
+ /** @internal */
22
32
  static readonly _maxGradientYProperty: ShaderProperty;
33
+ /** @internal */
23
34
  static readonly _maxGradientZProperty: ShaderProperty;
35
+ /** @internal */
24
36
  static readonly _spaceProperty: ShaderProperty;
37
+ /** @internal */
25
38
  static readonly _orbitalConstantModeMacro: ShaderMacro;
39
+ /** @internal */
26
40
  static readonly _orbitalCurveModeMacro: ShaderMacro;
41
+ /** @internal */
27
42
  static readonly _orbitalRandomModeMacro: ShaderMacro;
43
+ /** @internal */
28
44
  static readonly _radialConstantModeMacro: ShaderMacro;
45
+ /** @internal */
29
46
  static readonly _radialCurveModeMacro: ShaderMacro;
47
+ /** @internal */
30
48
  static readonly _radialRandomModeMacro: ShaderMacro;
49
+ /** @internal */
31
50
  static readonly _orbitalMinConstantProperty: ShaderProperty;
51
+ /** @internal */
32
52
  static readonly _orbitalMaxConstantProperty: ShaderProperty;
53
+ /** @internal */
33
54
  static readonly _orbitalMinCurveXProperty: ShaderProperty;
55
+ /** @internal */
34
56
  static readonly _orbitalMinCurveYProperty: ShaderProperty;
57
+ /** @internal */
35
58
  static readonly _orbitalMinCurveZProperty: ShaderProperty;
59
+ /** @internal */
36
60
  static readonly _orbitalMaxCurveXProperty: ShaderProperty;
61
+ /** @internal */
37
62
  static readonly _orbitalMaxCurveYProperty: ShaderProperty;
63
+ /** @internal */
38
64
  static readonly _orbitalMaxCurveZProperty: ShaderProperty;
65
+ /** @internal */
39
66
  static readonly _radialMinConstantProperty: ShaderProperty;
67
+ /** @internal */
40
68
  static readonly _radialMaxConstantProperty: ShaderProperty;
69
+ /** @internal */
41
70
  static readonly _radialMinCurveProperty: ShaderProperty;
71
+ /** @internal */
42
72
  static readonly _radialMaxCurveProperty: ShaderProperty;
73
+ /** @internal */
43
74
  static readonly _offsetProperty: ShaderProperty;
44
75
  /** @internal */
45
76
  _velocityRand: Rand;
@@ -37,6 +37,7 @@ export declare class MeshShape extends BaseShape implements ICloneHook<MeshShape
37
37
  private _getAttributeBuffer;
38
38
  private _onMeshChanged;
39
39
  /**
40
+ * @internal
40
41
  * @inheritdoc
41
42
  */
42
43
  _onClone(target: MeshShape): void;
@@ -65,6 +65,7 @@ export declare class Collider extends Component implements ICloneHook<Collider>
65
65
  */
66
66
  _onDisableInScene(): void;
67
67
  /**
68
+ * @internal
68
69
  * @inheritdoc
69
70
  */
70
71
  _onClone(target: Collider): void;
@@ -181,6 +181,7 @@ export declare class DynamicCollider extends Collider {
181
181
  */
182
182
  _onLateUpdate(): void;
183
183
  /**
184
+ * @internal
184
185
  * @inheritdoc
185
186
  */
186
187
  _onClone(target: DynamicCollider): void;
@@ -11,6 +11,7 @@ import { ColliderShape } from "./shape";
11
11
  export declare class PhysicsScene {
12
12
  private static _collision;
13
13
  private static _identityQuaternion;
14
+ private static _tempDirection;
14
15
  private static _scriptIndexSetter;
15
16
  private _scene;
16
17
  private _restTime;
@@ -317,6 +318,7 @@ export declare class PhysicsScene {
317
318
  */
318
319
  _destroy(): void;
319
320
  private _dispatchEvents;
321
+ private static _normalizeDirection;
320
322
  private _setGravity;
321
323
  private _createPreFilter;
322
324
  private _createHitCallback;
@@ -70,6 +70,7 @@ export declare abstract class ColliderShape extends DataObject implements IClone
70
70
  */
71
71
  getClosestPoint(point: Vector3, outClosestPoint: Vector3): number;
72
72
  /**
73
+ * @internal
73
74
  * @inheritdoc
74
75
  */
75
76
  _onClone(target: ColliderShape): void;
@@ -35,6 +35,7 @@ export declare class MeshColliderShape extends ColliderShape {
35
35
  */
36
36
  getClosestPoint(point: Vector3, outClosestPoint: Vector3): number;
37
37
  /**
38
+ * @internal
38
39
  * @inheritdoc
39
40
  */
40
41
  _onClone(target: MeshColliderShape): void;
@@ -52,14 +52,17 @@ export declare class PostProcess extends Component {
52
52
  */
53
53
  removeEffect<T extends typeof PostProcessEffect>(type: T): InstanceType<T>;
54
54
  /**
55
+ * @internal
55
56
  * @inheritdoc
56
57
  */
57
58
  _onEnableInScene(): void;
58
59
  /**
60
+ * @internal
59
61
  * @inheritdoc
60
62
  */
61
63
  _onDisableInScene(): void;
62
64
  /**
65
+ * @internal
63
66
  * @inheritdoc
64
67
  */
65
68
  _onDestroy(): void;