1

Is there a way to query the frame rate during playback?

I'm writing a simple HUD node and I'd like to include the frame rate, similar to the default maya one found in >> Display/Heads Up Display/Frame Rate.

Zim-Zam O'Pootertoot
  • 17,888
  • 4
  • 41
  • 69
cnp
  • 11
  • 3

1 Answers1

-1

Not sure about the api but there's a Mel version

playbackOptions -q -fps

Edit: just found this

http://download.autodesk.com/us/maya/2011help/API/class_m_anim_control.html

Try using playbackSpeed?

cronicryo
  • 437
  • 1
  • 4
  • 15