Tobii Developer Zone

Tobii Developer Zone -
  • Product Integration
  • PC Gaming
  • VR
  • Research
  • Glasses
  • Forums
Login Register

Login to Tobii Developer Zone

  • Product Integration
  • PC Gaming
  • VR
  • Research
  • Glasses
  • Forums
  • Product Integration
    • Introduction
    • Get started
    • Platform Development Kit
    • Stream Engine
      • Introduction
      • Getting Started
      • API Reference
    • FAQ
  • PC Gaming
    • Introduction
    • Why eye tracking in gaming?
    • Stories
      • Introduction
      • Shadow of the Tomb Raider
      • Tom Clancy’s The Division 2
    • Design
      • Introduction
      • Explored Features
        • Introduction
        • Aim at gaze
        • Clean UI
        • Extended View
    • Develop
      • Introduction
      • Tobii Game Integration
        • Introduction
        • Getting Started
      • Unity SDK
        • Introduction
        • Getting Started
        • API Overview
        • Scripting API
        • Samples
        • Troubleshoot
      • Unreal Engine 4 SDK (BETA)
        • Introduction
        • Getting started
        • API Reference
          • Introduction
          • Console Variables
          • Core
          • Gaze To Object Mapping
          • Interactions
    • Downloads
    • Community and support
  • VR
    • Introduction
  • Research
    • Introduction
  • Glasses
    • Introduction
  • License model

Reply To: Unity SDK with tobii Eye X

Home › Forums › Game Integration › Unity SDK with tobii Eye X › Reply To: Unity SDK with tobii Eye X

07/08/2018 at 20:50 #8702
Alex [Tobii]
Participant

Hi!

Solution 1:
Add main camera to the scene:
– Add camera object to the scene.
– Tag it as Main camera as in
https://answers.unity.com/questions/173870/how-to-make-a-camera-a-main-camera.html

Solution 2:
In your component add:


void Start()
{
  TobiiAPI.SetCurrentUserViewPointCamera(Camera.current);
}
  • License Agreement
  • Forums
  • Data Transparency Policy
  • Tobii

Copyright © 2022 Tobii. All Rights Reserved. Privacy Policy | Terms of Use