babylonjs-serializers 8.30.3 → 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/babylon.glTF2Serializer.js +1 -1
- package/babylon.glTF2Serializer.min.js +1 -1
- package/babylon.glTF2Serializer.min.js.map +1 -1
- package/babylonjs.serializers.d.ts +10 -7
- package/babylonjs.serializers.js +1 -1
- package/babylonjs.serializers.min.js +1 -1
- package/babylonjs.serializers.min.js.map +1 -1
- package/babylonjs.serializers.module.d.ts +21 -15
- package/package.json +3 -3
|
@@ -62,9 +62,9 @@ declare module BABYLON {
|
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
export var DefaultTranslation: Vector3
|
|
66
|
-
export var DefaultRotation: Quaternion
|
|
67
|
-
export var DefaultScale: Vector3
|
|
65
|
+
export var DefaultTranslation: DeepImmutableObject<Vector3>;
|
|
66
|
+
export var DefaultRotation: DeepImmutable<Quaternion>;
|
|
67
|
+
export var DefaultScale: DeepImmutableObject<Vector3>;
|
|
68
68
|
/**
|
|
69
69
|
* Get the information necessary for enumerating a vertex buffer.
|
|
70
70
|
* @param vertexBuffer the vertex buffer to enumerate
|
|
@@ -120,14 +120,17 @@ declare module BABYLON {
|
|
|
120
120
|
*/
|
|
121
121
|
export function IsChildCollapsible(babylonNode: ShadowLight | TargetCamera, parentBabylonNode: Node): boolean;
|
|
122
122
|
/**
|
|
123
|
-
* Converts an IndicesArray into either Uint32Array or Uint16Array
|
|
123
|
+
* Converts an IndicesArray into either a Uint32Array or Uint16Array.
|
|
124
|
+
* If the `start` and `count` parameters specify a subset of the array, a new view is created.
|
|
125
|
+
* If the input is a number[], the data is copied into a new buffer.
|
|
124
126
|
* @param indices input array to be converted
|
|
125
|
-
* @param start starting index
|
|
126
|
-
* @param count number of indices
|
|
127
|
+
* @param start starting index
|
|
128
|
+
* @param count number of indices
|
|
129
|
+
* @param is32Bits whether the output should be Uint32Array (true) or Uint16Array (false) when indices is an `Array`
|
|
127
130
|
* @returns a Uint32Array or Uint16Array
|
|
128
131
|
* @internal
|
|
129
132
|
*/
|
|
130
|
-
export function
|
|
133
|
+
export function IndicesArrayToTypedSubarray(indices: IndicesArray, start: number, count: number, is32Bits: boolean): Uint32Array | Uint16Array;
|
|
131
134
|
export function DataArrayToUint8Array(data: DataArray): Uint8Array;
|
|
132
135
|
export function GetMinMax(data: DataArray, vertexBuffer: VertexBuffer, start: number, count: number): {
|
|
133
136
|
min: number[];
|