示例#1
0
        public void DrawText(String text, ref IndexedVector3 position, ref IndexedVector3 color)
        {
            TextPositionColor tpc = new TextPositionColor();

            tpc.m_text     = text;
            tpc.m_position = new Vector2(position.X, position.Y);
            tpc.m_color    = new Color(color.ToVector3());

            m_textPositionColours.Add(tpc);
        }
示例#2
0
        public void DrawText(String text, ref IndexedVector3 position, ref IndexedVector3 color)
        {
            TextPositionColor tpc = new TextPositionColor();
            tpc.m_text = text;
            tpc.m_position = new Vector2(position.X, position.Y);
            tpc.m_color = new Color(color.ToVector3());

            m_textPositionColours.Add(tpc);
        }