Drei Mausklicks:
1. Dokumentation
2. Actions/Functions
3. Lookto
Ergebnis:
moveto(toH,toV,motiontype)
zoomto(fov,motiontyp)
lookto(toH,toV,fov,motiontype)
moves the view from current to the given position
parameters:
- toH
destination coordinate (-360 .. 360°)
- toV
destination coordinate (-90 .. +90°)
- fov
destination field of view (1 .. 179°)
- motiontype (optional)
can be:
linear(speed) - linear movement
- speed = moving speed in degrees/second
smooth(accel,break,maxspeed) - accelerated smooth movement (=default)
- accel = acceleration in degrees/second² (default=720)
- break = negative acceleration in degrees/second² (default=-720)
- maxspeed = maximum moving speed in degrees/second (default=720)
examples:
moveto(100.0,5,linear(10));
zoomto(130,smooth());
lookto(33,-22,30,smooth(100,50,20));