tModLoader v2024.10
A mod to make and play Terraria mods
SpawnConditionDecorativeOverlayInfoElement Class Reference

Inherits IBestiaryInfoElement, and IBestiaryBackgroundOverlayAndColorProvider.

Public Member Functions

 SpawnConditionDecorativeOverlayInfoElement (string overlayImagePath=null, Color? overlayColor=null)
 
Color? GetBackgroundOverlayColor ()
 
Asset< Texture2D > GetBackgroundOverlayImage ()
 
UIElement ProvideUIElement (BestiaryUICollectionInfo info)
 
UIElement ProvideUIElement (BestiaryUICollectionInfo info)
 
Color? GetBackgroundOverlayColor ()
 
Asset< Texture2D > GetBackgroundOverlayImage ()
 

Properties

float DisplayPriority [get, set]
 
- Properties inherited from IBestiaryBackgroundOverlayAndColorProvider
float DisplayPriority [get]
 

Member Function Documentation

◆ GetBackgroundOverlayColor()

Color? SpawnConditionDecorativeOverlayInfoElement.GetBackgroundOverlayColor ( )

◆ GetBackgroundOverlayImage()

Asset< Texture2D > SpawnConditionDecorativeOverlayInfoElement.GetBackgroundOverlayImage ( )

◆ ProvideUIElement()

UIElement SpawnConditionDecorativeOverlayInfoElement.ProvideUIElement ( BestiaryUICollectionInfo  info)

Implements IBestiaryInfoElement.

Property Documentation

◆ DisplayPriority

float SpawnConditionDecorativeOverlayInfoElement.DisplayPriority
getset