3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Frame rate  (Read 691 times)

« on: July 12, 2013, 04:27:54 AM »
Is there anyway you can display performance in 3drad? If not it'd be a handy addon
« Reply #1 on: July 12, 2013, 04:40:36 AM »
You sure can - it's one of the scripting functions. The quote below is taken from the script object reference page here.

http://www.3drad.com/Script_reference.php

Quote
float iFrameRate(bool)
   Return the current frame-rate (frames rendered per second).
   bool = whether to return average frame-rate (true) or instant frame-rate (false).
   NOTE: instant frame-rate is actually based on the time needed to process the last rendered frame.
   To get the real instant frame-rate, clamp the returned value within 0 and 60.

« Reply #2 on: July 12, 2013, 07:14:51 AM »
that is brilliant, thanks i was hoping it's be available thanks
« Reply #3 on: July 12, 2013, 08:09:32 AM »
if you don't open the Scripting Reference and look through it at least once... you'll never know what is available...

--Mike
Pages: [1]