tModLoader v2024.03
A mod to make and play Terraria mods
MapHeadRenderer Class Reference

Inherits INeedRenderTargetContent.

Public Member Functions

void DrawPlayerHead (Camera camera, Player drawPlayer, Vector2 position, float alpha=1f, float scale=1f, Color borderColor=default(Color))
 
void PrepareRenderTarget (GraphicsDevice device, SpriteBatch spriteBatch)
 
void Reset ()
 
void PrepareRenderTarget (GraphicsDevice device, SpriteBatch spriteBatch)
 
void Reset ()
 

Properties

bool IsReady [get]
 
- Properties inherited from INeedRenderTargetContent
bool IsReady [get]
 

Member Function Documentation

◆ PrepareRenderTarget()

void MapHeadRenderer.PrepareRenderTarget ( GraphicsDevice  device,
SpriteBatch  spriteBatch 
)

◆ Reset()

void MapHeadRenderer.Reset ( )

Property Documentation

◆ IsReady

bool MapHeadRenderer.IsReady
get