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