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.Scenes.GSCN.SceneAnimationSourceDefinition Class Referencesealed

Describes an authoring-time source for a logical animation key referenced by a GSCN definition. Runtime scene materialization continues to resolve animations through the cycle registry. More...

Static Public Member Functions

static SceneAnimationSourceDefinition Loose (string animationKey, string ganiPath)
 Creates a reference to a definition stored in a loose file.
static SceneAnimationSourceDefinition Packed (string animationKey, string assetsFilePath, string assetEntryName)
 Creates a reference to a definition stored inside an assets file.

Properties

string AnimationKey = string.Empty [get, set]
 Gets or sets the lookup key of the referenced animation.
SceneAnimationSourceKind Kind = SceneAnimationSourceKind.LooseDefinitionFile [get, set]
 Gets or sets the kind.
string? GaniPath [get, set]
 Gets or sets the path to the loose GANI animation definition.
string? AssetsFilePath [get, set]
 Gets or sets the path to the containing assets file.
string? AssetEntryName [get, set]
 Gets or sets the entry name inside the assets file.

Detailed Description

Describes an authoring-time source for a logical animation key referenced by a GSCN definition. Runtime scene materialization continues to resolve animations through the cycle registry.

Definition at line 27 of file SceneAnimationSourceDefinition.cs.

Member Function Documentation

◆ Loose()

SceneAnimationSourceDefinition Gondwana.Scenes.GSCN.SceneAnimationSourceDefinition.Loose ( string animationKey,
string ganiPath )
static

Creates a reference to a definition stored in a loose file.

Parameters
animationKeyThe lookup key of the animation.
ganiPathThe path to the loose GANI animation definition.
Returns
A reference to the loose definition file.

Definition at line 56 of file SceneAnimationSourceDefinition.cs.

◆ Packed()

SceneAnimationSourceDefinition Gondwana.Scenes.GSCN.SceneAnimationSourceDefinition.Packed ( string animationKey,
string assetsFilePath,
string assetEntryName )
static

Creates a reference to a definition stored inside an assets file.

Parameters
animationKeyThe lookup key of the animation.
assetsFilePathThe path to the assets file.
assetEntryNameThe entry name inside the assets file.
Returns
A reference to the packed definition entry.

Definition at line 75 of file SceneAnimationSourceDefinition.cs.

Property Documentation

◆ AnimationKey

string Gondwana.Scenes.GSCN.SceneAnimationSourceDefinition.AnimationKey = string.Empty
getset

Gets or sets the lookup key of the referenced animation.

Definition at line 32 of file SceneAnimationSourceDefinition.cs.

◆ AssetEntryName

string? Gondwana.Scenes.GSCN.SceneAnimationSourceDefinition.AssetEntryName
getset

Gets or sets the entry name inside the assets file.

Definition at line 48 of file SceneAnimationSourceDefinition.cs.

◆ AssetsFilePath

string? Gondwana.Scenes.GSCN.SceneAnimationSourceDefinition.AssetsFilePath
getset

Gets or sets the path to the containing assets file.

Definition at line 44 of file SceneAnimationSourceDefinition.cs.

◆ GaniPath

string? Gondwana.Scenes.GSCN.SceneAnimationSourceDefinition.GaniPath
getset

Gets or sets the path to the loose GANI animation definition.

Definition at line 40 of file SceneAnimationSourceDefinition.cs.

◆ Kind

SceneAnimationSourceKind Gondwana.Scenes.GSCN.SceneAnimationSourceDefinition.Kind = SceneAnimationSourceKind.LooseDefinitionFile
getset

Gets or sets the kind.

Definition at line 36 of file SceneAnimationSourceDefinition.cs.