Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

Graphic.canvas

public Canvas canvas;

Description

A reference to the Canvas this Graphic is rendering to.

In the situation where the Graphic is used in a hierarchy with multiple Canvases, the Canvas closest to the root will be used.

Did you find this page useful? Please give it a rating: