Matrix1 Utility Plug-ins

FIND FREE LIGHT


Syntax

ResourceID = FIND FREE LIGHT( )
ResourceID = FIND FREE LIGHT (Start, RangeSize)

Description

Searches for an unused light ID.

The first function will search for and return an unused light ID within the range 1 to the maximum number of lights available on the current graphics card.

The second function will search for and return an unused light ID within the range specified, but not outside of 1 to the maximum number of lights available on the current graphics card.

If there is no free ID available, then a value of 0 will be returned.

Go back to ...

Matrix1Util_05 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011