Share via


Vector4.Transform Method (Vector4[], Matrix)

Transforms the specified array of 4-D vectors using the specified matrix.

Namespace: Microsoft.WindowsMobile.DirectX
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Shared Function Transform ( _
    vector As Vector4(), _
    sourceMatrix As Matrix _
) As Vector4()
'Usage
Dim vector As Vector4()
Dim sourceMatrix As Matrix
Dim returnValue As Vector4()

returnValue = Vector4.Transform(vector, sourceMatrix)
public static Vector4[] Transform (
    Vector4[] vector,
    Matrix sourceMatrix
)
public:
static array<Vector4>^ Transform (
    array<Vector4>^ vector, 
    Matrix sourceMatrix
)
public static Vector4[] Transform (
    Vector4[] vector, 
    Matrix sourceMatrix
)
public static function Transform (
    vector : Vector4[], 
    sourceMatrix : Matrix
) : Vector4[]
Not applicable.

Parameters

  • vector
    Array of source Vector4 structures.
  • sourceMatrix
    Source Matrix structure.

Return Value

An array of Vector4 structures that are the result of the method.

Remarks

This method transforms an array of vectors passed into vector by 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