ScriptLayerCanvas class
Where onDrawLayer1() to onDrawLayer8() of a level script draw.
Attached to the scene of the level, the functions are called whenever it's drawn for a view, so with the coordinates of each layer in that view, and what they draw is at the depth of the layer, in front of its tiles.
Base classes
- class Jazz2::UI::Canvas
- Canvas.
Constructors, destructors, conversion operators
- ScriptLayerCanvas(LevelScriptLoader* owner) explicit
- Creates a new instance of a script.
Public functions
- auto OnDraw(RenderQueue& renderQueue) -> bool override
- Called when the node needs to be drawn, returning
trueif a command was added.