|
532 | 532 | <param index="0" name="map" type="RID" /> |
533 | 533 | <param index="1" name="to_point" type="Vector3" /> |
534 | 534 | <description> |
535 | | - Returns the point closest to the provided [param to_point] on the navigation mesh surface. |
| 535 | + Returns the navigation mesh surface point closest to the provided [param to_point] on the navigation [param map]. |
536 | 536 | </description> |
537 | 537 | </method> |
538 | 538 | <method name="map_get_closest_point_normal" qualifiers="const"> |
539 | 539 | <return type="Vector3" /> |
540 | 540 | <param index="0" name="map" type="RID" /> |
541 | 541 | <param index="1" name="to_point" type="Vector3" /> |
542 | 542 | <description> |
543 | | - Returns the normal for the point returned by [method map_get_closest_point]. |
| 543 | + Returns the navigation mesh surface normal closest to the provided [param to_point] on the navigation [param map]. |
544 | 544 | </description> |
545 | 545 | </method> |
546 | 546 | <method name="map_get_closest_point_owner" qualifiers="const"> |
547 | 547 | <return type="RID" /> |
548 | 548 | <param index="0" name="map" type="RID" /> |
549 | 549 | <param index="1" name="to_point" type="Vector3" /> |
550 | 550 | <description> |
551 | | - Returns the owner region RID for the point returned by [method map_get_closest_point]. |
| 551 | + Returns the owner region RID for the navigation mesh surface point closest to the provided [param to_point] on the navigation [param map]. |
552 | 552 | </description> |
553 | 553 | </method> |
554 | 554 | <method name="map_get_closest_point_to_segment" qualifiers="const"> |
|
558 | 558 | <param index="2" name="end" type="Vector3" /> |
559 | 559 | <param index="3" name="use_collision" type="bool" default="false" /> |
560 | 560 | <description> |
561 | | - Returns the closest point between the navigation surface and the segment. |
| 561 | + Returns the navigation mesh surface point closest to the provided [param start] and [param end] segment on the navigation [param map]. |
| 562 | + If [param use_collision] is [code]true[/code], a closest point test is only done when the segment intersects with the navigation mesh surface. |
562 | 563 | </description> |
563 | 564 | </method> |
564 | 565 | <method name="map_get_edge_connection_margin" qualifiers="const"> |
|
908 | 909 | Creates a new region. |
909 | 910 | </description> |
910 | 911 | </method> |
| 912 | + <method name="region_get_closest_point" qualifiers="const"> |
| 913 | + <return type="Vector3" /> |
| 914 | + <param index="0" name="region" type="RID" /> |
| 915 | + <param index="1" name="to_point" type="Vector3" /> |
| 916 | + <description> |
| 917 | + Returns the navigation mesh surface point closest to the provided [param to_point] on the navigation [param region]. |
| 918 | + </description> |
| 919 | + </method> |
| 920 | + <method name="region_get_closest_point_normal" qualifiers="const"> |
| 921 | + <return type="Vector3" /> |
| 922 | + <param index="0" name="region" type="RID" /> |
| 923 | + <param index="1" name="to_point" type="Vector3" /> |
| 924 | + <description> |
| 925 | + Returns the navigation mesh surface normal closest to the provided [param to_point] on the navigation [param region]. |
| 926 | + </description> |
| 927 | + </method> |
| 928 | + <method name="region_get_closest_point_to_segment" qualifiers="const"> |
| 929 | + <return type="Vector3" /> |
| 930 | + <param index="0" name="region" type="RID" /> |
| 931 | + <param index="1" name="start" type="Vector3" /> |
| 932 | + <param index="2" name="end" type="Vector3" /> |
| 933 | + <param index="3" name="use_collision" type="bool" default="false" /> |
| 934 | + <description> |
| 935 | + Returns the navigation mesh surface point closest to the provided [param start] and [param end] segment on the navigation [param region]. |
| 936 | + If [param use_collision] is [code]true[/code], a closest point test is only done when the segment intersects with the navigation mesh surface. |
| 937 | + </description> |
| 938 | + </method> |
911 | 939 | <method name="region_get_connection_pathway_end" qualifiers="const"> |
912 | 940 | <return type="Vector3" /> |
913 | 941 | <param index="0" name="region" type="RID" /> |
|
0 commit comments