Skip to content
0.2.0-dev Download ZIP
30 lines ·1.4 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="NavigationServer3DManager" inherits="Object" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 A singleton for managing [NavigationServer3D] implementations.
5 </brief_description>
6 <description>
7 [NavigationServer3DManager] is the API for registering [NavigationServer3D] implementations and setting the default implementation.
8 [b]Note:[/b] It is not possible to switch servers at runtime. This class is only used on startup at the server initialization level.
9 </description>
10 <tutorials>
11 </tutorials>
12 <methods>
13 <method name="register_server">
14 <return type="void" />
15 <param index="0" name="name" type="String" />
16 <param index="1" name="create_callback" type="Callable" />
17 <description>
18 Registers a [NavigationServer3D] implementation by passing a [param name] and a [Callable] that returns a [NavigationServer3D] object.
19 </description>
20 </method>
21 <method name="set_default_server">
22 <return type="void" />
23 <param index="0" name="name" type="String" />
24 <param index="1" name="priority" type="int" />
25 <description>
26 Sets the default [NavigationServer3D] implementation to the one identified by [param name], if [param priority] is greater than the priority of the current default implementation.
27 </description>
28 </method>
29 </methods>
30</class>