@babylonjs/lite-compat 1.38.1-preview → 1.38.2-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.
- package/README.md +64 -32
- package/index.d.ts +7 -0
- package/index.js +1 -1
- package/{meshes-CTqDBeGc.js → meshes-Bt_UAqXU.js} +38 -4
- package/meshes-Bt_UAqXU.js.map +1 -0
- package/navigation.d.ts +7 -0
- package/navigation.js +1 -1
- package/package.json +4 -4
- package/meshes-CTqDBeGc.js.map +0 -1
package/navigation.d.ts
CHANGED
|
@@ -162,12 +162,19 @@ declare interface AbstractEngineOptions extends EngineOptions {
|
|
|
162
162
|
* visibility, and shadow-receipt. Concrete meshes derive from this.
|
|
163
163
|
*/
|
|
164
164
|
declare class AbstractMesh extends TransformNode {
|
|
165
165
|
private _material;
|
|
166
166
|
private _meshBlendingTag;
|
|
167
|
+
protected _visibilityValue: number;
|
|
167
168
|
protected _visible: boolean;
|
|
168
169
|
constructor(name: string, lite: Mesh, scene?: Scene);
|
|
169
170
|
getClassName(): string;
|
|
170
171
|
get material(): CompatMaterial | null;
|
|
171
172
|
set material(value: CompatMaterial | null);
|
|
172
173
|
get isVisible(): boolean;
|
|
173
174
|
set isVisible(value: boolean);
|
|
175
|
+
/** Raw finite Babylon visibility; rendering clamps it to [0, 1]. Independent of isVisible. */
|
|
176
|
+
get visibility(): number;
|
|
177
|
+
set visibility(value: number);
|
|
178
|
+
private _validateCompatOpacityMaterial;
|
|
179
|
+
/** A glTF node owns its immediate primitive meshes, never a child glTF node's primitives. */
|
|
180
|
+
private _opacityTargets;
|
|
174
181
|
get isPickable(): boolean;
|
|
175
182
|
set isPickable(value: boolean);
|
|
176
183
|
get receiveShadows(): boolean;
|
package/navigation.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as registerMeshAtStart, Q as Vector3, b as Mesh } from "./meshes-
|
|
1
|
+
import { D as registerMeshAtStart, Q as Vector3, b as Mesh } from "./meshes-Bt_UAqXU.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.38.
|
|
3
|
+
"version": "1.38.2-preview",
|
|
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.",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"babylonLiteRelease": {
|
|
50
|
-
"azureBuildId": "
|
|
51
|
-
"sourceVersion": "
|
|
52
|
-
"builtAgainstLite": "1.38.
|
|
50
|
+
"azureBuildId": "62175",
|
|
51
|
+
"sourceVersion": "bc317f91a55b2af616abf487812ac6d4888151f7",
|
|
52
|
+
"builtAgainstLite": "1.38.2"
|
|
53
53
|
}
|
|
54
54
|
}
|