Sdílet prostřednictvím


Vector2.TransformNormal Method (Vector2, Matrix)

Transforms a 2D vector normal by a matrix.

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

Syntax

public static Vector2 TransformNormal (
         Vector2 normal,
         Matrix matrix
)

Parameters

  • normal
    The source vector.
  • matrix
    The transformation matrix.

Return Value

The transformed normal.

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista