|
CreateCamera | ||
CreateCamera CameraIndex | ||
Parameters: CameraIndex = The Index of the Camera that you wish to create. |
||
Returns: NONE | ||
CreateCamera will initialize a user camera. When a camera is created it attaches to the current drawing surface. Normally this will be the screen, but they can be attached to images also. Moreover, the newly created cameras viewport will assume the size of the surface (image or screen) that it was attached to. Conceptually, Cameras are used to show a part of your game world from a particular view point. This allows you to create worlds much larger than the screen, but still be able to easily display sections of it. Cameras are used in conjunction with the scene and world buffer controls, we strongly recommend reading CameraBasics tutorial in the About section. FACTS: * By Default when a camera is created it will attach it'self to current drawing surface. From here it will inherit that surfaces size. * Cameras by default have CLS backdrop enabled. * See NewCamera for dynamic version. Mini Tutorial: This example will create a camera than dispaly its properties for you.
This example would output with the program was running with the default 640*480 screen.
|
Related Info: | CameraBasics | CaptureToScene | DeleteCamera | DrawAllCameras | DrawCamera | GetCameraStatus | GetFreeCamera | NewCamera : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |