SetRotationFromMatrix3 (SITransformation)

Description

Sets the rotation part of this transformation, using a 3x3 matrix.

Scripting Syntax

SITransformation.SetRotationFromMatrix3( m )

C# Syntax

SITransformation.SetRotationFromMatrix3( SIMatrix3 in_pRotMat );

Parameters

Parameter

Type

Description

m [in/out]

SIMatrix3

3x3 matrix containing the rotation information to fill this tranformation rotation.

Examples

VBScript Example

' 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

See Also

SIVector3

SIMatrix3

SIMatrix4

SIRotation

SITransformation

SIQuaternion

 

 



Autodesk Softimage v7.5