|
GetCameraVisible | ||
Flag = GetCameraVisible(CameraIndex) | ||
Parameters: CameraIndex = The Index Identifier of the Camera that you wish to read from |
||
Returns: Flag = The current camera visible state. (0 = Off, can't be drawn, 1 = On drawn as normal) |
||
The GetCameraVisible functions returns the current state of the camera visible flag. FACTS: * By default the CameraVisible flag is set to 1 (ON) Mini Tutorial: This example is two parts. Part1 creates a camera, adjusts it size to a custom view port, activates the Auto CLS an sets it's CLS colour to a bright green colour, before drawing a circle to the scene buffer and finally displaying the camera. Part2 then lets the user press the spacekey to toggle the CameraVisible flag, to slectively turn camera drawing ON or OFF
This example would output.
|
Related Info: | CameraVisible | DrawCamera | GetCameraStatus : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |