Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/TimeView/TimeViewPlugin.cpp
double TimeViewPlugin::TimeToPixel(double timeInSeconds, bool scale) const
    {
        double result = ((timeInSeconds * m_pixelsPerSecond)) - m_scrollX;
        if (scale)
        {
            return (result * m_timeScale);
        }
        else
        {
            return result;
        }
    }
// calc the time value to a pixel value (excluding scroll)
calc the time value to a pixel value (excluding scroll)
calc the time value to a pixel value ( excluding scroll )
double TimeViewPlugin::TimeToPixel(double timeInSeconds, bool scale) const
    {
        double result = ((timeInSeconds * m_pixelsPerSecond)) - m_scrollX;
        if (scale)
        {
            return (result * m_timeScale);
        }
        else
        {
            return result;
        }
    }
double TimeViewPlugin :: TimeToPixel ( double timeInSeconds , bool scale ) const { double result = ( ( timeInSeconds * m_pixelsPerSecond ) ) - m_scrollX ; if ( scale ) { return ( result * m_timeScale ) ; } else { return result ; } }
calc the time value to a pixel value (excluding scroll)
calc the time value to a pixel value ( excluding scroll )