この変換の回転部分を、3 つの正規直交軸により設定します。軸の正規直交性についての検証は行われません。
SITransformation.SetRotationFromXYZAxes( in_pXAxis, in_pYAxis, in_pZAxis ); |
パラメータ | タイプ | 詳細 |
---|---|---|
in_pXAxis | SIVector3 | ユニタリX 軸(YおよびZと直交) |
in_pYAxis | SIVector3 | ユニタリY 軸(XおよびZと直交) |
in_pZAxis | SIVector3 | ユニタリZ 軸(Xおよびy と直交) |
dim t1, vx, vy, vz ' Create transformation. set t1 = XSIMath.CreateTransform ' Create 3D vectors. set vx = XSIMath.CreateVector3(1.0, 1.0, 0.0) set vy = XSIMath.CreateVector3(-1.0, 1.0, 0.0) set vz = XSIMath.CreateVector3( 0.0, 0.0, 1.0) vx.Normalize vx vy.Normalize vy t1.SetRotationFromXYZAxes vx, vy, vz |