From 2083252c05ece1e47c1c476fda2b9eda3bf332a0 Mon Sep 17 00:00:00 2001 From: sofar Date: Sat, 25 Feb 2023 16:08:33 -0800 Subject: Sky: transmit body_orbit_tilt to client. (#13193) This obsoletes the current client-side setting entirely. The server can transmit the tilt to the client directly and will send 0.0f as default value. Co-authored-by: x2048 Co-authored-by: sfan5 --- doc/lua_api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 85f88db33..19e87b368 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -7316,6 +7316,8 @@ child will follow movement and rotation of that bone. * `sky_parameters` is a table with the following optional fields: * `base_color`: ColorSpec, changes fog in "skybox" and "plain". (default: `#ffffff`) + * `body_orbit_tilt`: Float, angle of sun/moon orbit in degrees, relative to Y axis. + Valid range [-60.0,60.0] (default: 0.0) * `type`: Available types: * `"regular"`: Uses 0 textures, `base_color` ignored * `"skybox"`: Uses 6 textures, `base_color` used as fog. -- cgit v1.2.3