KQuaternion.setFromRotationMatrix() method
从一个变换矩阵提取旋转变换,转换成四元数形式,并设置到自己的数据成员。
Sets this quaternion from rotation component of the input matrix.
Signature:
setFromRotationMatrix(m: KMatrix4): void;
Links: setFromRotationMatrix(m: KMatrix4): void;
Parameters
Parameter | Type | Description |
---|---|---|
m | 输入变换矩阵。 The input matrix. |
Returns:
void