Changes

Jump to navigation Jump to search
→‎Display: correction
Line 265: Line 265:  
}}
 
}}
 
{{/event
 
{{/event
  |name = Rendering
+
  |name = RenderingWorld
  |desc = Raised before the game draws anything to the screen in a draw tick, as soon as the sprite batch is opened. The sprite batch may be closed and reopened multiple times after this event is called, but it's only raised once per draw tick. This event isn't useful for drawing to the screen, since the game will draw over it.
+
  |desc = Raised before the game world is drawn to the screen. This event isn't useful for drawing to the screen, since the game will draw over it.
    
  |arg name 1 = <tt>e.SpriteBatch</tt>
 
  |arg name 1 = <tt>e.SpriteBatch</tt>
Line 273: Line 273:  
}}
 
}}
 
{{/event
 
{{/event
  |name = Rendered
+
  |name = RenderedWorld
  |desc = Raised after the game draws to the sprite patch in a draw tick, just before the final sprite batch is rendered to the screen. Since the game may open/close the sprite batch multiple times in a draw tick, the sprite batch may not contain everything being drawn and some things may already be rendered to the screen. Content drawn to the sprite batch at this point will be drawn over all vanilla content (including menus, HUD, and cursor).
+
  |desc = Raised after the game world is drawn to the sprite patch in a draw tick, before it's rendered to the screen. Content drawn to the sprite batch at this point will be drawn over the world, but under any active menu, HUD elements, or cursor.
    
  |arg name 1 = <tt>e.SpriteBatch</tt>
 
  |arg name 1 = <tt>e.SpriteBatch</tt>
translators
8,437

edits

Navigation menu