protected override void Start()
 {
     cb = new EyeTrackerBlinkCallback(this.InterfaceCallback);
     Interface.osvrRegisterEyeTrackerBlinkCallback(iface.Handle, cb, IntPtr.Zero);
 }
Exemple #2
0
 public extern static Byte osvrRegisterEyeTrackerBlinkCallback(SafeClientInterfaceHandle iface, [MarshalAs(UnmanagedType.FunctionPtr)] EyeTrackerBlinkCallback cb, IntPtr /*void**/ userdata);
Exemple #3
0
 public void registerCallback(EyeTrackerBlinkCallback cb, IntPtr /*void*/ userdata)
 {
     osvrRegisterEyeTrackerBlinkCallback(m_interface, cb, userdata);
 }
Exemple #4
0
 public void registerCallback(EyeTrackerBlinkCallback cb, IntPtr /*void*/ userdata)
 {
     osvrRegisterEyeTrackerBlinkCallback(m_interface, cb, userdata);
 }