| On this page | |
| Since | 20.0 |
Applying a prerotation to a matrix is the same as applying rotation and then transforming the result by the original matrix. This is equivalent to applying a rotation in the local space of an established transform.
入力 ¶
matrix:
Matrix3, Matrix4
The matrix on which to apply the prerotation.
radians:
Vector3
The prerotation specified as Euler angles, in radians. The rotation order is determined by rord.
rord:
Int
The rotation order of the prerotation. The default value is XYZ.
ポート値 |
回転順 |
|---|---|
0 |
XYZ |
1 |
XZY |
2 |
YXZ |
3 |
YZX |
4 |
ZXY |
5 |
ZYX |
出力 ¶
result:
Matrix3, Matrix4
The prerotated matrix.
| See also |