Drawing

Class

A static class that combines properties and classes related to drawing and graphics work. Classes inside CuoreUI.Drawing are sub-pages of this page on gitbook.

The initializer is static, which is why this class

  • Enables the "Modern Hand Cursor Fix"

  • Stops the mouse hook when the process exits

Methods

  • GetRefreshRates()

  • GetHighestRefreshRate()

  • SetTimerRefreshRate()

Events

  • FrameDrawn Activates every 1000 / GetHighestRefreshRate() milliseconds. Somewhat similar to gamedev Time.delta. Example: on a 100hz monitor, FrameDrawn is called every 10ms.

  • TenFramesDrawn Activates every 10000 / GetHighestRefreshRate() milliseconds. Somewhat similar to gamedev Time.delta * 10. Example: on a 100hz monitor, TenFramesDrawn is called every 100ms.

Last updated