Partager via


D3DMATRIX

This structure describes a matrix.

typedef struct _D3DMATRIX {
  union {
    struct {
    float _11, _12, _13, _14;
    float _21, _22, _23, _24;
    float _31, _32, _33, _34;
    float _41, _42, _43, _44;
    };
  float m[4][4];
  };
} D3DMATRIX;

Members

  • _11, _12, , _44
    These 16 members correspond to individual floating-point values in a 4 x 4 matrix.
  • m
    A 4 x 4 array of floating-point values containing the contents of a 4 x 4 matrix.

Remarks

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

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8types.h.

See Also

IDirect3DDevice8::GetTransform | IDirect3DDevice8::MultiplyTransform | IDirect3DDevice8::SetTransform | Direct3D Structures

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.