FANDOM



This command will return the maximum number of lights you can have in any 3D scene.

Syntax
Return Integer=GET MAXIMUM LIGHTS()
Returns

This command will return the maximum number of lights you can have in any 3D scene

Description

It is determined by the 3D device you are currently using.

Example Code
sync on : sync rate 60 : hide mouse:cls 0

while mouseclick()=0

set cursor 0,0

print "3D DEVICE DATA"

print "max lights:";get maximum lights()

sync

endwhile

end
Community content is available under CC-BY-SA unless otherwise noted.