Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Map.MapOverlayDrawContext Struct Reference

Classes

struct  DrawResult
 

Public Member Functions

 MapOverlayDrawContext (Vector2 mapPosition, Vector2 mapOffset, Rectangle? clippingRect, float mapScale, float drawScale)
 
DrawResult Draw (Texture2D texture, Vector2 position, Alignment alignment)
 
DrawResult Draw (Texture2D texture, Vector2 position, SpriteFrame frame, Alignment alignment)
 
DrawResult Draw (Texture2D texture, Vector2 position, Color color, SpriteFrame frame, float scaleIfNotSelected, float scaleIfSelected, Alignment alignment)
 

Private Attributes

readonly Vector2 _mapPosition
 
readonly Vector2 _mapOffset
 
readonly? Rectangle _clippingRect
 
readonly float _mapScale
 
readonly float _drawScale
 

Detailed Description

Definition at line 8 of file MapOverlayDrawContext.cs.


The documentation for this struct was generated from the following file: