"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

Create a Custom Viewer Type

Hello,

I created a Custom Viewer Type inside Digital Eyewear and I'm trying to access it during runtime using:

IEnumerable<IViewerParameters> viewerParameters = Device.Instance.GetViewerList().GetAllViewers();   foreach (IViewerParameters vp in viewerParameters) {    if (vp.GetName ().Equals ("Custom")) {     MixedRealityController.Instance.SetViewerParameters (vp);    }   }

but it isn't working. I run Debug.Log (vp.GetName()) and found out that "Custom" isn't showing as an option, only "Cardboard v1", "C1-Glass", "VR Goggles" and "VR ONE". 

How can select the Custom Viewer Type via script?

Thanks,

 

 

 

 

 

Hello cronem,

That list will only contain the eyewear devices officially support by Vuforia. If you would like to select a custom viewer at runtime, you'll need to create an instance of a customer viewer at runtime and set this as the current viewer.