tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.Skies.LanternSky Class Reference

Inherits Terraria.Graphics.Effects.CustomSky.

Public Member Functions

override void Activate (Vector2 position, params object[] args)
 
override void Deactivate (params object[] args)
 
override void Draw (SpriteBatch spriteBatch, float minDepth, float maxDepth)
 
override bool IsActive ()
 
override void OnLoad ()
 
override void Reset ()
 
void ResetLantern (int i)
 
override void Update (GameTime gameTime)
 
- Public Member Functions inherited from Terraria.Graphics.Effects.CustomSky
abstract void Draw (SpriteBatch spriteBatch, float minDepth, float maxDepth)
 
virtual float GetCloudAlpha ()
 
abstract bool IsActive ()
 
override bool IsVisible ()
 
virtual Color OnTileColor (Color inColor)
 
abstract void Reset ()
 
abstract void Update (GameTime gameTime)
 
- Public Member Functions inherited from Terraria.Graphics.Effects.GameEffect
abstract void Activate (Vector2 position, params object[] args)
 
abstract void Deactivate (params object[] args)
 
abstract bool IsVisible ()
 
void Load ()
 
virtual void OnLoad ()
 

Additional Inherited Members

- Public Attributes inherited from Terraria.Graphics.Effects.GameEffect
float Opacity
 
- Protected Attributes inherited from Terraria.Graphics.Effects.GameEffect
bool _isLoaded
 
EffectPriority _priority
 
- Properties inherited from Terraria.Graphics.Effects.GameEffect
bool IsLoaded [get]
 
EffectPriority Priority [get]
 

Member Function Documentation

◆ Activate()

override void Terraria.GameContent.Skies.LanternSky.Activate ( Vector2  position,
params object[]  args 
)
virtual

◆ Deactivate()

override void Terraria.GameContent.Skies.LanternSky.Deactivate ( params object[]  args)
virtual

◆ Draw()

override void Terraria.GameContent.Skies.LanternSky.Draw ( SpriteBatch  spriteBatch,
float  minDepth,
float  maxDepth 
)
virtual

◆ IsActive()

override bool Terraria.GameContent.Skies.LanternSky.IsActive ( )
virtual

◆ OnLoad()

override void Terraria.GameContent.Skies.LanternSky.OnLoad ( )
virtual

◆ Reset()

override void Terraria.GameContent.Skies.LanternSky.Reset ( )
virtual

◆ Update()

override void Terraria.GameContent.Skies.LanternSky.Update ( GameTime  gameTime)
virtual