示例#1
0
 public override SoundInstance CreateInstance(AudioListener listener = null, bool useHrtf = false, float directionalFactor = 0.0f, HrtfEnvironment environment = HrtfEnvironment.Small)
 {
     return(CreateInstance(listener, false, useHrtf, directionalFactor, environment));
 }
示例#2
0
 /// <summary>
 /// Create a new sound effect instance of the sound effect.
 /// Each instance that can be played and localized independently from others.
 /// </summary>
 /// <returns>A new sound instance</returns>
 /// <exception cref="ObjectDisposedException">The sound has already been disposed</exception>
 public abstract SoundInstance CreateInstance(AudioListener listener = null, bool useHrtf = false, float directionalFactor = 0.0f, HrtfEnvironment environment = HrtfEnvironment.Small);