Show / Hide Table of Contents

Interface ITerrainMaterialProvider

Provides materials for Daggerfall terrains.

Namespace: DaggerfallWorkshop
Assembly: Assembly-CSharp.dll
Syntax
public interface ITerrainMaterialProvider

Methods

| Improve this Doc View Source

CreateMaterial()

Creates an empty instance of material using target shader.

Declaration
Material CreateMaterial()
Returns
Type Description
Material

A new instance of a terrain material.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX