Show / Hide Table of Contents

    Interface IAudioSettings

    Allows to set global audio settings

    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public interface IAudioSettings

    Properties

    | Improve this Doc View Source

    MasterVolume

    Gets or sets the master volume. The valid range is between 0 (sound is muted) and 1 (no change is made to the volume). Default value is 0.5.

    Declaration
    float MasterVolume { get; set; }
    Property Value
    Type Description
    System.Single

    The master volume.

    | Improve this Doc View Source

    RoomMusicCrossFading

    Gets the settings for cross fading music clips when transitioning between rooms.

    Declaration
    ICrossFading RoomMusicCrossFading { get; }
    Property Value
    Type Description
    ICrossFading

    The room music cross fading.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX