Grid.getSum() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
location? |
{Vector4} |
Yes |
{real|undefined}
Return the sum of numerical values found in cells within the specified region of this Grid
. Strings containing only numbers will also be included. Other values will be ignored. If this Grid
does not exist or the region contains no values that can be summed, {undefined}
will be returned.