Vector4.Transform Method (Vector4, Matrix)
Transforms the specified 4-D vector by using the specified matrix.
Namespace: Microsoft.WindowsMobile.DirectX
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
Syntax
'Declaration
Public Shared Function Transform ( _
source As Vector4, _
sourceMatrix As Matrix _
) As Vector4
'Usage
Dim source As Vector4
Dim sourceMatrix As Matrix
Dim returnValue As Vector4
returnValue = Vector4.Transform(source, sourceMatrix)
public static Vector4 Transform (
Vector4 source,
Matrix sourceMatrix
)
public:
static Vector4 Transform (
Vector4 source,
Matrix sourceMatrix
)
public static Vector4 Transform (
Vector4 source,
Matrix sourceMatrix
)
public static function Transform (
source : Vector4,
sourceMatrix : Matrix
) : Vector4
Not applicable.
Parameters
- source
Source Vector4 structure.
- sourceMatrix
Source Matrix structure.
Return Value
A Vector4 structure that is the result of the method.
Remarks
This method transforms the vector source (x, y, z, w) using the matrix sourceMatrix.
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
Vector4 Structure
Vector4 Members
Microsoft.WindowsMobile.DirectX Namespace