Exemple #1
0
 public Joint(Vector3 position, JointType type) : this(EfficioRuntimePINVOKE.new_Joint__SWIG_1(Vector3.getCPtr(position), (int)type), true)
 {
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void Add(Sensor x)
 {
     EfficioRuntimePINVOKE.SensorCollection_Add(swigCPtr, Sensor.getCPtr(x));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public void Add(Gesture x)
 {
     EfficioRuntimePINVOKE.GestureCollection_Add(swigCPtr, Gesture.getCPtr(x));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public void Swap(FingerCollection other)
 {
     EfficioRuntimePINVOKE.FingerCollection_Swap(swigCPtr, FingerCollection.getCPtr(other));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void InsertRange(int index, SensorCollection values)
 {
     EfficioRuntimePINVOKE.SensorCollection_InsertRange(swigCPtr, index, SensorCollection.getCPtr(values));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #6
0
 public void RemoveRange(int index, int count)
 {
     EfficioRuntimePINVOKE.AssetCollection_RemoveRange(swigCPtr, index, count);
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #7
0
 public void AddFrame(Frame frame)
 {
     EfficioRuntimePINVOKE.Frame_AddFrame(swigCPtr, Frame.getCPtr(frame));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 private void setitem(int index, Event val)
 {
     EfficioRuntimePINVOKE.EventCollection_setitem(swigCPtr, index, Event.getCPtr(val));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void Insert(int index, Event x)
 {
     EfficioRuntimePINVOKE.EventCollection_Insert(swigCPtr, index, Event.getCPtr(x));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void Reverse(int index, int count)
 {
     EfficioRuntimePINVOKE.EventCollection_Reverse__SWIG_1(swigCPtr, index, count);
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetRange(int index, EventCollection values)
 {
     EfficioRuntimePINVOKE.EventCollection_SetRange(swigCPtr, index, EventCollection.getCPtr(values));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #12
0
 public void AddEvents(EventCollection eventsPtr)
 {
     EfficioRuntimePINVOKE.Frame_AddEvents(swigCPtr, EventCollection.getCPtr(eventsPtr));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void RemoveAt(int index)
 {
     EfficioRuntimePINVOKE.EventCollection_RemoveAt(swigCPtr, index);
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void Add(Event x)
 {
     EfficioRuntimePINVOKE.EventCollection_Add(swigCPtr, Event.getCPtr(x));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #15
0
 public void AddRange(AssetCollection values)
 {
     EfficioRuntimePINVOKE.AssetCollection_AddRange(swigCPtr, AssetCollection.getCPtr(values));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #16
0
 public void Fill(Finger val)
 {
     EfficioRuntimePINVOKE.FingerCollection_Fill(swigCPtr, Finger.getCPtr(val));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #17
0
 public void Add(Hand x)
 {
     EfficioRuntimePINVOKE.HandCollection_Add(swigCPtr, Hand.getCPtr(x));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #18
0
 public void AddData(DataCollection data)
 {
     EfficioRuntimePINVOKE.Frame_AddData(swigCPtr, DataCollection.getCPtr(data));
     if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
     {
         throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #19
0
        public Frame GetFrame()
        {
            Frame ret = new Frame(EfficioRuntimePINVOKE.Sensor_GetFrame(swigCPtr), true);

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #20
0
        public Status GetStatus()
        {
            Status ret = (Status)EfficioRuntimePINVOKE.Sensor_GetStatus(swigCPtr);

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #21
0
        public virtual TrackingType TrackingTypes()
        {
            TrackingType ret = (TrackingType)EfficioRuntimePINVOKE.Sensor_TrackingTypes(swigCPtr);

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public override EventType GetEventType()
        {
            EventType ret = (EventType)EfficioRuntimePINVOKE.ButtonPressed_GetEventType(swigCPtr);

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #23
0
        private Hand getitem(int index)
        {
            Hand ret = new Hand(EfficioRuntimePINVOKE.HandCollection_getitem(swigCPtr, index), false);

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #24
0
        public virtual string GetSource()
        {
            string ret = EfficioRuntimePINVOKE.Sensor_GetSource(swigCPtr);

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #25
0
        public virtual SensorInformation GetSensorInformation()
        {
            SensorInformation ret = new SensorInformation(EfficioRuntimePINVOKE.Sensor_GetSensorInformation(swigCPtr), true);

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #26
0
        public static Vector3 Midpoint(Vector3 v1, Vector3 v2)
        {
            Vector3 ret = new Vector3(EfficioRuntimePINVOKE.Vector3_Midpoint(Vector3.getCPtr(v1), Vector3.getCPtr(v2)), true);

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #27
0
        public virtual Frame Disconnect()
        {
            Frame ret = new Frame(EfficioRuntimePINVOKE.Sensor_Disconnect(swigCPtr), true);

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #28
0
        public EventCollection GetEvents()
        {
            EventCollection ret = new EventCollection(EfficioRuntimePINVOKE.Frame_GetEvents(swigCPtr), true);

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #29
0
        public float DistanceTo(Vector3 vector2)
        {
            float ret = EfficioRuntimePINVOKE.Vector3_DistanceTo(swigCPtr, Vector3.getCPtr(vector2));

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #30
0
        public DataCollection GetData()
        {
            DataCollection ret = new DataCollection(EfficioRuntimePINVOKE.Frame_GetData(swigCPtr), true);

            if (EfficioRuntimePINVOKE.SWIGPendingException.Pending)
            {
                throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }