NavigationSystem3DManager
Inherits: Object
Description
Section titled “Description”A singleton for managing NavigationSystem3D implementations.
NavigationSystem3DManager is the API for registering NavigationSystem3D 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.
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| void | register_system(name: String, create_callback: Callable) |
| void | set_default_system(name: String, priority: int) |
Method descriptions
Section titled “Method descriptions”register_system
void register_system(name: String, create_callback: Callable)
Registers a NavigationSystem3D implementation by passing a name and a Callable that returns a NavigationSystem3D object.
set_default_system
void set_default_system(name: String, priority: int)
Sets the default NavigationSystem3D implementation to the one identified by name, if priority is greater than the priority of the current default implementation.
