Vector3.TransformNormal Method (Vector3[], Matrix%, Vector3[])

Transforms an array of 3D vector normals by a specified Matrix.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

public static void TransformNormal(
	Vector3[] sourceArray,
	ref Matrix matrix,
	Vector3[] destinationArray
)

Parameters

sourceArray
Type: Microsoft.Xna.Framework.Vector3[]
The array of Vector3 normals to transform.
matrix
Type: Microsoft.Xna.Framework.Matrix%
The transformation matrix.
destinationArray
Type: Microsoft.Xna.Framework.Vector3[]
An existing Vector3 array into which the results of the transforms are written.

ExceptionCondition
ArgumentException

destinationArray is too small to contain the result.

ArgumentNullException

sourceArray or destinationArray is null.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: