Vector3.Transform Method (Vector3(), Matrix%, Vector3())

Transforms a source array of Vector3s by a specified Matrix and writes the results to an existing destination array.

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

'Declaration
Public Shared Sub Transform ( _
	sourceArray As Vector3(), _
	ByRef matrix As Matrix, _
	destinationArray As Vector3() _
)

Parameters

sourceArray
Type: Microsoft.Xna.Framework.Vector3()
The source array.
matrix
Type: Microsoft.Xna.Framework.Matrix%
The transform Matrix to apply.
destinationArray
Type: Microsoft.Xna.Framework.Vector3()
An existing destination array into which the transformed Vector3s are written.

ExceptionCondition
ArgumentException

destinationArray is too small to contain the result.

ArgumentNullException

sourceArray or destinationArray is Nothing.

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: