TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ DrawWithTransformationAndChildren()

void Terraria.ModLoader.PlayerDrawLayer.DrawWithTransformationAndChildren ( ref PlayerDrawSet drawInfo)
inlineinherited

Definition at line 162 of file PlayerDrawLayer.cs.

163 {
164 if (!Visible)
165 {
166 return;
167 }
168 Transform?.PreDrawRecursive(ref drawInfo);
169 foreach (PlayerDrawLayer item in ChildrenBefore)
170 {
171 item.DrawWithTransformationAndChildren(ref drawInfo);
172 }
174 foreach (PlayerDrawLayer item2 in ChildrenAfter)
175 {
176 item2.DrawWithTransformationAndChildren(ref drawInfo);
177 }
178 Transform?.PostDrawRecursive(ref drawInfo);
179 }
IReadOnlyList< PlayerDrawLayer > ChildrenAfter
void Draw(ref PlayerDrawSet drawInfo)
Draws this layer. This will be called multiple times a frame if a player afterimage is being drawn....
IReadOnlyList< PlayerDrawLayer > ChildrenBefore

References Terraria.ModLoader.PlayerDrawLayer.ChildrenAfter, Terraria.ModLoader.PlayerDrawLayer.ChildrenBefore, Terraria.ModLoader.PlayerDrawLayer.Draw(), Terraria.ModLoader.PlayerDrawLayer.DrawWithTransformationAndChildren(), Terraria.ModLoader.PlayerDrawLayer.Transform, and Terraria.ModLoader.PlayerDrawLayer.Visible.

Referenced by Terraria.ModLoader.PlayerDrawLayer.DrawWithTransformationAndChildren().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: