This site has been permanently archived. The content on this site was last updated in 2019.
Enabling 6DoF head tracking
Stay organized with collections
Save and categorize content based on your preferences.
To enable 6DoF head tracking in your application, you must modify your application manifest.
Applications that work in both 3DoF mode and 6DoF mode must declare:
<uses-feature
android:name="android.hardware.vr.headtracking"
android:version="1"
android:required="false" />
Applications that rely on 6DoF tracking for core functionality and cannot not be used without 6DoF tracking must declare:
<uses-feature
android:name="android.hardware.vr.headtracking"
android:version="1"
android:required="true" />
If the application works only in 3DoF, the uses-feature tag must be omitted.
6DoF head tracking is more sensitive to application frame rate than 3DoF head
tracking. Application framerate inconsistency is also more noticeable to the
user in 6DoF. If the frame rate is too low, the application may fail the
certification process.
Performance recommendation:
- In 6DoF apps should target 75 FPS. Drops below 60 FPS will likely cause noticeable visual artifacts and user discomfort.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["\u003cp\u003eTo enable 6DoF head tracking in your app, you need to modify your application manifest.\u003c/p\u003e\n"],["\u003cp\u003eApplications supporting both 3DoF and 6DoF must declare the \u003ccode\u003eandroid.hardware.vr.headtracking\u003c/code\u003e uses-feature with \u003ccode\u003eandroid:required="false"\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eApplications requiring 6DoF and unable to function without it must declare the same uses-feature with \u003ccode\u003eandroid:required="true"\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e3DoF-only apps should omit the \u003ccode\u003eandroid.hardware.vr.headtracking\u003c/code\u003e uses-feature entirely.\u003c/p\u003e\n"],["\u003cp\u003e6DoF apps should target 75 FPS for optimal performance and user experience, as frame rates below 60 FPS can cause issues.\u003c/p\u003e\n"]]],["To enable 6DoF head tracking, modify the application manifest. For apps supporting both 3DoF and 6DoF, declare `\u003cuses-feature android:name=\"android.hardware.vr.headtracking\" android:version=\"1\" android:required=\"false\" /\u003e`. Apps requiring 6DoF must declare it with `required=\"true\"`. 3DoF-only apps should omit this tag. 6DoF tracking is sensitive to frame rate, targeting 75 FPS to avoid visual artifacts and user discomfort. Low frame rates may lead to certification failure.\n"],null,["# Enabling 6DoF head tracking\n\nTo enable [6DoF head tracking](/vr/discover/degrees-of-freedom) in your application, you must modify your [application manifest](/vr/reference/vr-manifest).\n\nApplications that work in both 3DoF mode and 6DoF mode **must** declare: \n\n \u003cuses-feature\n android:name=\"android.hardware.vr.headtracking\"\n android:version=\"1\"\n android:required=\"false\" /\u003e\n\nApplications that rely on 6DoF tracking for core functionality and cannot not be used without 6DoF tracking **must** declare: \n\n \u003cuses-feature\n android:name=\"android.hardware.vr.headtracking\"\n android:version=\"1\"\n android:required=\"true\" /\u003e\n\nIf the application works only in 3DoF, the uses-feature tag **must** be omitted.\n\nPerformance implications\n------------------------\n\n6DoF head tracking is more sensitive to application frame rate than 3DoF head\ntracking. Application framerate inconsistency is also more noticeable to the\nuser in 6DoF. If the frame rate is too low, the application may fail the\n[certification process](/vr/distribute/daydream/app-quality).\n\nPerformance recommendation:\n\n- In 6DoF apps should target 75 FPS. Drops below 60 FPS will likely cause noticeable visual artifacts and user discomfort."]]