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.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public ref T GetElementReference(
int z,
int y,
int x
)
Public Function GetElementReference (
z As Integer,
y As Integer,
x As Integer
) As T
public:
T% GetElementReference(
int z,
int y,
int x
)
member GetElementReference :
z : int *
y : int *
x : int -> 'T
- 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.
TThe reference to the element at the specified index.