Function RedrawScope.Dispose
Dispose
()
Dispose the redraw scope to stop rendering the items.
Public
void Dispose ()
Dispose the redraw scope to stop rendering the items.
You must do this when you are done with the scope, even if it was never used to actually render anything. The items will stop rendering immediately: the next camera to render will not render the items unless kept alive in some other way. For example items are always rendered at least once.