Пример #1
0
        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
        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();
        }