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.
    
  
  
    
  
  
  
  
  
    
    
    
    
      GvrInstantPreviewMain prefab
      Required to enable Instant Preview head and controller emulation in the editor in play mode. Target platform in File > Build Settings  must be set to 'Android'.
Supports two modes:
- Full VR Preview mode enables real-time preview of the stereo VR image, on your USB or Wi-Fi connected Daydream-ready phone, while running your app in the editor * Controller-only mode allows you to use the Daydream controller paired with your phone while running in the editor
![]()
      Prefab Hierarchy
      
        
          | Game object name | Description | 
        
          |  | Provides controls to adjust the resolution and quality of the preview image that is streamed to your device, and control whether the Instant Preview companion app is automatically installed onto the connected phone when starting in-editor play mode. | 
      
      GvrInstantPreviewMain game object
      Provides controls to adjust the resolution and quality of the preview image that is streamed to your device, and control whether the Instant Preview companion app is automatically installed onto the connected phone when starting in-editor play mode.
![]()
      Components:
        Gvr.Internal.InstantPreview,
        InstantPreviewHelper,
        UnityEngine.Camera,
        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."],[],["The `GvrInstantPreviewMain` prefab enables head and controller emulation in the editor's play mode for Android builds. It supports \"Full VR Preview\" for stereo VR image streaming to a connected phone and \"Controller-only\" mode for using the Daydream controller.  This prefab allows adjustments to preview image resolution and quality. It controls automatic installation of the Instant Preview companion app on the connected device and uses `Gvr.Internal.InstantPreview`, `InstantPreviewHelper`, `UnityEngine.Camera`, and `UnityEngine.Transform` components.\n"]]