Quick API

This API is all you need to utilize LeiaSR™ displays.

Setup

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

using LeiaUnity;

public LeiaDisplay _leiaDisplay;

Toggle 3D Mode On / Off

_leiaDisplay.Set3DMode(on);
_leiaDisplay.Set3DMode(off);

Set Focal Distance

_leiaDisplay.FocalDistance = 10;

Set Depth Factor

_leiaDisplay.DepthFactor = 0.3f

Set Lookaround Factor

_leiaDisplay.LookaroundFactor = 0.5f;

Last updated