Whoops
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run

This commit is contained in:
Agent X 2025-04-27 00:35:55 -04:00
parent bf85d9f9d5
commit 6b5263d60e
4 changed files with 6 additions and 6 deletions

View file

@ -9763,7 +9763,7 @@ function set_fog_intensity(intensity)
-- ... -- ...
end end
--- @return SkyBackgroundParams --- @return integer
--- Gets the current skybox --- Gets the current skybox
function get_skybox() function get_skybox()
-- ... -- ...

View file

@ -1709,16 +1709,16 @@ Sets the intensity of the fog (this value scales very quickly, 1.0 to 1.1 is a d
Gets the current skybox Gets the current skybox
### Lua Example ### Lua Example
`local enumValue = get_skybox()` `local integerValue = get_skybox()`
### Parameters ### Parameters
- None - None
### Returns ### Returns
[enum SkyBackgroundParams](constants.md#enum-SkyBackgroundParams) - `integer`
### C Prototype ### C Prototype
`enum SkyBackgroundParams get_skybox(void);` `s8 get_skybox(void);`
[:arrow_up_small:](#) [:arrow_up_small:](#)

View file

@ -87,7 +87,7 @@ void set_fog_intensity(f32 intensity) {
/// ///
enum SkyBackgroundParams get_skybox(void) { s8 get_skybox(void) {
if (gOverrideBackground != -1) { return gOverrideBackground; } if (gOverrideBackground != -1) { return gOverrideBackground; }
return gReadOnlyBackground; return gReadOnlyBackground;
} }

View file

@ -48,7 +48,7 @@ f32 get_fog_intensity(void);
void set_fog_intensity(f32 intensity); void set_fog_intensity(f32 intensity);
/* |description|Gets the current skybox|descriptionEnd| */ /* |description|Gets the current skybox|descriptionEnd| */
enum SkyBackgroundParams get_skybox(void); s8 get_skybox(void);
/* |description|Sets the override skybox|descriptionEnd| */ /* |description|Sets the override skybox|descriptionEnd| */
void set_override_skybox(s8 background); void set_override_skybox(s8 background);
/* |description|Gets a value of the global skybox color|descriptionEnd| */ /* |description|Gets a value of the global skybox color|descriptionEnd| */