ImmediateModeElement
VisualElement that can implement custom immediate mode rendering.
Read time 8 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: VisualElement
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle
[UxmlElement]public abstract class ImmediateModeElement : VisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle
Remarks
To use this element, create a new element inheriting from this type and override the ImmediateRepaint method.
Constructors
Constructor | Description |
|---|---|
| ImmediateModeElement() | Constructor. |
Properties
Property | Description |
|---|---|
| cullingEnabled | When this property is set to true, the Element does not repaint itself when it is outside the viewport. |
Methods
Method | Description |
|---|---|
| ImmediateRepaint | Invoked during the repaint phase. |