Sets the rotation part of this transformation, using a 3x3 matrix.
SITransformation.SetRotationFromMatrix3( SIMatrix3 in_pRotMat ); |
SITransformation.SetRotationFromMatrix3( in_pRotMat ); |
Parameter | Type | Description |
---|---|---|
in_pRotMat | SIMatrix3 | 3x3 matrix containing the rotation information to fill this tranformation rotation. |
' 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 |