Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

InteractionSourcePositionAccuracy.Approximate

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

A position accuracy of Approximate reports that you may not want to fully trust the positions reported, as the position is inferred or synthesized in some way, such as the controller leaving the sensors' field of view and forcing the API to rely on the device's IMU instead of visual tracking.

Approximate is never reported for hands (see InteractionSourceKind and InteractionSourceHandedness on InteractionSource), as their positions are only ever reported during visual tracking. If you are making an experience that requires high position accuracy, such as a painting app, you may want to rely on positions reported with High accuracy and discard anything reported as Approximate. For simpler operatons, such as pointing at UI with the interaction source, Approxmiate is generally reliable enough.

Did you find this page useful? Please give it a rating: