ImmediateRepaint()
Invoked during the repaint phase.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
protected abstract void ImmediateRepaint()
Remarks
Here it is safe to use any rendering calls using the immediate Graphics api, eg: Graphics.DrawTexture(contentRect, image); Graphics.DrawMesh, etc The current transform matrix is set up so (0,0) correspond to the top-left corner of the element. For IMGUI usage, please use the IMGUIContainer element.