この変換の回転部分を、3x3行列を使用して設定します。
SITransformation.SetRotationFromMatrix3( in_pRotMat ); |
パラメータ | タイプ | 詳細 |
---|---|---|
in_pRotMat | SIMatrix3 | この変換の回転に充てる回転情報を含む3x3行列 |
' Create transformation. set oTransformation = XSIMath.CreateTransform ' create 3x3 matrix. set oMatrix3 = XSIMath.CreateMatrix3 'Get the rotation matrix3 representation oTransformation.GetRotationMatrix3 oMatrix3 'Modify the matrix oMatrix3.value(2,1) = 5.0 'Set the rotation from matrix3 oTransformation.SetRotationFromMatrix3 oMatrix3 |