Fix NavigationPolygon references in _bind_method
Also sync the doc accordingly
This commit is contained in:
parent
39f69cbfc3
commit
281236280e
2 changed files with 15 additions and 14 deletions
|
@ -9608,7 +9608,8 @@ This approximation makes straight segments between each point, then subdivides t
|
|||
<brief_description>
|
||||
Directory type.
|
||||
</brief_description>
|
||||
<description>Directory type. Is used to manage directories and their content (not restricted to the project folder).
|
||||
<description>
|
||||
Directory type. Is used to manage directories and their content (not restricted to the project folder).
|
||||
|
||||
How to iterate through the files of a directory example:
|
||||
|
||||
|
@ -18475,13 +18476,13 @@ verify_host will check the SSL identity of the host if set to true.
|
|||
</description>
|
||||
<methods>
|
||||
<method name="set_navigation_polygon">
|
||||
<argument index="0" name="navpoly" type="Object">
|
||||
<argument index="0" name="navpoly" type="NavigationPolygon">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_navigation_polygon" qualifiers="const">
|
||||
<return type="Object">
|
||||
<return type="NavigationPolygon">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
|
|
|
@ -429,8 +429,8 @@ void NavigationPolygonInstance::_navpoly_changed() {
|
|||
|
||||
void NavigationPolygonInstance::_bind_methods() {
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_navigation_polygon","navpoly"),&NavigationPolygonInstance::set_navigation_polygon);
|
||||
ObjectTypeDB::bind_method(_MD("get_navigation_polygon"),&NavigationPolygonInstance::get_navigation_polygon);
|
||||
ObjectTypeDB::bind_method(_MD("set_navigation_polygon","navpoly:NavigationPolygon"),&NavigationPolygonInstance::set_navigation_polygon);
|
||||
ObjectTypeDB::bind_method(_MD("get_navigation_polygon:NavigationPolygon"),&NavigationPolygonInstance::get_navigation_polygon);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_enabled","enabled"),&NavigationPolygonInstance::set_enabled);
|
||||
ObjectTypeDB::bind_method(_MD("is_enabled"),&NavigationPolygonInstance::is_enabled);
|
||||
|
|
Loading…
Reference in a new issue