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[]

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.

.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