Show / Hide Table of Contents

Class PlayerAmbientLight

Peer this with Player and PlayerEnterExit to change ambient light based on player surroundings. For example, Daggerfall scales ambient light up and down in dungeons with castle blocks (e.g. Wayrest). Ambient light is dimmed when player leaves castle block and brightened on return.

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
PlayerAmbientLight
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
public class PlayerAmbientLight : MonoBehaviour

Fields

| Improve this Doc View Source

CastleAmbientLight

Declaration
public Color CastleAmbientLight
Field Value
Type Description
Color
| Improve this Doc View Source

DungeonAmbientLight

Declaration
public Color DungeonAmbientLight
Field Value
Type Description
Color
| Improve this Doc View Source

ExteriorNightAmbientLight

Declaration
public Color ExteriorNightAmbientLight
Field Value
Type Description
Color
| Improve this Doc View Source

ExteriorNoonAmbientLight

Declaration
public Color ExteriorNoonAmbientLight
Field Value
Type Description
Color
| Improve this Doc View Source

FadeDuration

Declaration
public float FadeDuration
Field Value
Type Description
Single
| Improve this Doc View Source

FadeStep

Declaration
public float FadeStep
Field Value
Type Description
Single
| Improve this Doc View Source

InteriorAmbientLight

Declaration
public Color InteriorAmbientLight
Field Value
Type Description
Color
| Improve this Doc View Source

InteriorAmbientLight_AmbientOnly

Declaration
public Color InteriorAmbientLight_AmbientOnly
Field Value
Type Description
Color
| Improve this Doc View Source

InteriorNightAmbientLight

Declaration
public Color InteriorNightAmbientLight
Field Value
Type Description
Color
| Improve this Doc View Source

InteriorNightAmbientLight_AmbientOnly

Declaration
public Color InteriorNightAmbientLight_AmbientOnly
Field Value
Type Description
Color
| Improve this Doc View Source

SpecialAreaLight

Declaration
public Color SpecialAreaLight
Field Value
Type Description
Color

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX