From 5769b0e8d8db75ff500c979aa63d3f3428de526d Mon Sep 17 00:00:00 2001 From: Josh Jones Date: Fri, 30 Sep 2022 23:49:39 -0600 Subject: Enable assigning an owner to navigation regions and links This allows users of the server APIs to get back the nodes that created certain regions and links. --- doc/classes/NavigationServer2D.xml | 30 ++++++++++++++++++++++++++++++ doc/classes/NavigationServer3D.xml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) (limited to 'doc') diff --git a/doc/classes/NavigationServer2D.xml b/doc/classes/NavigationServer2D.xml index 981ab8a5e1..ab59add092 100644 --- a/doc/classes/NavigationServer2D.xml +++ b/doc/classes/NavigationServer2D.xml @@ -167,6 +167,13 @@ Returns the navigation layers for this [code]link[/code]. + + + + + Returns the [code]ObjectID[/code] of the object which manages this link. + + @@ -228,6 +235,14 @@ Set the links's navigation layers. This allows selecting links from a path request (when using [method NavigationServer2D.map_get_path]). + + + + + + Set the [code]ObjectID[/code] of the object which manages this link. + + @@ -426,6 +441,13 @@ Returns the region's navigation layers. + + + + + Returns the [code]ObjectID[/code] of the object which manages this region. + + @@ -475,6 +497,14 @@ Sets the navigation mesh for the region. + + + + + + Set the [code]ObjectID[/code] of the object which manages this region. + + diff --git a/doc/classes/NavigationServer3D.xml b/doc/classes/NavigationServer3D.xml index 943aa03ef7..27a07eda90 100644 --- a/doc/classes/NavigationServer3D.xml +++ b/doc/classes/NavigationServer3D.xml @@ -167,6 +167,13 @@ Returns the navigation layers for this [code]link[/code]. + + + + + Returns the [code]ObjectID[/code] of the object which manages this link. + + @@ -228,6 +235,14 @@ Set the links's navigation layers. This allows selecting links from a path request (when using [method NavigationServer3D.map_get_path]). + + + + + + Set the [code]ObjectID[/code] of the object which manages this link. + + @@ -476,6 +491,13 @@ Returns the region's navigation layers. + + + + + Returns the [code]ObjectID[/code] of the object which manages this region. + + @@ -525,6 +547,14 @@ Sets the navigation mesh for the region. + + + + + + Set the [code]ObjectID[/code] of the object which manages this region. + + -- cgit v1.2.3