Show / Hide Table of Contents

    Interface IDisplayList

    Represents an ordered list of objects that will be displayed on screen.

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

    Methods

    | Improve this Doc View Source

    GetCursor()

    Gets the mouse cursor.

    Declaration
    IObject GetCursor()
    Returns
    Type Description
    IObject

    The cursor.

    | Improve this Doc View Source

    GetDisplayList(IViewport)

    Gets an ordered list of objects to display on screen.

    Declaration
    List<IObject> GetDisplayList(IViewport viewport)
    Parameters
    Type Name Description
    IViewport viewport

    Viewport.

    Returns
    Type Description
    System.Collections.Generic.List<IObject>

    The display list.

    | Improve this Doc View Source

    Update(Boolean)

    Update the display list (this is called every tick by the game engine itself).

    Declaration
    void Update(bool forceUpdate)
    Parameters
    Type Name Description
    System.Boolean forceUpdate

    Should we force an update of the display list?

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