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 3.8.0.1082)
  • C#
  • VB
  • F#
public void SetGlobalVariable(
	string name, 
	float value
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

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

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web