Difference between revisions of "Event: Script:OnRender"

From Nomad DB
Line 8: Line 8:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
'''This callback is not executed every frame:''' It's executed at a much lower frame-rate than the game is running.
+
'''This callback is not executed every frame:''' It's executed at a much lower frame-rate than the game is running at.
  
 
== Related Pages ==
 
== Related Pages ==

Revision as of 22:26, 2 August 2020

In this context, rendering onto the screen is possible. This is the only legal place to call d3d Functions.

Registration

This event is registered on the Script Table.

Usage

OnRender()

This callback is not executed every frame: It's executed at a much lower frame-rate than the game is running at.

Related Pages