---
description: Matrix that represents a 3D transform.
title: WebView2 Win32 C++ COREWEBVIEW2_MATRIX_4X4
ms.date: 04/22/2024
keywords: IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, COREWEBVIEW2_MATRIX_4X4
topic_type: 
- APIRef
api_name:
- COREWEBVIEW2_MATRIX_4X4
- COREWEBVIEW2_MATRIX_4X4._11
- COREWEBVIEW2_MATRIX_4X4._12
- COREWEBVIEW2_MATRIX_4X4._13
- COREWEBVIEW2_MATRIX_4X4._14
- COREWEBVIEW2_MATRIX_4X4._21
- COREWEBVIEW2_MATRIX_4X4._22
- COREWEBVIEW2_MATRIX_4X4._23
- COREWEBVIEW2_MATRIX_4X4._24
- COREWEBVIEW2_MATRIX_4X4._31
- COREWEBVIEW2_MATRIX_4X4._32
- COREWEBVIEW2_MATRIX_4X4._33
- COREWEBVIEW2_MATRIX_4X4._34
- COREWEBVIEW2_MATRIX_4X4._41
- COREWEBVIEW2_MATRIX_4X4._42
- COREWEBVIEW2_MATRIX_4X4._43
- COREWEBVIEW2_MATRIX_4X4._44
api_type:
- COM
api_location:
- embeddedbrowserwebview.dll
---

# struct COREWEBVIEW2_MATRIX_4X4

[!INCLUDE [deprecation-note](../includes/deprecation-note.md)]

Matrix that represents a 3D transform.

## Summary

 Members                        | Descriptions
--------------------------------|---------------------------------------------
[_11](#_11) | The value in the first row and first column of the matrix.
[_12](#_12) | The value in the first row and second column of the matrix.
[_13](#_13) | The value in the first row and third column of the matrix.
[_14](#_14) | The value in the first row and fourth column of the matrix.
[_21](#_21) | The value in the second row and first column of the matrix.
[_22](#_22) | The value in the second row and second column of the matrix.
[_23](#_23) | The value in the second row and third column of the matrix.
[_24](#_24) | The value in the second row and fourth column of the matrix.
[_31](#_31) | The value in the third row and first column of the matrix.
[_32](#_32) | The value in the third row and second column of the matrix.
[_33](#_33) | The value in the third row and third column of the matrix.
[_34](#_34) | The value in the third row and fourth column of the matrix.
[_41](#_41) | The value in the fourth row and first column of the matrix.
[_42](#_42) | The value in the fourth row and second column of the matrix.
[_43](#_43) | The value in the fourth row and third column of the matrix.
[_44](#_44) | The value in the fourth row and fourth column of the matrix.

This transform is used to calculate correct coordinates when calling CreateCoreWebView2PointerInfoFromPointerId. This is equivalent to a D2D1_MATRIX_4X4_F

## Applies to

Product                         | Introduced
--------------------------------|---------------------------------------------
WebView2 Win32            |    N/A
WebView2 Win32 Prerelease |    

## Members

#### _11

The value in the first row and first column of the matrix.

> public FLOAT [_11](#_11)

#### _12

The value in the first row and second column of the matrix.

> public FLOAT [_12](#_12)

#### _13

The value in the first row and third column of the matrix.

> public FLOAT [_13](#_13)

#### _14

The value in the first row and fourth column of the matrix.

> public FLOAT [_14](#_14)

#### _21

The value in the second row and first column of the matrix.

> public FLOAT [_21](#_21)

#### _22

The value in the second row and second column of the matrix.

> public FLOAT [_22](#_22)

#### _23

The value in the second row and third column of the matrix.

> public FLOAT [_23](#_23)

#### _24

The value in the second row and fourth column of the matrix.

> public FLOAT [_24](#_24)

#### _31

The value in the third row and first column of the matrix.

> public FLOAT [_31](#_31)

#### _32

The value in the third row and second column of the matrix.

> public FLOAT [_32](#_32)

#### _33

The value in the third row and third column of the matrix.

> public FLOAT [_33](#_33)

#### _34

The value in the third row and fourth column of the matrix.

> public FLOAT [_34](#_34)

#### _41

The value in the fourth row and first column of the matrix.

> public FLOAT [_41](#_41)

#### _42

The value in the fourth row and second column of the matrix.

> public FLOAT [_42](#_42)

#### _43

The value in the fourth row and third column of the matrix.

> public FLOAT [_43](#_43)

#### _44

The value in the fourth row and fourth column of the matrix.

> public FLOAT [_44](#_44)

