Array3DTGetElementReference Method

Gets the reference to the element at the specified indices. Parameter order is the same as in case of a regular three-dimensional array.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public ref T GetElementReference(
	int z,
	int y,
	int x
)

Parameters

z  Int32
The Z-coordinate (depth index) of the item to get or set. Please note that for the best performance no separate range check is performed on the coordinates.
y  Int32
The Y-coordinate (row index) of the item to get or set. Please note that for the best performance no separate range check is performed on the coordinates.
x  Int32
The X-coordinate (column index) of the item to get or set. Please note that for the best performance no separate range check is performed on the coordinates.

Return Value

T
The reference to the element at the specified index.

See Also