Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XMMatrixSet method

Creates a matrix with float values.

Syntax


XMMATRIX XMMatrixSet(
  [infloat m00,
  [infloat m01,
  [infloat m02,
  [infloat m03,
  [infloat m10,
  [infloat m11,
  [infloat m12,
  [infloat m13,
  [infloat m20,
  [infloat m21,
  [infloat m22,
  [infloat m23,
  [infloat m30,
  [infloat m31,
  [infloat m32,
  [infloat m33
);

Parameters

m00 [in]

Value to assign to the (0,0) element.

m01 [in]

Value to assign to the (0,1) element.

m02 [in]

Value to assign to the (0,2) element.

m03 [in]

Value to assign to the (0,3) element.

m10 [in]

Value to assign to the (1,0) element.

m11 [in]

Value to assign to the (1,1) element.

m12 [in]

Value to assign to the (1,2) element.

m13 [in]

Value to assign to the (1,3) element.

m20 [in]

Value to assign to the (2,0) element.

m21 [in]

Value to assign to the (2,1) element.

m22 [in]

Value to assign to the (2,2) element.

m23 [in]

Value to assign to the (2,3) element.

m30 [in]

Value to assign to the (3,0) element.

m31 [in]

Value to assign to the (3,1) element.

m32 [in]

Value to assign to the (3,2) element.

m33 [in]

Value to assign to the (3,3) element.

Return value

Returns the XMMATRIX with the specified elements.

Remarks

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

Namespace

Use DirectX.

Header

DirectXMath.h

See also

DirectXMath Library Matrix Functions

 

 

Show:
© 2017 Microsoft