Table of Contents

Method SetAreaGrassOverride

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

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

material SurfaceMaterialTableEntry

The material to override.

texture string

The replacement grass texture

density float

The density of the grass.

height float

The height of the grass.

ambientColor Color

The ambient color of the grass. Alpha channel is ignored.

diffuseColor Color

The diffuse color of the grass. Alpha channel is ignored.