Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetValue() [3/8]

void System.Array.SetValue ( object? value,
int index1,
int index2,
int index3 )
inline

Definition at line 1041 of file Array.cs.

1042 {
1043 if (Rank != 3)
1044 {
1045 ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_Need3DArray);
1046 }
1049 }
unsafe nint GetFlattenedIndex(ReadOnlySpan< int > indices)
Definition Array.cs:807
void InternalSetValue(object value, nint flattenedIndex)

References System.Array.GetFlattenedIndex(), System.index1, System.index2, System.index3, System.Array.InternalSetValue(), System.Array.Rank, System.ThrowHelper.ThrowArgumentException(), and System.value.