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.Tilesheets.GTS.TilesheetImageDefinition Class Referencesealed

Represents the image source definition for a tilesheet, specifying where the image data can be loaded from. More...

Properties

string? FilePath [get, set]
 Gets or sets the direct file path to the tilesheet image.
string? AssetsFilePath [get, set]
 Gets or sets the path to the assets file containing the tilesheet image.
string? AssetEntryName [get, set]
 Gets or sets the name of the specific entry within an assets file that contains the tilesheet image.

Detailed Description

Represents the image source definition for a tilesheet, specifying where the image data can be loaded from.

This class supports multiple image loading strategies: directly from a file path, from an assets file, or from a named entry within an assets file. Only one of these strategies should be populated at a time.

Definition at line 10 of file TilesheetImageDefinition.cs.

Property Documentation

◆ AssetEntryName

string? Gondwana.Drawing.Tilesheets.GTS.TilesheetImageDefinition.AssetEntryName
getset

Gets or sets the name of the specific entry within an assets file that contains the tilesheet image.

This property works in conjunction with AssetsFilePath to identify a specific image entry within an assets file. It is mutually exclusive with FilePath.

Definition at line 38 of file TilesheetImageDefinition.cs.

◆ AssetsFilePath

string? Gondwana.Drawing.Tilesheets.GTS.TilesheetImageDefinition.AssetsFilePath
getset

Gets or sets the path to the assets file containing the tilesheet image.

When specified along with AssetEntryName, the tilesheet image will be loaded from the named entry within this assets file. This property should be used in conjunction with AssetEntryName and is mutually exclusive with FilePath.

Definition at line 29 of file TilesheetImageDefinition.cs.

◆ FilePath

string? Gondwana.Drawing.Tilesheets.GTS.TilesheetImageDefinition.FilePath
getset

Gets or sets the direct file path to the tilesheet image.

When specified, the tilesheet image will be loaded directly from this file path. This property is mutually exclusive with AssetsFilePath and AssetEntryName.

Definition at line 19 of file TilesheetImageDefinition.cs.