Esempio n. 1
0
 private void SetManipulation(float x, float y, float z)
 {
     Transmitter.SendButton(_tracker, "manipulation_x", x);
     Transmitter.SendButton(_tracker, "manipulation_y", y);
     Transmitter.SendButton(_tracker, "manipulation_z", z);
 }
Esempio n. 2
0
 private void SetNavigation(float x, float y, float z)
 {
     Transmitter.SendButton(_tracker, "navigation_x", x);
     Transmitter.SendButton(_tracker, "navigation_y", y);
     Transmitter.SendButton(_tracker, "navigation_z", z);
 }
        /// <summary>
        /// Sends the holoLen's input to the master.
        /// </summary>
        public static void SendButton(TrackerConfig tracker, string button, object value)
        {
            Transmitter transmitter = GetTransmitter(((OSCTrackerData)tracker.data).port);

            transmitter.SendOSCX("/" + tracker.id + "/button/" + button, value);
        }