|
CaptureVis | |
CaptureVis CameraMask | |
Parameters: CameraMask = The Visible in Camera Mask value for the captured gfx commands |
|
Returns: NONE | |
CaptureVis sets the visibility of any following captured graphic commands will use. By default all graphics are set to be visible from all cameras. To selectively limit the visibility of captured items, you must specify which camera or cameras the item should be visible within. You do this by combining the bit values (from the list bellow) that represent each camera. [ Camera Bits ]
For example, to make a sprite visible only from camera #1 and camera #8, you'd add the values (1 + 128). FACTS: * CaptureVis values must be positive (0 and higher) * To make items visible to all cameras again set CaptureVis with 65535 (ie. CaptureVis 65535) Mini Tutorial: This example first creates two cameras. Then it captures a bunch of random dots and circles to the scene buffer. The dots are set so they will only be visible from camera #1 and vice versa for the circles in camera #2.
|
Related Info: | CameraBasics | CaptureDepth | CaptureToScene | ClsScene | DrawCamera | GetCaptureVis : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |