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 SourceGetLocation(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. |