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
AnimationFrameDefinition.cs
2
4
8public sealed class AnimationFrameDefinition
9{
11 public double? DurationSeconds { get; set; }
12
16 public string Tilesheet { get; set; } = string.Empty;
17
21 public string RegionName { get; set; } = TilesheetRegion.DefaultRegionName;
22
26 public int XTile { get; set; }
27
31 public int YTile { get; set; }
32}
Identifies one tilesheet frame used by a GANI animation.
string Tilesheet
Gets or sets the logical name of the registered tilesheet.
int YTile
Gets or sets the zero-based frame row within the region.
int XTile
Gets or sets the zero-based frame column within the region.
double? DurationSeconds
Display duration in seconds; null uses the animation's ThrottleTime.
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.