view_set_visible


Description

This function can be used to set the visibility of the given view port. The function takes the view port index (from 0 to 7) and a boolean true if it is visible and false if it is not.


Syntax:

view_set_visible(view_port)


Arguments:

Argument Description
view_port The view port to target (0 - 7)
visible Visibility toggle (true is visible and false is invisible)


Returns:

N/A


Example:

if !view_get_visible(0)    {
   view_set_visible(0, true);
   }

The above code will check to see if the view port[0] is visible and if it is not it is set to visible.


Back: Cameras
Next: view_set_xport
© Copyright YoYo Games Ltd. 2017 All Rights Reserved