Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MarkDirtyRepaint()

Triggers a repaint of the VisualElement on the next frame. This method is called internally when a change occurs that requires a repaint, such as when UIElements. BaseField<TValueType>.value is changed or the text in a Label. If you are implementing a custom control, you can call this method to trigger a repaint when a change occurs that requires a repaint such as when using VisualElement.generateVisualContent to render a mesh and the mesh data has now changed.
Read time 1 minuteLast updated 6 days ago

Definition

public void MarkDirtyRepaint()