Search Unity

Feature Request OpenXR FrameState

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

  1. goezdemir

    goezdemir

    Joined:
    Oct 8, 2021
    Posts:
    3
    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:
    400
  4. goezdemir

    goezdemir

    Joined:
    Oct 8, 2021
    Posts:
    3
    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.