You will notice that the OnRender
method is always very small. Nothing much happens here as the main work is done internally with the fantomEngine. However, we want to measure how many frames per second are displayed during gameplay. With the SetUpdateRate
method, you will set exactly that—the update rate. The render rate can, and most likely will, be smaller. Monkey will skip render frames when the projected update rate is in danger.
3.14.253.152