Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ImmediateModeElement

VisualElement that can implement custom immediate mode rendering.
Read time 8 minutesLast updated 2 days ago

Definition

[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

cullingEnabledWhen this property is set to true, the Element does not repaint itself when it is outside the viewport.

Methods

Method

Description

ImmediateRepaintInvoked during the repaint phase.

Inheritance

Inherited Members