Edit

Share via


Matrix4x4.Item[] Property

Definition

Overloads

Item[Int32]
Item[Int32, Int32]

Gets or sets the element at the specified indices.

Item[Int32]

public System.Numerics.Vector4 this[int row] { get; set; }

Parameters

row
Int32

Property Value

Applies to

.NET 10
Product Versions
.NET 10

Item[Int32, Int32]

Source:
Matrix4x4.cs
Source:
Matrix4x4.cs
Source:
Matrix4x4.cs
Source:
Matrix4x4.cs

Gets or sets the element at the specified indices.

public float this[int row, int column] { get; set; }

Parameters

row
Int32

The index of the row containing the element to get or set.

column
Int32

The index of the column containing the element to get or set.

Property Value

The element at [row][column].

Exceptions

row was less than zero or greater than the number of rows.

-or-

column was less than zero or greater than the number of columns.

Applies to

.NET 10 and other versions
Product Versions
.NET 7, 8, 9, 10