Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
SpriteFrameDefinition.cs
2
4
8public sealed class SpriteFrameDefinition
9{
13 public string Tilesheet { get; set; } = string.Empty;
14
18 public string RegionName { get; set; } = TilesheetRegion.DefaultRegionName;
19
23 public int XTile { get; set; }
24
28 public int YTile { get; set; }
29}
Stores a lightweight reference to one frame in a registered tilesheet.
int YTile
Gets or sets the zero-based frame row.
string Tilesheet
Gets or sets the logical tilesheet name.
int XTile
Gets or sets the zero-based frame column.
string RegionName
Gets or sets the tilesheet region name.
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.