![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
ICanvasEditor implementation for custom canvas with zoom support (PrefabCanvas) More...
Include dependency graph for CustomCanvasEditor.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Olympe::CustomCanvasEditor |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
ICanvasEditor implementation for custom canvas with zoom support (PrefabCanvas)
Provides pan, zoom, and coordinate transformation without imnodes dependency
@design
@usage // In EntityPrefabRenderer::Render() m_canvasEditor = std::make_unique<CustomCanvasEditor>("ComponentCanvas", canvasScreenPos, canvasSize);
m_canvasEditor->BeginRender(); { // Render custom nodes RenderMyComponentNodes(); } m_canvasEditor->EndRender();
@compatibility C++14
Definition in file CustomCanvasEditor.h.