mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Merge commit godotengine/godot@5b52b4b5c4
This commit is contained in:
@@ -561,6 +561,18 @@ godot_color godotsharp_color_from_ok_hsl(float p_h, float p_s, float p_l, float
|
||||
return ret;
|
||||
}
|
||||
|
||||
float godotsharp_color_get_ok_hsl_h(const Color *p_self) {
|
||||
return p_self->get_ok_hsl_h();
|
||||
}
|
||||
|
||||
float godotsharp_color_get_ok_hsl_s(const Color *p_self) {
|
||||
return p_self->get_ok_hsl_s();
|
||||
}
|
||||
|
||||
float godotsharp_color_get_ok_hsl_l(const Color *p_self) {
|
||||
return p_self->get_ok_hsl_l();
|
||||
}
|
||||
|
||||
// GDNative functions
|
||||
|
||||
// gdnative.h
|
||||
@@ -1553,6 +1565,9 @@ static const void *unmanaged_callbacks[]{
|
||||
(void *)godotsharp_callable_call,
|
||||
(void *)godotsharp_callable_call_deferred,
|
||||
(void *)godotsharp_color_from_ok_hsl,
|
||||
(void *)godotsharp_color_get_ok_hsl_h,
|
||||
(void *)godotsharp_color_get_ok_hsl_s,
|
||||
(void *)godotsharp_color_get_ok_hsl_l,
|
||||
(void *)godotsharp_method_bind_ptrcall,
|
||||
(void *)godotsharp_method_bind_call,
|
||||
(void *)godotsharp_variant_new_string_name,
|
||||
|
||||
Reference in New Issue
Block a user