UnityEditor.RectangleTool.ValueToPixel C# (CSharp) Method

ValueToPixel() public method

public ValueToPixel ( float value ) : float
value float
return float
        public float ValueToPixel(float value)
        {
            float height = this.contentRect.height;
            float num2 = this.m_TimeArea.m_Scale.y * -1f;
            float num3 = (this.m_TimeArea.shownArea.yMin * num2) * -1f;
            return (height - ((value * num2) + num3));
        }