diff options
| author | Rémi Verschelde | 2017-02-13 15:46:17 +0100 |
|---|---|---|
| committer | GitHub | 2017-02-13 15:46:17 +0100 |
| commit | ea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378 (patch) | |
| tree | 65ed57ff55cadd49b881e248e2f87331ca5eee28 /scene/2d/parallax_background.cpp | |
| parent | f6859fd31b5c3cc1a112b7f77b3c1783df8c8919 (diff) | |
| parent | 411ee71b4d2dd4dfb3c137b057e0cfcdb55d6291 (diff) | |
| download | godot-ea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378.tar.gz godot-ea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378.tar.zst godot-ea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378.zip | |
Diffstat (limited to 'scene/2d/parallax_background.cpp')
| -rw-r--r-- | scene/2d/parallax_background.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/scene/2d/parallax_background.cpp b/scene/2d/parallax_background.cpp index 2011b91b7..9336dc51a 100644 --- a/scene/2d/parallax_background.cpp +++ b/scene/2d/parallax_background.cpp @@ -189,19 +189,19 @@ Vector2 ParallaxBackground::get_final_offset() const { void ParallaxBackground::_bind_methods() { - ClassDB::bind_method(_MD("_camera_moved"),&ParallaxBackground::_camera_moved); - ClassDB::bind_method(_MD("set_scroll_offset","ofs"),&ParallaxBackground::set_scroll_offset); - ClassDB::bind_method(_MD("get_scroll_offset"),&ParallaxBackground::get_scroll_offset); - ClassDB::bind_method(_MD("set_scroll_base_offset","ofs"),&ParallaxBackground::set_scroll_base_offset); - ClassDB::bind_method(_MD("get_scroll_base_offset"),&ParallaxBackground::get_scroll_base_offset); - ClassDB::bind_method(_MD("set_scroll_base_scale","scale"),&ParallaxBackground::set_scroll_base_scale); - ClassDB::bind_method(_MD("get_scroll_base_scale"),&ParallaxBackground::get_scroll_base_scale); - ClassDB::bind_method(_MD("set_limit_begin","ofs"),&ParallaxBackground::set_limit_begin); - ClassDB::bind_method(_MD("get_limit_begin"),&ParallaxBackground::get_limit_begin); - ClassDB::bind_method(_MD("set_limit_end","ofs"),&ParallaxBackground::set_limit_end); - ClassDB::bind_method(_MD("get_limit_end"),&ParallaxBackground::get_limit_end); - ClassDB::bind_method(_MD("set_ignore_camera_zoom","ignore"), &ParallaxBackground::set_ignore_camera_zoom); - ClassDB::bind_method(_MD("is_ignore_camera_zoom"), &ParallaxBackground::is_ignore_camera_zoom); + ClassDB::bind_method(D_METHOD("_camera_moved"),&ParallaxBackground::_camera_moved); + ClassDB::bind_method(D_METHOD("set_scroll_offset","ofs"),&ParallaxBackground::set_scroll_offset); + ClassDB::bind_method(D_METHOD("get_scroll_offset"),&ParallaxBackground::get_scroll_offset); + ClassDB::bind_method(D_METHOD("set_scroll_base_offset","ofs"),&ParallaxBackground::set_scroll_base_offset); + ClassDB::bind_method(D_METHOD("get_scroll_base_offset"),&ParallaxBackground::get_scroll_base_offset); + ClassDB::bind_method(D_METHOD("set_scroll_base_scale","scale"),&ParallaxBackground::set_scroll_base_scale); + ClassDB::bind_method(D_METHOD("get_scroll_base_scale"),&ParallaxBackground::get_scroll_base_scale); + ClassDB::bind_method(D_METHOD("set_limit_begin","ofs"),&ParallaxBackground::set_limit_begin); + ClassDB::bind_method(D_METHOD("get_limit_begin"),&ParallaxBackground::get_limit_begin); + ClassDB::bind_method(D_METHOD("set_limit_end","ofs"),&ParallaxBackground::set_limit_end); + ClassDB::bind_method(D_METHOD("get_limit_end"),&ParallaxBackground::get_limit_end); + ClassDB::bind_method(D_METHOD("set_ignore_camera_zoom","ignore"), &ParallaxBackground::set_ignore_camera_zoom); + ClassDB::bind_method(D_METHOD("is_ignore_camera_zoom"), &ParallaxBackground::is_ignore_camera_zoom); ADD_GROUP("Scroll","scroll_"); |
