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

Represents the root definition of a tilesheet in the GTS (Gondwana Tilesheet) file format. More...

Properties

string Name = string.Empty [get, set]
 Gets or sets the name of the tilesheet.
TilesheetImageDefinition Image = new() [get, set]
 Gets or sets the image definition that specifies the source image for the tilesheet.
List< TilesheetRegionDefinition > Regions = [] [get, set]
 Gets or sets the list of region definitions that define subdivisions within the tilesheet.
TilesheetMaskDefinition? Mask [get, set]
 Gets or sets the mask definition for color transparency, or null if no mask is applied.
bool PremultiplyAlpha [get, set]
 Gets or sets a value indicating whether alpha should be premultiplied when loading the tilesheet image.
TilesheetDefinitionSource Source [get, set]
 Gets or sets the provenance metadata for where this definition came from.

Detailed Description

Represents the root definition of a tilesheet in the GTS (Gondwana Tilesheet) file format.

Definition at line 6 of file TilesheetDefinition.cs.

Property Documentation

◆ Image

TilesheetImageDefinition Gondwana.Drawing.Tilesheets.GTS.TilesheetDefinition.Image = new()
getset

Gets or sets the image definition that specifies the source image for the tilesheet.

Definition at line 21 of file TilesheetDefinition.cs.

◆ Mask

TilesheetMaskDefinition? Gondwana.Drawing.Tilesheets.GTS.TilesheetDefinition.Mask
getset

Gets or sets the mask definition for color transparency, or null if no mask is applied.

Definition at line 31 of file TilesheetDefinition.cs.

◆ Name

string Gondwana.Drawing.Tilesheets.GTS.TilesheetDefinition.Name = string.Empty
getset

Gets or sets the name of the tilesheet.

Definition at line 16 of file TilesheetDefinition.cs.

◆ PremultiplyAlpha

bool Gondwana.Drawing.Tilesheets.GTS.TilesheetDefinition.PremultiplyAlpha
getset

Gets or sets a value indicating whether alpha should be premultiplied when loading the tilesheet image.

Definition at line 36 of file TilesheetDefinition.cs.

◆ Regions

List<TilesheetRegionDefinition> Gondwana.Drawing.Tilesheets.GTS.TilesheetDefinition.Regions = []
getset

Gets or sets the list of region definitions that define subdivisions within the tilesheet.

Definition at line 26 of file TilesheetDefinition.cs.

◆ Source

TilesheetDefinitionSource Gondwana.Drawing.Tilesheets.GTS.TilesheetDefinition.Source
getset

Gets or sets the provenance metadata for where this definition came from.

Definition at line 41 of file TilesheetDefinition.cs.