aspect
Determines the vertical-to-horizontal pixel size ratio. The default
value of 1 gives a normal ratio of 1:1
on
the primary monitor
. If a negative value is given, the
view is flipped upside down
.
Range
-2 .. 2 (default: 1)
Type:
varExample:
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, arc, flags
► latest
version online