From b6c2a6a69cf1622e169b389e6f57065bcd8b910c Mon Sep 17 00:00:00 2001 From: Josh Stratton Date: Tue, 2 Aug 2022 18:13:21 +0000 Subject: [PATCH] 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 --- crates/bevy_pbr/src/light.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/bevy_pbr/src/light.rs b/crates/bevy_pbr/src/light.rs index 5033b273b1b32a..09349ce5baed4b 100644 --- a/crates/bevy_pbr/src/light.rs +++ b/crates/bevy_pbr/src/light.rs @@ -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 |