Hi Peex - for the first one use the pan() method, like:
moi.ui.mainWindow.viewpanel.getViewport('3D').pan(0,0,8);
It takes 3 values, the first one for a right-left distance, the second one for an up-down distance, and the third one for a forwards-backwards distance.
Use a negative value to go in the opposite direction.
There currently is not any way to adjust the fov, I've been meaning to add that, I'll see if I can add that in.
- Michael
|