Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Graphic.Rebuild

public void Rebuild(UI.CanvasUpdate update);

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.