- /** Sets the color of the Light. Provided
- to shaders as light_sources[i].color. */
- void set_color(const Color &);
-
- /** Sets a multiplier on how much light actually reaches the target. Used
- when modeling an atmosphere. */
- void set_transmittance(const Color &);
-
- const Color &get_color() const { return color; }
- const Color &get_transmittance() const { return transmittance; }
-
- /** Sets the postion and orientation of the Light from a matrix. Negative Z
- axis is used as the spot direction, other axes are ignored. */
- virtual void set_matrix(const Matrix &);
-
- /** Sets the position of the Light. For a directional light, set the xyz
- components to a vector pointing towards the light and the w component to 0. */
- void set_position(const Vector4 &);