예제 #1
0
    public HTouchInfo AddTouch(float x, float y, float timestamp, int taps, MVO_POINTER_SIZED_UINT ident)
    {
        IntPtr     cPtr = HCSMVOPINVOKE.HTouchManager_AddTouch(swigCPtr, x, y, timestamp, taps, ident);
        HTouchInfo ret  = (cPtr == IntPtr.Zero) ? null : new HTouchInfo(cPtr, false);

        return(ret);
    }
예제 #2
0
    public HTouchInfo GetTouch(int index)
    {
        IntPtr     cPtr = HCSMVOPINVOKE.HTouchManager_GetTouch__SWIG_1(swigCPtr, index);
        HTouchInfo ret  = (cPtr == IntPtr.Zero) ? null : new HTouchInfo(cPtr, false);

        return(ret);
    }
예제 #3
0
 public static HandleRef getCPtr(HTouchInfo obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }