| On this page | |
| Since | 20.0 |
Builds a general transformation matrix from translations, degree rotations, scales, and shears. The transformation can be specified relative to an optional pivot space. The order in which to apply the components is determined by the xOrd port.
入力 ¶
t:
Vector3
The translation component.
r:
Vector3
The rotation component specified as Euler angles, in degrees. The rotation order is determined by rOrd.
s:
Vector3
The scale component.
sh:
Vector3
The shear component. Shears are applied in XY, XZ, YZ order.
p:
Vector3
The pivot position.
pr:
Vector3
The pivot orientation specified as Euler angles, in degrees, with a fixed rotation order of XYZ.
xOrd:
Int
The transformation order in which to apply the transformation components. The default is SRT.
ポート値 |
トランスフォーム順 |
|---|---|
0 |
SRT |
1 |
STR |
2 |
RST |
3 |
RTS |
4 |
TSR |
5 |
TRS |
rOrd:
Int
The rotation order. The default is XYZ.
ポート値 |
回転順 |
|---|---|
0 |
XYZ |
1 |
XZY |
2 |
YXZ |
3 |
YZX |
4 |
ZXY |
5 |
ZYX |
出力 ¶
m:
Matrix4
The composed transformation matrix.
| See also |