public override void Render(Renderer renderer, Camera camera, Input input, TextBuilder text, Font font) { renderer.TextBatcher.Write(text.Clear().Append("Substep count: ").Append(timestepper.SubstepCount), new Vector2(16, renderer.Surface.Resolution.Y - 64), 16, new Vector3(1), font); renderer.TextBatcher.Write(text.Clear().Append("Solver iteration count: ").Append(Simulation.Solver.IterationCount), new Vector2(16, renderer.Surface.Resolution.Y - 48), 16, new Vector3(1), font); renderer.TextBatcher.Write(text.Clear().Append("Press Z/X to change substep count, C/V to change solver iteration count."), new Vector2(16, renderer.Surface.Resolution.Y - 32), 16, new Vector3(1), font); rolloverInfo.Render(renderer, camera, input, text, font); base.Render(renderer, camera, input, text, font); }
public override void Render(Renderer renderer, Camera camera, Input input, TextBuilder text, Font font) { rolloverInfo.Render(renderer, camera, input, text, font); base.Render(renderer, camera, input, text, font); }