Search Results for

    Show / Hide Table of Contents

    Class XAudioListener

    Class representing an audio listener.

    Inheritance
    object
    AudioListener
    XAudioListener
    Inherited Members
    AudioListener.WorldTransform
    AudioListener.Velocity
    AudioListener.DopplerFactor
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.XAudio2
    Assembly: Evergine.XAudio2.dll
    Syntax
    public class XAudioListener : AudioListener

    Constructors

    XAudioListener()

    Initializes a new instance of the XAudioListener class.

    Declaration
    public XAudioListener()

    Properties

    Listener

    Gets the listener.

    Declaration
    public Listener Listener { get; }
    Property Value
    Type Description
    Listener

    Methods

    UpdateDopplerFactor(float)

    Updates the Doppler factor of this listener.

    Declaration
    protected override void UpdateDopplerFactor(float dopplerFactor)
    Parameters
    Type Name Description
    float dopplerFactor

    The new Doppler factor.

    Overrides
    AudioListener.UpdateDopplerFactor(float)

    UpdateVelocity(ref Vector3)

    Updates the velocity of this listener.

    Declaration
    protected override void UpdateVelocity(ref Vector3 velocity)
    Parameters
    Type Name Description
    Vector3 velocity

    The new velocity.

    Overrides
    AudioListener.UpdateVelocity(ref Vector3)

    UpdateWorldTransform(ref Matrix4x4)

    Updates the world transform of this listener.

    Declaration
    protected override void UpdateWorldTransform(ref Matrix4x4 worldTransform)
    Parameters
    Type Name Description
    Matrix4x4 worldTransform

    The new world transform matrix.

    Overrides
    AudioListener.UpdateWorldTransform(ref Matrix4x4)

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX