summaryrefslogtreecommitdiffstats
path: root/scene/3d/light.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2015-12-28 02:13:05 +0100
committerRémi Verschelde <rverschelde@gmail.com>2015-12-28 02:13:05 +0100
commitd4993b74fc715d294ca0a77b335db3782d4bdcd6 (patch)
treef8b95f71ecb329a2fe192b1f994634646ed63d9d /scene/3d/light.cpp
parentfe46b2ac0c56b58fd9651d283cf1ec802e613646 (diff)
downloadredot-engine-d4993b74fc715d294ca0a77b335db3782d4bdcd6.tar.gz
Add missing argument names in GDScript bindings
All classes were reviewed apart from VisualServer for which no argument name is documented at all. While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
Diffstat (limited to 'scene/3d/light.cpp')
-rw-r--r--scene/3d/light.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/light.cpp b/scene/3d/light.cpp
index 9f9c87b675..38fff2089c 100644
--- a/scene/3d/light.cpp
+++ b/scene/3d/light.cpp
@@ -487,9 +487,9 @@ bool Light::is_editor_only() const{
void Light::_bind_methods() {
ObjectTypeDB::bind_method(_MD("set_parameter","variable","value"), &Light::set_parameter );
- ObjectTypeDB::bind_method(_MD("get_parameter"), &Light::get_parameter );
+ ObjectTypeDB::bind_method(_MD("get_parameter","variable"), &Light::get_parameter );
ObjectTypeDB::bind_method(_MD("set_color","color","value"), &Light::set_color );
- ObjectTypeDB::bind_method(_MD("get_color"), &Light::get_color );
+ ObjectTypeDB::bind_method(_MD("get_color","color"), &Light::get_color );
ObjectTypeDB::bind_method(_MD("set_project_shadows","enable"), &Light::set_project_shadows );
ObjectTypeDB::bind_method(_MD("has_project_shadows"), &Light::has_project_shadows );
ObjectTypeDB::bind_method(_MD("set_projector","projector:Texture"), &Light::set_projector );