Light.applyTo

* Apply light to a primitive or terrain. * Returns reference to this so it can be used in a stream.

class Light
typeof(this)
applyTo
(
string shaderId
)
in (shaderId == "Primitive" || shaderId == "Terrain", "You can apply light only on primitives and terrains.")

Meta