Jazz2::Editor::EditorSceneCanvas class

Canvas in the level, drawn among its layers in pixels of the level.

What the editor shows as a part of the level, such as the sprites of the events, is drawn into it when the level is drawn, so the layers in front of it cover it.

Base classes

class Jazz2::UI::Canvas
Canvas.

Public functions

auto OnDraw(RenderQueue& renderQueue) -> bool override
Called when the node needs to be drawn, returning true if a command was added.

Public variables

Function<void(UI::Canvas&)> DrawContent
Draws into the canvas, called when it's drawn.