Vector3.TransformNormal Method (Vector3, Matrix, Vector3)
Transforms a vector normal by a matrix.
Syntax
'Declaration
Public Shared Sub TransformNormal ( _
ref normal As Vector3, _
ref matrix As Matrix, _
out result As Vector3 _
)
public static void TransformNormal (
ref Vector3 normal,
ref Matrix matrix,
out Vector3 result
)
public:
static void TransformNormal(
ref Vector3 normal,
ref Matrix matrix,
out Vector3 result
)
Parameters
- normal
Type: Vector3
The source vector. - matrix
Type: Matrix
The transformation Matrix. - result
Type: Vector3
[OutAttribute] The Vector3 resulting from the transformation.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone