Messages related to the Render
module.
Static variables
staticread onlyclear_color:Message<RenderMessageClearColor> = new Message<RenderMessageClearColor>("clear_color")
Set render clear color.
This is the color that appears on the screen where nothing is rendered, i.e. background.
staticread onlydraw_debug_text:Message<RenderMessageDrawDebugText> = new Message<RenderMessageDrawDebugText>("draw_debug_text")
Draw a text on the screen.
Draw a text on the screen. This should be used for debugging purposes only.
staticread onlydraw_line:Message<RenderMessageDrawLine> = new Message<RenderMessageDrawLine>("draw_line")
Draw a line on the screen.
This should mostly be used for debugging purposes.
staticread onlydraw_text:Message<RenderMessageDrawText> = new Message<RenderMessageDrawText>("draw_text")
Draw a text on the screen.
This should mostly be used for debugging purposes.
staticread onlyresize:Message<RenderMessageResize> = new Message<RenderMessageResize>("resize")
Resizes the window.
Set the size of the game window. Only works on desktop platforms.
staticread onlyset_view_projection:Message<RenderMessageSetViewProjection> = new Message<RenderMessageSetViewProjection>("set_view_projection")
The camera component that has camera focus will sent set_view_projection messages to the @render socket.
staticread onlywindow_resized:Message<RenderMessageWindowResized> = new Message<RenderMessageWindowResized>("window_resized")
Reports a window size change.
Reports a change in window size. This is initiated on window resize on desktop or by orientation changes on mobile devices.