Quick API

This API is all you need to utilize LeiaSR displays.


The following API assumes you have a reference to the Leia Display you intend to manipulate.

using LeiaUnity;

public LeiaDisplay _leiaDisplay;

Toggle 3D Mode On / Off


Set Focal Distance

_leiaDisplay.FocalDistance = 10;

Set Depth Factor

_leiaDisplay.DepthFactor = 0.3f

Set Lookaround Factor

_leiaDisplay.LookaroundFactor = 0.5f;

Last updated

Copyright © 2023 Leia Inc. All Rights Reserved