A light shining from infinitely far away in a particular direction, like sunlight.
DirectionalLight(std::string const &name)¶
Do not call the copy constructor directly; instead, use make_copy() or copy_subgraph() to make a copy of a node.
Clears a custom specular color setting, meaning that the specular color will now come from the color.
LVector3 const &
Returns the direction in which the light is aimed. This is local to the coordinate space in which the light is assigned.
LPoint3 const &
Returns the point in space at which the light is located. This is local to the coordinate space in which the light is assigned.
This actually has no bearing on the visual effect of the light, since the light is rendered as if it were infinitely far away. This is only used to create a visible representation of the light.