Get the rotation Matrix3D that describes the orientation of an object
Namespace: Ico.Windows.Media.Media3DAssembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
| C# |
|---|
public static Matrix3D GetRotationMatrixFromObject(
Object item
) |
| Visual Basic |
|---|
Public Shared Function GetRotationMatrixFromObject ( _
item As Object _
) As Matrix3D |
| JScript |
|---|
public static function GetRotationMatrixFromObject(
item : Object
) : Matrix3D |
Parameters
- item
- Type: System..::..Object
the object to analyze. Either a ModelVisual3D or a Model3D
Return Value
the rotation
Matrix3D that describes the orientation of the object
See Also