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
SceneDefinition.cs
2
6public sealed class SceneDefinition
7{
8 [Newtonsoft.Json.JsonIgnore]
9 internal DefinitionLoadStamp? LoadStamp { get; set; }
10
12
16 public string ID { get; set; } = string.Empty;
17
21 public List<string> CollisionGroups { get; set; } = [];
22
26 public List<SceneCollisionProfileDefinition> CollisionProfiles { get; set; } = [];
27
32 public List<SceneTilesheetSourceDefinition> TilesheetSources { get; set; } = [];
33
38 public List<SceneAnimationSourceDefinition> AnimationSources { get; set; } = [];
39
43 public List<SceneLayerDefinition> Layers { get; set; } = [];
44
49 {
50 get => _source;
51 set => _source = value ?? throw new ArgumentNullException(nameof(value));
52 }
53}
Captures provenance details for a GSCN scene definition.
static SceneDefinitionSource None()
Creates an empty source marker when no provenance is known.
Represents the root definition of a scene in the GSCN (Gondwana Scene) file format.
string ID
Gets or sets the stable scene identifier. An empty value generates a new ID when materialized.
List< SceneTilesheetSourceDefinition > TilesheetSources
Gets or sets authoring-time locations for logical GTS dependencies used by this scene....
SceneDefinitionSource Source
Gets or sets provenance metadata describing where this definition came from.
List< SceneCollisionProfileDefinition > CollisionProfiles
Gets or sets named collision profiles used by the scene.
List< SceneAnimationSourceDefinition > AnimationSources
Gets or sets authoring-time locations for logical GANI dependencies used by this scene....
List< SceneLayerDefinition > Layers
Gets or sets the layers contained by the scene.
List< string > CollisionGroups
Gets or sets collision-group names in definition order.