Show / Hide Table of Contents

    Interface ISayLocationProvider

    This is called every time a character speaks to determine the location on the screen on which the text (and the portrait, if portrait rendering is desired) will be rendered.

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

    Methods

    | Improve this Doc View Source

    GetLocation(String, ISayConfig)

    Gets the location to render the text and possibly portrait.

    Declaration
    ISayLocation GetLocation(string text, ISayConfig config)
    Parameters
    Type Name Description
    System.String text

    Text.

    ISayConfig config

    Speech configuration, some of it might affect the returned location (like text alignment and padding).

    Returns
    Type Description
    ISayLocation

    The location.

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