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
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
Vector4 Structure
Vector4 Members
Microsoft.WindowsMobile.DirectX Namespace