1using System.ComponentModel;
11 [Newtonsoft.Json.JsonIgnore]
internal DefinitionLoadStamp? LoadStamp {
get;
set; }
18 [Category(
"Identity")]
20 "Unique scene key used to find and instantiate this scene. Leave blank to generate an identifier when materialized.")]
21 public string ID {
get;
set; } =
string.Empty;
26 [Category(
"Collision")]
27 [Description(
"Names of collision groups defined for this scene; group order is retained in the saved definition.")]
33 [Category(
"Collision")]
34 [Description(
"Named collision rules available to the scene's tiles and sprites.")]
43 "GTS files or packed entries referenced by the scene for tile artwork; these are authoring-time source locations.")]
52 "GANI files or packed entries referenced by the scene for animation cycles; these are authoring-time source locations.")]
58 [Category(
"Structure")]
60 "Scene layers, drawn according to their ZOrder. Each layer has its own dimensions, visibility, and scrolling behavior.")]
61 public List<SceneLayerDefinition>
Layers {
get;
set; } = [];
66 [Category(
"Provenance")]
67 [Description(
"Origin metadata indicating which loose scene file or packed asset contains this scene definition.")]
71 set => _source = value ??
throw new ArgumentNullException(nameof(value));
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.