tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.DataStructures.TileObjectPreviewData Class Reference

Public Member Functions

void AllInvalid ()
 
void CopyFrom (TileObjectPreviewData copy)
 
void Reset ()
 

Static Public Attributes

const int InvalidSpot = 2
 
const int None = 0
 
static TileObjectPreviewData placementCache
 
static TileObjectPreviewData randomCache
 
const int ValidSpot = 1
 

Properties

bool Active [get, set]
 
int Alternate [get, set]
 
Point16 Coordinates [get, set]
 
Point16 ObjectStart [get, set]
 
int Random [get, set]
 
Point16 Size [get, set]
 
short Style [get, set]
 
int this[int x, int y] [get, set]
 
ushort Type [get, set]