script::dom::bindings::codegen::GenericBindings::XRViewBinding::XRView_Binding

Trait XRViewMethods

Source
pub(crate) trait XRViewMethods<D: DomTypes> {
    // Required methods
    fn Eye(&self) -> XREye;
    fn ProjectionMatrix(
        &self,
        cx: SafeJSContext,
        _can_gc: CanGc,
    ) -> Float32Array;
    fn Transform(&self) -> DomRoot<D::XRRigidTransform>;
    fn GetRecommendedViewportScale(&self) -> Option<Finite<f64>>;
    fn RequestViewportScale(&self, scale: Option<Finite<f64>>);
    fn IsFirstPersonObserver(&self) -> bool;
}

Required Methods§

Implementors§