IAudioEmitter.cs 778 B

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