@babylonjs/inspector 8.37.3-preview → 8.38.0-preview

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 (2) hide show
  1. package/lib/index.d.ts +12 -5
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -20433,6 +20433,12 @@ declare class ThinParticleSystem extends BaseParticleSystem implements IDisposab
20433
20433
  * @param preWarmOnly will prevent the system from updating the vertex buffer (default is false)
20434
20434
  */
20435
20435
  animate(preWarmOnly?: boolean): void;
20436
+ /**
20437
+ * Internal only. Calculates the current emit rate based on the gradients if any.
20438
+ * @returns The emit rate
20439
+ * @internal
20440
+ */
20441
+ _calculateEmitRate(): number;
20436
20442
  private _appendParticleVertices;
20437
20443
  /**
20438
20444
  * Rebuilds the particle system.
@@ -21120,10 +21126,6 @@ declare class SystemBlock extends NodeParticleBlock {
21120
21126
  * Gets or sets the epsilon value used for comparison
21121
21127
  */
21122
21128
  capacity: number;
21123
- /**
21124
- * Gets or sets the emit rate
21125
- */
21126
- emitRate: number;
21127
21129
  /**
21128
21130
  * Gets or sets the manual emit count
21129
21131
  */
@@ -21176,6 +21178,10 @@ declare class SystemBlock extends NodeParticleBlock {
21176
21178
  * Gets the particle input component
21177
21179
  */
21178
21180
  get particle(): NodeParticleConnectionPoint;
21181
+ /**
21182
+ * Gets the emitRate input component
21183
+ */
21184
+ get emitRate(): NodeParticleConnectionPoint;
21179
21185
  /**
21180
21186
  * Gets the texture input component
21181
21187
  */
@@ -66708,9 +66714,10 @@ declare class Animation {
66708
66714
  * @param transition The transition type we want to use
66709
66715
  * @param duration The duration of the animation, in milliseconds
66710
66716
  * @param onAnimationEnd Callback trigger at the end of the animation
66717
+ * @param stopCurrent If true, will stop the current animation on the property
66711
66718
  * @returns Nullable animation
66712
66719
  */
66713
- static TransitionTo(property: string, targetValue: any, host: any, scene: Scene, frameRate: number, transition: Animation, duration: number, onAnimationEnd?: Nullable<() => void>): Nullable<Animatable>;
66720
+ static TransitionTo(property: string, targetValue: any, host: any, scene: Scene, frameRate: number, transition: Animation, duration: number, onAnimationEnd?: Nullable<() => void>, stopCurrent?: boolean): Nullable<Animatable>;
66714
66721
  /**
66715
66722
  * Return the array of runtime animations currently using this animation
66716
66723
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "8.37.3-preview",
3
+ "version": "8.38.0-preview",
4
4
  "type": "module",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.js",