/// <param name="u">A Universe to display.</param> public Canvas(Universe u) : base(1920, 1080, new OpenTK.Graphics.GraphicsMode(16, 16)) { universe = u; m_camera = new rope.camera(CoordinateEngine.toVector3(universe.bro.x), new Vector3(0, 0, -1), new Vector3(0, 1, 0)); printer = new OpenTK.Graphics.TextPrinter(); stats = Stats.Instance(); stats.AddValue(FPS_TAG, -1); }
/// <param name="u">A Universe to display.</param> public Canvas(Universe u) : base(1920, 1080, new OpenTK.Graphics.GraphicsMode(16, 16)) { universe = u; m_camera = new rope.camera (CoordinateEngine.toVector3(universe.bro.x), new Vector3(0,0,-1), new Vector3(0,1,0)); printer = new OpenTK.Graphics.TextPrinter(); stats = Stats.Instance(); stats.AddValue(FPS_TAG, -1); }
public EntityTextHelper() { _printer = new TextPrinter(TextQuality.Low); _printerFont = new Font(FontFamily.GenericSansSerif, 12, GraphicsUnit.Pixel); }
public void Setup() { this._printer = new TextPrinter(this._quality); }
public ViewportLabelListener(ViewportBase viewport) { Viewport = viewport; _printer = new TextPrinter(TextQuality.Low); Rebuild(); }
public static void Initialize() { textPrinter = new TextPrinter(); }
static Text() { instance = new TextPrinter(); }
public static void Initialize() { textPrinter = new OpenTK.Graphics.TextPrinter(); }
public ObjectDisplay() { this.textPrinter = new TextPrinter(TextQuality.High); this.Objects = new Dictionary<string, object>(); this.text = string.Empty; }