Log in or register to post comments

VuforiaConfiguration change runtime

January 9, 2018 - 7:22am #1

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

VuforiaConfiguration change runtime

April 10, 2020 - 4:45pm #2

ARCamera.GetComponent <VuforiaBehaviour> () .enabled = true;

Log in or register to post comments