diff options
author | clayjohn <claynjohn@gmail.com> | 2020-10-21 23:22:53 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2020-10-21 23:28:08 -0700 |
commit | 6299575250cf332689ac85a4f86e36d70ca5832c (patch) | |
tree | 6b27db2761f4314c27f3c29b91ba748073bc46bb /scene/3d/light_3d.h | |
parent | c3964b6c835a98db9784aada41574447b6cd5824 (diff) |
Add sky_only setting to DirectionalLight3Ds
Diffstat (limited to 'scene/3d/light_3d.h')
-rw-r--r-- | scene/3d/light_3d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/3d/light_3d.h b/scene/3d/light_3d.h index 69c0478b86..08287a3313 100644 --- a/scene/3d/light_3d.h +++ b/scene/3d/light_3d.h @@ -158,6 +158,7 @@ private: bool blend_splits; ShadowMode shadow_mode; ShadowDepthRange shadow_depth_range; + bool sky_only = false; protected: static void _bind_methods(); @@ -172,6 +173,9 @@ public: void set_blend_splits(bool p_enable); bool is_blend_splits_enabled() const; + void set_sky_only(bool p_sky_only); + bool is_sky_only() const; + DirectionalLight3D(); }; |