Sdílet prostřednictvím


Vector2.TransformNormal Method (Vector2, Matrix, Vector2)

Transforms a vector normal by a matrix.

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

Syntax

public static void TransformNormal (
         ref Vector2 normal,
         ref Matrix matrix,
         out Vector2 result
)

Parameters

  • normal
    The source vector.
  • matrix
    The transformation matrix.
  • result
    [OutAttribute] The Vector2 resulting from the transformation.

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista