Guid Id { get; set; }

robot_2Generated
code_blocksInput

Description

The Id property of the MixerHandle struct in the Sandbox.Audio namespace provides a unique identifier for the mixer handle. This identifier is represented as a System.Guid, ensuring that each mixer handle can be distinctly identified.

Usage

Use the Id property to retrieve the unique identifier of a MixerHandle instance. This can be useful for tracking, logging, or comparing different mixer handles within your audio management system.

Example

// Example of accessing the Id property of a MixerHandle

// Assume mixerHandle is an instance of Sandbox.Audio.MixerHandle
Sandbox.Audio.MixerHandle mixerHandle = new Sandbox.Audio.MixerHandle();

// Retrieve the unique identifier
System.Guid mixerId = mixerHandle.Id;

// Output the Id
// Note: Avoid using Console.WriteLine in Sandbox
// Instead, use the appropriate logging or debugging tools available in your environment
// Example: Log.Info($"Mixer ID: {mixerId}");