8Synth  2.0
Procedural 8-bit SFX creator.
Synth8.SynthClipPresetDatabase Class Reference

Get access to the SynthClip preset database. More...

Inheritance diagram for Synth8.SynthClipPresetDatabase:

Public Member Functions

void ReloadPresets ()
 Reload the presets found in the specified folder. More...
 

Static Public Member Functions

static SynthClipPresetDatabase Get ()
 Get the single instance of the database in the project. More...
 
static SynthClipPresetDatabase GetAndReloadPresets ()
 Get the single instance of the database in the project and reload the presets. More...
 

Public Attributes

string presetsPath = "Assets/8Synth/Presets/"
 Where the presets are located in the project. More...
 
SynthClip emptyPreset = null
 An empty preset. Useful for clearing messes. More...
 
Dictionary< string, SynthClippresets = new Dictionary<string, SynthClip>()
 All presets found in the specified folder. More...
 

Detailed Description

Get access to the SynthClip preset database.

Member Function Documentation

static SynthClipPresetDatabase Synth8.SynthClipPresetDatabase.Get ( )
static

Get the single instance of the database in the project.

Returns
static SynthClipPresetDatabase Synth8.SynthClipPresetDatabase.GetAndReloadPresets ( )
static

Get the single instance of the database in the project and reload the presets.

Returns
void Synth8.SynthClipPresetDatabase.ReloadPresets ( )

Reload the presets found in the specified folder.

Member Data Documentation

SynthClip Synth8.SynthClipPresetDatabase.emptyPreset = null

An empty preset. Useful for clearing messes.

Dictionary<string, SynthClip> Synth8.SynthClipPresetDatabase.presets = new Dictionary<string, SynthClip>()

All presets found in the specified folder.

string Synth8.SynthClipPresetDatabase.presetsPath = "Assets/8Synth/Presets/"

Where the presets are located in the project.


The documentation for this class was generated from the following file: