mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add function to get navigation link iteration id from NavigationServer
Adds function to get navigation link iteration id from NavigationServer.
This commit is contained in:
parent
931820d33c
commit
b002ade3ed
16 changed files with 54 additions and 0 deletions
|
|
@ -613,6 +613,13 @@ RID GodotNavigationServer3D::link_create() {
|
|||
return rid;
|
||||
}
|
||||
|
||||
uint32_t GodotNavigationServer3D::link_get_iteration_id(RID p_link) const {
|
||||
NavLink3D *link = link_owner.get_or_null(p_link);
|
||||
ERR_FAIL_NULL_V(link, 0);
|
||||
|
||||
return link->get_iteration_id();
|
||||
}
|
||||
|
||||
COMMAND_2(link_set_map, RID, p_link, RID, p_map) {
|
||||
NavLink3D *link = link_owner.get_or_null(p_link);
|
||||
ERR_FAIL_NULL(link);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue