tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
A struct that contains information that may help with PlayerHeadLayer drawing. More...
Public Attributes | |
float | alpha |
The transparency in which the player should be drawn. 0 means fully transparent, while 1 means fully opaque. More... | |
Color | armorColor |
The color the player's armor should be shaded in. Alpha has already been taken into account. More... | |
int | armorShader |
The ID of the shader (dye) on the player's head armor. More... | |
bool | drawAltHair |
Whether the player's alternate (hat) hair texture should be drawn. More... | |
bool | drawHair |
Whether the player's hair texture should be drawn. More... | |
Vector2 | drawOrigin |
The point on the player's texture around which everything should be rotated. More... | |
Player | drawPlayer |
The player whose head is being drawn. More... | |
Color | eyeColor |
The color of the player's eyes. Alpha has already been taken into account. More... | |
Color | eyeWhiteColor |
The color of the whites of the player's eyes. Alpha has already been taken into account. More... | |
Color | hairColor |
The color of the player's hair. Alpha has already been taken into account. More... | |
short | hairShader |
The ID of the shader (dye) on the player's hair. More... | |
float | scale |
The scale on the size in which the player should be drawn. More... | |
Color | skinColor |
The color of the player's skin. Alpha has already been taken into account. More... | |
SpriteBatch | spriteBatch |
The SpriteBatch object that should be used to do all the drawing. This is the same as Main.spriteBatch. More... | |
SpriteEffects | spriteEffects |
The SpriteEffects that should be used to draw the player. (SpriteEffects.None or SpriteEffects.FlipHorizontal) More... | |
A struct that contains information that may help with PlayerHeadLayer drawing.
Definition at line 220 of file DrawInfo.cs.
float Terraria.ModLoader.PlayerHeadDrawInfo.alpha |
The transparency in which the player should be drawn. 0 means fully transparent, while 1 means fully opaque.
Definition at line 233 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerHeadDrawInfo.armorColor |
The color the player's armor should be shaded in. Alpha has already been taken into account.
Definition at line 265 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerHeadDrawInfo.armorShader |
The ID of the shader (dye) on the player's head armor.
Definition at line 245 of file DrawInfo.cs.
bool Terraria.ModLoader.PlayerHeadDrawInfo.drawAltHair |
Whether the player's alternate (hat) hair texture should be drawn.
Definition at line 281 of file DrawInfo.cs.
bool Terraria.ModLoader.PlayerHeadDrawInfo.drawHair |
Whether the player's hair texture should be drawn.
Definition at line 277 of file DrawInfo.cs.
Vector2 Terraria.ModLoader.PlayerHeadDrawInfo.drawOrigin |
The point on the player's texture around which everything should be rotated.
Definition at line 273 of file DrawInfo.cs.
Player Terraria.ModLoader.PlayerHeadDrawInfo.drawPlayer |
The player whose head is being drawn.
Definition at line 229 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerHeadDrawInfo.eyeColor |
The color of the player's eyes. Alpha has already been taken into account.
Definition at line 253 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerHeadDrawInfo.eyeWhiteColor |
The color of the whites of the player's eyes. Alpha has already been taken into account.
Definition at line 249 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerHeadDrawInfo.hairColor |
The color of the player's hair. Alpha has already been taken into account.
Definition at line 257 of file DrawInfo.cs.
short Terraria.ModLoader.PlayerHeadDrawInfo.hairShader |
The ID of the shader (dye) on the player's hair.
Definition at line 241 of file DrawInfo.cs.
float Terraria.ModLoader.PlayerHeadDrawInfo.scale |
The scale on the size in which the player should be drawn.
Definition at line 237 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerHeadDrawInfo.skinColor |
The color of the player's skin. Alpha has already been taken into account.
Definition at line 261 of file DrawInfo.cs.
SpriteBatch Terraria.ModLoader.PlayerHeadDrawInfo.spriteBatch |
The SpriteBatch object that should be used to do all the drawing. This is the same as Main.spriteBatch.
Definition at line 225 of file DrawInfo.cs.
SpriteEffects Terraria.ModLoader.PlayerHeadDrawInfo.spriteEffects |
The SpriteEffects that should be used to draw the player. (SpriteEffects.None or SpriteEffects.FlipHorizontal)
Definition at line 269 of file DrawInfo.cs.