@babylonjs/lite-compat 1.39.2 → 1.39.3
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/CHANGELOG.md +16 -2
- package/README.md +1 -1
- package/index.d.ts +132 -10
- package/index.js +406 -18
- package/index.js.map +1 -1
- package/{meshes-DWnDIh1l.js → meshes-FwqJpX7D.js} +26 -4
- package/meshes-FwqJpX7D.js.map +1 -0
- package/navigation.d.ts +36 -6
- package/navigation.js +1 -1
- package/package.json +5 -5
- package/meshes-DWnDIh1l.js.map +0 -1
package/navigation.d.ts
CHANGED
|
@@ -1560,7 +1560,8 @@ declare class PBRMaterial extends PushMaterial {
|
|
|
1560
1560
|
private _albedoFactor;
|
|
1561
1561
|
declare class PBRSheenConfiguration {
|
|
1562
1562
|
private readonly _props;
|
|
1563
1563
|
private readonly _markDirty;
|
|
1564
|
-
|
|
1564
|
+
private readonly _watchTexture;
|
|
1565
|
+
constructor(_props: SheenProps, _markDirty: () => void, _watchTexture: (texture: BaseTexture | null) => void);
|
|
1565
1566
|
get isEnabled(): boolean;
|
|
1566
1567
|
set isEnabled(value: boolean);
|
|
1567
1568
|
get intensity(): number;
|
|
@@ -1573,9 +1574,9 @@ declare class PBRSheenConfiguration {
|
|
|
1573
1574
|
get texture(): BaseTexture | null;
|
|
1574
1575
|
set texture(value: BaseTexture | null);
|
|
1575
1576
|
private _texture;
|
|
1577
|
+
private _textureAssigned;
|
|
1576
1578
|
/** Enumerate the sheen texture slot for `Material.getActiveTextures`. */
|
|
1577
|
-
getActiveTextures(): BaseTexture[];
|
|
1578
|
-
}
|
|
1579
|
+
getActiveTextures(): BaseTexture[];
|
|
1579
1580
|
|
|
1580
1581
|
declare class Physics6DoFLimit {
|
|
1581
1582
|
axis: PhysicsConstraintAxis;
|
|
@@ -1806,6 +1807,27 @@ declare class PointerInfo {
|
|
|
1806
1807
|
get pickInfo(): PickingInfo | null;
|
|
1807
1808
|
}
|
|
1808
1809
|
|
|
1810
|
+
/** Babylon.js post-process pipeline shape consumed by the manager. */
|
|
1811
|
+
declare interface PostProcessRenderPipeline {
|
|
1809
1812
|
readonly isSupported: boolean;
|
|
1810
1813
|
dispose(): void;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
/** Babylon.js-compatible post-process pipeline registry for native Lite-backed pipelines. */
|
|
1817
|
+
declare class PostProcessRenderPipelineManager {
|
|
1818
|
+
private readonly _renderPipelines;
|
|
1819
|
+
private readonly _onNewPipelineAddedObservable;
|
|
1820
|
+
private readonly _onPipelineRemovedObservable;
|
|
1821
|
+
get onNewPipelineAddedObservable(): Observable<PostProcessRenderPipeline>;
|
|
1822
|
+
get onPipelineRemovedObservable(): Observable<PostProcessRenderPipeline>;
|
|
1823
|
+
get supportedPipelines(): PostProcessRenderPipeline[];
|
|
1824
|
+
addPipeline(renderPipeline: PostProcessRenderPipeline): void;
|
|
1825
|
+
removePipeline(renderPipelineName: string): void;
|
|
1826
|
+
attachCamerasToRenderPipeline(renderPipelineName: string, cameras: Camera[] | Camera, unique?: boolean): void;
|
|
1827
|
+
detachCamerasFromRenderPipeline(renderPipelineName: string, cameras: Camera[] | Camera): void;
|
|
1828
|
+
enableEffectInPipeline(renderPipelineName: string, renderEffectName: string, cameras: Camera[] | Camera): void;
|
|
1829
|
+
disableEffectInPipeline(renderPipelineName: string, renderEffectName: string, cameras: Camera[] | Camera): void;
|
|
1830
|
+
update(): void;
|
|
1811
1831
|
dispose(): void;
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1812
1834
|
/** Babylon.js `PushMaterial` — intermediate base; behaves like {@link Material} here. */
|
|
1813
1835
|
declare abstract class PushMaterial extends Material {
|
|
1814
1836
|
getClassName(): string;
|
|
@@ -2016,11 +2038,13 @@ declare class Scene extends AbstractScene {
|
|
|
2016
2038
|
/** Babylon.js fog-mode constant
|
|
2017
2039
|
private readonly _retiredParticleSystems;
|
|
2018
2040
|
private _disposed;
|
|
2019
2041
|
private _ambientColor;
|
|
2020
2042
|
private _environmentIntensity;
|
|
2021
|
-
private _imageProcessingConfiguration;
|
|
2022
2043
|
/** Babylon.js `scene.uniqueId` — a process-unique numeric id. */
|
|
2044
|
+
private _imageProcessingConfiguration;
|
|
2045
|
+
private _postProcessRenderPipelineManager;
|
|
2023
2046
|
/** Babylon.js `scene.uniqueId` — a process-unique numeric id. */
|
|
2024
2047
|
readonly uniqueId: number;
|
|
2025
2048
|
constructor(engine: WebGPUEngine);
|
|
2026
2049
|
private _attachPointerEvents;
|
|
2027
2050
|
private _detachPointerEvents;
|
|
2028
2051
|
getEngine(): WebGPUEngine;
|
|
2052
|
+
get postProcessRenderPipelineManager(): PostProcessRenderPipelineManager;
|
|
2029
2053
|
/** Babylon.js `scene.getClassName()`. */
|
|
2030
2054
|
getClassName(): string;
|
|
2031
2055
|
/** Babylon.js `scene.getUniqueId()` — the process-unique scene id. */
|
|
@@ -2323,9 +2347,9 @@ declare class Texture extends BaseTexture {
|
|
|
2323
2347
|
hasAlpha: boolean;
|
|
2324
2348
|
coordinatesIndex: number;
|
|
2325
2349
|
/** Babylon.js sampling mode passed at construction (`NEAREST_SAMPLINGMODE` = 1, etc.). */
|
|
2326
|
-
readonly samplingMode: number;
|
|
2327
2350
|
constructor(url: string, sceneOrEngine: Scene | {
|
|
2351
|
+
samplingMode: number;
|
|
2328
2352
|
constructor(url: string, sceneOrEngine: Scene | {
|
|
2329
2353
|
_lite: EngineContext;
|
|
2330
|
-
}, noMipmapOrOptions?: unknown, invertY?: boolean, _samplingMode?: number, onLoad?: (() => void) | null);
|
|
2331
2354
|
private readonly _noMipmap;
|
|
2355
|
+
}, noMipmapOrOptions?: unknown, invertY?: boolean, _samplingMode?: number, onLoad?: (() => void) | null);
|
|
2332
2356
|
private _noMipmap;
|
|
2333
2357
|
getClassName(): string;
|
|
2334
2358
|
/**
|
|
2335
2359
|
* Babylon.js `texture.clone()` — a new `Texture` over the same source URL.
|
|
@@ -2333,6 +2357,12 @@ declare class Texture extends BaseTexture {
|
|
|
2333
2357
|
* handle (tracked against the same scene so it is ready at build).
|
|
2334
2358
|
*/
|
|
2335
2359
|
clone(): Texture;
|
|
2360
|
+
/**
|
|
2361
|
+
* Babylon.js `Texture.replaceImage` — reuse another ready URL texture's Lite
|
|
2362
|
+
* handle without reloading it. Wrapper UV state remains local; loading state
|
|
2363
|
+
* follows the source so later clones resolve the same image.
|
|
2364
|
+
*/
|
|
2365
|
+
replaceImage(source: Texture): boolean;
|
|
2336
2366
|
whenReadyAsync(): Promise<void>;
|
|
2337
2367
|
/** Babylon.js `Texture.onLoadObservable`, allocated only when code subscribes. */
|
|
2338
2368
|
get onLoadObservable(): Observable<Texture>;
|
package/navigation.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as registerMeshAtStart, b as Mesh, et as Vector3 } from "./meshes-
|
|
1
|
+
import { D as registerMeshAtStart, b as Mesh, et as Vector3 } from "./meshes-FwqJpX7D.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.
|
|
3
|
+
"version": "1.39.3",
|
|
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,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@babylonjs/lite": "1.39.
|
|
42
|
+
"@babylonjs/lite": "1.39.3"
|
|
43
43
|
},
|
|
44
44
|
"peerDependenciesMeta": {
|
|
45
45
|
"vite": {
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"tag": "latest"
|
|
51
51
|
},
|
|
52
52
|
"babylonLiteRelease": {
|
|
53
|
-
"azureBuildId": "
|
|
54
|
-
"sourceVersion": "
|
|
55
|
-
"builtAgainstLite": "1.39.
|
|
53
|
+
"azureBuildId": "163751855",
|
|
54
|
+
"sourceVersion": "5787cb8d0445e7d16fda304afdf66193b533843a",
|
|
55
|
+
"builtAgainstLite": "1.39.3"
|
|
56
56
|
}
|
|
57
57
|
}
|