AudioNodeListener
AudioNodeListener
AudioNodeListener
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 : sealed class AudioNodeListener : IAudioNodeListenerpublic sealed class AudioNodeListener : IAudioNodeListenerPublic NotInheritable Class AudioNodeListener Implements IAudioNodeListener// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Constructors
AudioNodeListener() AudioNodeListener() AudioNodeListener() AudioNodeListener()
Creates a new instance of the AudioNodeListener class.
public : AudioNodeListener()public AudioNodeListener()Public Sub New()// You can use this method in JavaScript.
Properties
DopplerVelocity DopplerVelocity DopplerVelocity DopplerVelocity
Gets or sets a Vector3 expressing the velocity at which the listener is moving in 3D space, expressed in meters per second.
public : Vector3 DopplerVelocity { get; set; }public Vector3 DopplerVelocity { get; set; }Public ReadWrite Property DopplerVelocity As Vector3// You can use this property in JavaScript.
- Value
- Vector3 Vector3 Vector3 Vector3
The velocity at which the listener is moving.
Orientation Orientation Orientation Orientation
Gets or sets a Quaternion expressing the rotation of the listener in 3D space.
public : Quaternion Orientation { get; set; }public Quaternion Orientation { get; set; }Public ReadWrite Property Orientation As Quaternion// You can use this property in JavaScript.
- Value
- Quaternion Quaternion Quaternion Quaternion
The rotation of the listener in 3D space.
Position Position Position Position
Gets or sets a vector representing the position of the emitter in 3D space, expressed in meters.
public : Vector3 Position { get; set; }public Vector3 Position { get; set; }Public ReadWrite Property Position As Vector3// You can use this property in JavaScript.
- Value
- Vector3 Vector3 Vector3 Vector3
A vector representing the position of the emitter in 3D space.
SpeedOfSound SpeedOfSound SpeedOfSound SpeedOfSound
Gets or sets the speed of sound used for computing spatial audio, expressed in meters per second.
public : double SpeedOfSound { get; set; }public double SpeedOfSound { get; set; }Public ReadWrite Property SpeedOfSound As double// You can use this property in JavaScript.
- Value
- double double double double
The speed of sound used for computing spatial audio.