|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtual |
Allows for complete customization of mount drawing. This method will be called once for each supported mount texture layer that exists. Use drawType to conditionally apply changes. drawType corresponds to the following: 0: backTexture, 1: backTextureExtra, 2: frontTexture. 3: frontTextureExtra Corresponding glow textures, such as backTextureGlow, are paired with their corresponding texture and passed into this method as well. Return false if you are manually adding DrawData to playerDrawData to replace the vanilla draw behavior, otherwise tweak ref variables to customize the drawing and add additional DrawData to playerDrawData.
| playerDrawData | |
| drawType | Corresponds to the following: 0: backTexture, 1: backTextureExtra, 2: frontTexture. 3: frontTextureExtra |
| drawPlayer | |
| texture | |
| glowTexture | The corresponding glow texture, if present |
| drawPosition | |
| frame | |
| drawColor | |
| glowColor | |
| rotation | |
| spriteEffects | |
| drawOrigin | |
| drawScale | |
| shadow |
Definition at line 217 of file ModMount.cs.