setSize abstract method

bool setSize(
  1. double width,
  2. double height
)

Sets the on-screen size of the model in pixels (width and height). Returns true if the operation is successful, false otherwise.

Example:

bool sizeOk = m.setSize(64.0, 64.0);
print("Model setSize: $sizeOk");

Implementation

bool setSize(double width, double height);