Train Simulator NEXT
In This Topic
    GetSoundVolume function
    In This Topic

    This function queries the volume of a sound.

    Syntax

    Copy Code
    float GetSoundVolume( int SoundIndex );

    Parameters

    SoundIndex

    Type: int

    The sound index.

    Returns

    Returns a float with the volume of the sound.

    Returns FLT_MAX if there is an internal error or the sound was not found.

    See Also