@babylonjs/lite-compat 1.39.0-preview → 1.39.2

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/navigation.d.ts CHANGED
@@ -38,6 +38,9 @@ declare abstract class AbstractEngine {
38
38
  * configuration internally, so this is a settable no-op kept for API shape.
39
39
  */
40
40
  useReverseDepthBuffer: boolean;
41
+ private _maxFramesInFlight;
42
+ get maxFramesInFlight(): number;
43
+ set maxFramesInFlight(value: number);
41
44
  /** Babylon.js `engine.onResizeObservable` — fires after `resize()` / `setSize()`. */
42
45
  readonly onResizeObservable: Observable<AbstractEngine>;
43
46
  /** Babylon.js context-loss signal, forwarded from Lite's device-loss subscription. */
@@ -485,7 +488,9 @@ declare type AnimationGroupState = "init" | "playing" | "paused" | "stopped";
485
488
  declare type AnimationValue = number | number[] | IAnimationVectorValue;
486
489
 
487
490
  declare abstract class BaseTexture {
488
- name: string;
489
491
  getClassName(): string;
490
492
  /**
493
+ name: string;
494
+ private _level;
491
495
  get level(): number;
496
+ set level(value: number);
492
497
  getClassName(): string;
493
498
  /**
494
499
  * Babylon.js `BaseTexture.getInternalTexture()` — the backend texture handle. Babylon.js
495
500
  * returns an `InternalTexture`; the compat layer's equivalent is the Lite texture handle,
496
501
  * which is what the compat engine's texture methods accept.
@@ -710,8 +715,7 @@ declare class CubeTexture extends BaseTexture {
710
715
  readonly url: string;
711
716
  /** Babylon.js `coordinatesMode` (skybox = 5). Recorded for API parity. */
712
717
  coordinatesMode: number;
713
- gammaSpace: boolean;
714
- level: number;
715
718
  /** Fires when the cube map is "ready" (resolved on a microtask in this compat layer). */
719
+ gammaSpace: boolean;
716
720
  /** Fires when the cube map is "ready" (resolved on a microtask in this compat layer). */
717
721
  readonly onLoadObservable: Observable<CubeTexture>;
718
722
  /**
719
723
  * Babylon.js `CubeTexture.rotationY` — rotation of the environment around the Y axis, in radians. A scene that uses the
@@ -840,8 +844,7 @@ declare class HDRCubeTexture extends BaseTexture {
840
844
  readonly size: number;
841
845
  /** Babylon.js `coordinatesMode` (skybox = 5). Recorded for API parity. */
842
846
  coordinatesMode: number;
843
- gammaSpace: boolean;
844
- level: number;
845
847
  /** Fires when the HDR environment is "ready" (resolved on a microtask). */
848
+ gammaSpace: boolean;
846
849
  /** Fires when the HDR environment is "ready" (resolved on a microtask). */
847
850
  readonly onLoadObservable: Observable<HDRCubeTexture>;
848
851
  /**
849
852
  * Babylon.js `HDRCubeTexture.rotationY` — rotation of the environment around the Y axis, in radians. A scene that uses the
@@ -1477,8 +1480,7 @@ declare class PBRIridescenceConfiguration {
1477
1480
 
1478
1481
  declare class PBRMaterial extends PushMaterial {
1479
1482
  private _albedoFactor;
1480
1483
  constructor(name: string, scene?: Scene);
1481
- getClassName(): string;
1482
- get albedoColor(): Color3;
1484
+ getClassName(): string;
1483
1485
  get albedoColor(): Color3;
1484
1486
  set albedoColor(value: Color3);
1485
1487
  /**
1486
1488
  * Babylon.js `pbr.albedoTexture` (glTF base-color map). The texture loads
@@ -1488,6 +1490,11 @@ declare class PBRMaterial extends PushMaterial {
1488
1490
  private _albedoFactor;
1489
1491
  get albedoTexture(): BaseTexture | null;
1490
1492
  set albedoTexture(texture: BaseTexture | null);
1491
1493
  private _albedoTexture;
1494
+ private _bentNormalTexture;
1495
+ private _bentNormalLevelUnsubscribe;
1496
+ /** Babylon.js `PBRMaterial.bentNormalTexture` over Lite's native IBL occlusion extension. */
1497
+ get bentNormalTexture(): BaseTexture | null;
1498
+ set bentNormalTexture(texture: BaseTexture | null);
1492
1499
  /**
1493
1500
  * Enumerate every bound PBR texture slot, including extension sub-configurations
1494
1501
  * (Babylon.js `PBRMaterial.getActiveTextures`).
@@ -1546,7 +1553,8 @@ declare class PBRMaterial extends PushMaterial {
1546
1553
  private _albedoFactor;
1547
1554
  * clearcoat/sheen/anisotropy/iridescence sub-configurations (sharing any nested
1548
1555
  * texture), and a fresh Lite PBR renderable.
1549
1556
  */
1550
- clone(name: string): PBRMaterial;
1557
+ clone(name: string): PBRMaterial;
1551
1558
  dispose(): void;
1559
+ }
1552
1560
 
1553
1561
  /** Babylon.js `PBRSheenConfiguration` — the `pbr.sheen` sub-object over Lite `SheenProps`. */
1554
1562
  declare class PBRSheenConfiguration {
@@ -2003,6 +2011,7 @@ declare class Scene extends AbstractScene {
2003
2011
  /** Babylon.js fog-mode constant
2004
2012
  private readonly _skeletonCache;
2005
2013
  private readonly _skeletons;
2006
2014
  private readonly _particleSystemCache;
2015
+ private readonly _loadedMaterialCache;
2007
2016
  private readonly _particleSystems;
2008
2017
  private readonly _retiredParticleSystems;
2009
2018
  private _disposed;
2010
2019
  private _ambientColor;
@@ -2238,8 +2247,7 @@ declare class SmartArray<T> {
2238
2247
  declare class StandardMaterial extends PushMaterial {
2239
2248
  /** Diffuse colour as the app set it. Kept apart from `_lite.diffuseColor`, which is forced to white
2240
2249
  * while the material is unlit (see `_syncDiffuse`). */
2241
2250
  private _diffuse;
2242
- constructor(name: string, scene?: Scene);
2243
- /**
2251
+ constructor(name: string, scene?: Scene);
2244
2252
  /**
2245
2253
  * Babylon.js shades an unlit StandardMaterial as `emissive + ambient`: the diffuse colour only scales
2246
2254
  * the accumulated light, and there is none. Lite's unlit path is `emissive × diffuse`, so the usual
2247
2255
  * "unlit colour" setup (black diffuse, colour in emissive) rendered black. Hand Lite a neutral white
@@ -2353,7 +2361,8 @@ declare class TransformNode extends Node_2 {
2353
2361
  physicsBody: PhysicsBody | null
2354
2362
  private _nativeRotationVersion;
2355
2363
  private readonly _nativeRotationValues;
2356
2364
  private _isSyncingRotationFromNative;
2357
- private _sceneDisposeObserver?;
2358
2365
  constructor(name: string, scene?: Scene, liteNode?: SceneNode);
2366
+ private _sceneDisposeObserver?;
2367
+ private _loadedSceneRegistered;
2359
2368
  constructor(name: string, scene?: Scene, liteNode?: SceneNode);
2360
2369
  getClassName(): string;
2361
2370
  get position(): Vector3;
2362
2371
  set position(value: Vector3);
package/navigation.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as registerMeshAtStart, b as Mesh, et as Vector3 } from "./meshes-C-PkzbPM.js";
1
+ import { D as registerMeshAtStart, b as Mesh, et as Vector3 } from "./meshes-DWnDIh1l.js";
2
2
  import { addAgent, addBoxObstacle, addCylinderObstacle, agentGoto, computePath, createDebugNavMeshGeometry, createMeshFromData, createNavCrowd, createNavMesh, createNavigationPluginAsync, getAgentPosition, getClosestPoint, raycast, removeObstacle, updateNavCrowd, updateNavMeshObstacles } from "@babylonjs/lite";
3
3
  // src/navigation/navigation.ts
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/lite-compat",
3
- "version": "1.39.0-preview",
3
+ "version": "1.39.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "description": "Opt-in Babylon.js-shaped compatibility layer implemented on top of the Babylon Lite public API. Provides a migration runway from Babylon.js to Babylon Lite.",
@@ -39,16 +39,19 @@
39
39
  },
40
40
  "sideEffects": false,
41
41
  "peerDependencies": {
42
- "@babylonjs/lite": "*"
42
+ "@babylonjs/lite": "1.39.2"
43
43
  },
44
44
  "peerDependenciesMeta": {
45
45
  "vite": {
46
46
  "optional": true
47
47
  }
48
48
  },
49
+ "publishConfig": {
50
+ "tag": "latest"
51
+ },
49
52
  "babylonLiteRelease": {
50
- "azureBuildId": "62229",
51
- "sourceVersion": "2dddc888f6695e433ab29ae5918bee221375d86f",
52
- "builtAgainstLite": "1.39.0"
53
+ "azureBuildId": "163477393",
54
+ "sourceVersion": "78aaccb1555f4e01429874caf7cd45a44ade5843",
55
+ "builtAgainstLite": "1.39.2"
53
56
  }
54
57
  }