Class AudioListener
Represents a listener that hears audio sources. For spatial audio the volume and pitch of played audio is determined by the distance, orientation and velocity differences between the source and the listener.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[ActorContextMenu("New/Audio/Audio Listener")]
[ActorToolbox("Other")]
[Unmanaged]
public class AudioListener : Actor, ISerializable
Constructors
AudioListener()
Properties
Velocity
Gets the velocity of the listener. Determines pitch in relation to AudioListener's position.
Declaration
[Unmanaged]
public Vector3 Velocity { get; }
Property Value
Vector3
|