|
CameraVisible | ||
CameraVisible CameraIndex, VisFlag | ||
Parameters: CameraIndex = The Index Identifier of the Camera that you wish to read from VisFlag = On / OFF flag to toggle the cameras drawing on/off |
||
Returns: NONE | ||
CameraVisible set the drawing (visibility) state of a camera. When a cameras draw state is set to 1 (ON), what it can see (it's visibility) can be will be drawn at will from from commands like DrawCamera, DrawAllCameras. If it's set to OFF(0) however, the camera will be not be drawn, even if requested. FACTS: * By default CameraVisible 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 selectively turn camera drawing ON or OFF
This example would output.
|
Related Info: | DrawAllCameras | DrawCamera | GetCameraVisible : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |