This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
GvrHeadset prefab
Required to access positional tracking features for Daydream Standalone headsets. Ensures that the GvrHeadset
API is available to your app.
Only one instance of this prefab is allowed in the scene. Additional instances are automatically destroyed.
Prefab Hierarchy
Game object name |
Description |
|
Holds the GvrHeadset API singleton. Provides static methods to determine whether positional tracking is supported, size and shape of the safety cycliner, and estimated floor height. |
GvrHeadset game object
Holds the GvrHeadset
API singleton. Provides static methods to determine whether positional tracking is supported, size and shape of the safety cycliner, and estimated floor height.
Components:
GvrHeadset,
UnityEngine.Transform
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\u003eThe \u003ccode\u003eGvrHeadset\u003c/code\u003e prefab enables positional tracking for Daydream Standalone headsets and provides access to the \u003ccode\u003eGvrHeadset\u003c/code\u003e API.\u003c/p\u003e\n"],["\u003cp\u003eOnly one instance of this prefab is allowed in a scene, ensuring the singleton pattern for the \u003ccode\u003eGvrHeadset\u003c/code\u003e API.\u003c/p\u003e\n"],["\u003cp\u003eThe prefab includes the \u003ccode\u003eGvrHeadset\u003c/code\u003e component, offering methods to check for positional tracking support, safety cylinder properties, and estimated floor height.\u003c/p\u003e\n"]]],["The `GvrHeadset` prefab is essential for accessing positional tracking on Daydream Standalone headsets, ensuring the availability of the `GvrHeadset` API. Only one instance is permitted in a scene; extras are deleted. The `GvrHeadset` game object, which is part of this prefab, contains the `GvrHeadset` API singleton. It offers static methods to ascertain positional tracking support, safety cylinder dimensions, and estimated floor height. Its components include the GvrHeadset script and Unity's Transform component.\n"],null,["# GvrHeadset prefab\n=================\n\nRequired to access positional tracking features for Daydream Standalone headsets. Ensures that the [`GvrHeadset`](/vr/reference/unity/class/GvrHeadset) API is available to your app.\n\nOnly one instance of this prefab is allowed in the scene. Additional instances are automatically destroyed.\n\nPrefab Hierarchy\n----------------\n\n| Game object name | Description |\n|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [`GvrHeadset`](#GvrHeadset_object) | Holds the [`GvrHeadset`](/vr/reference/unity/class/GvrHeadset) API singleton. Provides static methods to determine whether positional tracking is supported, size and shape of the safety cycliner, and estimated floor height. |\n\nGvrHeadset game object\n----------------------\n\nHolds the [`GvrHeadset`](/vr/reference/unity/class/GvrHeadset) API singleton. Provides static methods to determine whether positional tracking is supported, size and shape of the safety cycliner, and estimated floor height.\n\nComponents:\n\n[GvrHeadset](/vr/reference/unity/class/GvrHeadset),\n\n\n[UnityEngine.Transform](https://docs.unity3d.com/Manual/class-Transform.html)"]]