Class AudioSourceSettingAttribute
Represents a setting that is exposed to the user to modify.
Implements
Inherited Members
Namespace: AudioBand.AudioSource
Assembly: AudioBand.AudioSource.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
[Serializable]
public class AudioSourceSettingAttribute : Attribute, _Attribute
Constructors
| Improve this Doc View SourceAudioSourceSettingAttribute(String)
Initializes a new instance of the AudioSourceSettingAttribute class with the setting name.
Declaration
public AudioSourceSettingAttribute(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | Name of the setting. |
Properties
| Improve this Doc View SourceDescription
Gets or sets the description of the setting.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| String | The description of the setting. |
Name
Gets or sets the name of the setting.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| String | The name of the setting. |
Options
Gets or sets the SettingOptions flags for the setting.
Declaration
public SettingOptions Options { get; set; }
Property Value
| Type | Description |
|---|---|
| SettingOptions | The option flags for this setting. |
Priority
Gets or sets the priority when changing more that one setting.
A higher value is higher priority.
Declaration
public int Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 | The priority of the setting. |