UnityEditor.SpriteUtilityWindow.GetMinZoom C# (CSharp) Method

GetMinZoom() protected method

protected GetMinZoom ( ) : float
return float
        protected float GetMinZoom()
        {
            if (this.m_Texture == null)
            {
                return 1f;
            }
            float[] values = new float[] { this.m_TextureViewRect.width / ((float) this.m_Texture.width), this.m_TextureViewRect.height / ((float) this.m_Texture.height), 50f };
            return (Mathf.Min(values) * 0.9f);
        }