Edit

Share via


Matrix4x4.GetElement(Int32, Int32) Method

Definition

Gets the element at the specified row and column.

public:
 float GetElement(int row, int column);
public readonly float GetElement(int row, int column);
member this.GetElement : int * int -> single
Public Function GetElement (row As Integer, column As Integer) As Single

Parameters

row
Int32

The index of the row containing the element to get.

column
Int32

The index of the column containing the element to get.

Returns

The element at index: [row, column].

Exceptions

row was less than zero or greater than or equal to the number of rows (4).

-or-

column was less than zero or greater than or equal to the number of columns (4).

Applies to