Exemple #1
0
 public VR_GUI(VRConnector vr, string user, string host, string session, Bike bike = null)
 {
     InitializeComponent();
     ConnLabel.Text  = string.Format($"Connected to {user}@{host} with session {session}");
     this.vr         = vr;
     this.bike       = bike;
     panel           = new VRPanel(vr);
     MaximizeBox     = false;
     FormBorderStyle = FormBorderStyle.FixedDialog;
     loadNodes();
 }
Exemple #2
0
        public VRSceneHandler(VRConnector vr, Bike bike)
        {
            sceneLoaded = false;
            this.bike   = bike;
            this.vr     = vr;


            newMessage = " ";
            VRr        = new VRRoute(vr);
            node       = new VRNode(vr);
            panel      = new VRPanel(vr);
            VRtime     = new VRTime(vr);
        }