This method gets the weighting of a material at the specified terrain point.
Parameter | Description |
---|---|
x, y | terrain coordinate |
material | material to get the weight of |
Returns the material weight if it is in use at the specified terrain point, otherwise 0 is returned.