示例#1
0
文件: font.cs 项目: an87li/gameEngine
        public virtual void printScreen(float x, float y, String txt)
        {
            RenderFontCommand cmd = new RenderFontCommand(this, x, y, txt, Color4.White);

            cmd.execute();
        }
示例#2
0
        public void addText2d(Vector2 position, String text, Color4 color)
        {
            RenderFontCommand cmd = new RenderFontCommand(myFont, new Vector3(position), text, color);

            myDrawCmds.Add(cmd);
        }
示例#3
0
文件: font.cs 项目: an87li/gameEngine
        public virtual void print3d(float x, float y, float z, String txt)
        {
            RenderFontCommand cmd = new RenderFontCommand(this, new Vector3(x, y, z), txt, Color4.White);

            cmd.execute();
        }