SparrowSharp.Fonts.BitmapChar.BitmapChar C# (CSharp) 메소드

BitmapChar() 공개 메소드

Initializes a char with a texture.
public BitmapChar ( Texture texture ) : System.Collections.Generic
texture Sparrow.Textures.Texture
리턴 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