public void registerCallback(EyeTracker2DCallback cb, IntPtr /*void*/ userdata) { osvrRegisterEyeTracker2DCallback(m_interface, cb, userdata); }
public void registerCallback(EyeTracker2DCallback cb, IntPtr /*void*/ userdata) { osvrRegisterEyeTracker2DCallback(m_interface, cb, userdata); }
public extern static Byte osvrRegisterEyeTracker2DCallback(SafeClientInterfaceHandle iface, [MarshalAs(UnmanagedType.FunctionPtr)] EyeTracker2DCallback cb, IntPtr /*void**/ userdata);
protected override void Start() { cb = new EyeTracker2DCallback(this.InterfaceCallback); Interface.osvrRegisterEyeTracker2DCallback(iface.Handle, cb, IntPtr.Zero); }