This method gets all the layers in use on the terrain at the specified coordinate.
std::vector<int> GetLayers(const int x, const int y) std::vector<int> GetLayers(const iVec2 coord)
Parameter | Description |
---|---|
coord, (x, y) | terrain coordinate |
Returns an array containing all the layer indexes in use at the specified point, sorted from most to least influential.