tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Graphics.Renderers.MapHeadRenderer Class Reference

Inherits Terraria.GameContent.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 PrepareRenderTarget (GraphicsDevice device, SpriteBatch spriteBatch)
 

Properties

bool IsReady [get]
 
- Properties inherited from Terraria.GameContent.INeedRenderTargetContent
bool IsReady [get]
 

Member Function Documentation

◆ PrepareRenderTarget()

void Terraria.Graphics.Renderers.MapHeadRenderer.PrepareRenderTarget ( GraphicsDevice  device,
SpriteBatch  spriteBatch 
)

Property Documentation

◆ IsReady

bool Terraria.Graphics.Renderers.MapHeadRenderer.IsReady
get