SparrowSharp.Fonts.BitmapChar.BitmapChar C# (CSharp) Method

BitmapChar() public method

Initializes a char with a texture.
public BitmapChar ( Texture texture ) : System.Collections.Generic
texture Sparrow.Textures.Texture
return System.Collections.Generic
        public BitmapChar(Texture texture)
        {
            CharId = 0;
            XAdvance = texture.Width;
            Texture = texture;
            XOffset = 0;
            YOffset = 0;
        }

Same methods

BitmapChar::BitmapChar ( int charId, Texture texture, float xOffset, float yOffset, float xAdvance ) : System.Collections.Generic