onResize method

void onResize(
  1. Vec2 size
)

Called whenever this Layer is bound to a new UserInterface or the Terminal assigned to the bound UI changes.

Implementation

void onResize(Vec2 size) {}