Establishes a connection to an SQL database that stores asset data such as file paths to audio files, loop points, midi notes etc.
More...
Establishes a connection to an SQL database that stores asset data such as file paths to audio files, loop points, midi notes etc.
◆ GetAssetsForSet()
Get all assets that belong to a set.
- Parameters
-
s | The set whose assets should be queried. |
- Returns
- A
List
of DBAsset
containing all assets of the set.
◆ GetCanMixRelations()
Get all match relations for an asset.
- Parameters
-
a | The asset that should be matched with other assets. |
- Returns
- A
List
of all relations (not assets!) the asset is involved with.
◆ GetSetWithName()
DBSet AudioAssetDatabase.GetSetWithName |
( |
string |
name | ) |
|
Get a set with a specified name.
- Parameters
-
name | The name of the set as defined in the database. |
- Returns
- The corresponding set or
null
.
◆ MatchAssets()
void AudioAssetDatabase.MatchAssets |
( |
List< DBAsset > |
assets, |
|
|
List< DBAsset > |
assetsToMatch |
|
) |
| |
Strips each item from assets
that does not match with every single item from assetsToMatch
.
- Parameters
-
assets | A mutable List that contains all candidates. |
assetsToMatch | A List of DBAsset that should be matched. |
The documentation for this class was generated from the following file:
- /Users/hannes/Desktop/MA/RunnersHigh/Assets/Scripts/RunnersHigh/Documented/AudioAssetDatabase.cs