aspect

Determines the vertical-to-horizontal pixel size ratio. The default value of 1 gives a normal ratio of 1:1. If a negative value is given here, the view is flipped upside down in 16 or 32 bit mode.

Range

-2 .. 2 (default: 1)

Type:

var

Example:

function screenshuffle()
{
  var amplitude = 1;
  var grad = 0;
  while(amplitude > 0)
  {
    camera.aspect = cos(grad)*amplitude;
    grad += time_step;
    amplitude -= 0.01 * time_step;
    wait(1);
  }
} 

See also:

VIEW, layer, pos_x, size_x, x, y, z, pan, tilt, roll, arc, ambient, fog_start, alpha, genius, flags

► latest version online