|
CameraClsColour | ||
CameraClsColour CameraIndex, RGBColour | ||
Parameters: CameraIndex = The Index Identifier of the Camera that you wish to read from RGBColour = The RGB colour value for this cameras auto cls |
||
Returns: NONE | ||
CameraClsColour sets the CLS colour of a camera. When a camera is drawn and auto CLS is enabled (via CameraCLS), the drawing process will clear the cameras view port first to whatever colour you select. To enable / disable auto CLS, see the CameraCls command. FACTS: * The CLS colour is an RGB colour value Mini Tutorial: This example 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.
This example would output.
|
Related Info: | CameraCls | cls | DrawAllCameras | DrawCamera | GetCameraCls | GetCameraClsColour : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |