Method Apply
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Apply(VisualElement, Texture2D?)
Sets the element's inline backgroundImage from the given Texture2D, ranked below a
BackgroundImage.
public static void Apply(VisualElement element, Texture2D? texture)
Parameters
elementVisualElementtextureTexture2D