LogoLogo
Sign in to Leia Developer Portal
  • LeiaSR™ Documentation
  • LeiaSR SDK
    • LeiaSR™ Native SDK Guide
  • Unity Plugin
    • LeiaSR™ Unity Plugin Guide
      • Getting Started
      • Project Setup
      • Scene Setup
      • LeiaDisplay Component
        • Selecting Objects
        • Worldspace UI Canvas
      • Quick API
      • Extensions
        • Model Viewer Sample Scene
        • Android Live Preview: Leia Remote 2
        • Auto Focus
          • LeiaRaycastFocus
          • LeiaTargetFocus
          • LeiaDepthFocus
      • Content Design
        • Optimizing Object Placement
        • UI and Depth Violations
        • Depth of Field
        • Backgrounds
      • Render Pipeline Support
  • Unreal Plugin
    • Unreal SDK Guide
      • Getting Started
      • Manual Download And Import
      • Scene Setup
      • Quick API
      • Extensions
        • Android Live Preview: Leia Remote 2
      • Required Project Settings
      • Required Build Settings: Android
      • Content Design
  • NEURD SDK
    • NeurD SDK Guide
Powered by GitBook
On this page
  • Camera Centric And Display Centric
  • Overview
  • Setup
  1. Unity Plugin
  2. LeiaSR™ Unity Plugin Guide

Scene Setup

PreviousProject SetupNextLeiaDisplay Component

Camera Centric And Display Centric

Overview

We have two different approaches for setting up your 3D scene:

  • Display Centric: Will create a new camera rig, emulating a Leia device. Intuitive for new / simple projects

  • Camera Centric: Will attach a rig to an existing game camera. Intuitive for porting existing projects

Setup

Display Centric

  • Remove any cameras in the scene, if they exist

  • Create an empty GameObject in your desired position and rotation

  • Attach a LeiaDisplay to your empty GameObject

  • Your content may need to be resized / scaled to fit into the Comfort Zone Gizmo

Camera Centric

  • Attach a LeiaDisplay component to your existing camera

  • Adjust the Focal Distance and Depth Factor until content is snug in the Comfort Zone Gizmo. More details on these variables can be found below

More details on each can be found at LeiaDisplay Component.

Assets from Unity Learn: 3D Game Kit Lite