Tobii Game Integration API is a native C++ API that specifically target PC game development. By mid 2022 Tobii Game Integration, below referred to as “TGI”, powers about 150 games with eye and head tracking, including Star Citizen, Microsoft Flight Simulator 2020, Far Cry 6 and Assassin’s Creed Valhalla. Additionally, TGI is the core of Tobii Game Hub as well as our Unity SDK for Desktop and Unreal Engine 4 SDK.

Benefits of Tobii Game Integration API:
  • Provides stable connection (with automatic reconnection) to any supported Tobii device
  • Access to eye tracking, head tracking and presence data streams
  • Automatic DPI-scaling and remapping of gaze points to game window coordinates
  • Full access to Tobii’s 6DOF Extended View
  • Access to various filters, ie Aim At Gaze filter
  • Supports all Tobii consumer eye and head tracking products for PC (read more)
Architecture and implementations

TGI is built as a feature layer on-top of Stream Engine, our low-level SDK, and target PC gaming use cases specifically. In contrast to Steam Engine (that supports all Tobii streams, products and use cases), TGI promotes access only to signals that target consumer eye trackers and gaming use cases. The benefit of using TGI over Stream Engine is speed of implementation, robustness and access to specific gaming features, such as Extended View.

TGI is implemented in native C++, but offers C# bindings.

TGI serves as base in both Tobii Unity SDK for Desktop and Tobii Unreal Engine 4 SDK.

Content:

Tobii Game Integration API package contains:

  • C++ library and header files
  • C# wrapper
  • Documentation & API reference
  • Code samples
  • Test application
Technical details:
  • C++ interface with C# bindings
  • Uses 1 thread in run-mode, and 1 additional thread during tracker connection
  • Does not perform any dynamic memory allocations
  • Supports:
    • Windows 11
    • Windows 10 – 32/64 bit
    • Windows 8.1 – 32/64 bit
    • Windows 7 – 64 bit only