Share via


AudioNodeListener Class

Definition

Describes the position and other physical characteristics of a listener from which the audio output of an AudioGraph node is heard when spatial audio processing is used.

public ref class AudioNodeListener sealed
/// [Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AudioNodeListener final
[Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AudioNodeListener
function AudioNodeListener()
Public NotInheritable Class AudioNodeListener
Inheritance
Object Platform::Object IInspectable AudioNodeListener
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Constructors

AudioNodeListener()

Creates a new instance of the AudioNodeListener class.

Properties

DopplerVelocity

Gets or sets a Vector3 expressing the velocity at which the listener is moving in 3D space, expressed in meters per second.

Orientation

Gets or sets a Quaternion expressing the rotation of the listener in 3D space.

Position

Gets or sets a vector representing the position of the emitter in 3D space, expressed in meters.

SpeedOfSound

Gets or sets the speed of sound used for computing spatial audio, expressed in meters per second.

Applies to