19 public Rectangle
Area {
get;
set; }
56 public List<TilesheetFrameDefinition>
Frames {
get;
set; } = [];
Defines a rectangular region within a tilesheet, including layout and collision metadata.
string Name
Gets or sets the name of the region.
Spacing Overhang
Gets or sets the visual overhang beyond the logical tile bounds.
Rectangle Area
Gets or sets the rectangular bounds of this region in the source image.
CollisionAdjust CollisionAdjust
Gets or sets the region-level collision adjustment applied to all frames by default.
Size TileSize
Gets or sets the size of individual frames in this region.
Spacing TilePadding
Gets or sets the spacing between adjacent frames.
TileCollisionType CollisionType
Gets or sets the region-level collision type inherited by frames without an explicit collision-type o...
List< TilesheetFrameDefinition > Frames
Gets or sets per-frame collision metadata for this region. A missing collision property on a frame me...
Spacing RegionMargin
Gets or sets the margin around the frame grid.
Represents a rectangular region within a tilesheet that contains a grid of frames.
static readonly string DefaultRegionName
The default name assigned to tilesheet regions when no name is specified.
record struct Spacing([property:JsonProperty("left")] int Left, [property:JsonProperty("top")] int Top, [property:JsonProperty("right")] int Right, [property:JsonProperty("bottom")] int Bottom)
Represents dimensions in pixels when spacing Tilesheets.
TileCollisionType
Defines the default collision behavior associated with a tilesheet region, frame, or runtime tile.
Per-edge inset amounts applied to visual bounds to produce a collision rectangle.
static readonly CollisionAdjust None
Represents an adjustment with no pixel offsets.