Trait script::dom::bindings::codegen::Bindings::XRViewBinding::XRView_Binding::XRViewMethods
source · pub trait XRViewMethods<D: DomTypes> {
// Required methods
fn Eye(&self) -> XREye;
fn ProjectionMatrix(&self, cx: SafeJSContext) -> Float32Array;
fn Transform(&self) -> Root<Dom<XRRigidTransform>>;
fn GetRecommendedViewportScale(&self) -> Option<Finite<f64>>;
fn RequestViewportScale(&self, scale: Option<Finite<f64>>);
fn IsFirstPersonObserver(&self) -> bool;
}