Ejemplo n.º 1
0
        public virtual int get_CurrentPoint(
            out IKinectPointerPoint pointer
            )
        {
            var fp = GetFunctionPointer(5);

            if (m_get_CurrentPointFunc == null)
            {
                m_get_CurrentPointFunc = (get_CurrentPointFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(get_CurrentPointFunc));
            }
            pointer = new IKinectPointerPoint();
            return(m_get_CurrentPointFunc(m_ptr, out pointer.PtrForNew));
        }
Ejemplo n.º 2
0
        public virtual int ProcessMoveEvents(
            IKinectPointerPoint value
            )
        {
            var fp = GetFunctionPointer(35);

            if (m_ProcessMoveEventsFunc == null)
            {
                m_ProcessMoveEventsFunc = (ProcessMoveEventsFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(ProcessMoveEventsFunc));
            }

            return(m_ProcessMoveEventsFunc(m_ptr, value != null ? value.Ptr : IntPtr.Zero));
        }