Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UI.Graphic.Rebuild

Switch to Manual
public function Rebuild(update: CanvasUpdate): void;

Parameters

update The current step of the rendering CanvasUpdate cycle.

Description

Rebuilds the graphic geometry and its material on the PreRender cycle.

See CanvasUpdateRegistry for more details on the canvas update cycle.