Methods
addToSet(light)
Adds a Light object to the end of this LightSet
Parameters:
| Name | Type | Description |
|---|---|---|
light |
Light | the Light to add |
- Source:
getLightAt(index) → {Light}
Return the Light at the specified index of this LightSet
Parameters:
| Name | Type | Description |
|---|---|---|
index |
integer | the index in the set to grab |
- Source:
Returns:
the Light at that index
- Type
- Light
numLights() → {integer}
Returns the length of this LightSet
- Source:
Returns:
length of the set
- Type
- integer