Captures provenance details for a GSCN scene definition.
More...
|
| SceneDefinitionSourceKind | Kind [get] |
| | Gets the high-level source kind.
|
| string? | GscnFilePath [get] |
| | Gets the .gscn path when loaded from a loose definition file.
|
| string? | AssetsFilePath [get] |
| | Gets the .gaf path when loaded from a packed definition file.
|
| string? | AssetEntryName [get] |
| | Gets the packed entry name when loaded from a packed definition file.
|
Captures provenance details for a GSCN scene definition.
Definition at line 8 of file SceneDefinitionSource.cs.
◆ Generated()
Creates a source marker for a definition generated from runtime state or tooling.
- Returns
- A source descriptor identifying runtime-generated content.
◆ LooseDefinitionFile()
| SceneDefinitionSource Gondwana.Scenes.GSCN.SceneDefinitionSource.LooseDefinitionFile |
( |
string | gscnFilePath | ) |
|
|
static |
Creates a source marker for a loose .gscn file.
- Parameters
-
| gscnFilePath | The gscn file path. |
- Returns
- A source descriptor containing the loose definition file path.
Definition at line 42 of file SceneDefinitionSource.cs.
◆ None()
Creates an empty source marker when no provenance is known.
- Returns
- A descriptor with no persisted source.
◆ PackedDefinitionFile()
| SceneDefinitionSource Gondwana.Scenes.GSCN.SceneDefinitionSource.PackedDefinitionFile |
( |
string | assetsFilePath, |
|
|
string | assetEntryName ) |
|
static |
Creates a source marker for a packed .gscn entry inside an assets file.
- Parameters
-
| assetsFilePath | The path to the assets file. |
| assetEntryName | The entry name inside the assets file. |
- Returns
- A source descriptor containing the assets file path and entry name.
Definition at line 60 of file SceneDefinitionSource.cs.
◆ AssetEntryName
| string? Gondwana.Scenes.GSCN.SceneDefinitionSource.AssetEntryName |
|
get |
◆ AssetsFilePath
| string? Gondwana.Scenes.GSCN.SceneDefinitionSource.AssetsFilePath |
|
get |
◆ GscnFilePath
| string? Gondwana.Scenes.GSCN.SceneDefinitionSource.GscnFilePath |
|
get |
◆ Kind