Guides

Desktop Camera

Overview

Allows rendering a separate camera that is shown on the desktop only, without changing what's seen in VR headsets.

Prefab Usage:

  • Place the VRTK/Prefabs/DesktopCamera/DesktopCamera prefab in the scene.

Inspector Parameters

  • Desktop Camera: The camera to use for the desktop view. If left blank the camera on the game object this script is attached to or any of its children will be used.
  • Follow Script: The follow script to use for following the headset. If left blank the follow script on the game object this script is attached to or any of its children will be used.
  • Headset Image: The optional image to render the headset's view into. Can be left blank.
  • Headset Render Texture: The optional render texture to render the headset's view into. Can be left blank. If this is blank and headsetImage is set a default render texture will be created.