tModLoader v2025.03
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
BuilderToggleDrawParams Struct Reference

Holds data required for builder toggle drawing. More...

Public Attributes

Color Color = Color.White
 The color the icon or icon hover is drawn in. Defaults to White for icon, Main.OurFavoriteColor (yellow) for icon hover.
 
Rectangle Frame = default
 The frame rectangle (aka source rectangle)
 
Vector2 Position = default
 The position
 
float Scale = 1f
 The scale of the icon or icon hover
 
SpriteEffects SpriteEffects = 0
 The spriteEffects
 
Texture2D Texture = default
 The icon or icon hover texture
 

Detailed Description

Holds data required for builder toggle drawing.