Train Simulator NEXT
In This Topic
    SetSoundPosition function
    In This Topic

    This function sets the time position of a sound.

    Syntax

    Copy Code
    void SetSoundPosition(
        int SoundIndex,
        float Position 
    );

    Parameters

    SoundIndex

    Type: int

    The sound index.

    Position

    Type: float

    The time position in milliseconds.

    See Also