Class GuiElementImageBackgroundHelper
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public static class GuiElementImageBackgroundHelper
- Inheritance
-
GuiElementImageBackgroundHelper
- Inherited Members
Methods
AddImageBG(GuiComposer, ElementBounds, AssetLocation, float, float, float)
Adds a background to the current GUI
public static GuiComposer AddImageBG(this GuiComposer composer, ElementBounds bounds, AssetLocation textureLoc, float brightness = 1, float alpha = 1, float scale = 1)
Parameters
composer
GuiComposerbounds
ElementBoundsThe bounds of the background
textureLoc
AssetLocationThe name of the background texture.
brightness
floatThe brightness of the texture (default: 1f)
alpha
floatscale
float