Urho.Audio.SoundListener Class

Sound listener component

See Also: SoundListener

Syntax

public class SoundListener : Component

Remarks

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.

Requirements

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

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

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

Public Methods

static
RegisterObject(Context)
Register object factory.