|
|
| GetCameraWidth | ||
| Width = GetCameraWidth(CameraIndex) | ||
| Parameters: CameraIndex = The Index Identifier of the Camera that you wish to read from |
||
| Returns: Width = The Width of this cameras viewport |
||
GetCameraWidth returns the Width of a cameras view port. FACTS: * Cameras Width & Height are taken from the cameras viewport settings. Mini Tutorial: This example creates a screen/window, then creates a camera and displays the cameras Width and Height. As you can see, a camera when created will inherits the size of the surface, it's been attached to.
This example would output.
|
| Related Info: | CameraViewPort | GetCameraHeight | GetCameraStatus | GetCameraSurface | GetCameraViewPortX1 | GetCameraViewPortX2 | GetCameraViewPortY1 | GetCameraViewPortY2 : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |