babylonjs-addons 8.30.2 → 8.30.4
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/babylonjs.addons.d.ts
CHANGED
@@ -116,6 +116,10 @@ declare module ADDONS {
|
|
116
116
|
* Function which is sets the polyAreas and polyFlags for the tile cache mesh. Defaults to a function that sets all areas to 0 and flags to 1.
|
117
117
|
*/
|
118
118
|
tileCacheMeshProcess?: any;
|
119
|
+
/**
|
120
|
+
* Don't reverse indices of the source mesh
|
121
|
+
*/
|
122
|
+
doNotReverseIndices?: boolean;
|
119
123
|
}
|
120
124
|
/**
|
121
125
|
* Result of a steer target computation.
|
@@ -1268,7 +1272,9 @@ declare module ADDONS {
|
|
1268
1272
|
* @param meshes The array of meshes from which to extract positions and indices.
|
1269
1273
|
* @returns A tuple containing a Float32Array of positions and a Uint32Array of
|
1270
1274
|
*/
|
1271
|
-
export function GetPositionsAndIndices(meshes: BABYLON.Mesh[]
|
1275
|
+
export function GetPositionsAndIndices(meshes: BABYLON.Mesh[], options?: {
|
1276
|
+
doNotReverseIndices?: boolean;
|
1277
|
+
}): [positions: Float32Array, indices: Uint32Array];
|
1272
1278
|
/**
|
1273
1279
|
* Reverses the order of vertices in each triangle (3 indices per face) to ensure
|
1274
1280
|
* that the winding order is consistent with the Recast Navigation requirements.
|