Method Apply
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Apply(VisualElement, Texture2D?)
Sets the element's inline backgroundImage from the given Texture2D, through the
SceneView ownership gate (a live camera feed keeps the slot and defers this value).
public static void Apply(VisualElement element, Texture2D? texture)
Parameters
elementVisualElementtextureTexture2D