SetFromMatrix3 (SIRotation)
Description
Sets the rotation from a matrix representation.
Scripting Syntax
SIRotation.SetFromMatrix3( m )
C# Syntax
SIRotation.SetFromMatrix3( SIMatrix3 io_pMatrix );Parameters
|
Parameter |
Type |
Description |
|
m [in/out] |
matrix operand |
Examples
VBScript Example
' Create transformation. set oTransformation = XSIMath.CreateTransform ' create rotation object. set oRotation= XSIMath.CreateRotation ' create matrix3 object. set oMatrix3= XSIMath.CreateMatrix3 'Get the rotation oRotation.GetMatrix3 oMatrix3 'Modify the matrix oMatrix3.value(2,1) = 5.0 'Set the rotation from matrix3 oRotation.SetFromMatrix3 oMatrix3
See Also
|
|
|
Autodesk Softimage v7.5