tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.ModLoader.SurfaceBackgroundStylesLoader Class Reference

Inherits Terraria.ModLoader.SceneEffectLoader< ModSurfaceBackgroundStyle >.

Public Member Functions

override void ChooseStyle (out int style, out SceneEffectPriority priority)
 
void DrawCloseBackground (int style)
 
void DrawFarTexture ()
 
void DrawMiddleTexture ()
 
void ModifyFarFades (int style, float[] fades, float transitionSpeed)
 
- Public Member Functions inherited from Terraria.ModLoader.SceneEffectLoader< ModSurfaceBackgroundStyle >
virtual void ChooseStyle (out int style, out SceneEffectPriority priority)
 
void UpdateMusic (ref int music, ref SceneEffectPriority priority)
 
void UpdateSceneEffect (Player player)
 
- Public Member Functions inherited from Terraria.ModLoader.Loader< ModSceneEffect >
Get (int id)
 
int Register (T obj)
 

Additional Inherited Members

- Static Public Attributes inherited from Terraria.ModLoader.SceneEffectLoader< ModSurfaceBackgroundStyle >
const int VanillaSceneEffectCount
 
- Protected Member Functions inherited from Terraria.ModLoader.Loader< ModSceneEffect >
int Reserve ()
 
- Properties inherited from Terraria.ModLoader.Loader< ModSceneEffect >
int VanillaCount [get, set]
 

Member Function Documentation

◆ ChooseStyle()

override void Terraria.ModLoader.SurfaceBackgroundStylesLoader.ChooseStyle ( out int  style,
out SceneEffectPriority  priority 
)
virtual