:github_url: hide .. _class_NavigationServer3DManager: NavigationServer3DManager ========================= **Eredita:** :ref:`Object` A singleton for managing :ref:`NavigationServer3D` implementations. .. rst-class:: classref-introduction-group Descrizione ---------------------- **NavigationServer3DManager** is the API for registering :ref:`NavigationServer3D` implementations and setting the default implementation. \ **Note:** It is not possible to switch servers at runtime. This class is only used on startup at the server initialization level. .. rst-class:: classref-reftable-group Metodi ------------ .. table:: :widths: auto +--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`register_server`\ (\ name\: :ref:`String`, create_callback\: :ref:`Callable`\ ) | +--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_default_server`\ (\ name\: :ref:`String`, priority\: :ref:`int`\ ) | +--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Descrizioni dei metodi -------------------------------------------- .. _class_NavigationServer3DManager_method_register_server: .. rst-class:: classref-method |void| **register_server**\ (\ name\: :ref:`String`, create_callback\: :ref:`Callable`\ ) :ref:`🔗` Registers a :ref:`NavigationServer3D` implementation by passing a ``name`` and a :ref:`Callable` that returns a :ref:`NavigationServer3D` object. .. rst-class:: classref-item-separator ---- .. _class_NavigationServer3DManager_method_set_default_server: .. rst-class:: classref-method |void| **set_default_server**\ (\ name\: :ref:`String`, priority\: :ref:`int`\ ) :ref:`🔗` Sets the default :ref:`NavigationServer3D` implementation to the one identified by ``name``, if ``priority`` is greater than the priority of the current default implementation. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` .. |const| replace:: :abbr:`const (Questo metodo non ha effetti collaterali. Non modifica alcuna variabile appartenente all'istanza.)` .. |vararg| replace:: :abbr:`vararg (Questo metodo accetta qualsiasi numero di argomenti oltre a quelli descritti qui.)` .. |constructor| replace:: :abbr:`constructor (Questo metodo è utilizzato per creare un tipo.)` .. |static| replace:: :abbr:`static (Questo metodo non necessita di alcun'istanza per essere chiamato, quindi può essere chiamato direttamente usando il nome della classe.)` .. |operator| replace:: :abbr:`operator (Questo metodo descrive un operatore valido da usare con questo tipo come operando di sinistra.)` .. |bitfield| replace:: :abbr:`BitField (Questo valore è un intero composto da una maschera di bit dei seguenti flag.)` .. |void| replace:: :abbr:`void (Nessun valore restituito.)`