Popcorning Guinea Pig
Search Results for

    Show / Hide Table of Contents

    Interface ISoundPlayer

    Namespace: PopcorningGuineaPig.Engine.Services
    Assembly: PopcorningGuineaPig.Engine.dll
    Syntax
    public interface ISoundPlayer

    Methods

    | Edit this page View Source

    PlaySound(string, float)

    Declaration
    Task PlaySound(string soundPath, float volume = 1)
    Parameters
    Type Name Description
    string soundPath
    float volume
    Returns
    Type Description
    Task
    | Edit this page View Source

    Update()

    Updates any currently playing music streams. Must be called every frame.

    Declaration
    void Update()
    | Edit this page View Source

    UpdateSettings(string, float)

    Declaration
    Task UpdateSettings(string playlist, float volume = 100)
    Parameters
    Type Name Description
    string playlist
    float volume
    Returns
    Type Description
    Task
    • Edit this page
    • View Source
    In this article
    Back to top © 2024 Popcorning Guinea Pig Game Engine. A custom C# game engine for indie developers.