/// <summary> /// Called when deserializing /// </summary> /// <param name="info"></param> /// <param name="context"></param> protected FmodReverbShape(SerializationInfo info, StreamingContext context) : base(info, context) { _reverbProperties = (FmodReverbProps)info.GetValue("_reverbProperties", typeof(FmodReverbProps)); _fReverbMin = info.GetSingle("_fReverbMin"); _fReverbMax = info.GetSingle("_fReverbMax"); _bActive = info.GetBoolean("_bActive"); }