init(engine:preset:)
Creates a material with the given preset.
Declaration
init(engine: PHASEEngine, preset: PHASEMaterialPreset)Parameters
- engine:
The object that controls the app’s audio output.
- preset:
A specific material among preselected options.