Tesla Graphics Engine Documentation (January 2012)
Add Method (light)
Tesla
►
Tesla.Graphics
►
ILightCollection
►
Add(Light)
C#
Adds a new light to the collection.
Declaration Syntax
C#
int
Add
(
Light
light
)
Parameters
light
(
Light
)
Light to add
Return Value
The index of which the light was added at, or -1 if the light was null and not added.
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)