Jump to content

ssid

Verified Members
  • Posts

    3
  • Joined

  • Last visited

Reputation

1 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, I just updated the Wave XR Plugin from v1.0.1 to v4.0.0-r.28 in our project and one of the provided scripts that I was using for Camera Passthru now says deprecated. This is probably related to the front camera access issue mentioned by @Fangh. We have a similar use case for QR code reading and not sure where to go at this point. What is the best way forward for developers? Thanks, Sidhant
  2. Thanks @Tony PH Lin. I was able to get it working after looking at the demo code.
  3. I am in the process of migrating to the new Wave XR Plugin from the legacy VR plugin which I have been using for a while. So far I have got the XR rig camera/controller setup and a basic scene working on my Vive Focus+. LEGACY VR PLUGIN: My code was using 'WaveVR_Init' from the legacy vr plugin which was updating device events (like swipe, etc.). via its update method (below) and subscriptions were possible through 'WaveVR_Utils'. Code snippets from the legacy plugin usage below: WVR_Event_t vrevent = new WVR_Event_t (); void Update() { bool ret = Interop.WVR_PollEventQueue (ref vrevent); if (ret) processVREvent (vrevent); } WaveVR_Utils.Event.Listen(WaveVR_Utils.Event.ALL_VREVENT, ProcessEvent); WaveVR_Utils.Event.Remove(WaveVR_Utils.Event.ALL_VREVENT, ProcessEvent); private void ProcessEvent(object[] args) XR PLUGIN: What is the best way to get all native device event updates in the new XR Plugin? I have the latest Vive Essence package downloaded. That has a 'WaveEssence' mono-behavior but most of the code in that is commented and it does not provide any device events. There is another script 'SystemEvent' in the Essence package which seems to deal with device event subscriptions. I do not see any example usage for it whether I just need to add it to my scene and subscribe to the event listener? Any help would be appreciated since I am just trying to move over. Thanks, Sid
×
×
  • Create New...