This site has been permanently archived. The content on this site was last updated in 2019.
GvrReticlePointer prefab
Provides a gaze-based reticle pointer that supports Cardboard viewer button input.
Must be a child of the main camera, so that the pointer and reticle follow the user's gaze. Requires an instance of the GvrControllerMain
prefab to exist in the scene in order to be use the Google VR input system.
Automatically adjusts reticle size when the user's gaze intersects an interactive object.
Prefab Hierarchy
Game object name |
Description |
|
Renders the gaze reticle. Can be disabled or removed if your app handles reticle rendering. |
GvrReticlePointer game object
Renders the gaze reticle. Can be disabled or removed if your app handles reticle rendering.
Components:
GvrReticlePointer,
UnityEngine.MeshRenderer,
UnityEngine.Transform
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."],[[["The GvrReticlePointer prefab provides a gaze-based reticle pointer with Cardboard viewer button input support, functioning as a child of the main camera to align with the user's gaze."],["It necessitates the presence of a GvrControllerMain prefab in the scene for Google VR input system integration and automatically scales the reticle upon interaction with interactive objects."],["The GvrReticlePointer game object, which can be disabled or removed if custom reticle rendering is preferred, is responsible for rendering the gaze reticle."],["This prefab includes components such as GvrReticlePointer, UnityEngine.MeshRenderer, and UnityEngine.Transform for managing its functionality and visual representation."]]],[]]