2
0

IAudioEmitter.cs 678 B

1234567891011121314151617181920212223
  1. //-----------------------------------------------------------------------------
  2. // IAudioEmitter.cs
  3. //
  4. // Microsoft XNA Community Game Platform
  5. // Copyright (C) Microsoft Corporation. All rights reserved.
  6. //-----------------------------------------------------------------------------
  7. using Microsoft.Xna.Framework;
  8. namespace Audio3D
  9. {
  10. /// <summary>
  11. /// Interface used by the AudioManager to look up the position
  12. /// and velocity of entities that can emit 3D sounds.
  13. /// </summary>
  14. public interface IAudioEmitter
  15. {
  16. Vector3 Position { get; }
  17. Vector3 Forward { get; }
  18. Vector3 Up { get; }
  19. Vector3 Velocity { get; }
  20. }
  21. }