mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Removes type information from method binds
This commit is contained in:
@@ -714,11 +714,11 @@ void Spatial::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_scale"), &Spatial::get_scale);
|
||||
ClassDB::bind_method(D_METHOD("set_global_transform", "global"), &Spatial::set_global_transform);
|
||||
ClassDB::bind_method(D_METHOD("get_global_transform"), &Spatial::get_global_transform);
|
||||
ClassDB::bind_method(D_METHOD("get_parent_spatial:Spatial"), &Spatial::get_parent_spatial);
|
||||
ClassDB::bind_method(D_METHOD("get_parent_spatial"), &Spatial::get_parent_spatial);
|
||||
ClassDB::bind_method(D_METHOD("set_ignore_transform_notification", "enabled"), &Spatial::set_ignore_transform_notification);
|
||||
ClassDB::bind_method(D_METHOD("set_as_toplevel", "enable"), &Spatial::set_as_toplevel);
|
||||
ClassDB::bind_method(D_METHOD("is_set_as_toplevel"), &Spatial::is_set_as_toplevel);
|
||||
ClassDB::bind_method(D_METHOD("get_world:World"), &Spatial::get_world);
|
||||
ClassDB::bind_method(D_METHOD("get_world"), &Spatial::get_world);
|
||||
|
||||
// TODO: Obsolete those two methods (old name) properly (GH-4397)
|
||||
ClassDB::bind_method(D_METHOD("_set_rotation_deg", "rotation_deg"), &Spatial::_set_rotation_deg);
|
||||
@@ -729,8 +729,8 @@ void Spatial::_bind_methods() {
|
||||
#endif
|
||||
|
||||
ClassDB::bind_method(D_METHOD("update_gizmo"), &Spatial::update_gizmo);
|
||||
ClassDB::bind_method(D_METHOD("set_gizmo", "gizmo:SpatialGizmo"), &Spatial::set_gizmo);
|
||||
ClassDB::bind_method(D_METHOD("get_gizmo:SpatialGizmo"), &Spatial::get_gizmo);
|
||||
ClassDB::bind_method(D_METHOD("set_gizmo", "gizmo"), &Spatial::set_gizmo);
|
||||
ClassDB::bind_method(D_METHOD("get_gizmo"), &Spatial::get_gizmo);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_visible", "visible"), &Spatial::set_visible);
|
||||
ClassDB::bind_method(D_METHOD("is_visible"), &Spatial::is_visible);
|
||||
|
||||
Reference in New Issue
Block a user