Menu

CameraViewport

UltraBas

CameraViewport camera,x,y,width,height

Set the camera viewport (the area of the screen where a camera image is rendered); by default, all the screen (or window) is used.

This command allows to use only part of the screen, and so the rest of the screen can be used to show panels, or also other camera image (i.e. to achieve split-screen effect). Also, a smaller viewport can be used to make a rear-view effect.


Related

Wiki: Alphabetical-commands
Wiki: Category-commands
Wiki: RenderWorld

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.