1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-25 15:37:42 +00:00

Rename offset to point in remove_point()

(cherry picked from commit 4f72a07eaa)
This commit is contained in:
kobewi
2020-12-28 17:57:55 +01:00
committed by Rémi Verschelde
parent 27bfacd425
commit a227eefd2d
2 changed files with 3 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ Gradient::~Gradient() {
void Gradient::_bind_methods() {
ClassDB::bind_method(D_METHOD("add_point", "offset", "color"), &Gradient::add_point);
ClassDB::bind_method(D_METHOD("remove_point", "offset"), &Gradient::remove_point);
ClassDB::bind_method(D_METHOD("remove_point", "point"), &Gradient::remove_point);
ClassDB::bind_method(D_METHOD("set_offset", "point", "offset"), &Gradient::set_offset);
ClassDB::bind_method(D_METHOD("get_offset", "point"), &Gradient::get_offset);