"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

VuforiaConfiguration change runtime

Dear all,

I need to modify the ScreentoLensDistance of a Custom Viewer in Digital Eyewear on runtime (I would like to verify some perception issues by changing it).

I am using Unity 2017.3 and integrated Vuforia sdk.

I am doing like this

float Screen2Lens; //initialization here

VuforiaConfiguration.Instance.DigitalEyewear.CustomViewer.ScreenToLensDistance = Screen2Lens;

What I found is that it works only in the void Start() method and not in the Update() one.

Any idea? How can I change this parameter runtime?

Thank you in advance!

Manuela