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
  • Overview
  • Personalize The Scene
  • Making The Model Your Own
  • Make The Background Your Own
  • Make The Input Your Own
  • Closing
  1. Unity Plugin
  2. LeiaSR™ Unity Plugin Guide
  3. Extensions

Model Viewer Sample Scene

PreviousExtensionsNextAndroid Live Preview: Leia Remote 2

Overview

We have provided the foundation for you to create your own model viewer.

This sample scene works for both Windows using mouse and keyboard and LeiaSR Android devices with one and two finger input.

Personalize The Scene

Making The Model Your Own

  1. Delete or hide the LeiaLogo gameobject at ModelViewer > Model Pivot > LeiaLogo.

  2. Make your model a child object under ModelViewer > Model Pivot > YourModelHere.

Make The Background Your Own

You can adjust or replace the provided Lighting and Background to suite your needs.

Make The Input Your Own

This scene's input script is attached to Model Viewer > Model Pivot. You can

  • Adjust the parameters on tis game object for light customizations

  • Adjust the script at Assets > Leia > Examples > Model Viewer > ModelViewerControls.cs

  • Delete this script in place of your own.

For Windows demos that use the Ultraleap Plugin, we have provided a sample project here.

While we will periodically maintain and update this project's SDKs, please use at your own discretion.

Closing

We are excited to see what projects you develop and hope this sample scene helps you along!

LogoGitHub - LeiaInc/LeiaUltraleapUnitySampleGitHub