예제 #1
0
 /// <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");
 }
예제 #2
0
 /// <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");
 }