ex_camera_set_flash_draw_target(cameraHandle, value)
| Argument | Description |
|---|---|
| cameraHandle | The camera handle |
| DrawGUI | Whether the flash effects will draw on the DrawGUI layer instead (globally) or just the assigned view (default) |
This function changes where the flash effects for the particular object will be drawn. You can use this in order to allow a camera object to show a flash effect on the entire screen and not just the view.
//Set the drawing target for the camera's flash effects to its view only ex_camera_set_flash_draw_target(global._camera, false); //Set the drawing target for the camera's flash effects to the entire screen ex_camera_set_flash_draw_target(global._camera, true);