SIMCONNECT_RECV_EVENT_FRAME

The SIMCONNECT_RECV_EVENT_FRAME structure is used with the SimConnect_SubscribeToSystemEvent call to return the frame rate and simulation speed to the client.

 

Syntax
struct SIMCONNECT_RECV_EVENT_FRAME : SIMCONNECT_RECV_EVENT {
        float  fFrameRate;
        float  fSimSpeed;
      };

 

Members
Member Description
fFrameRate The visual frame rate in frames per second.
fSimSpeed The simulation rate. For example if the simulation is running at four times normal speed - 4X - then 4.0 will be returned.

Remarks

This structure inherits the SIMCONNECT_RECV_EVENT structure, which inherits the SIMCONNECT_RECV structure, and is returned when the dwID parameter of SIMCONNECT_RECV is set to SIMCONNECT_RECV_ID_EVENT_FRAME. Set the requested system event to "Frame" or "PauseFrame" with the SimConnect_SubscribeToSystemEvent function to receive this data.

 

See Also