Class ExVisualElement
A visual element that can be used as a normal VisualElement but with additional styling options like shadows, borders, outline, etc.
Implements
Inherited Members
VisualElement.ExecuteDefaultAction(EventBase)
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.cacheAsBitmap
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class ExVisualElement : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement
Constructors
ExVisualElement()
Default constructor.
Declaration
public ExVisualElement()
Properties
backgroundColor
The background color of this element. Setting this will override the background color defined in the USS.
Declaration
public Color backgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
contentContainer
The content container of this element.
Declaration
public override VisualElement contentContainer { get; }
Property Value
Type | Description |
---|---|
VisualElement |
Overrides
outlineColor
The outline color of this element. Setting this will override the outline color defined in the USS.
Declaration
public Color outlineColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
passMask
The mask of passes to render.
Declaration
public ExVisualElement.Passes passMask { get; set; }
Property Value
Type | Description |
---|---|
ExVisualElement.Passes |