new LightSet() → {LightSet}
Support for working with a set of Lights
- Source:
Returns:
New instance of LightSet
- Type
- LightSet
Methods
addToSet(light) → {void}
Add a light to the current set
Parameters:
Name | Type | Description |
---|---|---|
light |
Light | to add to set |
- Source:
Returns:
- Type
- void
getLightAt(index) → {Light}
Return the light at index
Parameters:
Name | Type | Description |
---|---|---|
index |
Number | of light to return |
- Source:
Returns:
Light at index
- Type
- Light
numLights() → {Number}
Return the count of lights in set
- Source:
Returns:
number of lights in set
- Type
- Number