The Name
property of the MixerHandle
struct in the Sandbox.Audio
namespace represents the name of the audio mixer associated with this handle. It is a read-only property that returns a string
value.
The Name
property of the MixerHandle
struct in the Sandbox.Audio
namespace represents the name of the audio mixer associated with this handle. It is a read-only property that returns a string
value.
Use the Name
property to retrieve the name of the mixer associated with a specific MixerHandle
instance. This can be useful for identifying or displaying the mixer in a user interface or for logging purposes.
// Example of accessing the Name property of a MixerHandle Sandbox.Audio.MixerHandle mixerHandle = new Sandbox.Audio.MixerHandle(); string mixerName = mixerHandle.Name; // Use the mixerName for display or logging // e.g., Display the name in a UI component // uiComponent.Text = mixerName;