Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feature Request OpenXR FrameState

Discussion in 'AR/VR (XR) Discussion' started by goezdemir, Apr 8, 2022.

  1. goezdemir

    goezdemir

    Joined:
    Oct 8, 2021
    Posts:
    2
    Would it be possible to get access to the latest FrameState retrieved from the XrWaitFrame method? Especially the predictedDisplayTime value of that struct might be helpful when implementing features for various extensions like the XR_MSFT_spatial_anchor one.
     
  2. ankur-unity

    ankur-unity

    Unity Technologies

    Joined:
    Aug 12, 2021
    Posts:
    34
  3. thep3000

    thep3000

    Unity Technologies

    Joined:
    Aug 9, 2013
    Posts:
    399
  4. goezdemir

    goezdemir

    Joined:
    Oct 8, 2021
    Posts:
    2
    Thanks for the reply! I will definitely try that, thanks!

    I would still suggest exposing this in future releases of the package through the OpenXRFeature class, similiarly to what was done with the XrSession, XrSpace and XrInstance related callbacks.