Developer Docs
Sign In to LeiaLoft Developer Portal
Search…
Leia Technology Creator Documentation
Unity SDK
Unity SDK Guide
Getting Started
Unity SDK Components
Modules
Quick API
Content Design
Render Pipeline Support
Troubleshooting
Sample Scenes
Unity Training
Unity Training Documentation
Unreal SDK
Unreal SDK Guide
Getting Started
Required Build Settings
More information on the LeiaCamera
Additional Assets in the Unreal Plugin
Android SDK
Android SDK Guide
Getting Started
Working with the Code
Rendering For Leia
Updating The GL Pipeline
Content Design
Tips and Tricks
Common Issues
Appendix A: Example build.grade
Appendix B: Example CMakeLists.txt
Maya Plugin
Leia Maya Plugin
Getting Started
Using the Maya Plugin
Troubleshooting
Blender SDK
Using Blender for LitByLeia Displays
Lightfield Studio
Lightfield Studio
Orbital Photography
Orbital Photography
LeiaViewer
LeiaViewer
After Effects
Using After Effects for LitByLeia Displays
Android Media SDK
Overview
Supported Media
Getting Started
QuadView Overview
Display LIF Images in 4V
Display SBS Images in 4V
Multiview Image and Decoding Pipeline
Play Quad Videos in 4V
Play SBS Videos in 4V
Controlling the Backlight
Advanced
Cinema 4D
Two Step Rendering Setup: Part I
Two Step Rendering Setup: Part II
Lumepad Camera SDK
Getting Started
ToF Camera Manager
WEBGL SDK
Overview
Example 1: NPM with Three.js
Example 2: VSC with Three.js
Example 3: VSC with Pure WebGL
Powered By
GitBook
Quick API
Switching Lightfield Mode
Lightfield mode can be changed using the LeiaDisplay Instance.
1
using LeiaLoft;
2
3
LeiaDisplay.Instance.DesiredLightfieldMode = LeiaDisplay.LightfieldMode.Off;
4
LeiaDisplay.Instance.DesiredLightfieldMode = LeiaDisplay.LightfieldMode.On;
Copied!
Editor
: Use the dropdown on the LeiaDisplay C
omponent.
The following API has been deprecated in 0.6.14+, replaced with Lightfield Mode.
LeiaDisplay.Instance.DesiredLeiaStateID = "HPO"; LeiaDisplay.Instance.DesiredLeiaStateID = "2D";
Setting Convergence Distance
Editor: Use the inspector to change the Convergence Distance variable on the LeiaCamera component attached to a Camera GameObject.
1
using LeiaLoft;
2
3
LeiaCamera _LeiaCam = LeiaCamera.Instance;
4
_LeiaCam.convergenceDistance = 10f;
Copied!
Setting Baseline Scaling
Editor: Use the inspector to change the Convergence Distance variable on the LeiaCamera component that is attached to a Camera GameObject.
1
using LeiaLoft;
2
3
LeiaCamera _LeiaCam = LeiaCamera.Instance;
4
_LeiaCam.baselineScaling = 0.3f;
Copied!
Previous
Parallax Background
Next - Unity SDK
Content Design
Last modified
1yr ago
Copy link
Contents
Switching Lightfield Mode
Setting Convergence Distance
Setting Baseline Scaling