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.AnimationDefinition Class Referencesealed

Represents the root definition of an animation in the GANI (Gondwana Animation) file format. More...

Properties

string Key = string.Empty [get, set]
 Gets or sets the globally unique animation key used by Cycle.
double ThrottleTime [get, set]
 Gets or sets the time in seconds between frame transitions.
CycleType CycleType = CycleType.Simple [get, set]
 Gets or sets the sequence playback pattern.
bool HideTileOnCycleEnd [get, set]
 Gets or sets whether the owning tile should be hidden when this cycle ends.
string? NextCycleKey [get, set]
 Gets or sets the key of the cycle to transition to when this cycle ends. A null or empty value uses the runtime default of transitioning to this cycle.
List< AnimationTilesheetSourceDefinition > TilesheetSources = [] [get, set]
 Gets or sets authoring-time locations for logical GTS dependencies used by this animation. Runtime materialization still resolves frames through the registered tilesheet name.
List< AnimationFrameDefinition > Frames = [] [get, set]
 Gets or sets the ordered frame references in this animation.
AnimationDefinitionSource Source [get, set]
 Gets or sets provenance metadata describing where this definition came from.

Detailed Description

Represents the root definition of an animation in the GANI (Gondwana Animation) file format.

Definition at line 6 of file AnimationDefinition.cs.

Property Documentation

◆ CycleType

CycleType Gondwana.Drawing.Animation.GANI.AnimationDefinition.CycleType = CycleType.Simple
getset

Gets or sets the sequence playback pattern.

Definition at line 26 of file AnimationDefinition.cs.

◆ Frames

List<AnimationFrameDefinition> Gondwana.Drawing.Animation.GANI.AnimationDefinition.Frames = []
getset

Gets or sets the ordered frame references in this animation.

Definition at line 48 of file AnimationDefinition.cs.

◆ HideTileOnCycleEnd

bool Gondwana.Drawing.Animation.GANI.AnimationDefinition.HideTileOnCycleEnd
getset

Gets or sets whether the owning tile should be hidden when this cycle ends.

Definition at line 31 of file AnimationDefinition.cs.

◆ Key

string Gondwana.Drawing.Animation.GANI.AnimationDefinition.Key = string.Empty
getset

Gets or sets the globally unique animation key used by Cycle.

Definition at line 16 of file AnimationDefinition.cs.

◆ NextCycleKey

string? Gondwana.Drawing.Animation.GANI.AnimationDefinition.NextCycleKey
getset

Gets or sets the key of the cycle to transition to when this cycle ends. A null or empty value uses the runtime default of transitioning to this cycle.

Definition at line 37 of file AnimationDefinition.cs.

◆ Source

AnimationDefinitionSource Gondwana.Drawing.Animation.GANI.AnimationDefinition.Source
getset

Gets or sets provenance metadata describing where this definition came from.

Definition at line 53 of file AnimationDefinition.cs.

◆ ThrottleTime

double Gondwana.Drawing.Animation.GANI.AnimationDefinition.ThrottleTime
getset

Gets or sets the time in seconds between frame transitions.

Definition at line 21 of file AnimationDefinition.cs.

◆ TilesheetSources

List<AnimationTilesheetSourceDefinition> Gondwana.Drawing.Animation.GANI.AnimationDefinition.TilesheetSources = []
getset

Gets or sets authoring-time locations for logical GTS dependencies used by this animation. Runtime materialization still resolves frames through the registered tilesheet name.

Definition at line 43 of file AnimationDefinition.cs.