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

Transforms a Vector3 by the given Matrix.

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

public static void Transform(
	ref Vector3 position,
	ref Matrix matrix,
	out Vector3 result
)

Parameters

position
Type: Microsoft.Xna.Framework.Vector3%
The source Vector3.
matrix
Type: Microsoft.Xna.Framework.Matrix%
The transformation Matrix.
result
Type: Microsoft.Xna.Framework.Vector3%
[OutAttribute] The transformed vector.

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: