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); }
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); }
public static HandleRef getCPtr(HTouchInfo obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }