Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.DataStructures.SpriteFrame Struct Reference

Public Member Functions

 SpriteFrame (byte columns, byte rows)
 
 SpriteFrame (byte columns, byte rows, byte currentColumn, byte currentRow)
 
SpriteFrame With (byte columnToUse, byte rowToUse)
 
Rectangle GetSourceRectangle (Texture2D texture)
 

Public Attributes

int PaddingX
 
int PaddingY
 
readonly byte ColumnCount
 
readonly byte RowCount
 

Properties

byte CurrentColumn [get, set]
 
byte CurrentRow [get, set]
 

Private Attributes

byte _currentColumn
 
byte _currentRow
 

Detailed Description

Definition at line 6 of file SpriteFrame.cs.


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