Cue.SetVariable Method (Microsoft.Xna.Framework.Audio)
Sets the value of a cue-instance variable based on its friendly name.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- C#
- VB
- F#
public void SetVariable( 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 to set.
- value
-
Type: System.Single
Value to assign to the variable.
The friendly name is a value set from the designer.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web