/// <summary> /// Render the navigation HUD and the trajectory on the graphics device. /// The graphics device must be ready, otherwise /// the method will throw an exception. /// </summary> /// <param name="camera">Camera 4d transform matrix.</param> public override void Render(double[][] camera) { RefVehicle.Render(camera); if (RenderAllParticles) { foreach (var particle in VehicleParticles) { particle.RenderTrajectory(camera, Color.Blue); } } else { RenderTrajectory(camera); } RenderMap(camera); }
/// <summary> /// Render the navigation HUD and the trajectory on the graphics device. /// </summary> /// <remarks> /// The graphics device must be ready, otherwise /// the method will throw an exception. /// </remarks> /// <param name="camera">Camera 4d transform matrix.</param> public virtual void Render(double[][] camera) { RenderMap(camera); RenderTrajectory(camera); RefVehicle.Render(camera); }
/// <summary> /// Render the navigation HUD and the trajectory on the graphics device. /// The graphics device must be ready, otherwise /// the method will throw an exception. /// </summary> /// <param name="camera">Camera 4d transform matrix.</param> public override void Render(double[][] camera) { RefVehicle.Render(camera); RenderTrajectory(camera); RenderMap(camera); }