Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

Graphic.Rebuild

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

Parameters

updateThe 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.