SpectatorView/Compositor/CompositorDLL/CompositorInterface.h
float GetTimeFromFrame(int frame)
    {
        if (frameProvider != nullptr)
        {
            return (float)(0.0001f * frameProvider->GetDurationHNS() / 1000.0f) * frame;
        }

        return (1.0f / 30) * frame;
    }
// Abstracts time in seconds from frame index based on known duration.
Abstracts time in seconds from frame index based on known duration.
Abstracts time in seconds from frame index based on known duration .
float GetTimeFromFrame(int frame)
    {
        if (frameProvider != nullptr)
        {
            return (float)(0.0001f * frameProvider->GetDurationHNS() / 1000.0f) * frame;
        }
        return (1.0f / 30) * frame;
    }
float GetTimeFromFrame ( int frame ) { if ( frameProvider != nullptr ) { return ( float ) ( 0.0001f * frameProvider -> GetDurationHNS ( ) / 1000.0f ) * frame ; } return ( 1.0f / 30 ) * frame ; }
Abstracts time in seconds from frame index based on known duration.
Abstracts time in seconds from frame index based on known duration .