terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ DrawSelf()

override void Terraria.GameContent.UI.Elements.UIImage.DrawSelf ( SpriteBatch spriteBatch)
inlineprotectedvirtual

Reimplemented from Terraria.UI.UIElement.

Definition at line 45 of file UIImage.cs.

46 {
47 float x = this._dimensions.X;
48 Asset<Texture2D> texture = this._texture;
49 if (this.ScaleToFit)
50 {
51 return;
52 }
53 if (texture == null)
54 {
55 }
56 float imageScale = this.ImageScale;
57 if (texture == null)
58 {
59 }
60 float x2 = this.NormalizedOrigin.X;
61 float y = this.NormalizedOrigin.Y;
63 if (removeFloatingPointsFromDrawPosition)
64 {
66 {
67 }
68 }
70 float rotation = this.Rotation;
71 float x3 = this.NormalizedOrigin.X;
72 float y2 = this.NormalizedOrigin.Y;
73 if (texture2 == null)
74 {
75 }
76 float imageScale2 = this.ImageScale;
77 }
class f__AnonymousType0<< Count > j__TPar
CalculatedStyle _dimensions

References Terraria.UI.UIElement._dimensions, Terraria.GameContent.UI.Elements.UIImage._texture, Terraria.GameContent.UI.Elements.UIImage.ImageScale, j__TPar, Terraria.GameContent.UI.Elements.UIImage.NormalizedOrigin, Terraria.GameContent.UI.Elements.UIImage.RemoveFloatingPointsFromDrawPosition, Terraria.GameContent.UI.Elements.UIImage.Rotation, Terraria.GameContent.UI.Elements.UIImage.ScaleToFit, Microsoft.Xna.Framework.Vector2.X, Terraria.UI.CalculatedStyle.X, and Microsoft.Xna.Framework.Vector2.Y.