Share via


Vector2.TransformNormal Method (Vector2, Matrix)

Transforms a 2D vector normal by a matrix.

Syntax

'Declaration
Public Shared Function TransformNormal ( _
         normal As Vector2, _
         matrix As Matrix _
) As Vector2 
public static Vector2 TransformNormal (
         Vector2 normal,
         Matrix matrix
)
public:
static Vector2 TransformNormal(
         Vector2 normal,
         Matrix matrix
)

Parameters

  • normal
    Type: Vector2
    The source vector.
  • matrix
    Type: Matrix
    The transformation matrix.

Return Value

Type: Vector2
The transformed normal.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone