Share via


Matrix Structure

Describes and manipulates a matrix.

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

Syntax

'Declaration
Public Structure Matrix
'Usage
Dim instance As Matrix
public struct Matrix
public value class Matrix
public final class Matrix extends ValueType
JScript suports the use of structures, but not the declaration of new ones.

Remarks

This structure represents a 4 × 4 matrix of single-precision floating-point numbers. The fields of this structure are named with the row number first, then the column number.

In Microsoft WindowsMobile Direct3D, the M34 element of a projection matrix cannot be a negative number. If an application needs to use a negative value in this location, it should scale the entire projection matrix by –1 instead.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

Matrix Members
Microsoft.WindowsMobile.DirectX Namespace

Other Resources

Mobile Direct3D Programming