更改

无编辑摘要
第91行: 第91行:  
  |group = Display
 
  |group = Display
 
  |name  = Rendering
 
  |name  = Rendering
  |desc  = 打开 sprite batch  ,在游戏将任何内容绘制到屏幕上之前 就引 发。 The sprite batch may be closed and reopened multiple times after this event is called, but it's only raised once per draw tick. 此事件对于在屏幕上绘制没有用, since the game will draw over it.
+
  |desc  = 打开 sprite batch  同时 ,在游戏将任何内容绘制到屏幕上之前 ,触 此事件 在此事件触发后,sprite batch 可能多次关闭并重新打开。 但只在每次draw tick 只会启动一次. 此事件对于在屏幕上绘制没有用, 因为游戏会在这之上覆盖绘制。
    
  |arg name 1 = <samp>e.SpriteBatch</samp>
 
  |arg name 1 = <samp>e.SpriteBatch</samp>
 
  |arg type 1 = <samp>SpriteBatch</samp>
 
  |arg type 1 = <samp>SpriteBatch</samp>
  |arg desc 1 = The sprite batch being drawn. Add anything you want to appear on-screen to this sprite batch.
+
  |arg desc 1 = 开始绘制sprite batch ,添加任何你想绘制的东西到sprite batch 中。
 
}}
 
}}
 
{{/event
 
{{/event
 
  |group = Display
 
  |group = Display
 
  |name  = Rendered
 
  |name  = Rendered
  |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  = 会在游戏的一个draw tick 中对sprite batch 进行绘制后,最后一个sprite batch在屏幕上渲染前启动。因为游戏可能会在一个draw tick中打开/ 关闭sprite batch 多次,sprite batch 可能没有包含正在绘制的所有内容,并且有些内容可能已经渲染在屏幕上了。在这个点上绘制到sprite batch 的内容会覆盖在所有普通内容上(包括菜单,HUD,和光标)。
    
  |arg name 1 = <samp>e.SpriteBatch</samp>
 
  |arg name 1 = <samp>e.SpriteBatch</samp>
 
  |arg type 1 = <samp>SpriteBatch</samp>
 
  |arg type 1 = <samp>SpriteBatch</samp>
  |arg desc 1 = The sprite batch being drawn. Add anything you want to appear on-screen to this sprite batch.
+
  |arg desc 1 = 正在绘制sprite batch 。添加任何你想绘制的东西到sprite batch 中。
 
}}
 
}}
 
{{/event
 
{{/event
 
  |group = Display
 
  |group = Display
 
  |name  = RenderingWorld
 
  |name  = RenderingWorld
  |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.
+
  |desc  = 在游戏事件绘制到屏幕之前启动。这个事件不对绘制有任何帮助,因为游戏绘制会覆盖它。
    
  |arg name 1 = <samp>e.SpriteBatch</samp>
 
  |arg name 1 = <samp>e.SpriteBatch</samp>
2

个编辑