new Cesium.Matrix3(column0Row0, column1Row0, column2Row0, column0Row1, column1Row1, column2Row1, column0Row2, column1Row2, column2Row2)
一个 3x3 矩阵,可作为列优先顺序数组进行索引。
构造函数参数按行优先顺序排列,以提高代码可读性。
Name | Type | Default | Description |
---|---|---|---|
column0Row0 |
number |
0.0
|
optional 第 0 列第 0 行的值。 |
column1Row0 |
number |
0.0
|
optional 第 1 列第 0 行的值。 |
column2Row0 |
number |
0.0
|
optional 第 2 列第 0 行的值。 |
column0Row1 |
number |
0.0
|
optional 第 0 列第 1 行的值。 |
column1Row1 |
number |
0.0
|
optional 第 1 列第 1 行的值。 |
column2Row1 |
number |
0.0
|
optional 第 2 列第 1 行的值。 |
column0Row2 |
number |
0.0
|
optional 第 0 列第 2 行的值。 |
column1Row2 |
number |
0.0
|
optional 第 1 列第 2 行的值。 |
column2Row2 |
number |
0.0
|
optional 第 2 列第 2 行的值。 |
Members
获取集合中的项数。
Matrix3 中第 0 列第 0 行的索引。
Matrix3 中第 0 列第 1 行的索引。
Matrix3 中第 0 列第 2 行的索引。
Matrix3 中第 1 列第 0 行的索引。
第 1 列第 1 行的 Matrix3 索引。
第 1 列第 2 行的 Matrix3 索引。
第 2 列第 0 行的 Matrix3 索引。
第 2 列第 1 行的 Matrix3 索引。
第 2 列第 2 行的 Matrix3 索引。
static constant Cesium.Matrix3.IDENTITY : Matrix3
初始化为标识矩阵的不可变 Matrix3 实例。
用于将对象打包到数组中的元素数量。
static constant Cesium.Matrix3.ZERO : Matrix3
初始化为零矩阵的不可变 Matrix3 实例。
Methods
clone(result) → Matrix3
复制提供的 Matrix3 实例。
Name | Type | Description |
---|---|---|
result |
Matrix3 | optional 要在其上存储结果的对象。 |
Returns:
修改后的结果参数 或者一个新的 Matrix3 实例(如果未提供)。
将此矩阵与提供的矩阵进行分量比较,并返回
true
,否则为false
。
Name | Type | Description |
---|---|---|
right |
Matrix3 | optional 右边 matrix. |
Returns:
true
,否则为false
。
将此矩阵与提供的矩阵进行分量比较,并返回
true
,如果它们位于提供的 epsilon 内,
否则 false
。
Name | Type | Default | Description |
---|---|---|---|
right |
Matrix3 | optional 右边 matrix. | |
epsilon |
number |
0
|
optional 用来检验等式。 |
Returns:
true
如果它们在提供的epsilon内,否则 false
。
创建一个表示此 Matrix 的字符串,每行为
在单独的行上,格式为 '(column0, column1, column2)'。
Returns:
一个字符串,表示提供的 Matrix,每行位于单独的行上,格式为 '(column0, column1, column2)'。
static Cesium.Matrix3.abs(matrix, result) → Matrix3
计算一个矩阵,其中包含所提供矩阵元素的绝对 (无符号) 值。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 具有有符号元素的矩阵。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
static Cesium.Matrix3.add(left, right, result) → Matrix3
计算两个矩阵的和。
Name | Type | Description |
---|---|---|
left |
Matrix3 | 第一个矩阵。 |
right |
Matrix3 | 第二个矩阵。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
static Cesium.Matrix3.clone(matrix, result) → Matrix3
复制Matrix3实例。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要复制的矩阵。 |
result |
Matrix3 | optional 要在其上存储结果的对象。 |
Returns:
修改后的结果参数 或者一个新的 Matrix3 实例(如果未提供)。 (Returns undefined if matrix is undefined)
计算对称矩阵的特征向量和特征值。
返回对角矩阵和酉矩阵,如下所示:
matrix = unitary matrix * diagonal matrix * transpose(unitary matrix)
沿对角矩阵对角线的值是特征值。列 是相应的特征向量。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要分解为对角矩阵和酉矩阵的矩阵。预期是对称的。 |
result |
object | optional 具有幺正和对角线属性的对象,它们是存储结果的矩阵。 |
Returns:
具有酉和对角线属性的对象,分别是酉矩阵和对角线矩阵。
Example:
const a = //... symetric matrix
const result = {
unitary : new Cesium.Matrix3(),
diagonal : new Cesium.Matrix3()
};
Cesium.Matrix3.computeEigenDecomposition(a, result);
const unitaryTranspose = Cesium.Matrix3.transpose(result.unitary, new Cesium.Matrix3());
const b = Cesium.Matrix3.multiply(result.unitary, result.diagonal, new Cesium.Matrix3());
Cesium.Matrix3.multiply(b, unitaryTranspose, b); // b is now equal to a
const lambda = Cesium.Matrix3.getColumn(result.diagonal, 0, new Cesium.Cartesian3()).x; // first eigenvalue
const v = Cesium.Matrix3.getColumn(result.unitary, 0, new Cesium.Cartesian3()); // first eigenvector
const c = Cesium.Cartesian3.multiplyByScalar(v, lambda, new Cesium.Cartesian3()); // equal to Cesium.Matrix3.multiplyByVector(a, v)
计算所提供矩阵的行列式。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要使用的矩阵。 |
Returns:
矩阵的行列式的值。
对提供的矩阵进行组件比较,并返回
true
,否则为false
。
Name | Type | Description |
---|---|---|
left |
Matrix3 | optional 第一个matrix. |
right |
Matrix3 | optional 第二个 matrix. |
Returns:
true
如果左和右相等,否则false
。
对提供的矩阵进行组件比较,并返回
true
,如果它们位于提供的 epsilon 内,
否则 false
。
Name | Type | Default | Description |
---|---|---|---|
left |
Matrix3 | optional 第一个matrix. | |
right |
Matrix3 | optional 第二个 matrix. | |
epsilon |
number |
0
|
optional 用来检验等式。 |
Returns:
true
如果左和右在提供的epsilon内,否则 false
。
static Cesium.Matrix3.fromArray(array, startingIndex, result) → Matrix3
从数组中的 9 个连续元素创建 Matrix3。
Name | Type | Default | Description |
---|---|---|---|
array |
Array.<number> | 其 9 个连续元素对应于矩阵位置的数组。 采用列优先顺序。 | |
startingIndex |
number |
0
|
optional 第一个元素数组的偏移量,对应于矩阵中第一列第一行的位置。 |
result |
Matrix3 | optional 要在其上存储结果的对象。 |
Returns:
修改后的结果参数 或者一个新的 Matrix3 实例(如果未提供)。
Example:
// Create the Matrix3:
// [1.0, 2.0, 3.0]
// [1.0, 2.0, 3.0]
// [1.0, 2.0, 3.0]
const v = [1.0, 1.0, 1.0, 2.0, 2.0, 2.0, 3.0, 3.0, 3.0];
const m = Cesium.Matrix3.fromArray(v);
// Create same Matrix3 with using an offset into an array
const v2 = [0.0, 0.0, 1.0, 1.0, 1.0, 2.0, 2.0, 2.0, 3.0, 3.0, 3.0];
const m2 = Cesium.Matrix3.fromArray(v2, 2);
static Cesium.Matrix3.fromColumnMajorArray(values, result) → Matrix3
从列优先顺序数组创建 Matrix3 实例。
Name | Type | Description |
---|---|---|
values |
Array.<number> | 列优先顺序数组。 |
result |
Matrix3 | optional 存储结果的对象,如果未定义,将创建一个新实例。 |
Returns:
修改后的结果参数, 或者一个新的 Matrix3 实例(如果未提供)。
static Cesium.Matrix3.fromCrossProduct(vector, result) → Matrix3
计算一个 Matrix3 实例,该实例表示 Cartesian3 向量的叉积等效矩阵。
Name | Type | Description |
---|---|---|
vector |
Cartesian3 | 叉积运算左侧的向量。 |
result |
Matrix3 | optional 存储结果的对象,如果未定义,将创建一个新实例。 |
Returns:
修改后的结果参数, 或者一个新的 Matrix3 实例(如果未提供)。
Example:
// Creates
// [0.0, -9.0, 8.0]
// [9.0, 0.0, -7.0]
// [-8.0, 7.0, 0.0]
const m = Cesium.Matrix3.fromCrossProduct(new Cesium.Cartesian3(7.0, 8.0, 9.0));
static Cesium.Matrix3.fromHeadingPitchRoll(headingPitchRoll, result) → Matrix3
根据提供的 headingPitchRoll 计算 3x3 旋转矩阵。 (see http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles )
Name | Type | Description |
---|---|---|
headingPitchRoll |
HeadingPitchRoll | 要使用的 headingPitchRoll。 |
result |
Matrix3 | optional 存储结果的对象,如果未定义,将创建一个新实例。 |
Returns:
来自此 headingPitchRoll 的 3x3 旋转矩阵。
static Cesium.Matrix3.fromQuaternion(quaternion, result) → Matrix3
根据提供的四元数计算 3x3 旋转矩阵。
Name | Type | Description |
---|---|---|
quaternion |
Quaternion | 要使用的四元数。 |
result |
Matrix3 | optional 存储结果的对象,如果未定义,将创建一个新实例。 |
Returns:
来自此四元数的 3x3 旋转矩阵。
static Cesium.Matrix3.fromRotationX(angle, result) → Matrix3
创建绕 x 轴的旋转矩阵。
Name | Type | Description |
---|---|---|
angle |
number | 旋转的角度(以弧度为单位)。 正角度是逆时针方向的。 |
result |
Matrix3 | optional 存储结果的对象,如果未定义,将创建一个新实例。 |
Returns:
修改后的结果参数, 或者一个新的 Matrix3 实例(如果未提供)。
Example:
// Rotate a point 45 degrees counterclockwise around the x-axis.
const p = new Cesium.Cartesian3(5, 6, 7);
const m = Cesium.Matrix3.fromRotationX(Cesium.Math.toRadians(45.0));
const rotated = Cesium.Matrix3.multiplyByVector(m, p, new Cesium.Cartesian3());
static Cesium.Matrix3.fromRotationY(angle, result) → Matrix3
创建绕 y 轴的旋转矩阵。
Name | Type | Description |
---|---|---|
angle |
number | 旋转的角度(以弧度为单位)。 正角度是逆时针方向的。 |
result |
Matrix3 | optional 存储结果的对象,如果未定义,将创建一个新实例。 |
Returns:
修改后的结果参数, 或者一个新的 Matrix3 实例(如果未提供)。
Example:
// Rotate a point 45 degrees counterclockwise around the y-axis.
const p = new Cesium.Cartesian3(5, 6, 7);
const m = Cesium.Matrix3.fromRotationY(Cesium.Math.toRadians(45.0));
const rotated = Cesium.Matrix3.multiplyByVector(m, p, new Cesium.Cartesian3());
static Cesium.Matrix3.fromRotationZ(angle, result) → Matrix3
创建绕 z 轴的旋转矩阵。
Name | Type | Description |
---|---|---|
angle |
number | 旋转的角度(以弧度为单位)。 正角度是逆时针方向的。 |
result |
Matrix3 | optional 存储结果的对象,如果未定义,将创建一个新实例。 |
Returns:
修改后的结果参数, 或者一个新的 Matrix3 实例(如果未提供)。
Example:
// Rotate a point 45 degrees counterclockwise around the z-axis.
const p = new Cesium.Cartesian3(5, 6, 7);
const m = Cesium.Matrix3.fromRotationZ(Cesium.Math.toRadians(45.0));
const rotated = Cesium.Matrix3.multiplyByVector(m, p, new Cesium.Cartesian3());
static Cesium.Matrix3.fromRowMajorArray(values, result) → Matrix3
从行优先顺序数组创建 Matrix3 实例。
生成的矩阵将按列优先顺序排列。
Name | Type | Description |
---|---|---|
values |
Array.<number> | 行优先顺序数组。 |
result |
Matrix3 | optional 存储结果的对象,如果未定义,将创建一个新实例。 |
Returns:
修改后的结果参数, 或者一个新的 Matrix3 实例(如果未提供)。
static Cesium.Matrix3.fromScale(scale, result) → Matrix3
计算表示非均匀尺度的 Matrix3 实例。
Name | Type | Description |
---|---|---|
scale |
Cartesian3 | x、y 和 z 比例因子。 |
result |
Matrix3 | optional 存储结果的对象,如果未定义,将创建一个新实例。 |
Returns:
修改后的结果参数, 或者一个新的 Matrix3 实例(如果未提供)。
Example:
// Creates
// [7.0, 0.0, 0.0]
// [0.0, 8.0, 0.0]
// [0.0, 0.0, 9.0]
const m = Cesium.Matrix3.fromScale(new Cesium.Cartesian3(7.0, 8.0, 9.0));
static Cesium.Matrix3.fromUniformScale(scale, result) → Matrix3
计算表示均匀缩放的 Matrix3 实例。
Name | Type | Description |
---|---|---|
scale |
number | 统一比例因子。 |
result |
Matrix3 | optional 存储结果的对象,如果未定义,将创建一个新实例。 |
Returns:
修改后的结果参数, 或者一个新的 Matrix3 实例(如果未提供)。
Example:
// Creates
// [2.0, 0.0, 0.0]
// [0.0, 2.0, 0.0]
// [0.0, 0.0, 2.0]
const m = Cesium.Matrix3.fromUniformScale(2.0);
static Cesium.Matrix3.getColumn(matrix, index, result) → Cartesian3
在提供的索引处检索矩阵列的副本作为 Cartesian3 实例。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要使用的矩阵。 |
index |
number | 要检索的列的从零开始的索引。 |
result |
Cartesian3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
Throws:
-
DeveloperError : index must be 0, 1, or 2.
计算元素在提供的行和列中的数组索引。
Name | Type | Description |
---|---|---|
column |
number | 该列的从零开始的索引。 |
row |
number | 该行的从零开始的索引。 |
Returns:
提供的行和列处的元素索引。
Throws:
-
DeveloperError : row must be 0, 1, or 2.
-
DeveloperError : column must be 0, 1, or 2.
Example:
const myMatrix = new Cesium.Matrix3();
const column1Row0Index = Cesium.Matrix3.getElementIndex(1, 0);
const column1Row0 = myMatrix[column1Row0Index]
myMatrix[column1Row0Index] = 10.0;
计算假设矩阵是仿射变换的最大小数位数。
最大比例是列向量的最大长度。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 矩阵。 |
Returns:
最大刻度。
static Cesium.Matrix3.getRotation(matrix, result) → Matrix3
提取旋转矩阵,假设矩阵是仿射变换。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 矩阵。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
See:
static Cesium.Matrix3.getRow(matrix, index, result) → Cartesian3
在提供的索引处检索矩阵行的副本作为 Cartesian3 实例。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要使用的矩阵。 |
index |
number | 要检索的行的从零开始的索引。 |
result |
Cartesian3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
Throws:
-
DeveloperError : index must be 0, 1, or 2.
static Cesium.Matrix3.getScale(matrix, result) → Cartesian3
提取非均匀尺度,假设矩阵是仿射变换。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 矩阵。 |
result |
Cartesian3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
See:
static Cesium.Matrix3.inverse(matrix, result) → Matrix3
计算所提供矩阵的逆值。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要反转的矩阵。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
Throws:
-
DeveloperError : matrix is not invertible.
static Cesium.Matrix3.inverseTranspose(matrix, result) → Matrix3
计算矩阵的逆转置。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要转置和反转的矩阵。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
static Cesium.Matrix3.multiply(left, right, result) → Matrix3
计算两个矩阵的乘积。
Name | Type | Description |
---|---|---|
left |
Matrix3 | 第一个矩阵。 |
right |
Matrix3 | 第二个矩阵。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
static Cesium.Matrix3.multiplyByScalar(matrix, scalar, result) → Matrix3
计算矩阵和标量的乘积。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 矩阵。 |
scalar |
number | 要乘以的数字。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
static Cesium.Matrix3.multiplyByScale(matrix, scale, result) → Matrix3
计算矩阵乘以(非均匀)刻度的乘积,就像刻度是刻度矩阵一样。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 左侧的矩阵。 |
scale |
Cartesian3 | 右侧的非均匀刻度。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
Example:
// Instead of Cesium.Matrix3.multiply(m, Cesium.Matrix3.fromScale(scale), m);
Cesium.Matrix3.multiplyByScale(m, scale, m);
See:
static Cesium.Matrix3.multiplyByUniformScale(matrix, scale, result) → Matrix3
计算矩阵乘以均匀小数位数的乘积,就好像小数位数是小数位数矩阵一样。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 左侧的矩阵。 |
scale |
number | 右侧的统一比例。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
Example:
// Instead of Cesium.Matrix3.multiply(m, Cesium.Matrix3.fromUniformScale(scale), m);
Cesium.Matrix3.multiplyByUniformScale(m, scale, m);
See:
static Cesium.Matrix3.multiplyByVector(matrix, cartesian, result) → Cartesian3
计算矩阵和列向量的乘积。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 矩阵. |
cartesian |
Cartesian3 | 列. |
result |
Cartesian3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
static Cesium.Matrix3.negate(matrix, result) → Matrix3
创建所提供矩阵的否定副本。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要求反的矩阵。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
将提供的实例存储到提供的数组中。
Name | Type | Default | Description |
---|---|---|---|
value |
Matrix3 | 要打包的值。 | |
array |
Array.<number> | 要装入的数组。 | |
startingIndex |
number |
0
|
optional 开始打包元素的数组的索引。 |
Returns:
被装入的数组
将 Matrix3 数组展平为组件数组。组件
按列优先顺序存储。
Name | Type | Description |
---|---|---|
array |
Array.<Matrix3> | 要打包的矩阵数组。 |
result |
Array.<number> |
optional
要在其中存储结果的数组。 如果这是一个类型化数组,它必须具有 array.length * 9 个组件,否则 DeveloperError 将被抛出。如果它是一个常规数组,它的大小将被调整为具有 (array.length * 9) 个元素。 |
Returns:
打包数组。
static Cesium.Matrix3.setColumn(matrix, index, cartesian, result) → Matrix3
计算一个新矩阵,该矩阵将提供的矩阵中的指定列替换为提供的 Cartesian3 实例。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要使用的矩阵。 |
index |
number | 要设置的列的从零开始的索引。 |
cartesian |
Cartesian3 | 笛卡尔 其值将被分配给指定列的笛卡尔。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
Throws:
-
DeveloperError : index must be 0, 1, or 2.
static Cesium.Matrix3.setRotation(matrix, rotation, result) → Matrix3
设置假设矩阵是仿射变换的旋转。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 矩阵。 |
rotation |
Matrix3 | 旋转矩阵。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
See:
static Cesium.Matrix3.setRow(matrix, index, cartesian, result) → Matrix3
计算一个新矩阵,该矩阵将提供的矩阵中的指定行替换为提供的 Cartesian3 实例。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要使用的矩阵。 |
index |
number | 要设置的行的从零开始的索引。 |
cartesian |
Cartesian3 | 笛卡尔 其值将被分配给指定行的笛卡尔。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
Throws:
-
DeveloperError : index must be 0, 1, or 2.
static Cesium.Matrix3.setScale(matrix, scale, result) → Matrix3
计算一个新矩阵,该矩阵将小数位数替换为提供的小数位数。
这假设矩阵是仿射变换。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要使用的矩阵。 |
scale |
Cartesian3 | 替换所提供矩阵的刻度的刻度。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
See:
static Cesium.Matrix3.setUniformScale(matrix, scale, result) → Matrix3
计算一个新矩阵,该矩阵将小数位数替换为提供的均匀小数位数。
这假设矩阵是仿射变换。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要使用的矩阵。 |
scale |
number | 替换所提供矩阵的 scale 的统一小数位数。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
See:
static Cesium.Matrix3.subtract(left, right, result) → Matrix3
计算两个矩阵的差。
Name | Type | Description |
---|---|---|
left |
Matrix3 | 第一个矩阵。 |
right |
Matrix3 | 第二个矩阵。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
从提供的 Matrix3 实例创建一个 Array。
数组将按列优先顺序排列。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要使用的矩阵.. |
result |
Array.<number> | optional 要在其中存储结果的数组。 |
Returns:
修改后的 Array 参数或新的 Array 实例(如果未提供)。
static Cesium.Matrix3.transpose(matrix, result) → Matrix3
计算提供的矩阵的转置。
Name | Type | Description |
---|---|---|
matrix |
Matrix3 | 要转置的矩阵。 |
result |
Matrix3 | 要在其上存储结果的对象。 |
Returns:
修改后的结果参数。
static Cesium.Matrix3.unpack(array, startingIndex, result) → Matrix3
从打包数组中检索实例。
Name | Type | Default | Description |
---|---|---|---|
array |
Array.<number> | 打包数组。 | |
startingIndex |
number |
0
|
optional 要解压缩的元素的起始索引。 |
result |
Matrix3 | optional 要在其中存储结果的对象。 |
Returns:
修改后的结果参数 或者一个新的 Matrix3 实例(如果未提供)。
static Cesium.Matrix3.unpackArray(array, result) → Array.<Matrix3>
将列优先矩阵组件数组解压缩到 Matrix3 数组中。
Name | Type | Description |
---|---|---|
array |
Array.<number> | 要解包的组件数组。 |
result |
Array.<Matrix3> | optional 要在其中存储结果的数组。 |
Returns:
未打包的数组。