Share via


Matrix.Transform Method (Matrix, Quaternion)

Transforms a Matrix by applying a Quaternion rotation.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static Matrix Transform (
         Matrix value,
         Quaternion rotation
)

Parameters

  • value
    The Matrix to transform.
  • rotation
    The rotation to apply, expressed as a Quaternion.

Return Value

A new Matrix that is the result of the transform.

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista