Export (0) Print
Expand All

AudioEngine.GetGlobalVariable Method

Gets the value of a global variable.

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

public float GetGlobalVariable (
         string name
)

Parameters

name
Type: String
Friendly name of the variable.

Return Value

Value of the variable.

A global variable has global scope. It can be accessed by all code within a project.

Exception typeCondition
ArgumentNullException The name parameter is null.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2014 Microsoft