get_refresh_rate


Description:

public float get_refresh_rate ()

Gets the refresh rate in Hertz for the output that the frame was on at the time the frame was presented.

<note>Some platforms can't associate a Output with a FrameInfo object but are able to report a refresh rate via this api. Therefore if you need this information then this api is more reliable than using get_output followed by get_refresh_rate.</note>

Parameters:

this

a FrameInfo object

Returns:

the refresh rate in Hertz