Share via


AudioEngine.GetGlobalVariable Method

Gets the value of a global variable.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public float GetGlobalVariable (
         string name
)

Parameters

  • name
    Friendly name of the variable.

Return Value

Value of the variable.

Exceptions

Exception type Condition
ArgumentNullException The name parameter is null.

See Also

Concepts

Audio Overview

Reference

AudioEngine Class
AudioEngine Members
Microsoft.Xna.Framework.Audio Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista