AudioEngine.SetGlobalVariable Method
Sets the value of a global variable.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void SetGlobalVariable (
string name,
float value
)
Parameters
- name
Value of the global variable. - value
Friendly name of the global variable.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The name parameter is null. |
See Also
Reference
AudioEngine Class
AudioEngine Members
Microsoft.Xna.Framework.Audio Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista