Matrix.Transform Method (Matrix, Quaternion)
Transforms a Matrix by applying a Quaternion rotation.
Syntax
'Declaration
Public Shared Function Transform ( _
value As Matrix, _
rotation As Quaternion _
) As Matrix
public static Matrix Transform (
Matrix value,
Quaternion rotation
)
public:
static Matrix Transform(
Matrix value,
Quaternion rotation
)
Parameters
- value
Type: Matrix
The Matrix to transform. - rotation
Type: Quaternion
The rotation to apply, expressed as a Quaternion.
Return Value
Type: Matrix
A new Matrix that is the result of the transform.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone