Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
AudioListenerComponent.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using SiliconStudio.Core;
4 using SiliconStudio.Core.Serialization.Contents;
5 using SiliconStudio.Paradox.EntityModel;
6 
7 namespace SiliconStudio.Paradox.Engine
8 {
9  /// <summary>
10  /// Component representing an audio listener.
11  /// </summary>
12  /// <remarks>
13  /// <para>Associate this component to an <see cref="Entity"/> to simulate a physical listener listening to the <see cref="AudioEmitterComponent"/>s of the scene,
14  /// placed at the entity's center and oriented along the entity's Oz (forward) and Oy (up) vectors.</para>
15  /// <para>Use the AudioSytem's <see cref="AudioSystem.AddListener"/> and <see cref="AudioSystem.RemoveListener"/> functions
16  /// to activate/deactivate the listeners that are actually listening at a given time.</para>
17  /// <para>The entity needs to be added to the Entity System so that the associated AudioListenerComponent can be processed.</para></remarks>
19  {
21 
22  public override PropertyKey DefaultKey
23  {
24  get { return Key; }
25  }
26  }
27 }
Component representing an audio listener.
A class that represents a tag propety.
Definition: PropertyKey.cs:17