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

◆ Draw()

static bool Terraria.ModLoader.MountLoader.Draw ( Mount mount,
List< DrawData > playerDrawData,
int drawType,
Player drawPlayer,
ref Texture2D texture,
ref Texture2D glowTexture,
ref Vector2 drawPosition,
ref Rectangle frame,
ref Color drawColor,
ref Color glowColor,
ref float rotation,
ref SpriteEffects spriteEffects,
ref Vector2 drawOrigin,
ref float drawScale,
float shadow )
inlinestatic

See M:Terraria.ModLoader.ModMount.Draw(System.Collections.Generic.List<Terraria.DataStructures.DrawData>,System.Int32,Terraria.Player,Microsoft.Xna.Framework.Graphics.Texture2D@,Microsoft.Xna.Framework.Graphics.Texture2D@,Microsoft.Xna.Framework.Vector2@,Microsoft.Xna.Framework.Rectangle@,Microsoft.Xna.Framework.Color@,Microsoft.Xna.Framework.Color@,System.Single@,Microsoft.Xna.Framework.Graphics.SpriteEffects@,Microsoft.Xna.Framework.Vector2@,System.Single@,System.Single)

Definition at line 167 of file MountLoader.cs.

168 {
169 if (IsModMount(mount._data))
170 {
171 return mount._data.ModMount.Draw(playerDrawData, drawType, drawPlayer, ref texture, ref glowTexture, ref drawPosition, ref frame, ref drawColor, ref glowColor, ref rotation, ref spriteEffects, ref drawOrigin, ref drawScale, shadow);
172 }
173 return true;
174 }
static bool IsModMount(Mount.MountData mountData)

References Terraria.Mount._data, Terraria.ModLoader.MountLoader.IsModMount(), and Terraria.Mount.MountData.ModMount.

Referenced by Terraria.Mount.Draw().

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