XMMatrixSet

Creates a matrix with float values.

Syntax

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

Parameters

m00
Type: float 

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

m01
Type: float 

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

m02
Type: float 

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

m03
Type: float 

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

m10
Type: float 

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

m11
Type: float 

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

m12
Type: float 

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

m13
Type: float 

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

m20
Type: float 

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

m21
Type: float 

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

m22
Type: float 

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

m23
Type: float 

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

m30
Type: float 

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

m31
Type: float 

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

m32
Type: float 

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

m33
Type: float 

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

Return value

Type: XMMATRIX 

Returns the XMMATRIX with the specified elements.

Requirements

Header: Declared in directxmath.h.