tModLoader v2024.03
A mod to make and play Terraria mods
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.