Method SetAreaGrassOverride
SetAreaGrassOverride(SurfaceMaterialTableEntry, string, float, float, Color, Color)
Sets a grass override for a specific material in this area.
public void SetAreaGrassOverride(SurfaceMaterialTableEntry material, string texture, float density, float height, Color ambientColor, Color diffuseColor)
Parameters
materialSurfaceMaterialTableEntryThe material to override.
texturestringThe replacement grass texture
densityfloatThe density of the grass.
heightfloatThe height of the grass.
ambientColorColorThe ambient color of the grass. Alpha channel is ignored.
diffuseColorColorThe diffuse color of the grass. Alpha channel is ignored.