setSize method

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

Implementation

setSize(width, height) {
  if (this.sampleRenderTarget != null)
    this.sampleRenderTarget!.setSize(width, height);
}