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

Defines collision metadata for one frame in a tilesheet region. More...

Properties

int XTile [get, set]
 Gets or sets the zero-based frame column within the region.
int YTile [get, set]
 Gets or sets the zero-based frame row within the region.
CollisionAdjust? CollisionAdjust [get, set]
 Gets or sets the frame-specific collision adjustment. A missing value inherits the region adjustment for backward compatibility.
TileCollisionType? CollisionType [get, set]
 Gets or sets the frame-specific collision type. A missing value inherits the region collision type; an explicit TileCollisionType.None disables collision for this frame.

Detailed Description

Defines collision metadata for one frame in a tilesheet region.

Definition at line 8 of file TilesheetFrameDefinition.cs.

Property Documentation

◆ CollisionAdjust

CollisionAdjust? Gondwana.Drawing.Tilesheets.GTS.TilesheetFrameDefinition.CollisionAdjust
getset

Gets or sets the frame-specific collision adjustment. A missing value inherits the region adjustment for backward compatibility.

Definition at line 24 of file TilesheetFrameDefinition.cs.

◆ CollisionType

TileCollisionType? Gondwana.Drawing.Tilesheets.GTS.TilesheetFrameDefinition.CollisionType
getset

Gets or sets the frame-specific collision type. A missing value inherits the region collision type; an explicit TileCollisionType.None disables collision for this frame.

Definition at line 31 of file TilesheetFrameDefinition.cs.

◆ XTile

int Gondwana.Drawing.Tilesheets.GTS.TilesheetFrameDefinition.XTile
getset

Gets or sets the zero-based frame column within the region.

Definition at line 13 of file TilesheetFrameDefinition.cs.

◆ YTile

int Gondwana.Drawing.Tilesheets.GTS.TilesheetFrameDefinition.YTile
getset

Gets or sets the zero-based frame row within the region.

Definition at line 18 of file TilesheetFrameDefinition.cs.