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

Script language

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

PositionalLocatorState

enumeration

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

Indicates the lifecycle state of the device's spatial location system.

This is the tracking state for the device. It lets your application know whether position and orientation in the user's surroundings are available from the device.

Properties

UnavailableThe device's spatial location system is not available.
OrientationOnlyThe device is reporting its orientation and has not been asked to report its position in the user's surroundings.
ActivatingThe device is reporting its orientation and is preparing to locate its position in the user's surroundings.
ActiveThe device is reporting its orientation and position in the user's surroundings.
InhibitedThe device is reporting its orientation but cannot locate its position in the user's surroundings due to external factors like poor lighting conditions.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答