Urho.Audio.SoundListener Class

Sound listener component

See Also: SoundListener


public class SoundListener : Component


This is used for 3D positional sounds. 

To use this, the Node in the Scene must created that contains an instance of this component and be assigned by the audio subsystem by setting the Listener property.

If the sound listener's scene node exists within a specific scene, it will only hear sounds from that scene, but if it has been created into a "sceneless" node it will hear sounds from all scenes.


Namespace: Urho.Audio
Assembly: Urho (in Urho.dll)
Assembly Versions:

The members of Urho.Audio.SoundListener are listed below.

See Also: Component

Public Constructors

Constructs a new instance of Urho.Audio.SoundListener which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Audio.SoundListener, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Audio.SoundListener linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

TypeStringHash. Urho's type system type.
TypeNameString. Urho's low-level type name.
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
TypeStaticStringHash. Urho's low-level type, accessible as a static method.

Public Methods

Register object factory.