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

Describes an authoring-time source for a logical tilesheet referenced by a GSCN definition. Runtime scene materialization continues to resolve frame references through the tilesheet registry. More...

Static Public Member Functions

static SceneTilesheetSourceDefinition Loose (string tilesheet, string gtsPath)
 Creates a reference to a definition stored in a loose file.
static SceneTilesheetSourceDefinition Packed (string tilesheet, string assetsFilePath, string assetEntryName)
 Creates a reference to a definition stored inside an assets file.

Properties

string Tilesheet = string.Empty [get, set]
 Gets or sets the tilesheet.
SceneTilesheetSourceKind Kind = SceneTilesheetSourceKind.LooseDefinitionFile [get, set]
 Gets or sets the kind.
string? GtsPath [get, set]
 Gets or sets the path to the loose GTS tilesheet 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 tilesheet referenced by a GSCN definition. Runtime scene materialization continues to resolve frame references through the tilesheet registry.

Definition at line 27 of file SceneTilesheetSourceDefinition.cs.

Member Function Documentation

◆ Loose()

SceneTilesheetSourceDefinition Gondwana.Scenes.GSCN.SceneTilesheetSourceDefinition.Loose ( string tilesheet,
string gtsPath )
static

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

Parameters
tilesheetThe tilesheet.
gtsPathThe path to the loose GTS tilesheet definition.
Returns
A reference to the loose definition file.

Definition at line 56 of file SceneTilesheetSourceDefinition.cs.

◆ Packed()

SceneTilesheetSourceDefinition Gondwana.Scenes.GSCN.SceneTilesheetSourceDefinition.Packed ( string tilesheet,
string assetsFilePath,
string assetEntryName )
static

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

Parameters
tilesheetThe tilesheet.
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 SceneTilesheetSourceDefinition.cs.

Property Documentation

◆ AssetEntryName

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

Gets or sets the entry name inside the assets file.

Definition at line 48 of file SceneTilesheetSourceDefinition.cs.

◆ AssetsFilePath

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

Gets or sets the path to the containing assets file.

Definition at line 44 of file SceneTilesheetSourceDefinition.cs.

◆ GtsPath

string? Gondwana.Scenes.GSCN.SceneTilesheetSourceDefinition.GtsPath
getset

Gets or sets the path to the loose GTS tilesheet definition.

Definition at line 40 of file SceneTilesheetSourceDefinition.cs.

◆ Kind

SceneTilesheetSourceKind Gondwana.Scenes.GSCN.SceneTilesheetSourceDefinition.Kind = SceneTilesheetSourceKind.LooseDefinitionFile
getset

Gets or sets the kind.

Definition at line 36 of file SceneTilesheetSourceDefinition.cs.

◆ Tilesheet

string Gondwana.Scenes.GSCN.SceneTilesheetSourceDefinition.Tilesheet = string.Empty
getset

Gets or sets the tilesheet.

Definition at line 32 of file SceneTilesheetSourceDefinition.cs.