public void OverwritePreset(ReverbPreset rp) { rp.room = room; rp.roomHF = roomHF; rp.roomLF = roomLF; rp.decayTime = decayTime; rp.decayHFRatio = decayHFRatio; rp.reflections = reflections; rp.reflectDelay = reflectDelay; rp.reverb = reverb; rp.reverbDelay = reverbDelay; rp.hFReference = hFReference; rp.lFReference = lFReference; rp.diffusion = diffusion; rp.density = density; }
public void GetPresetValue(ReverbPreset rp) { room = rp.room; roomHF = rp.roomHF; roomLF = rp.roomLF; decayTime = rp.decayTime; decayHFRatio = rp.decayHFRatio; reflections = rp.reflections; reflectDelay = rp.reflectDelay; reverb = rp.reverb; reverbDelay = rp.reverbDelay; hFReference = rp.hFReference; lFReference = rp.lFReference; diffusion = rp.diffusion; density = rp.density; }