Vector4.Transform Method (Vector4, Matrix)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
)
static member Transform :
source:Vector4 *
sourceMatrix:Matrix -> Vector4
Parameters
- source
Type: Microsoft.WindowsMobile.DirectX.Vector4
Source Vector4 structure.
- sourceMatrix
Type: Microsoft.WindowsMobile.DirectX.Matrix
Source Matrix structure.
Return Value
Type: Microsoft.WindowsMobile.DirectX.Vector4
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 Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5, 2.0