add default direction to DirectionalLight docs (#5188)

# Objective

- Adds a default direction to the documentation of DirectionalLight 

## Solution

Suggestion from Q&A answer: 
https://github.com/bevyengine/bevy/discussions/5186#discussioncomment-3073767
This commit is contained in:
Josh Stratton 2022-08-02 18:13:21 +00:00
parent fdcffb885f
commit a9cb18eefc

View file

@ -144,6 +144,9 @@ impl Default for SpotLight {
/// approximation for light sources VERY far away, like the sun or
/// the moon.
///
/// The light shines along the forward direction of the entity's transform. With a default transform
/// this would be along the negative-Z axis.
///
/// Valid values for `illuminance` are:
///
/// | Illuminance (lux) | Surfaces illuminated by |