tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
A struct that contains information that may help with PlayerLayer drawing. More...
Public Attributes | |
int | armGlowMask |
The ID of the glow-mask on the player's arms. More... | |
Color | armGlowMaskColor |
The color of the glow-mask on the player's arms. More... | |
int | backShader |
The ID of the shader (dye) on the player's back accessory. More... | |
int | balloonShader |
The ID of the shader (dye) on the player's balloon accessory. More... | |
int | bodyArmorShader |
The ID of the shader (dye) on the player's body armor. More... | |
Color | bodyColor |
The color of the player's body skin, with lighting and transparency taken into account. More... | |
int | bodyGlowMask |
The ID of the glow-mask on the player's body. More... | |
Color | bodyGlowMaskColor |
The color of the glow-mask on the player's body. More... | |
Vector2 | bodyOrigin |
The point around which the player's body texture rotates. More... | |
int | carpetShader |
The ID of the shader (dye) on the player's magic carpet. More... | |
bool | drawAltHair |
Whether or not the player's alternate (hat) hair is drawn. More... | |
bool | drawArms |
Whether or not the player's arms underneath the armor should be drawn. More... | |
bool | drawHair |
Whether or not the player's hair is drawn. More... | |
bool | drawHands |
Whether or not the player's hands underneath the armor should be drawn. More... | |
bool | drawHeldProjInFrontOfHeldItemAndBody |
Whether or not the held projectile is drawn in front of or behind the held item and arms. More... | |
Player | drawPlayer |
The player that is being drawn. More... | |
Color | eyeColor |
The color of the player's eyes, with lighting and transparency taken into account. More... | |
Color | eyeWhiteColor |
The color of the whites of the player's eyes, with lighting and transparency taken into account. More... | |
Color | faceColor |
The color of the player's face, with lighting and transparency taken into account. More... | |
int | faceShader |
The ID of the shader (dye) on the player's face accessory. More... | |
int | frontShader |
The ID of the shader (dye) on the player's front accessory. More... | |
Color | hairColor |
The color of the player's hair, with lighting and transparency taken into account. More... | |
int | hairShader |
The ID of the shader (dye) on the player's hair. More... | |
int | handOffShader |
The ID of the shader (dye) on the player's hand off accessory. More... | |
int | handOnShader |
The ID of the shader (dye) on the player's hand on accessory. More... | |
int | headArmorShader |
The ID of the shader (dye) on the player's head armor. More... | |
int | headGlowMask |
The ID of the glow-mask on the player's head. More... | |
Color | headGlowMaskColor |
The color of the glow-mask on the player's head. More... | |
Vector2 | headOrigin |
The point around which the player's head texture rotates. More... | |
Vector2 | itemLocation |
Similar to Player.itemLocation, but takes PlayerDrawInfo.position into account. More... | |
int | legArmorShader |
The ID of the shader (dye) on the player's leg armor. More... | |
Color | legColor |
The color of the player's leg skin, with lighting and transparency taken into account. More... | |
int | legGlowMask |
The ID of the glow-mask on the player's legs. More... | |
Color | legGlowMaskColor |
The color of the glow-mask on the player's legs. More... | |
Vector2 | legOrigin |
The point around which the player's leg texture rotates. More... | |
Color | lowerArmorColor |
The color of all armor and accessories on the lower third of the player, with lighting and transparency taken into account. More... | |
Color | middleArmorColor |
The color of all armor and accessories on the middle third of the player, with lighting and transparency taken into account. More... | |
Color | mountColor |
The color of the player's mount, with lighting and transparency taken into account. More... | |
int | neckShader |
The ID of the shader (dye) on the player's neck accessory. More... | |
Color | pantsColor |
The color of the player's pants, with lighting and transparency taken into account. More... | |
Vector2 | position |
The position the player should be drawn in. Use this; do not use drawPlayer.position. More... | |
float | shadow |
The transparency of the player, where 0f is fully opaque and 1f is fully transparent. More... | |
int | shieldShader |
The ID of the shader (dye) on the player's shield accessory. More... | |
Color | shirtColor |
The color of the player's shirt, with lighting and transparency taken into account. More... | |
Color | shoeColor |
The color of the player's shoes, with lighting and transparency taken into account. More... | |
int | shoeShader |
The ID of the shader (dye) on the player's shoe accessory. More... | |
SpriteEffects | spriteEffects |
The SpriteEffects that should be used to draw the player (how the sprite should be flipped). More... | |
Color | underShirtColor |
The color of the player's under-shirt, with lighting and transparency taken into account. More... | |
Color | upperArmorColor |
The color of all armor and accessories on the upper third of the player, with lighting and transparency taken into account. More... | |
int | waistShader |
The ID of the shader (dye) on the player's waist accessory. More... | |
int | wingShader |
The ID of the shader (dye) on the player's wings. More... | |
A struct that contains information that may help with PlayerLayer drawing.
Definition at line 9 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.armGlowMask |
The ID of the glow-mask on the player's arms.
Definition at line 178 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.armGlowMaskColor |
The color of the glow-mask on the player's arms.
Definition at line 194 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.backShader |
The ID of the shader (dye) on the player's back accessory.
Definition at line 74 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.balloonShader |
The ID of the shader (dye) on the player's balloon accessory.
Definition at line 102 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.bodyArmorShader |
The ID of the shader (dye) on the player's body armor.
Definition at line 58 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.bodyColor |
The color of the player's body skin, with lighting and transparency taken into account.
Definition at line 130 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.bodyGlowMask |
The ID of the glow-mask on the player's body.
Definition at line 174 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.bodyGlowMaskColor |
The color of the glow-mask on the player's body.
Definition at line 190 of file DrawInfo.cs.
Vector2 Terraria.ModLoader.PlayerDrawInfo.bodyOrigin |
The point around which the player's body texture rotates.
Definition at line 210 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.carpetShader |
The ID of the shader (dye) on the player's magic carpet.
Definition at line 110 of file DrawInfo.cs.
bool Terraria.ModLoader.PlayerDrawInfo.drawAltHair |
Whether or not the player's alternate (hat) hair is drawn.
Definition at line 46 of file DrawInfo.cs.
bool Terraria.ModLoader.PlayerDrawInfo.drawArms |
Whether or not the player's arms underneath the armor should be drawn.
Definition at line 34 of file DrawInfo.cs.
bool Terraria.ModLoader.PlayerDrawInfo.drawHair |
Whether or not the player's hair is drawn.
Definition at line 42 of file DrawInfo.cs.
bool Terraria.ModLoader.PlayerDrawInfo.drawHands |
Whether or not the player's hands underneath the armor should be drawn.
Definition at line 30 of file DrawInfo.cs.
bool Terraria.ModLoader.PlayerDrawInfo.drawHeldProjInFrontOfHeldItemAndBody |
Whether or not the held projectile is drawn in front of or behind the held item and arms.
Definition at line 38 of file DrawInfo.cs.
Player Terraria.ModLoader.PlayerDrawInfo.drawPlayer |
The player that is being drawn.
Definition at line 14 of file DrawInfo.cs.
Referenced by Terraria.ModLoader.PlayerHooks.DrawEffects().
Color Terraria.ModLoader.PlayerDrawInfo.eyeColor |
The color of the player's eyes, with lighting and transparency taken into account.
Definition at line 122 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.eyeWhiteColor |
The color of the whites of the player's eyes, with lighting and transparency taken into account.
Definition at line 118 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.faceColor |
The color of the player's face, with lighting and transparency taken into account.
Definition at line 126 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.faceShader |
The ID of the shader (dye) on the player's face accessory.
Definition at line 98 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.frontShader |
The ID of the shader (dye) on the player's front accessory.
Definition at line 78 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.hairColor |
The color of the player's hair, with lighting and transparency taken into account.
Definition at line 114 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.hairShader |
The ID of the shader (dye) on the player's hair.
Definition at line 50 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.handOffShader |
The ID of the shader (dye) on the player's hand off accessory.
Definition at line 70 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.handOnShader |
The ID of the shader (dye) on the player's hand on accessory.
Definition at line 66 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.headArmorShader |
The ID of the shader (dye) on the player's head armor.
Definition at line 54 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.headGlowMask |
The ID of the glow-mask on the player's head.
Definition at line 170 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.headGlowMaskColor |
The color of the glow-mask on the player's head.
Definition at line 186 of file DrawInfo.cs.
Vector2 Terraria.ModLoader.PlayerDrawInfo.headOrigin |
The point around which the player's head texture rotates.
Definition at line 206 of file DrawInfo.cs.
Vector2 Terraria.ModLoader.PlayerDrawInfo.itemLocation |
Similar to Player.itemLocation, but takes PlayerDrawInfo.position into account.
Definition at line 26 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.legArmorShader |
The ID of the shader (dye) on the player's leg armor.
Definition at line 62 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.legColor |
The color of the player's leg skin, with lighting and transparency taken into account.
Definition at line 134 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.legGlowMask |
The ID of the glow-mask on the player's legs.
Definition at line 182 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.legGlowMaskColor |
The color of the glow-mask on the player's legs.
Definition at line 198 of file DrawInfo.cs.
Vector2 Terraria.ModLoader.PlayerDrawInfo.legOrigin |
The point around which the player's leg texture rotates.
Definition at line 214 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.lowerArmorColor |
The color of all armor and accessories on the lower third of the player, with lighting and transparency taken into account.
Definition at line 166 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.middleArmorColor |
The color of all armor and accessories on the middle third of the player, with lighting and transparency taken into account.
Definition at line 158 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.mountColor |
The color of the player's mount, with lighting and transparency taken into account.
Definition at line 162 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.neckShader |
The ID of the shader (dye) on the player's neck accessory.
Definition at line 94 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.pantsColor |
The color of the player's pants, with lighting and transparency taken into account.
Definition at line 146 of file DrawInfo.cs.
Vector2 Terraria.ModLoader.PlayerDrawInfo.position |
The position the player should be drawn in. Use this; do not use drawPlayer.position.
Definition at line 18 of file DrawInfo.cs.
float Terraria.ModLoader.PlayerDrawInfo.shadow |
The transparency of the player, where 0f is fully opaque and 1f is fully transparent.
Definition at line 22 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.shieldShader |
The ID of the shader (dye) on the player's shield accessory.
Definition at line 90 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.shirtColor |
The color of the player's shirt, with lighting and transparency taken into account.
Definition at line 138 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.shoeColor |
The color of the player's shoes, with lighting and transparency taken into account.
Definition at line 150 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.shoeShader |
The ID of the shader (dye) on the player's shoe accessory.
Definition at line 82 of file DrawInfo.cs.
SpriteEffects Terraria.ModLoader.PlayerDrawInfo.spriteEffects |
The SpriteEffects that should be used to draw the player (how the sprite should be flipped).
Definition at line 202 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.underShirtColor |
The color of the player's under-shirt, with lighting and transparency taken into account.
Definition at line 142 of file DrawInfo.cs.
Color Terraria.ModLoader.PlayerDrawInfo.upperArmorColor |
The color of all armor and accessories on the upper third of the player, with lighting and transparency taken into account.
Definition at line 154 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.waistShader |
The ID of the shader (dye) on the player's waist accessory.
Definition at line 86 of file DrawInfo.cs.
int Terraria.ModLoader.PlayerDrawInfo.wingShader |
The ID of the shader (dye) on the player's wings.
Definition at line 106 of file DrawInfo.cs.