tModLoader v2024.10
A mod to make and play Terraria mods
|
Inherits IPlayerRenderer.
Public Member Functions | |
void | DrawPlayer (Camera camera, Player drawPlayer, Vector2 position, float rotation, Vector2 rotationOrigin, float shadow=0f, float scale=1f) |
void | DrawPlayerHead (Camera camera, Player drawPlayer, Vector2 position, float alpha=1f, float scale=1f, Color borderColor=default(Color)) |
void | DrawPlayers (Camera camera, IEnumerable< Player > players) |
void | DrawPlayer (Camera camera, Player drawPlayer, Vector2 position, float rotation, Vector2 rotationOrigin, float shadow=0f, float scale=1f) |
void | DrawPlayerHead (Camera camera, Player drawPlayer, Vector2 position, float alpha=1f, float scale=1f, Color borderColor=default(Color)) |
void | DrawPlayers (Camera camera, IEnumerable< Player > players) |
Properties | |
static SamplerState | MountedSamplerState [get] |
void LegacyPlayerRenderer.DrawPlayer | ( | Camera | camera, |
Player | drawPlayer, | ||
Vector2 | position, | ||
float | rotation, | ||
Vector2 | rotationOrigin, | ||
float | shadow = 0f , |
||
float | scale = 1f |
||
) |
Implements IPlayerRenderer.
void LegacyPlayerRenderer.DrawPlayerHead | ( | Camera | camera, |
Player | drawPlayer, | ||
Vector2 | position, | ||
float | alpha = 1f , |
||
float | scale = 1f , |
||
Color | borderColor = default(Color) |
||
) |
Implements IPlayerRenderer.
void LegacyPlayerRenderer.DrawPlayers | ( | Camera | camera, |
IEnumerable< Player > | players | ||
) |
Implements IPlayerRenderer.