Example #1
0
        public virtual int GetRegionHeight()
        {
            int result = MathUtils.Round((heightRatio - yOff)
                                         * texture.GetTextureHeight());

            return(result > 0 ? result : -result);
        }