@babylonjs/inspector 8.36.0-preview → 8.36.1-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 +40 -21
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1260,16 +1260,11 @@ interface IVector3Like extends IVector2Like {
1260
1260
  /**
1261
1261
  * @internal
1262
1262
  */
1263
- interface IDirtyFlagLike {
1264
- _isDirty?: boolean;
1265
- }
1266
- /**
1267
- * @internal
1268
- */
1269
- interface IVector3LikeInternal extends IDirtyFlagLike {
1263
+ interface IVector3LikeInternal {
1270
1264
  _x: number;
1271
1265
  _y: number;
1272
1266
  _z: number;
1267
+ _isDirty?: boolean;
1273
1268
  }
1274
1269
  /**
1275
1270
  * @internal
@@ -16300,6 +16295,11 @@ interface IAction {
16300
16295
  * @see https://www.babylonjs-playground.com/#1T30HR#0
16301
16296
  */
16302
16297
  then(action: IAction): IAction;
16298
+ /**
16299
+ * Internal only - Returns if the current condition allows to run the action
16300
+ * @internal
16301
+ */
16302
+ _evaluateConditionForCurrentFrame(): boolean;
16303
16303
  }
16304
16304
 
16305
16305
  /**
@@ -21144,10 +21144,6 @@ declare class SystemBlock extends NodeParticleBlock {
21144
21144
  * Gets the translationPivot input component
21145
21145
  */
21146
21146
  get translationPivot(): NodeParticleConnectionPoint;
21147
- /**
21148
- * Gets the gravity input component
21149
- */
21150
- get gravity(): NodeParticleConnectionPoint;
21151
21147
  /**
21152
21148
  * Gets the system output component
21153
21149
  */
@@ -28283,8 +28279,6 @@ declare class RuntimeAnimation {
28283
28279
  private _keys;
28284
28280
  private _minFrame;
28285
28281
  private _maxFrame;
28286
- private _minValue;
28287
- private _maxValue;
28288
28282
  private _targetIsArray;
28289
28283
  /** @internal */
28290
28284
  _coreRuntimeAnimation: RuntimeAnimation | null;
@@ -33305,7 +33299,7 @@ interface IPhysicsEnginePluginV2 {
33305
33299
  getAxisMotorMaxForce(constraint: PhysicsConstraint, axis: PhysicsConstraintAxis): Nullable<number>;
33306
33300
  disposeConstraint(constraint: PhysicsConstraint): void;
33307
33301
  getBodiesUsingConstraint(constraint: PhysicsConstraint): ConstrainedBodyPair[];
33308
- raycast(from: Vector3, to: Vector3, result: PhysicsRaycastResult, query?: IRaycastQuery): void;
33302
+ raycast(from: Vector3, to: Vector3, result: PhysicsRaycastResult | Array<PhysicsRaycastResult>, query?: IRaycastQuery): void;
33309
33303
  dispose(): void;
33310
33304
  }
33311
33305
 
@@ -44339,6 +44333,10 @@ interface IWebXRLightEstimationOptions {
44339
44333
  * If created, this light source will be updated whenever the light estimation values change
44340
44334
  */
44341
44335
  createDirectionalLightSource?: boolean;
44336
+ /**
44337
+ * The scale factor to multiply the intensity of the directional light by. Defaults to 1.0.
44338
+ */
44339
+ directionalLightIntensityFactor?: number;
44342
44340
  /**
44343
44341
  * Define the format to be used for the light estimation texture.
44344
44342
  */
@@ -44422,6 +44420,10 @@ declare class WebXRLightEstimation extends WebXRAbstractFeature {
44422
44420
  * This light will be updated whenever the light estimation values change.
44423
44421
  */
44424
44422
  directionalLight: Nullable<DirectionalLight>;
44423
+ /**
44424
+ * The scale factor to multiply the intensity of the directional light by. Defaults to 1.0.
44425
+ */
44426
+ directionalLightIntensityFactor: number;
44425
44427
  /**
44426
44428
  * This observable will notify when the reflection cube map is updated.
44427
44429
  */
@@ -48780,6 +48782,14 @@ declare abstract class FrameGraphTask {
48780
48782
  * An observable that is triggered after the textures have been allocated.
48781
48783
  */
48782
48784
  onTexturesAllocatedObservable: Observable<FrameGraphRenderContext>;
48785
+ /**
48786
+ * An observable that is triggered before the task is executed.
48787
+ */
48788
+ onBeforeTaskExecute: Observable<FrameGraphTask>;
48789
+ /**
48790
+ * An observable that is triggered after the task is executed.
48791
+ */
48792
+ onAfterTaskExecute: Observable<FrameGraphTask>;
48783
48793
  /**
48784
48794
  * Checks if the task is ready to be executed.
48785
48795
  * @returns True if the task is ready to be executed, else false.
@@ -49006,6 +49016,13 @@ declare class FrameGraphContext {
49006
49016
  * @param depthWrite If true, depth writing is enabled
49007
49017
  */
49008
49018
  setDepthStates(depthTest: boolean, depthWrite: boolean): void;
49019
+ /**
49020
+ * Sets the current viewport
49021
+ * @param viewport defines the viewport element to be used
49022
+ * @param requiredWidth defines the width required for rendering. If not provided, the width of the render texture is used.
49023
+ * @param requiredHeight defines the height required for rendering. If not provided the height of the render texture is used.
49024
+ */
49025
+ setViewport(viewport: IViewportLike, requiredWidth?: number, requiredHeight?: number): void;
49009
49026
  }
49010
49027
 
49011
49028
  /**
@@ -49895,19 +49912,19 @@ declare class FrameGraphObjectRendererTask extends FrameGraphTask {
49895
49912
  isMainObjectRenderer: boolean;
49896
49913
  private _renderParticles;
49897
49914
  /**
49898
- * Define if particles should be rendered (default is true).
49915
+ * Defines if particles should be rendered (default is true).
49899
49916
  */
49900
49917
  get renderParticles(): boolean;
49901
49918
  set renderParticles(value: boolean);
49902
49919
  private _renderSprites;
49903
49920
  /**
49904
- * Define if sprites should be rendered (default is true).
49921
+ * Defines if sprites should be rendered (default is true).
49905
49922
  */
49906
49923
  get renderSprites(): boolean;
49907
49924
  set renderSprites(value: boolean);
49908
49925
  private _forceLayerMaskCheck;
49909
49926
  /**
49910
- * Force checking the layerMask property even if a custom list of meshes is provided (ie. if renderList is not undefined). Default is true.
49927
+ * Forces checking the layerMask property even if a custom list of meshes is provided (ie. if renderList is not undefined). Default is true.
49911
49928
  */
49912
49929
  get forceLayerMaskCheck(): boolean;
49913
49930
  set forceLayerMaskCheck(value: boolean);
@@ -49925,7 +49942,7 @@ declare class FrameGraphObjectRendererTask extends FrameGraphTask {
49925
49942
  set enableOutlineRendering(value: boolean);
49926
49943
  /**
49927
49944
  * The output texture.
49928
- * This texture will point to the same texture than the targetTexture property if it is set.
49945
+ * This texture will point to the same texture than the targetTexture property.
49929
49946
  * Note, however, that the handle itself will be different!
49930
49947
  */
49931
49948
  readonly outputTexture: FrameGraphTextureHandle;
@@ -50461,15 +50478,17 @@ declare class FrameGraphRenderContext extends FrameGraphContext {
50461
50478
  * @param disableColorWrite If true, color write will be disabled when applying the effect (optional)
50462
50479
  * @param drawBackFace If true, the fullscreen quad will be drawn as a back face (in CW - optional)
50463
50480
  * @param depthTest If true, depth testing will be enabled when applying the effect (default is false)
50481
+ * @param noViewport If true, the current viewport will be left unchanged (optional). If false or undefined, the viewport will be set to the full render target size.
50464
50482
  * @returns True if the effect was applied, otherwise false (effect not ready)
50465
50483
  */
50466
- applyFullScreenEffect(drawWrapper: DrawWrapper, customBindings?: () => void, stencilState?: IStencilState, disableColorWrite?: boolean, drawBackFace?: boolean, depthTest?: boolean): boolean;
50484
+ applyFullScreenEffect(drawWrapper: DrawWrapper, customBindings?: () => void, stencilState?: IStencilState, disableColorWrite?: boolean, drawBackFace?: boolean, depthTest?: boolean, noViewport?: boolean): boolean;
50467
50485
  /**
50468
50486
  * Copies a texture to the current render target
50469
50487
  * @param sourceTexture The source texture to copy from
50470
50488
  * @param forceCopyToBackbuffer If true, the copy will be done to the back buffer regardless of the current render target
50489
+ * @param noViewport If true, the current viewport will be left unchanged (optional). If false or undefined, the viewport will be set to the full render target size.
50471
50490
  */
50472
- copyTexture(sourceTexture: FrameGraphTextureHandle, forceCopyToBackbuffer?: boolean): void;
50491
+ copyTexture(sourceTexture: FrameGraphTextureHandle, forceCopyToBackbuffer?: boolean, noViewport?: boolean): void;
50473
50492
  /**
50474
50493
  * Renders a RenderTargetTexture or a layer
50475
50494
  * @param object The RenderTargetTexture/Layer to render
@@ -67711,7 +67730,7 @@ declare class Scene implements IAnimatable, IClipPlanesHolder, IAssetContainer {
67711
67730
  static get ExclusiveDoubleClickMode(): boolean;
67712
67731
  static set ExclusiveDoubleClickMode(value: boolean);
67713
67732
  /**
67714
- * Gets the current eye position, in order of forcedViewPosition, mirroredCameraPosition, activeCamera world position, ZeroReadonlyVector3
67733
+ * Gets the current eye position in order of forcedViewPosition, activeCamera world position, Vector3.ZeroReadOnly
67715
67734
  */
67716
67735
  private get _eyePosition();
67717
67736
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "8.36.0-preview",
3
+ "version": "8.36.1-preview",
4
4
  "type": "module",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.js",