Table of Contents

Method Clear

Namespace
Velvet
Assembly
Velvet.Docs.dll

Clear(VisualElement)

Withdraws the utilities' background image — the one Apply(VisualElement, Texture2D?) sets, which a gradient utility's bake shares (same gate as Apply): a BackgroundImage shows if the element declares one, else the stylesheet's.

public static void Clear(VisualElement element)

Parameters

element VisualElement