![]() |
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.
|
Defines one named audio resource in a GSND file. More...
Properties | |
| string | Key = string.Empty [get, set] |
| Gets or sets the key. | |
| AudioResourceSourceKind | SourceKind = AudioResourceSourceKind.LooseFile [get, set] |
| Gets or sets the source kind. | |
| string? | FilePath [get, set] |
| Loose audio file path, preferably relative to the GSND file. | |
| string? | AssetsFilePath [get, set] |
| GAF path for a packed audio source, preferably relative to the GSND file. | |
| string? | AssetEntryName [get, set] |
| Audio entry name inside a packed GAF source. | |
| string? | SourceUri [get, set] |
| Source URI for URI-backed audio. | |
| string? | SourceExtension [get, set] |
| Optional format hint such as .wav or .ogg, required when a packed entry name has no extension. | |
| float | Volume = 1.0f [get, set] |
| Gets or sets the playback volume. | |
| float | Pan [get, set] |
| Gets or sets the stereo pan. | |
| float | PlaybackSpeed = 1.0f [get, set] |
| Gets or sets the playback speed multiplier. | |
| bool | IsLooping [get, set] |
| Gets or sets whether playback repeats when it reaches the end. | |
Defines one named audio resource in a GSND file.
Definition at line 6 of file AudioResourceDefinition.cs.
|
getset |
Audio entry name inside a packed GAF source.
Definition at line 25 of file AudioResourceDefinition.cs.
|
getset |
GAF path for a packed audio source, preferably relative to the GSND file.
Definition at line 22 of file AudioResourceDefinition.cs.
|
getset |
Loose audio file path, preferably relative to the GSND file.
Definition at line 19 of file AudioResourceDefinition.cs.
|
getset |
Gets or sets whether playback repeats when it reaches the end.
Definition at line 51 of file AudioResourceDefinition.cs.
|
getset |
Gets or sets the key.
Definition at line 11 of file AudioResourceDefinition.cs.
|
getset |
Gets or sets the stereo pan.
Definition at line 41 of file AudioResourceDefinition.cs.
|
getset |
Gets or sets the playback speed multiplier.
Definition at line 46 of file AudioResourceDefinition.cs.
|
getset |
Optional format hint such as .wav or .ogg, required when a packed entry name has no extension.
Definition at line 31 of file AudioResourceDefinition.cs.
|
getset |
Gets or sets the source kind.
Definition at line 16 of file AudioResourceDefinition.cs.
|
getset |
Source URI for URI-backed audio.
Definition at line 28 of file AudioResourceDefinition.cs.
|
getset |
Gets or sets the playback volume.
Definition at line 36 of file AudioResourceDefinition.cs.