mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
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:
parent
fdcffb885f
commit
a9cb18eefc
1 changed files with 3 additions and 0 deletions
|
@ -144,6 +144,9 @@ impl Default for SpotLight {
|
||||||
/// approximation for light sources VERY far away, like the sun or
|
/// approximation for light sources VERY far away, like the sun or
|
||||||
/// the moon.
|
/// 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:
|
/// Valid values for `illuminance` are:
|
||||||
///
|
///
|
||||||
/// | Illuminance (lux) | Surfaces illuminated by |
|
/// | Illuminance (lux) | Surfaces illuminated by |
|
||||||
|
|
Loading…
Reference in a new issue