setSize method

dynamic setSize(
  1. dynamic width,
  2. dynamic height
)

Implementation

setSize(width, height) {
  this.textureComp.setSize(width, height);
  this.textureOld.setSize(width, height);
}