tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.DataStructures.PlayerDrawLayers Class Reference

Static Public Member Functions

static void DrawCompositeArmorPiece (ref PlayerDrawSet drawinfo, CompositePlayerDrawContext context, DrawData data)
 
static void DrawMeowcartTrail (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_01_2_JimsCloak (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_01_3_BackHead (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_01_BackHair (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_02_MountBehindPlayer (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_03_Carpet (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_03_PortableStool (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_04_ElectrifiedDebuffBack (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_05_2_SafemanSun (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_05_ForbiddenSetRing (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_06_WebbedDebuffBack (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_07_LeinforsHairShampoo (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_08_1_Tails (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_08_Backpacks (ref PlayerDrawSet drawinfo)
 
static bool DrawPlayer_08_PlayerVisuallyHasFullArmorSet (PlayerDrawSet drawinfo, int head, int body, int legs)
 
static void DrawPlayer_09_Wings (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_10_BackAcc (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_11_Balloons (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_12_1_BalloonFronts (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_12_Skin (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_12_Skin_Composite (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_12_SkinComposite_BackArmShirt (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_13_Leggings (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_14_2_GlassSlipperSparkles (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_14_Shoes (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_15_SkinLongCoat (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_16_ArmorLongCoat (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_17_Torso (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_17_TorsoComposite (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_18_OffhandAcc (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_19_WaistAcc (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_20_NeckAcc (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_21_1_Magiluminescence (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_21_2_FinchNest (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_21_Head (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_22_FaceAcc (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_23_MountFront (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_24_Pulley (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_25_Shield (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_26_SolarShield (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_27_HeldItem (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_28_ArmOverItem (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_28_ArmOverItemComposite (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_29_OnhandAcc (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_30_BladedGlove (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_31_ProjectileOverArm (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_32_FrontAcc (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_32_FrontAcc_BackPart (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_32_FrontAcc_FrontPart (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_33_FrozenOrWebbedDebuff (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_34_ElectrifiedDebuffFront (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_35_IceBarrier (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_36_CTG (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_37_BeetleBuff (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_38_EyebrellaCloud (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_AddSelectionGlow (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_DrawSelectionRect (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_extra_MountMinus (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_extra_MountPlus (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_extra_TorsoMinus (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_extra_TorsoPlus (ref PlayerDrawSet drawinfo)
 
static int DrawPlayer_Head_GetTVScreen (Player plr)
 
static void DrawPlayer_MakeIntoFirstFractalAfterImage (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_RenderAllLayers (ref PlayerDrawSet drawinfo)
 
static void DrawPlayer_ScaleDrawData (ref PlayerDrawSet drawinfo, float scale)
 
static void DrawPlayer_TransformDrawData (ref PlayerDrawSet drawinfo)
 
static void DrawStarboardRainbowTrail (ref PlayerDrawSet drawinfo, Vector2 commonWingPosPreFloor, Vector2 dirsVec)
 
static void DrawTiedBalloons (ref PlayerDrawSet drawinfo)
 

Static Public Attributes

static readonly PlayerDrawLayer ArmorLongCoat = new VanillaPlayerDrawLayer(nameof(ArmorLongCoat), DrawPlayer_16_ArmorLongCoat, TorsoGroup)
 Draws the currently equipped armor's longcoat, if it has one. More...
 
static readonly PlayerDrawLayer ArmOverItem = new VanillaPlayerDrawLayer(nameof(ArmOverItem), DrawPlayer_28_ArmOverItem, TorsoGroup)
 Draws the player's main arm (including the armor's if applicable), when it should appear over the held item. More...
 
static readonly PlayerDrawLayer BackAcc = new VanillaPlayerDrawLayer(nameof(BackAcc), DrawPlayer_10_BackAcc, TorsoGroup)
 Draws the player's back accessories. More...
 
static readonly PlayerDrawLayer Backpacks = new VanillaPlayerDrawLayer(nameof(Backpacks), DrawPlayer_08_Backpacks)
 Draws the player's held item's backpack. More...
 
static readonly PlayerDrawLayer BalloonAcc = new VanillaPlayerDrawLayer(nameof(BalloonAcc), DrawPlayer_11_Balloons)
 Draws the player's balloon accessory, if they have one. More...
 
static readonly PlayerDrawLayer BeetleBuff = new VanillaPlayerDrawLayer(nameof(BeetleBuff), DrawPlayer_37_BeetleBuff)
 Draws the effects of Beetle Armor's Set buffs, if the player currently has any. More...
 
static readonly PlayerDrawLayer BladedGlove = new VanillaPlayerDrawLayer(nameof(BladedGlove), DrawPlayer_30_BladedGlove, TorsoGroup)
 Draws the Bladed Glove item, if the player is currently using it. More...
 
static readonly PlayerDrawLayer CaptureTheGem = new VanillaPlayerDrawLayer(nameof(CaptureTheGem), DrawPlayer_36_CTG)
 Draws a big gem above the player, if the player is currently in possession of a 'Capture The Gem' gem item. More...
 
static readonly PlayerDrawLayer Carpet = new VanillaPlayerDrawLayer(nameof(Carpet), DrawPlayer_03_Carpet)
 Draws the Flying Carpet accessory, if the player has it equipped and is using it. More...
 
static readonly PlayerDrawLayer ElectrifiedDebuffBack = new VanillaPlayerDrawLayer(nameof(ElectrifiedDebuffBack), DrawPlayer_04_ElectrifiedDebuffBack, TorsoGroup)
 Draws the back textures of the Electrified debuff, if the player has it. More...
 
static readonly PlayerDrawLayer ElectrifiedDebuffFront = new VanillaPlayerDrawLayer(nameof(ElectrifiedDebuffFront), DrawPlayer_34_ElectrifiedDebuffFront)
 Draws the front textures of the Electrified debuff, if the player has it. More...
 
static readonly PlayerDrawLayer EyebrellaCloud = new VanillaPlayerDrawLayer(nameof(EyebrellaCloud), DrawPlayer_38_EyebrellaCloud)
 Draws the effects of Eyebrella Cloud, if the player currently has it. More...
 
static readonly PlayerDrawLayer FaceAcc = new VanillaPlayerDrawLayer(nameof(FaceAcc), DrawPlayer_22_FaceAcc, TorsoGroup)
 Draws the player's face accessory. More...
 
static readonly PlayerDrawLayer FinchNest = new VanillaPlayerDrawLayer(nameof(FinchNest), DrawPlayer_21_2_FinchNest, TorsoGroup, isHeadLayer: false)
 Draws a finch nest on the player's head, if the player has a finch summoned. More...
 
static readonly PlayerDrawLayer ForbiddenSetRing = new VanillaPlayerDrawLayer(nameof(ForbiddenSetRing), DrawPlayer_05_ForbiddenSetRing, TorsoGroup)
 Draws the 'Forbidden Sign' if the player has a full 'Forbidden Armor' set equipped. More...
 
static readonly PlayerDrawLayer FrontAccBack = new VanillaPlayerDrawLayer(nameof(FrontAccBack), DrawPlayer_32_FrontAcc_BackPart, TorsoGroup)
 Draws the back part of player's front accessory. More...
 
static readonly PlayerDrawLayer FrontAccFront
 Draws the front part of player's front accessory. More...
 
static readonly PlayerDrawLayer FrozenOrWebbedDebuff = new VanillaPlayerDrawLayer(nameof(FrozenOrWebbedDebuff), DrawPlayer_33_FrozenOrWebbedDebuff)
 Draws the front textures of either Frozen or Webbed debuffs, if the player has one of them. More...
 
static readonly PlayerDrawLayer HairBack = new VanillaPlayerDrawLayer(nameof(HairBack), DrawPlayer_01_BackHair, TorsoGroup, isHeadLayer: true)
 Draws the player's under-headgear hair. More...
 
static readonly PlayerDrawLayer HandOnAcc = new VanillaPlayerDrawLayer(nameof(HandOnAcc), DrawPlayer_29_OnhandAcc, TorsoGroup)
 Draws the player's hand on accessory. More...
 
static readonly PlayerDrawLayer Head = new VanillaPlayerDrawLayer(nameof(Head), DrawPlayer_21_Head, TorsoGroup, isHeadLayer: true)
 Draws the player's head, including hair, armor, and etc. More...
 
static readonly PlayerDrawLayer HeadBack = new VanillaPlayerDrawLayer(nameof(HeadBack), DrawPlayer_01_3_BackHead, TorsoGroup, isHeadLayer: true)
 Draws the back textures of the player's head, including armor. More...
 
static readonly PlayerDrawLayer HeldItem
 Draws the player's held item. More...
 
static readonly PlayerDrawLayer IceBarrier = new VanillaPlayerDrawLayer(nameof(IceBarrier), DrawPlayer_35_IceBarrier)
 Draws the textures of the Ice Barrier buff, if the player has it. More...
 
static readonly PlayerDrawLayer JimsCloak = new VanillaPlayerDrawLayer(nameof(JimsCloak), DrawPlayer_01_2_JimsCloak, TorsoGroup)
 Draws Jim's Cloak, if the player is wearing Jim's Leggings (a developer item). More...
 
static readonly PlayerDrawLayer Leggings = new VanillaPlayerDrawLayer(nameof(Leggings), DrawPlayer_13_Leggings, condition: drawinfo => !(drawinfo.drawPlayer.wearsRobe && drawinfo.drawPlayer.body != 166))
 Draws the player's leg armor or pants and shoes. More...
 
static readonly PlayerDrawLayer LeinforsHairShampoo = new VanillaPlayerDrawLayer(nameof(LeinforsHairShampoo), DrawPlayer_07_LeinforsHairShampoo, TorsoGroup, isHeadLayer: true)
 Draws effects of "Leinfors' Luxury Shampoo", if the player has it equipped. More...
 
static readonly PlayerDrawLayer MountBack = new VanillaPlayerDrawLayer(nameof(MountBack), DrawPlayer_02_MountBehindPlayer)
 Draws the back textures of the player's mount. More...
 
static readonly PlayerDrawLayer MountFront = new VanillaPlayerDrawLayer(nameof(MountFront), DrawPlayer_23_MountFront, TorsoGroup)
 Draws the front textures of the player's mount. More...
 
static readonly Transformation MountGroup = new VanillaPlayerDrawTransform(DrawPlayer_extra_MountPlus, DrawPlayer_extra_MountMinus, TorsoGroup)
 Adds PlayerDrawSet.mountOffSet/2 to PlayerDrawSet.Position vector's Y axis. More...
 
static readonly PlayerDrawLayer NeckAcc = new VanillaPlayerDrawLayer(nameof(NeckAcc), DrawPlayer_20_NeckAcc, TorsoGroup)
 Draws the player's neck accessory. More...
 
static readonly PlayerDrawLayer OffhandAcc = new VanillaPlayerDrawLayer(nameof(OffhandAcc), DrawPlayer_18_OffhandAcc, TorsoGroup)
 Draws the player's off-hand accessory. More...
 
static readonly PlayerDrawLayer PortableStool = new VanillaPlayerDrawLayer(nameof(PortableStool), DrawPlayer_03_PortableStool)
 Draws the Step Stool accessory, if the player has it equipped and is using it. More...
 
static readonly PlayerDrawLayer ProjectileOverArm = new VanillaPlayerDrawLayer(nameof(ProjectileOverArm), DrawPlayer_31_ProjectileOverArm)
 Draws the player's held projectile, if it should be drawn in front of the held item and arms. More...
 
static readonly PlayerDrawLayer Pulley = new VanillaPlayerDrawLayer(nameof(Pulley), DrawPlayer_24_Pulley, TorsoGroup)
 Draws the pulley if the player is hanging on a rope. More...
 
static readonly PlayerDrawLayer Robe = new VanillaPlayerDrawLayer(nameof(Robe), DrawPlayer_13_Leggings, condition: drawinfo => drawinfo.drawPlayer.wearsRobe && drawinfo.drawPlayer.body != 166)
 Draws the player's robe. More...
 
static readonly PlayerDrawLayer SafemanSun = new VanillaPlayerDrawLayer(nameof(SafemanSun), DrawPlayer_05_2_SafemanSun, TorsoGroup)
 Draws a sun above the player's head if they have "Safeman's Sunny Day" headgear equipped. More...
 
static readonly PlayerDrawLayer Shield = new VanillaPlayerDrawLayer(nameof(Shield), DrawPlayer_25_Shield, TorsoGroup)
 Draws the player's shield accessory. More...
 
static readonly PlayerDrawLayer Shoes = new VanillaPlayerDrawLayer(nameof(Shoes), DrawPlayer_14_Shoes)
 Draws the player's shoes. More...
 
static readonly PlayerDrawLayer Skin = new VanillaPlayerDrawLayer(nameof(Skin), DrawPlayer_12_Skin)
 Draws the player's body and leg skin. More...
 
static readonly PlayerDrawLayer SkinLongCoat = new VanillaPlayerDrawLayer(nameof(SkinLongCoat), DrawPlayer_15_SkinLongCoat, TorsoGroup)
 Draws the longcoat default clothing style, if the player has it. More...
 
static readonly PlayerDrawLayer SolarShield = new VanillaPlayerDrawLayer(nameof(SolarShield), DrawPlayer_26_SolarShield, MountGroup)
 Draws the player's solar shield if the player has one. More...
 
static readonly PlayerDrawLayer Tails = new VanillaPlayerDrawLayer(nameof(Tails), DrawPlayer_08_1_Tails, TorsoGroup)
 Draws the player's tails vanities. More...
 
static readonly PlayerDrawLayer Torso = new VanillaPlayerDrawLayer(nameof(Torso), DrawPlayer_17_Torso, TorsoGroup)
 Draws the player's body armor or shirts. More...
 
static readonly Transformation TorsoGroup = new VanillaPlayerDrawTransform(DrawPlayer_extra_TorsoPlus, DrawPlayer_extra_TorsoMinus)
 Adds PlayerDrawSet.torsoOffset to PlayerDrawSet.Position and PlayerDrawSet.ItemLocation vectors' Y axes. More...
 
static readonly PlayerDrawLayer WaistAcc = new VanillaPlayerDrawLayer(nameof(WaistAcc), DrawPlayer_19_WaistAcc, TorsoGroup)
 Draws the player's waist accessory. More...
 
static readonly PlayerDrawLayer WebbedDebuffBack = new VanillaPlayerDrawLayer(nameof(WebbedDebuffBack), DrawPlayer_06_WebbedDebuffBack, TorsoGroup)
 Draws the back textures of the Webbed debuff, if the player has it. More...
 
static readonly PlayerDrawLayer Wings = new VanillaPlayerDrawLayer(nameof(Wings), DrawPlayer_09_Wings)
 Draws the player's wings. More...
 

Member Data Documentation

◆ ArmorLongCoat

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.ArmorLongCoat = new VanillaPlayerDrawLayer(nameof(ArmorLongCoat), DrawPlayer_16_ArmorLongCoat, TorsoGroup)
static

Draws the currently equipped armor's longcoat, if it has one.

◆ ArmOverItem

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.ArmOverItem = new VanillaPlayerDrawLayer(nameof(ArmOverItem), DrawPlayer_28_ArmOverItem, TorsoGroup)
static

Draws the player's main arm (including the armor's if applicable), when it should appear over the held item.

◆ BackAcc

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.BackAcc = new VanillaPlayerDrawLayer(nameof(BackAcc), DrawPlayer_10_BackAcc, TorsoGroup)
static

Draws the player's back accessories.

◆ Backpacks

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Backpacks = new VanillaPlayerDrawLayer(nameof(Backpacks), DrawPlayer_08_Backpacks)
static

Draws the player's held item's backpack.

◆ BalloonAcc

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.BalloonAcc = new VanillaPlayerDrawLayer(nameof(BalloonAcc), DrawPlayer_11_Balloons)
static

Draws the player's balloon accessory, if they have one.

◆ BeetleBuff

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.BeetleBuff = new VanillaPlayerDrawLayer(nameof(BeetleBuff), DrawPlayer_37_BeetleBuff)
static

Draws the effects of Beetle Armor's Set buffs, if the player currently has any.

◆ BladedGlove

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.BladedGlove = new VanillaPlayerDrawLayer(nameof(BladedGlove), DrawPlayer_30_BladedGlove, TorsoGroup)
static

Draws the Bladed Glove item, if the player is currently using it.

◆ CaptureTheGem

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.CaptureTheGem = new VanillaPlayerDrawLayer(nameof(CaptureTheGem), DrawPlayer_36_CTG)
static

Draws a big gem above the player, if the player is currently in possession of a 'Capture The Gem' gem item.

◆ Carpet

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Carpet = new VanillaPlayerDrawLayer(nameof(Carpet), DrawPlayer_03_Carpet)
static

Draws the Flying Carpet accessory, if the player has it equipped and is using it.

◆ ElectrifiedDebuffBack

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.ElectrifiedDebuffBack = new VanillaPlayerDrawLayer(nameof(ElectrifiedDebuffBack), DrawPlayer_04_ElectrifiedDebuffBack, TorsoGroup)
static

Draws the back textures of the Electrified debuff, if the player has it.

◆ ElectrifiedDebuffFront

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.ElectrifiedDebuffFront = new VanillaPlayerDrawLayer(nameof(ElectrifiedDebuffFront), DrawPlayer_34_ElectrifiedDebuffFront)
static

Draws the front textures of the Electrified debuff, if the player has it.

◆ EyebrellaCloud

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.EyebrellaCloud = new VanillaPlayerDrawLayer(nameof(EyebrellaCloud), DrawPlayer_38_EyebrellaCloud)
static

Draws the effects of Eyebrella Cloud, if the player currently has it.

◆ FaceAcc

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.FaceAcc = new VanillaPlayerDrawLayer(nameof(FaceAcc), DrawPlayer_22_FaceAcc, TorsoGroup)
static

Draws the player's face accessory.

◆ FinchNest

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.FinchNest = new VanillaPlayerDrawLayer(nameof(FinchNest), DrawPlayer_21_2_FinchNest, TorsoGroup, isHeadLayer: false)
static

Draws a finch nest on the player's head, if the player has a finch summoned.

◆ ForbiddenSetRing

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.ForbiddenSetRing = new VanillaPlayerDrawLayer(nameof(ForbiddenSetRing), DrawPlayer_05_ForbiddenSetRing, TorsoGroup)
static

Draws the 'Forbidden Sign' if the player has a full 'Forbidden Armor' set equipped.

◆ FrontAccBack

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.FrontAccBack = new VanillaPlayerDrawLayer(nameof(FrontAccBack), DrawPlayer_32_FrontAcc_BackPart, TorsoGroup)
static

Draws the back part of player's front accessory.

◆ FrontAccFront

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.FrontAccFront
static
Initial value:
= new VanillaPlayerDrawLayer(nameof(FrontAccFront), DrawPlayer_32_FrontAcc_FrontPart,
position: new Multiple() {
{ new Between(FaceAcc, MountFront), drawinfo => drawinfo.drawFrontAccInNeckAccLayer },
{ new Between(BladedGlove, ProjectileOverArm), drawinfo => !drawinfo.drawFrontAccInNeckAccLayer }
})
static readonly PlayerDrawLayer FaceAcc
Draws the player's face accessory.
Definition: PlayerDrawLayers.tML.cs:105
static readonly PlayerDrawLayer BladedGlove
Draws the Bladed Glove item, if the player is currently using it.
Definition: PlayerDrawLayers.tML.cs:129
static readonly PlayerDrawLayer FrontAccFront
Draws the front part of player's front accessory.
Definition: PlayerDrawLayers.tML.cs:155
static readonly PlayerDrawLayer MountFront
Draws the front textures of the player's mount.
Definition: PlayerDrawLayers.tML.cs:108
static readonly PlayerDrawLayer ProjectileOverArm
Draws the player's held projectile, if it should be drawn in front of the held item and arms.
Definition: PlayerDrawLayers.tML.cs:132

Draws the front part of player's front accessory.

◆ FrozenOrWebbedDebuff

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.FrozenOrWebbedDebuff = new VanillaPlayerDrawLayer(nameof(FrozenOrWebbedDebuff), DrawPlayer_33_FrozenOrWebbedDebuff)
static

Draws the front textures of either Frozen or Webbed debuffs, if the player has one of them.

◆ HairBack

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.HairBack = new VanillaPlayerDrawLayer(nameof(HairBack), DrawPlayer_01_BackHair, TorsoGroup, isHeadLayer: true)
static

Draws the player's under-headgear hair.

◆ HandOnAcc

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.HandOnAcc = new VanillaPlayerDrawLayer(nameof(HandOnAcc), DrawPlayer_29_OnhandAcc, TorsoGroup)
static

Draws the player's hand on accessory.

◆ Head

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Head = new VanillaPlayerDrawLayer(nameof(Head), DrawPlayer_21_Head, TorsoGroup, isHeadLayer: true)
static

Draws the player's head, including hair, armor, and etc.

◆ HeadBack

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.HeadBack = new VanillaPlayerDrawLayer(nameof(HeadBack), DrawPlayer_01_3_BackHead, TorsoGroup, isHeadLayer: true)
static

Draws the back textures of the player's head, including armor.

◆ HeldItem

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.HeldItem
static
Initial value:
= new VanillaPlayerDrawLayer(nameof(HeldItem), DrawPlayer_27_HeldItem,
position: new Multiple() {
{ new Between(BalloonAcc, Skin), drawinfo => drawinfo.weaponDrawOrder == WeaponDrawOrder.BehindBackArm },
{ new Between(SolarShield, ArmOverItem), drawinfo => drawinfo.weaponDrawOrder == WeaponDrawOrder.BehindFrontArm },
{ new Between(BladedGlove, ProjectileOverArm), drawinfo => drawinfo.weaponDrawOrder == WeaponDrawOrder.OverFrontArm }
})
static readonly PlayerDrawLayer SolarShield
Draws the player's solar shield if the player has one.
Definition: PlayerDrawLayers.tML.cs:120
static readonly PlayerDrawLayer BalloonAcc
Draws the player's balloon accessory, if they have one.
Definition: PlayerDrawLayers.tML.cs:66
static readonly PlayerDrawLayer Skin
Draws the player's body and leg skin.
Definition: PlayerDrawLayers.tML.cs:69
static readonly PlayerDrawLayer HeldItem
Draws the player's held item.
Definition: PlayerDrawLayers.tML.cs:162
static readonly PlayerDrawLayer ArmOverItem
Draws the player's main arm (including the armor's if applicable), when it should appear over the hel...
Definition: PlayerDrawLayers.tML.cs:123

Draws the player's held item.

◆ IceBarrier

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.IceBarrier = new VanillaPlayerDrawLayer(nameof(IceBarrier), DrawPlayer_35_IceBarrier)
static

Draws the textures of the Ice Barrier buff, if the player has it.

◆ JimsCloak

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.JimsCloak = new VanillaPlayerDrawLayer(nameof(JimsCloak), DrawPlayer_01_2_JimsCloak, TorsoGroup)
static

Draws Jim's Cloak, if the player is wearing Jim's Leggings (a developer item).

◆ Leggings

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Leggings = new VanillaPlayerDrawLayer(nameof(Leggings), DrawPlayer_13_Leggings, condition: drawinfo => !(drawinfo.drawPlayer.wearsRobe && drawinfo.drawPlayer.body != 166))
static

Draws the player's leg armor or pants and shoes.

◆ LeinforsHairShampoo

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.LeinforsHairShampoo = new VanillaPlayerDrawLayer(nameof(LeinforsHairShampoo), DrawPlayer_07_LeinforsHairShampoo, TorsoGroup, isHeadLayer: true)
static

Draws effects of "Leinfors' Luxury Shampoo", if the player has it equipped.

◆ MountBack

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.MountBack = new VanillaPlayerDrawLayer(nameof(MountBack), DrawPlayer_02_MountBehindPlayer)
static

Draws the back textures of the player's mount.

◆ MountFront

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.MountFront = new VanillaPlayerDrawLayer(nameof(MountFront), DrawPlayer_23_MountFront, TorsoGroup)
static

Draws the front textures of the player's mount.

◆ MountGroup

readonly Transformation Terraria.DataStructures.PlayerDrawLayers.MountGroup = new VanillaPlayerDrawTransform(DrawPlayer_extra_MountPlus, DrawPlayer_extra_MountMinus, TorsoGroup)
static

Adds PlayerDrawSet.mountOffSet/2 to PlayerDrawSet.Position vector's Y axis.

◆ NeckAcc

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.NeckAcc = new VanillaPlayerDrawLayer(nameof(NeckAcc), DrawPlayer_20_NeckAcc, TorsoGroup)
static

Draws the player's neck accessory.

◆ OffhandAcc

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.OffhandAcc = new VanillaPlayerDrawLayer(nameof(OffhandAcc), DrawPlayer_18_OffhandAcc, TorsoGroup)
static

Draws the player's off-hand accessory.

◆ PortableStool

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.PortableStool = new VanillaPlayerDrawLayer(nameof(PortableStool), DrawPlayer_03_PortableStool)
static

Draws the Step Stool accessory, if the player has it equipped and is using it.

◆ ProjectileOverArm

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.ProjectileOverArm = new VanillaPlayerDrawLayer(nameof(ProjectileOverArm), DrawPlayer_31_ProjectileOverArm)
static

Draws the player's held projectile, if it should be drawn in front of the held item and arms.

◆ Pulley

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Pulley = new VanillaPlayerDrawLayer(nameof(Pulley), DrawPlayer_24_Pulley, TorsoGroup)
static

Draws the pulley if the player is hanging on a rope.

◆ Robe

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Robe = new VanillaPlayerDrawLayer(nameof(Robe), DrawPlayer_13_Leggings, condition: drawinfo => drawinfo.drawPlayer.wearsRobe && drawinfo.drawPlayer.body != 166)
static

Draws the player's robe.

◆ SafemanSun

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.SafemanSun = new VanillaPlayerDrawLayer(nameof(SafemanSun), DrawPlayer_05_2_SafemanSun, TorsoGroup)
static

Draws a sun above the player's head if they have "Safeman's Sunny Day" headgear equipped.

◆ Shield

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Shield = new VanillaPlayerDrawLayer(nameof(Shield), DrawPlayer_25_Shield, TorsoGroup)
static

Draws the player's shield accessory.

◆ Shoes

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Shoes = new VanillaPlayerDrawLayer(nameof(Shoes), DrawPlayer_14_Shoes)
static

Draws the player's shoes.

◆ Skin

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Skin = new VanillaPlayerDrawLayer(nameof(Skin), DrawPlayer_12_Skin)
static

Draws the player's body and leg skin.

◆ SkinLongCoat

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.SkinLongCoat = new VanillaPlayerDrawLayer(nameof(SkinLongCoat), DrawPlayer_15_SkinLongCoat, TorsoGroup)
static

Draws the longcoat default clothing style, if the player has it.

◆ SolarShield

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.SolarShield = new VanillaPlayerDrawLayer(nameof(SolarShield), DrawPlayer_26_SolarShield, MountGroup)
static

Draws the player's solar shield if the player has one.

◆ Tails

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Tails = new VanillaPlayerDrawLayer(nameof(Tails), DrawPlayer_08_1_Tails, TorsoGroup)
static

Draws the player's tails vanities.

◆ Torso

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Torso = new VanillaPlayerDrawLayer(nameof(Torso), DrawPlayer_17_Torso, TorsoGroup)
static

Draws the player's body armor or shirts.

◆ TorsoGroup

readonly Transformation Terraria.DataStructures.PlayerDrawLayers.TorsoGroup = new VanillaPlayerDrawTransform(DrawPlayer_extra_TorsoPlus, DrawPlayer_extra_TorsoMinus)
static

Adds PlayerDrawSet.torsoOffset to PlayerDrawSet.Position and PlayerDrawSet.ItemLocation vectors' Y axes.

◆ WaistAcc

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.WaistAcc = new VanillaPlayerDrawLayer(nameof(WaistAcc), DrawPlayer_19_WaistAcc, TorsoGroup)
static

Draws the player's waist accessory.

◆ WebbedDebuffBack

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.WebbedDebuffBack = new VanillaPlayerDrawLayer(nameof(WebbedDebuffBack), DrawPlayer_06_WebbedDebuffBack, TorsoGroup)
static

Draws the back textures of the Webbed debuff, if the player has it.

◆ Wings

readonly PlayerDrawLayer Terraria.DataStructures.PlayerDrawLayers.Wings = new VanillaPlayerDrawLayer(nameof(Wings), DrawPlayer_09_Wings)
static

Draws the player's wings.