Interface ITerrainMaterialProvider
Provides materials for Daggerfall terrains.
Namespace: DaggerfallWorkshop
Assembly: Assembly-CSharp.dll
Syntax
public interface ITerrainMaterialProvider
Methods
| Improve this Doc View SourceCreateMaterial()
Creates an empty instance of material using target shader.
Declaration
Material CreateMaterial()
Returns
| Type | Description |
|---|---|
| Material | A new instance of a terrain material. |
PromoteMaterial(DaggerfallTerrain, TerrainMaterialData)
Applies material properties for climate and season. This is called after tilemap has been generated.
Declaration
void PromoteMaterial(DaggerfallTerrain daggerfallTerrain, TerrainMaterialData terrainMaterialData)
Parameters
| Type | Name | Description |
|---|---|---|
| DaggerfallTerrain | daggerfallTerrain | Daggerfall terrain that owns the material. |
| TerrainMaterialData | terrainMaterialData | Properties for Daggerfall terrain. |