Exemple #1
0
        public virtual int get_HandType(
            out _HandType value
            )
        {
            var fp = GetFunctionPointer(5);

            if (m_get_HandTypeFunc == null)
            {
                m_get_HandTypeFunc = (get_HandTypeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(get_HandTypeFunc));
            }

            return(m_get_HandTypeFunc(m_ptr, out value));
        }
Exemple #2
0
        public virtual int put_HandType(
            _HandType value
            )
        {
            var fp = GetFunctionPointer(6);

            if (m_put_HandTypeFunc == null)
            {
                m_put_HandTypeFunc = (put_HandTypeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(put_HandTypeFunc));
            }

            return(m_put_HandTypeFunc(m_ptr, value));
        }
Exemple #3
0
 public static extern int CreateBodyHandPair(
     ulong bodyTrackingId,
     _HandType handType,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CustomMarshaler <IBodyHandPair>))] out IBodyHandPair ppBodyHandPair
     );