summaryrefslogtreecommitdiff
path: root/servers/rendering/rendering_server_default.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-10-20 00:40:46 +0200
committerclayjohn <claynjohn@gmail.com>2022-03-17 14:00:02 -0700
commitc45d2c242bf568363f0d6528dc142c0cac0eb1c8 (patch)
tree895ceb187050d15c94f5ad3a3e2de7c26e9be715 /servers/rendering/rendering_server_default.h
parent6228063972b23a1ed216956b0e1d87d303548996 (diff)
Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum
3 options are available: - Light and Sky (default) - Light Only (new) - Sky Only (equivalent to `use_in_sky_only = true`) Co-authored by: clayjohn <claynjohn@gmail.com>
Diffstat (limited to 'servers/rendering/rendering_server_default.h')
-rw-r--r--servers/rendering/rendering_server_default.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/rendering_server_default.h b/servers/rendering/rendering_server_default.h
index 8c93308e38..d75caae018 100644
--- a/servers/rendering/rendering_server_default.h
+++ b/servers/rendering/rendering_server_default.h
@@ -362,7 +362,7 @@ public:
FUNC2(light_directional_set_shadow_mode, RID, LightDirectionalShadowMode)
FUNC2(light_directional_set_blend_splits, RID, bool)
- FUNC2(light_directional_set_sky_only, RID, bool)
+ FUNC2(light_directional_set_sky_mode, RID, LightDirectionalSkyMode)
/* PROBE API */