draw_get_lighting


描述

This function will return whether lighting is enabled ( true) or not (false) for the whole scene.


语法:

draw_get_lighting()


Returns:

Boolean


例如:

if !draw_get_lighting()
   {
   draw_set_lighting(true);
   }

The above code will check to see if lighting is enabled for the scene, and if not it enables it.


上一页: Drawing And The Display
下一页: draw_light_define_ambient
© Copyright YoYo Games Ltd. 2018 All Rights Reserved