Vector2.TransformNormal Method (Vector2, Matrix, Vector2)
Transforms a vector normal by a matrix.
Syntax
'Declaration
Public Shared Sub TransformNormal ( _
ref normal As Vector2, _
ref matrix As Matrix, _
out result As Vector2 _
)
public static void TransformNormal (
ref Vector2 normal,
ref Matrix matrix,
out Vector2 result
)
public:
static void TransformNormal(
ref Vector2 normal,
ref Matrix matrix,
out Vector2 result
)
Parameters
- normal
Type: Vector2
The source vector. - matrix
Type: Matrix
The transformation matrix. - result
Type: Vector2
[OutAttribute] The Vector2 resulting from the transformation.
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