get

operator fun get(row: Int, col: Int): Float

Gets the item with the row and column index from the Matrix4 instance.

Return

The value of Matrix4 instance in the specific row and column index.

Parameters

row

The row index of the Matrix4 instance.

col

The column index of the Matrix4 instance.

Throws

IndexOutOfBoundsException

If the passed row index or column index is invalid.