Cue.SetVariable Method
Sets the value of a cue-instance variable based on its friendly name.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void SetVariable (
string name,
float value
)
Parameters
- name
Friendly name of the variable to set. - value
Value to assign to the variable.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The name parameter is null. |
See Also
Reference
Cue Class
Cue Members
Microsoft.Xna.Framework.Audio Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista