AudioEngine.SetGlobalVariable Method (Microsoft.Xna.Framework.Audio)

Sets the value of a global variable.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public void SetGlobalVariable(
	string name, 
	float value

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: System.String
Friendly name of the variable.
Type: System.Single
Value of the global variable.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop