tModLoader v2024.11
A mod to make and play Terraria mods
SurfaceBackgroundStylesLoader Class Reference

Inherits 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 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 Loader< T >
Get (int id)
 
int Register (T obj)
 

Additional Inherited Members

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

Member Function Documentation

◆ ChooseStyle()

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