module
SelectionAdds a resource which keeps track of what the current selection is.
This plugins exists to reduce coupling between plugins. For example, a plugin which allows selecting entities through a ImGui window only needs to depend on this plugin, instead of having to know about all the plugins which care about it. The same applies in the other direction.
Files
- file plugin.hpp
- Plugin entry point.
- file selection.hpp
- Resource cubos::
engine:: Selection.
Classes
- struct cubos::engine::Selection
- Resource which identifies the current selection.
Functions
-
auto selectionPlugin(Cubos& cubos) -> CUBOS_
ENGINE_ API void - Plugin entry function.
Function documentation
CUBOS_ ENGINE_ API void selectionPlugin(Cubos& cubos)
#include <engine/tools/selection/plugin.hpp>
Plugin entry function.
Parameters | |
---|---|
cubos | Cubos main class |