Class DaggerfallGroundPlane
Namespace: DaggerfallWorkshop
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(MeshFilter))]
[RequireComponent(typeof(MeshRenderer))]
public class DaggerfallGroundPlane : MonoBehaviour
Fields
| Improve this Doc View SourceGroundOffset
Declaration
public static float GroundOffset
Field Value
| Type | Description |
|---|---|
| Single |
tileMap
Declaration
public Color32[] tileMap
Field Value
| Type | Description |
|---|---|
| Color32[] |
tileMapDim
Declaration
public int tileMapDim
Field Value
| Type | Description |
|---|---|
| Int32 |
TileSize
Declaration
public static float TileSize
Field Value
| Type | Description |
|---|---|
| Single |
Properties
| Improve this Doc View SourceSummary
Declaration
public DaggerfallGroundPlane.GroundSummary Summary { get; }
Property Value
| Type | Description |
|---|---|
| DaggerfallGroundPlane.GroundSummary |
Methods
| Improve this Doc View SourceSetClimate(DaggerfallUnity, ClimateBases, ClimateSeason)
Set ground climate.
Declaration
public void SetClimate(DaggerfallUnity dfUnity, ClimateBases climate, ClimateSeason season)
Parameters
| Type | Name | Description |
|---|---|---|
| DaggerfallUnity | dfUnity | DaggerfallUnity singleton. Required for content readers and settings. |
| ClimateBases | climate | Climate to set. |
| ClimateSeason | season | Season to set. |
SetClimate(DaggerfallUnity, Int32, ClimateSeason)
Set ground climate by texture archive index.
Declaration
public void SetClimate(DaggerfallUnity dfUnity, int archive, ClimateSeason season)
Parameters
| Type | Name | Description |
|---|---|---|
| DaggerfallUnity | dfUnity | DaggerfallUnity singleton. Required for content readers and settings. |
| Int32 | archive | Texture archive index. |
| ClimateSeason | season | Season to set. |