tModLoader v2024.08
A mod to make and play Terraria mods
PlayerHeadDrawRenderTargetContent Class Reference

Inherits AnOutlinedDrawRenderTargetContent.

Public Member Functions

void UsePlayer (Player player)
 
- Public Member Functions inherited from AnOutlinedDrawRenderTargetContent
void UseColor (Color color)
 
- Public Member Functions inherited from ARenderTargetContentByRequest
RenderTarget2D GetTarget ()
 
void PrepareRenderTarget (GraphicsDevice device, SpriteBatch spriteBatch)
 
void Request ()
 
void Reset ()
 
void PrepareRenderTarget (GraphicsDevice device, SpriteBatch spriteBatch)
 
void Reset ()
 

Additional Inherited Members

- Public Attributes inherited from AnOutlinedDrawRenderTargetContent
Color _borderColor = Color.White
 
- Protected Member Functions inherited from AnOutlinedDrawRenderTargetContent
override void HandleUseReqest (GraphicsDevice device, SpriteBatch spriteBatch)
 
- Protected Member Functions inherited from ARenderTargetContentByRequest
abstract void HandleUseReqest (GraphicsDevice device, SpriteBatch spriteBatch)
 
void PrepareARenderTarget_AndListenToEvents (ref RenderTarget2D target, GraphicsDevice device, int neededWidth, int neededHeight, RenderTargetUsage usage)
 
void PrepareARenderTarget_WithoutListeningToEvents (ref RenderTarget2D target, GraphicsDevice device, int neededWidth, int neededHeight, RenderTargetUsage usage)
 
- Protected Attributes inherited from AnOutlinedDrawRenderTargetContent
int height = 84
 
int width = 84
 
- Protected Attributes inherited from ARenderTargetContentByRequest
RenderTarget2D _target
 
bool _wasPrepared
 
- Properties inherited from ARenderTargetContentByRequest
bool IsReady [get]
 
- Properties inherited from INeedRenderTargetContent
bool IsReady [get]