DrawsWorld
Introduction
The DrawsWorld property controls whether the camera draws objects which are not on any Layer and objects which are on Layers that are not Camera-specific. Usually Cameras which are used to draw things in split-screen mode should have this property be true, while Cameras which are used to overlay things such as HUDs should usually set this to false.
Code Example
The following example creates a situation where two Cameras are used. In this situation, the second Camera is used to draw HUD. The second Camera will not draw the underlying Sprite: Add the following using statement:
Add the following to Initialize after initializing FlatRedBall:
Last updated