pub trait XRFrameMethods {
// Required methods
fn Session(&self) -> Root<Dom<XRSession>>;
fn PredictedDisplayTime(&self) -> Finite<f64>;
fn GetViewerPose(
&self,
referenceSpace: &XRReferenceSpace,
_can_gc: CanGc,
) -> Result<Option<Root<Dom<XRViewerPose>>>, Error>;
fn GetPose(
&self,
space: &XRSpace,
baseSpace: &XRSpace,
_can_gc: CanGc,
) -> Result<Option<Root<Dom<XRPose>>>, Error>;
fn GetJointPose(
&self,
joint: &XRJointSpace,
baseSpace: &XRSpace,
_can_gc: CanGc,
) -> Result<Option<Root<Dom<XRJointPose>>>, Error>;
fn FillJointRadii(
&self,
jointSpaces: Vec<Root<Dom<XRJointSpace>>>,
radii: CustomAutoRooterGuard<'_, Float32Array>,
) -> Result<bool, Error>;
fn FillPoses(
&self,
spaces: Vec<Root<Dom<XRSpace>>>,
baseSpace: &XRSpace,
transforms: CustomAutoRooterGuard<'_, Float32Array>,
) -> Result<bool, Error>;
fn GetHitTestResults(
&self,
hitTestSource: &XRHitTestSource,
) -> Vec<Root<Dom<XRHitTestResult>>>;
}