XMFLOAT4X3 union

A 4*3 floating point matrix.

For a list of additional functionality such as constructors and operators that are available using XMFLOAT4X3 when you are programming in C++, see XMFLOAT4X3 Extensions.

Note  See DirectXMath Library Type Equivalences for information about equivalent D3DDECLTYPE, D3DFORMAT, and DXGI_FORMAT objects.

Syntax


union XMFLOAT4X3 {
  union {
    struct {
      float _11;
      float _12;
      float _13;
      float _21;
      float _22;
      float _23;
      float _31;
      float _32;
      float _33;
      float _41;
      float _42;
      float _43;
    };
    float m[4][3];
  };
};

Members

_11

An element of the matrix.

_12

An element of the matrix.

_13

An element of the matrix.

_21

An element of the matrix.

_22

An element of the matrix.

_23

An element of the matrix.

_31

An element of the matrix.

_32

An element of the matrix.

_33

An element of the matrix.

_41

An element of the matrix.

_42

An element of the matrix.

_43

An element of the matrix.

m

A 4*3 array representing the matrix.

Remarks

Scalar members of XMFLOAT4X3 are of the form _RowCol, and provide one based indexing, where Row specifies the one's based matrix row (running from 1 to 4), and Col specifies the one's based matrix column (running from 1 to 3).

The two dimensional 4*3 array member of XMFLOAT4X3, m, provides zero based indexing of the structure's matrix. When accessing XMFLOAT4X3m[Row,Col], Row can run from 0 to 3 and Col can run from 0 to 2.

XMFLOAT4X3 can be loaded into instances of XMVECTOR by using XMLoadFloat4x3.

Instances of XMVECTOR can be stored into an instance of XMFLOAT4X3 with XMStoreFloat4x3.

Namespace: Use DirectX

Platform Requirements

Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

Requirements

Header

DirectXMath.h

See also

XMFLOAT4X3 Extensions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.