string Name { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

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.

Usage

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

// 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;