Legacy:GetFrameRate

From Spherical
Jump to: navigation, search


Get the refresh rate of drawing functions outside the map engine.

Usage

integer GetFrameRate();


Examples

See the example for SetFrameRate().

Notes

  • The return value of this function is the frames per second currently being used by Sphere's graphics driver for drawing functions. This fps value can be set using SetFrameRate().
  • To obtain the frame rate used by the map engine, use GetMapEngineFrameRate().

See also

API:Video/navbox