OnRender

This callback is called each frame.

Example:

function OnRender(Renderer)
{
    Renderer.AddText(Font.GetDefault(), 5, 5, Color(255, 255, 255), "This is example text");
}

This example will draw text at left top corner of screen with default font and white color.

Last updated