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
Gondwana.Drawing.Animation.GANI.AnimationFrameDefinition Class Referencesealed

Identifies one tilesheet frame used by a GANI animation. More...

Properties

double? DurationSeconds [get, set]
 Display duration in seconds; null uses the animation's ThrottleTime.
string Tilesheet = string.Empty [get, set]
 Gets or sets the logical name of the registered tilesheet.
string RegionName = TilesheetRegion.DefaultRegionName [get, set]
 Gets or sets the tilesheet region name.
int XTile [get, set]
 Gets or sets the zero-based frame column within the region.
int YTile [get, set]
 Gets or sets the zero-based frame row within the region.

Detailed Description

Identifies one tilesheet frame used by a GANI animation.

Definition at line 8 of file AnimationFrameDefinition.cs.

Property Documentation

◆ DurationSeconds

double? Gondwana.Drawing.Animation.GANI.AnimationFrameDefinition.DurationSeconds
getset

Display duration in seconds; null uses the animation's ThrottleTime.

Definition at line 11 of file AnimationFrameDefinition.cs.

◆ RegionName

string Gondwana.Drawing.Animation.GANI.AnimationFrameDefinition.RegionName = TilesheetRegion.DefaultRegionName
getset

Gets or sets the tilesheet region name.

Definition at line 21 of file AnimationFrameDefinition.cs.

◆ Tilesheet

string Gondwana.Drawing.Animation.GANI.AnimationFrameDefinition.Tilesheet = string.Empty
getset

Gets or sets the logical name of the registered tilesheet.

Definition at line 16 of file AnimationFrameDefinition.cs.

◆ XTile

int Gondwana.Drawing.Animation.GANI.AnimationFrameDefinition.XTile
getset

Gets or sets the zero-based frame column within the region.

Definition at line 26 of file AnimationFrameDefinition.cs.

◆ YTile

int Gondwana.Drawing.Animation.GANI.AnimationFrameDefinition.YTile
getset

Gets or sets the zero-based frame row within the region.

Definition at line 31 of file AnimationFrameDefinition.cs.