Lua API
On this page
ScriptHudManager
Inherits from
Fields:
Events:
Constructors:
New() :
Methods:
CreateTexture(file: string) : ManagedTexture
Creates a managed texture for use in imgui from the specified bitmap file.
Name | Type | Default | Summary |
file | string | The file path to load |
Returns:ManagedTexture
Dispose() : nil
Returns:nil
GetIconTexture(iconId: number) : ManagedTexture
Creates a managed texture for use in imgui from the specified ac icon id
Name | Type | Default | Summary |
iconId | number | The file path to load |
Returns:ManagedTexture