This site has been permanently archived. The content on this site was last updated in 2019.
Enabling 6DoF head tracking
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.
[null,null,["Last updated 2024-10-09 UTC."],[[["To enable 6DoF head tracking in your app, you need to modify your application manifest."],["Applications supporting both 3DoF and 6DoF must declare the `android.hardware.vr.headtracking` uses-feature with `android:required=\"false\"`."],["Applications requiring 6DoF and unable to function without it must declare the same uses-feature with `android:required=\"true\"`."],["3DoF-only apps should omit the `android.hardware.vr.headtracking` uses-feature entirely."],["6DoF apps should target 75 FPS for optimal performance and user experience, as frame rates below 60 FPS can cause issues."]]],["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"]]