ex_camera_set_flash_draw_target

Sets the drawing target for flash effects

Syntax

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)
Returns nothing

Description

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.

Example

//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);

Minimum Supported Version

exCamera 0.5.0